Skip to content
LogoLogo

List direct child Documents

List direct child Documents

GET/api/v1/documents/{document_id}/children

Returns one cursor-paginated page of direct children the caller may read, title-ordered unless sort selects modified-time order.

Path Parameters

document_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Query Parameters

sort
string·default title

Sibling order. title (default), updated_desc or updated_asc, matching the workspace Document collection.

Values
titleupdated_descupdated_asc
cursor
string·min 1·max 2048

Opaque continuation cursor returned by the preceding page.

limit
integer·min 1·max 100·default 50

Maximum number of resources to return.

Responses