Skip to content

Inspect operational context lifecycle, generation, retained work and retirement readiness. Requires connectors:read and current connector administration; historical retired contexts remain inspectable. Connector-wide shutdown and local cleanup require separate evidence.

GET
/api/v1/connectors/{connector_id}/contexts/{context_id}
connector_id
required
string
context_id
required
string

Inspect operational context lifecycle, generation, retained work and retirement readiness. Requires connectors:read and current connector administration; historical retired contexts remain inspectable. Connector-wide shutdown and local cleanup require separate evidence.

Media typeapplication/json
object
accepted_work
required
One of:
null
configuration_removal_generation
required
integer | null format: int64
connector_generation
required
integer format: int64
connector_id
required
string
connector_work
required

Counts describe durable service evidence, never scientific inputs or results.

object
assignment_phases
required
object
collecting_results
required
integer format: int64
executing
required
integer format: int64
preparing
required
integer format: int64
uploading_results
required
integer format: int64
waiting_for_backend
required
integer format: int64
pending_delivery_assignments
required
integer format: int64
pending_log_archives
required
integer format: int64
pending_uploads
required
integer format: int64
retained_queued_runs
required
integer format: int64
unconfirmed_assignments
required

A subset of unfinished assignments; stale contact cannot prove completion.

integer format: int64
unfinished_assignments
required
integer format: int64
generation
required
integer format: int64
id
required
string
live_current_publications
required
integer format: int64
local_cleanup_state
required
string
observed_generation
required
integer format: int64
pending_configuration_retirements
required
integer format: int64
replacement_context_id
required
string | null
retained_publications
required
integer format: int64
retirement_ready
required
boolean
state
required

Operational lifecycle; the immutable execution definition never changes.

string
Allowed values: active draining retired
work
required

Counts describe durable service evidence, never scientific inputs or results.

object
assignment_phases
required
object
collecting_results
required
integer format: int64
executing
required
integer format: int64
preparing
required
integer format: int64
uploading_results
required
integer format: int64
waiting_for_backend
required
integer format: int64
pending_delivery_assignments
required
integer format: int64
pending_log_archives
required
integer format: int64
pending_uploads
required
integer format: int64
retained_queued_runs
required
integer format: int64
unconfirmed_assignments
required

A subset of unfinished assignments; stale contact cannot prove completion.

integer format: int64
unfinished_assignments
required
integer format: int64
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

Malformed request.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

Valid active credential required; connector and user credentials are separate.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

The token does not permit this operation.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

Resource absent or outside the caller’s authority.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

Concurrent generation/publication change, conflicting retry, or a publication awaiting connector validation.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

413: the request body exceeds the configured size limit.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

Request fields, manifest, installation policy, or limits are invalid.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

Authentication, identity provider, or management state is temporarily unavailable.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

An HTTP request failed; inspect the stable error code and request ID.

Media typeapplication/json

The common JSON body for errors returned by the HTTP application.

object
code
required

Stable machine-readable error code.

string
details
One of:
null
message
required

Safe explanation without internal errors or submitted input values.

string
request_id
required

Matches the response’s x-request-id header.

string
Cache-Control
string

No-store

x-request-id
string

Always present. A fresh server-generated UUID for this request; incoming IDs are ignored. On errors, this equals the response body’s request_id.

Documentation 205dcb3116ea · public sources 8c70356d340f · built .Download documentation identity.