v54

Swagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Organizations

Get provisioner jobs

get/api/v2/organizations/{organization}/provisionerjobs

Path parameters

organizationstring uuid required

Organization ID

Query parameters

limitinteger

Page limit

idsstring[]

Filter results by job IDs

status'pending' | 'running' | 'succeeded' | 'canceling' | 'canceled' | 'failed' | 'unknown' | 'pending' | 'running' | 'succeeded' | 'canceling' | 'canceled' | 'failed'

Filter results by status

Provisioner tags to filter by (JSON of the form {'tag1':'value1','tag2':'value2'})

initiatorstring uuid

Filter results by initiator

Response

OK

available_workersstring[]
canceled_atstring date-time
completed_atstring date-time
created_atstring date-time
errorstring
error_code'REQUIRED_TEMPLATE_VARIABLES' | 'INSUFFICIENT_QUOTA'
file_idstring uuid
idstring uuid
initiator_idstring uuid
logs_overflowedboolean
organization_idstring uuid
queue_positioninteger
queue_sizeinteger
started_atstring date-time
status'pending' | 'running' | 'succeeded' | 'canceling' | 'canceled' | 'failed' | 'unknown'
tagsobject
type'template_version_import' | 'workspace_build' | 'template_version_dry_run'
worker_idstring uuid
worker_namestring