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
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

environment_id, string uuid required

Environment ID from GET /environments.

Query parameters

agent_name, string nullable

Only count runs of this agent.

Response

Successful Response

QueuedCountResponse required

Number of runs waiting in the queue.

queued_count, integer required

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

Changes

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