runs

Get queued run count

Returns how many runs in the environment are currently waiting in queued status, optionally for one agent.

Required permission: runs.view.

get/v1/projects/{project_id}/environments/{environment_id}/queued-count

Request

  • Base URL: https://api.connic.co
  • URL: https://api.connic.co/v1/projects/{project_id}/environments/{environment_id}/queued-count
  • Auth: HTTP bearer

Path parameters

project_idstring uuid required

ID of the project the API key belongs to.

environment_idstring uuid required

Environment ID from GET /environments.

Query parameters

agent_namestring nullable

Only count runs of this agent.

Response

Successful Response

queued_countinteger required

Runs currently in queued status; scheduled runs are not counted.

Changes

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