Basic Concepts

These are the core building blocks of Cove. Understanding these will help you integrate quickly and get your Trust & Safety workflow up and running. There are additional building blocks covered in the Features documentation, but the concepts below are limited to those that are required for the initial integration with Cove. Once you understand these, you should be able to complete your Cove integration and get started interacting with various Cove features.

The concepts below are listed in the same order in which you should build your Cove integration. Some concepts build on previous ones, so we recommend that you read all of them in order.

Item

An Item is any entity that you have on your platform. This can include individual pieces of content (e.g. posts, comments, direct messages, product listings, product reviews, etc.), threads of content (e.g. comment threads, group chats, etc.), or users and their profiles. Any individual entity can be considered an Item, even if it contains other Items within it.

Item Type

Item Types represent the different types of Items on your platform. For example, if you've built a social network that allows users to create profiles, upload posts, and comment on other users' posts, then your Item Types might be Profile, Post, Comment, and Comment Thread. If you've built a marketplace or eCommerce platform, your Item Types might be Buyer, Seller, Product Listing, Product Review, Direct Message, Transaction, and more. Every Item you send us needs to be an instance of exactly one of these Item Types.

The first step in your integration process will be defining these Item Types in your Cove dashboard. That way, we know exactly what types of Items you'll be sending us.

Read more about how to create Item Types here.

Important note on how we uniquely identify an Item

In Cove, to uniquely identify a particular Item, we use an (Item ID, Item Type ID) pair. Some platforms may not be able to guarantee that a comment ID and a user ID won't clash. Some other customers may have multiple platforms they own and operate, with no guarantee that Item IDs across platforms won't clash with each other.

In those circumstances, the (Item ID, Item Type ID) pair is needed to uniquely identify the correct Item. That's why you'll often see throughout this documentation that we ask you to send us your Items in the following shape:

item: {
  id: string;
  typeId: string;
}

The id field will be your unique identifier for the Item, and the typeId field will be Cove's ID for the corresponding Item Type. Once you create an Item Type in your Cove dashboard, you'll see its generated ID, which you can then use to populate the typdId field when you send API requests to Cove.

Action

Actions in Cove represent any action you can perform on Items. Some common Trust & Safety-related examples include Delete, Ban, Mute, and Send to Moderator. If you want to add non-T&S-related actions as well, such as Promote, Add to Trending, Mark as Trustworthy, or Approve Transaction, you absolutely can! You can add any automated action to Cove.

Each Action must map to an API endpoint that you expose to Cove. For example, if you create a Delete Action in Cove, you must provide an API endpoint (i.e. a URL and ideally an authentication scheme) to which Cove can send POST requests. That way, when any of these Actions is triggered through Cove (either through the Moderator Console or Automated Rules), Cove will send you the corresponding POST request, at which point the Action will actually get executed on your servers.

The second step in your integration process will be defining these Actions in your Cove dashboard.

Read more about Actions here.

Policy

Policies are categories of harm that are prohibited or monitored on your platform. Some typical examples include Spam, Hate Speech, Harassment, Violence, etc.

Policies can have sub-policies underneath them, so the Violence policy could have sub-policies Graphic Violence, Threats of Violence, Encouragement and Glorification of Violence, etc., all of which are specific sub-types of Violence that could occur on your platform.

It is often useful (and in some cases, required by the EU's Digital Services Act) to tie every Action you take to one or more specific Policies. For example, you could Delete a comment under your Hate Speech policy, or you could Delete it under your Spam policy. Cove allows you to track those differences and measure how many Actions you've taken for each Policy. That way, you can see how effectively you're enforcing each Policy over time, identify Policies for which your enforcement is poor or degrading, and report performance metrics to your leadership (or to regulators in the form of a DSA Transparency Report).

You can create and manage your Policies in the Policies Dashboard, and you can fetch them programmatically through our Policies API.

Report

Reports are created when a user on your platform flags an Item as potentially harmful. When a user flags an Item on your platform and you send it to our Report API, we add it to a Review Queue so that your moderators can review it and decide what to do with it. Read more about Review Queues here.

Appeal

When a user on your platform disagrees with a moderation decision you've made, they may want to "appeal" your decision - in other words, they want you to take another look and determine whether your initial moderation decision was correct. If you support this functionality (which is required for some platforms under the EU's Digital Services Act), then Cove can facilitate the entire appeal process.

You can create an Appeal in Cove when a user on your platform requests that a moderation decision be re-reviewed by your team. When the user appeals a decision on your platform, you can send that appeal request to our Appeal API, and we'll add it to a Review Queue so that your moderators can review it and decide whether to uphold or overturn the original moderation decision. Read more about Review Queues below.