List an agent's documents
API Reference
List an agent's documents
Documents and folders belonging to the agent. Each entry inlines the document’s complete textContent, which makes one call enough for an audit but produces large responses on document-heavy agents. Pass excludeContent=true for metadata only.
GET
List an agent's documents
Authorizations
Workspace API key (wk_) with the Workspace read API scope enabled.
Path Parameters
The agent id.
Query Parameters
If true, omit textContent and data from each document, returning metadata only. Defaults to false.
Response
Success. Empty result sets are also 200.
Response fields for this endpoint are not modelled in the spec yet. See the Workspace API guide for the shapes.

