Get Agent Count
GET
/api/v1/workflow/countGet 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.
cURL example
curl -X GET \
'http://localhost:8000/api/v1/workflow/count' \
-H 'Authorization: Bearer <API_KEY>'Parameters
| Name | Location | Type | Description |
|---|---|---|---|
authorization | header | object | — |
X-API-Key | header | object | — |
Responses
200Successful Responseapplication/jsonView schema
{
"$ref": "#/components/schemas/WorkflowCountResponse"
}404Not found422Validation Errorapplication/jsonView schema
{
"$ref": "#/components/schemas/HTTPValidationError"
}