---
title: "Read Public Capability Document"
method: GET
path: "/core/public/capability-documents/{agent_id}"
tags: ["capability_documents"]
---

# Read Public Capability Document

`GET /core/public/capability-documents/{agent_id}`

## Request

- Base URL: `https://api.anyreach.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.anyreach.ai/core/public/capability-documents/{agent_id}`
- Auth: none declared

The document behind a shared link.

Every failure mode returns the same 404 on purpose: a bad token, a revoked link, an
agent that never generated and an agent that does not exist must be indistinguishable,
or the endpoint becomes an oracle for which agent ids are real.

## Path parameters

- `agent_id` string, required

## Query parameters

- `t` string: Capability token from the shared link

## Response `200`

Successful Response

- PublicCapabilityDocument: What the public page is allowed to see. Mirrors api.public_capability_document()'s projection exactly. Anything absent here is absent by design: the residue, the check failures, the error text and the organization id never reach a reader holding only a link.
  - `agent_id` string, required
  - `source_config_version` integer, nullable
  - `content` object, required
  - `updated_at` string, date-time, nullable
  - `stale` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anyreach/apis/anyreach-api.md) - [All operations](https://skmtc.dev/anyreach/apis/anyreach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anyreach/apis/anyreach-api/revisions/2eddf40c8c93?raw)
