Minctrl Docs
API ReferenceAnalytics

Single-workflow metrics

GET
/analytics/workflows/{workflow_id}

Detailed metrics for a single workflow — verified against user's company.

Requires a valid bearer token and an active company (403 otherwise). Ownership is checked: 404 if the workflow does not exist, 403 if it belongs to a different company. Returns per-agent-run rows plus token / cost / duration totals for the workflow.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

workflow_id*Workflow Id

Response Body

application/json

application/json

curl -X GET "https://example.com/analytics/workflows/string"
null
Empty
Empty
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}