stats
Get run history
Returns daily run counts by current status, grouped by the UTC date each run started.
Each day counts runs that are now started, completed, failed or cancelled. Days without started runs are omitted. Defaults to the last 30 days.
Required permission: stats.view.
get/v1/projects/{project_id}/stats/runs-history
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
project_id, string uuid required
ID of the project the API key belongs to.
Query parameters
environment_id, string uuid required
Environment to count runs in.
start_date, string date-time nullable
Only runs started at or after this time. Defaults to 30 days ago; no offset means UTC.
Response
Successful Response
Public Run History Item Response[] required
date, string date required
UTC day the runs started.
started, integer required
Runs from this day that are still executing.
failed, integer required
Runs from this day that failed.
completed, integer required
Runs from this day that completed.
cancelled, integer required
Runs from this day that were cancelled.
Changes
No recorded changes to this operation across all 17 revisions of this API.