Rerun runs in bulk
Reruns up to 100 runs in one environment, each as a new run of the same agent with its original payload.
Supports two modes:
- By IDs: provide run_ids in the request body to rerun specific runs. Query filters are ignored.
- By filter: omit run_ids and use the query parameters to match runs.
Deleted runs are skipped. A selection of more than 100 runs returns 422.
Required permission: runs.rerun.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
Query parameters
Environment to rerun runs in; only its runs are selected.
Only runs executed by this deployment.
Only runs queued at or after this time; applies only together with end_date.
Only runs queued at or before this time; applies only together with start_date.
Only runs in these statuses.
Only runs with at least one guardrail intervention of these outcomes.
Only runs of this agent.
Filter by A/B test variant names; use base for runs without a variant
Exclude runs with a test name
Run search text or filter expression, as in GET /runs.
Request body
Runs to rerun.
IDs of the runs to rerun, at most 100. Omit or send null to select runs with the query filters instead; an empty list is rejected.
Response
Successful Response
Whether the operation succeeded.
Number of runs triggered again.
IDs of the new runs.
Changes
No recorded changes to this operation across all 17 revisions of this API.