---
title: "Fetch a citation pack scoped to one answer pack."
method: GET
path: "/api/answers/{slug}/citations"
tags: ["Agent Docs", "Catalog"]
---

# Fetch a citation pack scoped to one answer pack.

`GET /api/answers/{slug}/citations`

## Request

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

Fetch a citation pack scoped to one answer pack.

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

## Query parameters

- `compat` 'containment'

## Response `200`

AI citation pack for an answer 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

## Other responses

- `404`: Answer pack 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/ea7ba26b1e27?raw)
