---
title: "Get topic descriptors for a model (JSON)"
method: GET
path: "/{k}/topics.json"
tags: ["Models", "Topics"]
---

# Get topic descriptors for a model (JSON)

`GET /{k}/topics.json`

Returns an object keyed by topic id (as string), each containing: - `color`: hex color for the topic - `words`: map word -> probability (top-N words) - `label`: display label Supports conditional requests via ETag / If-None-Match.

## Path parameters

- `k` integer, required

## Response `200`

Topic dictionary keyed by topic id (string)

- TopicsResponse — Object keyed by topic id (string).

## Other responses

- `304` — Not Modified (If-None-Match matched)
- `400` — Invalid model `k` (no model for k)

---

[API](https://skmtc.dev/inpho/apis/topic-explorer-server-api.md) · [All operations](https://skmtc.dev/inpho/apis/topic-explorer-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inpho/topic-explorer-server-api/revisions/04253424f5bb/schema)
