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 URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/stats/runs-history
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

Query parameters

environment_idstring uuid required

Environment to count runs in.

start_datestring date-time nullable

Only runs started at or after this time. Defaults to 30 days ago; no offset means UTC.

Response

Successful Response

datestring date required

UTC day the runs started.

startedinteger required

Runs from this day that are still executing.

failedinteger required

Runs from this day that failed.

completedinteger required

Runs from this day that completed.

cancelledinteger required

Runs from this day that were cancelled.

Changes

No recorded changes to this operation across all 2 revisions of this API.