SnozeDevelopers
API referenceDatabases

Read parent context and sub-record progress

Requires record read access. Reads up to 200 active record IDs in this database. Returns their active parent, direct-child count, and completion across all active children or descendant leaves, independently of view filters.

POST
/v1/workspaces/{workspaceId}/databases/{databaseId}/sub-records/summaries
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
databaseId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/workspaces/string/databases/string/sub-records/summaries" \  -H "Content-Type: application/json" \  -d '{    "recordIds": []  }'
{  "data": [    {      "recordId": "0470cfd4-dcf3-4d8c-ac28-58c6deeff25f",      "parent": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "title": "string"      },      "childCount": 0,      "progress": {        "completed": 0,        "total": 0,        "mode": "children"      }    }  ]}