The projects that use this workflow (team or official): the slot it fills, its triggers and the revision each project pins, ordered by project name. Only projects the caller can read workflows of are listed (PERMISSIONS §5 project visibility, cut to a token's project scope); `meta.totalCount` counts the same set. The route takes the point of the workflow it names (`workflow:read` team-wide, as `GET {id}` does).
GET
/v1/workflow-definitions/{id}/usagescurl -X GET 'https://api.embodiflow.io/v1/workflow-definitions/{id}/usages' \
-H "Authorization: Bearer $EMBODIFLOW_PAT"Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Path parameters
- idstringrequired
Query parameters
- pageSizenumber
Page size (default 25, maximum 100). Over-maximum is refused.
- pageTokenstring
Opaque page token from the previous response.
Responses
Success
- dataarray<WorkflowUsageView>required
- projectobjectrequired
- purposestringrequiredAllowed valuesexportprocessingcurate
- triggersobject | nullrequired
- revisionobjectrequired
- updatedAtstringrequired
- nextPageTokenstring
Opaque AIP-158 page token. Omitted when the collection is exhausted.
- metaobjectrequired
- pageSizenumberrequired
- totalCountnumber
- truncatedone of
- requestIdstring
Response example
{
"data": [
{
"project": {
"id": "string",
"slug": "string",
"name": "string",
"dataKind": "string"
},
"purpose": "export",
"triggers": {},
"revision": {
"id": "string",
"revision": 0,
"publishedAt": "string"
},
"updatedAt": "string"
}
],
"nextPageToken": "string",
"meta": {
"pageSize": 0,
"totalCount": 0,
"truncated": false,
"requestId": "string"
}
}Servershttps://api.embodiflow.io/v1