Skip to main content
GET
List agent documents
Returns the documents associated with an agent’s knowledge base. The API key must belong to the supplied user, and that user must have access to the agent. Use the related operations to upload or delete documents. An upload accepts up to 10 PDF, DOCX, or TXT files per request, with a maximum size of 10 MB per file.

Authorizations

X-Authorization
string
header
required

Query Parameters

uid
string
required

User ID

agentId
string
required

Agent ID

Response

List of documents

documents
object[]
required
Last modified on August 10, 2026