Get a capability document
Returns the agent’s capability document, or null when none has been generated. status is one of pending, running, ready, quality_failed, failed or ineligible. content holds the last successful document, so a failed refresh keeps the previous content. stale is true when the agent has published a newer version than the document was generated from. check_failures and residue list what the generation couldn’t verify, for review before you share it. Requires agents:read or agents:manage.
Headers
Organization ID for user PATs (pat_ prefix tokens)
Path Parameters
Response
Successful Response
One agent's capability document.
content is null until a generation has succeeded, and a later failure leaves the
last good content in place — so a row with status == "failed" and content present
is a published document whose refresh failed, not a broken one.
pending, running, ready, quality_failed, failed, ineligible 
