Skip to main content
GET
/
ai-analytics-service
/
api
/
public
/
v1
/
topics
List Topics
curl --request GET \
  --url https://api.slatehq.ai/ai-analytics-service/api/public/v1/topics \
  --header 'Authorization: <authorization>'
{
  "topics": [
    {
      "id": 123,
      "workspaceId": 123,
      "brandId": 123,
      "topicName": "<string>",
      "description": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://slatehq.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Returns all topics in the token’s workspace. Optionally filter by brand.

Parameters

Authorization
string
required
Bearer token. Format: Bearer slat_<your-token>.
brandId
number
Filter topics by brand ID.

Response

Returns 200 OK with an array of topics.
topics
object[]
required
Array of topic objects.

Example

curl -s "https://api.slatehq.ai/ai-analytics-service/api/public/v1/topics" \
  -H "Authorization: Bearer slat_YOUR_TOKEN"

Response

[
  {
    "id": 42,
    "workspaceId": 1,
    "brandId": null,
    "topicName": "Project Management Tools",
    "description": "Track AI mentions of project management software"
  },
  {
    "id": 43,
    "workspaceId": 1,
    "brandId": 5,
    "topicName": "SEO Strategy",
    "description": "Monitor SEO-related AI responses"
  }
]

Status codes

StatusDescription
200Topics returned.
401Missing or invalid Bearer token. See Authentication.
404No topics found for the specified brand.
500Internal server error.

What’s next