Skip to main content
GET
List an agent's documents

Authorizations

Authorization
string
header
required

Workspace API key (wk_) with the Workspace read API scope enabled.

Path Parameters

agentId
string
required

The agent id.

Query Parameters

excludeContent
boolean

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.