Skip to main content
GET
/
v1
/
task-management
/
stats
Get task items statistics for an entity
curl --request GET \
  --url http://localhost:3333/v1/task-management/stats \
  --header 'X-API-Key: <api-key>'
{
  "total": 123,
  "byStatus": {
    "todo": 123,
    "in_progress": 123,
    "in_review": 123,
    "done": 123,
    "canceled": 123
  }
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Query Parameters

entityId
string
required

ID of the entity to get task items stats for

Example:

"vnd_abc123def456"

entityType
enum<string>
required

Type of entity

Available options:
vendor,
risk

Response

200 - application/json

Task items statistics retrieved successfully

total
number
byStatus
object