Get Campaign Runs
GET
/api/v1/campaign/{campaign_id}/runsGet campaign workflow runs with pagination, filters and sorting
cURL example
curl -X GET \
'http://localhost:8000/api/v1/campaign/{campaign_id}/runs' \
-H 'Authorization: Bearer <API_KEY>'Parameters
| Name | Location | Type | Description |
|---|---|---|---|
campaign_idrequired | path | integer | — |
page | query | integer | Page number (starts from 1) |
limit | query | integer | Number of items per page |
filters | query | object | JSON-encoded filter criteria |
sort_by | query | object | Field to sort by (e.g., 'duration', 'created_at') |
sort_order | query | object | Sort order ('asc' or 'desc') |
authorization | header | object | — |
X-API-Key | header | object | — |
Responses
200Successful Responseapplication/jsonView schema
{
"$ref": "#/components/schemas/CampaignRunsResponse"
}404Not found422Validation Errorapplication/jsonView schema
{
"$ref": "#/components/schemas/HTTPValidationError"
}