Ugrás a fő tartalomhoz

Kampány futtatása

GET/api/v1/campaign/{campaign_id}/runs

Get campaign workflow runs with pagination, filters and sorting

cURL példa

curl -X GET \
  'http://localhost:8000/api/v1/campaign/{campaign_id}/runs' \
  -H 'Authorization: Bearer <API_KEY>'

Paraméterek

NévHelyTípusLeírás
campaign_idkötelezőpathinteger
pagequeryintegerPage number (starts from 1)
limitqueryintegerNumber of items per page
filtersqueryobjectJSON-encoded filter criteria
sort_byqueryobjectField to sort by (e.g., 'duration', 'created_at')
sort_orderqueryobjectSort order ('asc' or 'desc')
authorizationheaderobject
X-API-Keyheaderobject

Válaszok

200Successful Response
application/json
Séma megtekintése
{
  "$ref": "#/components/schemas/CampaignRunsResponse"
}
404Not found
422Validation Error
application/json
Séma megtekintése
{
  "$ref": "#/components/schemas/HTTPValidationError"
}