List a document's children
View as MarkdownGET
/v1/workspaces/{workspaceId}/childrenLists the direct children of a document (or the top level when parentId is omitted) in order, each with its number of live children. Use it to load a tree level by level.
docs:readRead-only
curl "https://api.lydie.co/v1/workspaces/01JCQ3TZ0WJ8K4M2X7T9R6N1PA/children" \
-H "Authorization: Bearer $LYDIE_TOKEN"Path parameters
Query parameters
- parentIdULID
Omit for the top level.
- includeDeletedboolean
Default
false
Response
- entriesChildEntry[]
Show 14 fieldsHide fields
- idULID
- propertiesobject
- createdAttimestamp
- updatedAttimestamp
- childCountinteger
Live children, so a tree can show a disclosure.
{
"entries": [
{
"id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"workspaceId": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
"parentId": null,
"title": "Meeting notes",
"sortKey": "a0",
"properties": {
"status": "draft"
},
"createdAt": "2026-11-12T09:30:00.000Z",
"updatedAt": "2026-11-12T09:30:00.000Z",
"deletedAt": null,
"createdBy": null,
"updatedBy": null,
"childCount": 0,
"teamspaceId": null,
"privateOwnerId": null
}
]
}Errors use one envelope for every endpoint. See Errors and versions.