---
title: "Get Topics"
method: GET
path: "/api/v1/topics"
tags: ["Basics"]
---

# Get Topics

`GET /api/v1/topics`

Returns the active topics for a website, with the count of active prompts in each. Use it to resolve a topic name to its `id` before creating prompts or filtering.

## Query parameters

- `website_id` string, uuid, required

## Response `200`

Successful response with list of topics

- object
  - `topics` object[], required
    - `id` string, uuid, required
    - `name` string, required
    - `description` string, nullable, required
    - `prompt_count` integer, required — Number of active prompts in the topic.

## Other responses

- `400` — Bad request - Invalid parameters
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - You don't have access to this website
- `500` — Internal server error

---

[API](https://skmtc.net/athenahq/apis/athenahq-api.md) · [All operations](https://skmtc.net/athenahq/apis/athenahq-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/athenahq/athenahq-api/revisions/6c5d71622cb9/schema)
