/developers
Developer docsAtom Files ↗
← API referenceBrowse & search · API access unavailable
API REFERENCE / FOLDERS

GET /v1/folders/{folder_id}/children

List one visible folder’s immediate files and subfolders. Like GET /v1/roots, this accepts limit, sort, and an opaque cursor, and returns items plus next_cursor. Default sorting is name_asc; modified_desc is also available. Each page is a live view, not a frozen inventory.

Request fields

LocationFieldTypeRequiredDescription
HeaderAuthorizationstringYesCredential scoped to the authorized resource.
Pathfolder_idstringYesVisible folder ID from a root or prior children page.
QuerylimitintegerNoPage size, 1–200; defaults to 100.
Querysortstring (enum)Noname_asc (default) or modified_desc.
Allowed values · closed enumname_ascmodified_desc
QuerycursorstringNoOpaque next-page cursor bound to this folder, caller, and sort order.

Request example

Example request
GET /v1/folders/folder_123/children?limit=100&sort=name_asc
Authorization: Bearer <scoped token>

HTTP status codes

StatusMeaning
200 OKSuccess response shown below.
400 Bad RequestInvalid limit, sort, or pagination cursor.
401 UnauthorizedMissing, expired, or invalid credential.
403 ForbiddenCredential is valid but lacks the required scope or role.
404 Not FoundFolder does not exist or is not visible to this caller.
410 GonePagination cursor expired; restart this folder listing.
429 Too Many RequestsRate limit reached; honor Retry-After when provided.
503 Service UnavailableService temporarily unavailable; retry safely.

Response fields

FieldTypeExample
itemsobject[][2 shown]
items[].idstringfile_789
items[].typestring (enum)file
Allowed values · closed enumfilefolder
items[].namestringinvoice.pdf
items[].modified_atstring (date-time)2026-10-20T18:00:00Z
items[].version_idstringver_012
items[].availabilitystringavailable
next_cursorstring | nullnull

Response example

Example response
200 OK
Content-Type: application/json

{
  "items": [
    {
      "id": "file_789",
      "type": "file",
      "name": "invoice.pdf",
      "modified_at": "2026-10-20T18:00:00Z",
      "version_id": "ver_012",
      "availability": "available"
    },
    {
      "id": "folder_124",
      "type": "folder",
      "name": "Receipts",
      "modified_at": "2026-10-19T18:00:00Z"
    }
  ],
  "next_cursor": null
}