Skip to main content
POST
Create Topic
Creates a new topic in your workspace. Topics group related prompts together for organized tracking and analytics.

Parameters

string
required
Bearer token. Format: Bearer slat_<your-token>.
string
required
Name of the topic. Maximum 255 characters.
string
Description of the topic. Maximum 1000 characters.
number
Brand ID to associate with the topic.

Response

Returns 201 Created with the new topic.
number
required
Unique identifier for the topic.
number
required
Workspace the topic belongs to.
number
Associated brand ID. null if not set.
string
required
Topic name.
string
Topic description. null if not set.

Example

Response

Status codes

What’s next