# List active workflows using a connection ```http GET https://api.onehazel.com/onehazel-api/connections/{connectionId}/usage ``` The active workflows that reference this connection, so a pause can warn first. Section: [Connections](./) Operation id: `getConnectionsByConnectionIdUsage` ## Authentication Signed-in session token (`Authorization: Bearer `). ## Parameters | Name | In | Required | Description | |---|---|---|---| | `connectionId` | path | yes | | ## Responses `200` `{ "success": true, "data": ... }` Errors return `{ "success": false, "error": { "code": "...", "message": "..." } }` with a 4xx or 5xx status. ## Example ```bash curl -X GET "https://api.onehazel.com/onehazel-api/connections/{connectionId}/usage" \ -H "Authorization: Bearer YOUR_SESSION_TOKEN" ``` Machine-readable: [openapi.yaml](/openapi.yaml), [openapi.json](/openapi.json).