---
title: "Get citation metadata."
method: GET
path: "/api/v1/projects/{projectId}/citations/{citationId}"
tags: ["Citations"]
---

# Get citation metadata.

`GET /api/v1/projects/{projectId}/citations/{citationId}`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/projects/{projectId}/citations/{citationId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/projects/:projectId/citations/:citationId/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns metadata for a specific citation, including the source document's title, description, URL, and preview information. Use this to display source attribution or allow users to verify the agent's sources.

## Path parameters

- `projectId` integer, required
- `citationId` integer, required

## Response `200`

Get the document metadata data for a citation

- object
  - `status` 'error' | 'success': The status of the response
  - `data` PageMetadata
    - `id` integer: The unique identifier of the document
    - `url` string, nullable: The URL of the document
    - `title` string, nullable: The title of the document
    - `description` string, nullable: The description of the document
    - `summary` string, nullable: The Library Map snapshot of the document, when one was taken. Read-only: ignored when updating the metadata.
    - `image` string, nullable: The image of the document

## Other responses

- `400`: Bad Argument
- `401`: API Token is either missing or invalid
- `404`: Page not found
- `429`: Too many requests. You have exceeded your API rate limit.

## Changes

- **2026-11-03** `77aab4354382`: 3 warning, 2 info
  - added the new `422.00` enum value to the `data/code` response property for the response status `400`
  - added the new `422.00` enum value to the `data/code` response property for the response status `401`
  - added the new `422.00` enum value to the `data/code` response property for the response status `404`
  - added the non-success response with the status `429`
  - …1 more
- **2026-07-17** `b80e6dfcf78d`: 4 breaking, 7 warning, 3 info
  - the response property `data/description` became nullable for the status `200`
  - the response property `data/image` became nullable for the status `200`
  - the response property `data/title` became nullable for the status `200`
  - the response property `data/url` became nullable for the status `200`
  - …10 more
- **2023-07-27** `2cd2d58839d0`: 1 info
  - added the non-success response with the status `400`
- **2023-07-12** `1675fc6aa16a`: 1 warning, 9 info
  - removed the optional property `data/OpenGraphCacheSchema` from the response with the `200` status
  - added the optional property `data/description` to the response with the `200` status
  - added the optional property `data/favicon` to the response with the `200` status
  - added the optional property `data/image` to the response with the `200` status
  - …6 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/projects/:projectId/citations/:citationId/get.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
