Count Records
Count records matching a filter.
POST /v1/count-records
Count records matching a filter. Useful for dashboards or checking how many tasks are open/done in a workspace without fetching full data.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
workspaceId | string | No | Filter by workspace ID |
done | boolean | No | Filter by completion status |
archived | boolean | No | Filter by archived status |
{
"workspaceId": "string",
"done": true,
"archived": true
}Response
Returns the result of the operation.
Example
curl -X POST https://rest.blue.app/v1/count-records \
-H "Authorization: Bearer $BLUE_TOKEN" \
-H "blue-org-id: $BLUE_ORG_ID" \
-H "Content-Type: application/json" \
-d '{"workspaceId":"string","done":true,"archived":true}'