---
title: "Fetch one topic and its ranked artifact rows."
method: GET
path: "/api/topics/{slug}"
tags: ["Catalog"]
---

# Fetch one topic and its ranked artifact rows.

`GET /api/topics/{slug}`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/topics/{slug}`
- Auth: none declared

Fetch one topic and its ranked artifact rows.

**Inputs.** Path, query and header fields are listed below. No request body is required.

**Outputs.** See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

**Errors.** API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

**Rate limits.** Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

**Example setup.** Use an identifier returned by the matching list, search or create operation. Sample identifiers are not a promise that a record exists.

## Path parameters

- `slug` string, required

## Response `200`

Topic detail

- TopicPage
  - `schemaVersion` 'hugging-bay.topics-page.v1', required
  - `rows` Topic[], required (unresolved $ref)
  - `total` integer, required
  - `limit` integer, required
  - `cursor` string, required
  - `nextCursor` string, nullable, required

## Other responses

- `404`: Topic not found

---

[API](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api.md) · [All operations](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/huggingbay/apis/hugging-bay-public-api/revisions/865eb0f1b6ef?raw)
