---
title: "Fetch a one-call AI citation pack for a question or answer-pack slug."
method: GET
path: "/api/citations"
tags: ["Agent Docs", "Catalog"]
---

# Fetch a one-call AI citation pack for a question or answer-pack slug.

`GET /api/citations`

## Request

- Base URL: `https://huggingbay.xyz`
- URL: `https://huggingbay.xyz/api/citations`
- Auth: none declared

Returns safe claims, claims to avoid, preferred citation order, proof URLs, traffic/catalog scale facts, compact rows, and extraction workflow for answer engines and agents.

**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.

## Query parameters

- `q` string
- `query` string
- `slug` string
- `compat` 'containment'

## Response `200`

AI citation pack

- CitationPack
  - `schemaVersion` 'hugging-bay.citation-pack.v1', required
  - `generatedAt` string, required
  - `query` string, required
  - `selectedAnswerPack` object, required
  - `answer` object, required
    - `short` string
    - `safeOneLine` string
    - `supportedClaims` string[]
    - `avoidClaims` string[]
  - `proof` object
  - `citeFirst` object[], required
  - `rows` object[], required
  - `extractionWorkflow` string[], required
  - `assistantFit` object, required
  - `links` object, required

---

[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/63c474bf0fe4?raw)
