GET /v1/environments
GET
/v1/environmentsAuthorization
AuthorizationBearer token · headerrequiredQuery parameters
limitintegermin 1 · max 1000
cursorTextmin length 1 · matches ^[^\x00]+$
label_selectorTextComma-separated key=value selectors; all must match
min length 1 · matches ^[^\x00]+$
Responses
200
Cursor-paginated list
itemsEnvironment[]requiredShow propertiesHide properties
Array of
Environmentcreated_atTimestamprequiredmatches Z$
idEnvironmentIdrequiredmatches ^env_[0-9A-HJKMNP-TV-Z]{26}$
labelsobjectrequiredlatest_revisionRevisionIdrequiredmatches ^rev_[0-9A-HJKMNP-TV-Z]{26}$
nameText | nullrequiredShow propertiesHide properties
One of:
Text
stringnull
nullnext_cursorText | nullrequiredShow propertiesHide properties
One of:
Text
stringnull
null400
Typed error; Retry-After is present when retryable
errorErrorBodyrequiredShow propertiesHide properties
codeErrorCoderequiredAllowed:
unsupported_capabilityunsupported_operationinvalid_argumentnot_foundwrong_stateunauthorizedcredential_invalidcredential_expiredquota_exhaustedcapacity_exhaustedno_matching_offeringnot_preparedimage_not_foundimage_pull_failedtimeoutprovider_unavailablestream_lostinternalkvm_unavailablesandbox_goneplacement_failedpolicy_deniedambiguous_nameidempotency_conflictidempotency_in_progressidempotency_expiredunsupported_devcontainer_keycontract_version_mismatchdetailsErrorDetailsrequiredShow propertiesHide properties
capabilityCapabilityNamematches ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*@[1-9][0-9]*$ · default: null
fieldstringdefault: null
outcomeOutcomeCertaintydefault: null
Allowed:
not_startedunknownreasonstringdefault: null
scopeErrorScopedefault: null
Allowed:
cartonprovidertraceErrorTraceEntry[]default: null
Show propertiesHide properties
Array of
ErrorTraceEntrydetailstringrequiredresultTextrequiredmin length 1 · matches ^[^\x00]+$
targetTextrequiredmin length 1 · matches ^[^\x00]+$
vendor_detailsobjectdefault: {}
violationsViolation[]default: null
Show propertiesHide properties
Array of
Violationmessagestringrequiredpathstringrequiredmessagestringrequiredretryablebooleanrequired401
Typed error; Retry-After is present when retryable
errorErrorBodyrequiredShow propertiesHide properties
codeErrorCoderequiredAllowed:
unsupported_capabilityunsupported_operationinvalid_argumentnot_foundwrong_stateunauthorizedcredential_invalidcredential_expiredquota_exhaustedcapacity_exhaustedno_matching_offeringnot_preparedimage_not_foundimage_pull_failedtimeoutprovider_unavailablestream_lostinternalkvm_unavailablesandbox_goneplacement_failedpolicy_deniedambiguous_nameidempotency_conflictidempotency_in_progressidempotency_expiredunsupported_devcontainer_keycontract_version_mismatchdetailsErrorDetailsrequiredShow propertiesHide properties
capabilityCapabilityNamematches ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*@[1-9][0-9]*$ · default: null
fieldstringdefault: null
outcomeOutcomeCertaintydefault: null
Allowed:
not_startedunknownreasonstringdefault: null
scopeErrorScopedefault: null
Allowed:
cartonprovidertraceErrorTraceEntry[]default: null
Show propertiesHide properties
Array of
ErrorTraceEntrydetailstringrequiredresultTextrequiredmin length 1 · matches ^[^\x00]+$
targetTextrequiredmin length 1 · matches ^[^\x00]+$
vendor_detailsobjectdefault: {}
violationsViolation[]default: null
Show propertiesHide properties
Array of
Violationmessagestringrequiredpathstringrequiredmessagestringrequiredretryablebooleanrequired403
Typed error; Retry-After is present when retryable
errorErrorBodyrequiredShow propertiesHide properties
codeErrorCoderequiredAllowed:
unsupported_capabilityunsupported_operationinvalid_argumentnot_foundwrong_stateunauthorizedcredential_invalidcredential_expiredquota_exhaustedcapacity_exhaustedno_matching_offeringnot_preparedimage_not_foundimage_pull_failedtimeoutprovider_unavailablestream_lostinternalkvm_unavailablesandbox_goneplacement_failedpolicy_deniedambiguous_nameidempotency_conflictidempotency_in_progressidempotency_expiredunsupported_devcontainer_keycontract_version_mismatchdetailsErrorDetailsrequiredShow propertiesHide properties
capabilityCapabilityNamematches ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*@[1-9][0-9]*$ · default: null
fieldstringdefault: null
outcomeOutcomeCertaintydefault: null
Allowed:
not_startedunknownreasonstringdefault: null
scopeErrorScopedefault: null
Allowed:
cartonprovidertraceErrorTraceEntry[]default: null
Show propertiesHide properties
Array of
ErrorTraceEntrydetailstringrequiredresultTextrequiredmin length 1 · matches ^[^\x00]+$
targetTextrequiredmin length 1 · matches ^[^\x00]+$
vendor_detailsobjectdefault: {}
violationsViolation[]default: null
Show propertiesHide properties
Array of
Violationmessagestringrequiredpathstringrequiredmessagestringrequiredretryablebooleanrequired422
Typed error; Retry-After is present when retryable
errorErrorBodyrequiredShow propertiesHide properties
codeErrorCoderequiredAllowed:
unsupported_capabilityunsupported_operationinvalid_argumentnot_foundwrong_stateunauthorizedcredential_invalidcredential_expiredquota_exhaustedcapacity_exhaustedno_matching_offeringnot_preparedimage_not_foundimage_pull_failedtimeoutprovider_unavailablestream_lostinternalkvm_unavailablesandbox_goneplacement_failedpolicy_deniedambiguous_nameidempotency_conflictidempotency_in_progressidempotency_expiredunsupported_devcontainer_keycontract_version_mismatchdetailsErrorDetailsrequiredShow propertiesHide properties
capabilityCapabilityNamematches ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*@[1-9][0-9]*$ · default: null
fieldstringdefault: null
outcomeOutcomeCertaintydefault: null
Allowed:
not_startedunknownreasonstringdefault: null
scopeErrorScopedefault: null
Allowed:
cartonprovidertraceErrorTraceEntry[]default: null
Show propertiesHide properties
Array of
ErrorTraceEntrydetailstringrequiredresultTextrequiredmin length 1 · matches ^[^\x00]+$
targetTextrequiredmin length 1 · matches ^[^\x00]+$
vendor_detailsobjectdefault: {}
violationsViolation[]default: null
Show propertiesHide properties
Array of
Violationmessagestringrequiredpathstringrequiredmessagestringrequiredretryablebooleanrequired429
Typed error; Retry-After is present when retryable
errorErrorBodyrequiredShow propertiesHide properties
codeErrorCoderequiredAllowed:
unsupported_capabilityunsupported_operationinvalid_argumentnot_foundwrong_stateunauthorizedcredential_invalidcredential_expiredquota_exhaustedcapacity_exhaustedno_matching_offeringnot_preparedimage_not_foundimage_pull_failedtimeoutprovider_unavailablestream_lostinternalkvm_unavailablesandbox_goneplacement_failedpolicy_deniedambiguous_nameidempotency_conflictidempotency_in_progressidempotency_expiredunsupported_devcontainer_keycontract_version_mismatchdetailsErrorDetailsrequiredShow propertiesHide properties
capabilityCapabilityNamematches ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*@[1-9][0-9]*$ · default: null
fieldstringdefault: null
outcomeOutcomeCertaintydefault: null
Allowed:
not_startedunknownreasonstringdefault: null
scopeErrorScopedefault: null
Allowed:
cartonprovidertraceErrorTraceEntry[]default: null
Show propertiesHide properties
Array of
ErrorTraceEntrydetailstringrequiredresultTextrequiredmin length 1 · matches ^[^\x00]+$
targetTextrequiredmin length 1 · matches ^[^\x00]+$
vendor_detailsobjectdefault: {}
violationsViolation[]default: null
Show propertiesHide properties
Array of
Violationmessagestringrequiredpathstringrequiredmessagestringrequiredretryablebooleanrequired500
Typed error; Retry-After is present when retryable
errorErrorBodyrequiredShow propertiesHide properties
codeErrorCoderequiredAllowed:
unsupported_capabilityunsupported_operationinvalid_argumentnot_foundwrong_stateunauthorizedcredential_invalidcredential_expiredquota_exhaustedcapacity_exhaustedno_matching_offeringnot_preparedimage_not_foundimage_pull_failedtimeoutprovider_unavailablestream_lostinternalkvm_unavailablesandbox_goneplacement_failedpolicy_deniedambiguous_nameidempotency_conflictidempotency_in_progressidempotency_expiredunsupported_devcontainer_keycontract_version_mismatchdetailsErrorDetailsrequiredShow propertiesHide properties
capabilityCapabilityNamematches ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*@[1-9][0-9]*$ · default: null
fieldstringdefault: null
outcomeOutcomeCertaintydefault: null
Allowed:
not_startedunknownreasonstringdefault: null
scopeErrorScopedefault: null
Allowed:
cartonprovidertraceErrorTraceEntry[]default: null
Show propertiesHide properties
Array of
ErrorTraceEntrydetailstringrequiredresultTextrequiredmin length 1 · matches ^[^\x00]+$
targetTextrequiredmin length 1 · matches ^[^\x00]+$
vendor_detailsobjectdefault: {}
violationsViolation[]default: null
Show propertiesHide properties
Array of
Violationmessagestringrequiredpathstringrequiredmessagestringrequiredretryablebooleanrequired503
Typed error; Retry-After is present when retryable
errorErrorBodyrequiredShow propertiesHide properties
codeErrorCoderequiredAllowed:
unsupported_capabilityunsupported_operationinvalid_argumentnot_foundwrong_stateunauthorizedcredential_invalidcredential_expiredquota_exhaustedcapacity_exhaustedno_matching_offeringnot_preparedimage_not_foundimage_pull_failedtimeoutprovider_unavailablestream_lostinternalkvm_unavailablesandbox_goneplacement_failedpolicy_deniedambiguous_nameidempotency_conflictidempotency_in_progressidempotency_expiredunsupported_devcontainer_keycontract_version_mismatchdetailsErrorDetailsrequiredShow propertiesHide properties
capabilityCapabilityNamematches ^[a-z][a-z0-9_-]*(\.[a-z][a-z0-9_-]*)*@[1-9][0-9]*$ · default: null
fieldstringdefault: null
outcomeOutcomeCertaintydefault: null
Allowed:
not_startedunknownreasonstringdefault: null
scopeErrorScopedefault: null
Allowed:
cartonprovidertraceErrorTraceEntry[]default: null
Show propertiesHide properties
Array of
ErrorTraceEntrydetailstringrequiredresultTextrequiredmin length 1 · matches ^[^\x00]+$
targetTextrequiredmin length 1 · matches ^[^\x00]+$
vendor_detailsobjectdefault: {}
violationsViolation[]default: null
Show propertiesHide properties
Array of
Violationmessagestringrequiredpathstringrequiredmessagestringrequiredretryablebooleanrequired