v1

latestOpenAPI 3.0.12026-07-2696152184.1 KB
Documents

List Documents

List all knowledge base documents in your organization

get/agents/documents

Query parameters

starting_afterstring

A cursor for pagination. Pass the ID of the last document from the previous page to fetch the next page.

ending_beforestring

A cursor for pagination. Pass the ID of the first document from the previous page to fetch the previous page.

limitinteger

The number of documents to return per page, ranging between 1 and 100. Defaults to 10.

Headers

Cartesia-Version'2026-03-01' date required
Example:2026-03-01

API version header.

Response

A paginated list of documents.

has_moreboolean required

Whether more results are available after this page.

next_pagestring nullable

An ID that can be passed as starting_after or ending_before to get the next page.