---
title: "Get Topic"
method: GET
path: "/v1/topics/{id}"
tags: ["Topics"]
---

# Get Topic

`GET /v1/topics/{id}`

Get a topic by ID. Requires API key with audience:read.

## Path parameters

- `id` string, required

## Query parameters

- `projectId` string, required

## Response `200`

Topic details

- ApiResponseTopic
  - `success` boolean, required
  - `data` object, nullable
    - `id` string
    - `name` string
    - `description` string
    - `defaultSubscription` 'opt_in' | 'opt_out'
    - `visibility` 'public' | 'private'
    - `displayOrder` integer
    - `isActive` boolean
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `error` string, nullable

## Other responses

- `401` — Unauthorized
- `404` — Resource not found

---

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