Skip to content

bots.count

How many agents the account has.

Returns totals broken down by status — useful for dashboards or quota checks.

{
"total": 5,
"active": 4,
"archived": 1
}

Reference

GET/api/v1/workflows/count

Auth
API key in X-API-Key
Content
none
Returns
200 · WorkflowCountResponse

Get workflow counts for the authenticated user's organization. This is a lightweight endpoint for checking if the user has workflows, useful for redirect logic without fetching full workflow data.

Arguments

This method takes no arguments.

Example request

curl -X GET "https://api.decibyl.ai/api/v1/workflows/count" \
  -H "X-API-Key: dcb_your_key"

Response

{
  "total": 1,
  "active": 1,
  "archived": 1
}

Errors

StatusWhen
404Not found
422Validation Error