List workflow recipient runs
Changed onReturns a paginated list of workflow recipient runs for the current environment.
Request
- Base URL: https://api.knock.app
- URL: https://api.knock.app/v1/workflow_recipient_runs
- Auth: HTTP bearer
Query parameters
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of items per page (defaults to 50).
Limits the results to workflow recipient runs for the given workflow key.
Limits the results to workflow recipient runs with the given status.
Limits the results to workflow recipient runs for the given tenant.
Limits the results to workflow recipient runs that have errors.
Limits the results to workflow recipient runs for the given recipient. Accepts a user ID string or an object reference with id and collection.
Limits the results to workflow recipient runs started after the given date.
Limits the results to workflow recipient runs started before the given date.
Response
OK
Example response
{
"items": [
{
"__typename": "WorkflowRecipientRun",
"actor": "user_456",
"error_count": 0,
"id": "550e8400-e29b-41d4-a716-446655440000",
"inserted_at": "2025-01-01T00:00:00Z",
"recipient": "user_123",
"status": "completed",
"tenant": "tenant_abc",
"trigger_source": {
"cancellation_key": "comment-123-user-456",
"type": "api"
},
"updated_at": "2025-01-01T00:05:00Z",
"workflow": "comment-created",
"workflow_run_id": "660e8400-e29b-41d4-a716-446655440000"
}
],
"page_info": {
"__typename": "PageInfo",
"after": null,
"before": null,
"page_size": 25
}
}Changes
- warning
deleted the
queryrequest parameterstatus[] - info
added the new optional
queryrequest parameterstatus
- warning
- info
added
subschema #2to the//response propertyanyOflist for the response status - info
removed
subschema #2from the//response propertyoneOflist for the response status
- info