Skip to main content
POST
Queue an owned node's typed Advanced or backup operation

Autorisierungen

Authorization
string
header
erforderlich

OIDC/JWKS bearer token. Self-hosted defaults to Pocket ID; SaaS uses Auth0 through the edge. PocketBase JWT is legacy migration compatibility only.

Header

Idempotency-Key
string

Required for backup_restore_activate; derived identity binds durable replay.

Required string length: 1 - 128

Pfadparameter

id
string
erforderlich

Stack ID

Body

application/json
agent_id
string
erforderlich
Minimum string length: 1
operation
enum<string>
erforderlich
Verfügbare Optionen:
plan,
apply,
verify,
upgrade,
drift_detect,
drift_reconcile,
advanced_change_set,
rollback,
restore_drill,
backup_run,
backup_configure,
backup_status,
backup_restore,
backup_restore_activate,
backup_restore_recover,
ai_provider
owner_approved
boolean
target_release
string
dry_run
boolean
offline
boolean
stackkit
string

Optional execution binding; normally derived from the stack's managed rollout.

candidate_spec
object

Canonical candidate StackSpec validated by the pinned node executor; required for advanced_change_set.

rollback_target_ref
string

Exact executor-state snapshot or change-set digest.

Pattern: ^sha256:[a-f0-9]{64}$
snapshot_anchor_id
string
Pattern: ^sha256:[a-f0-9]{64}$
restore_result_id
string
Pattern: ^sha256:[a-f0-9]{64}$
activation_operation_id
string
restore_plan_hash
string
Pattern: ^sha256:[a-f0-9]{64}$
ai_provider_base_url
string

https base URL of the OpenAI-compatible provider API for ai_provider.

Maximum string length: 512
wallet_item_id
string

kombify Wallet item holding the provider's API key for ai_provider.

Pattern: ^itm_[a-z2-7]{26}$
wallet_item_rotate
boolean

Deliver a rotated item that replaces the version the node holds.

ai_provider_disable
boolean

Remove the external provider instead of setting it.

Antwort

Typed lifecycle job accepted; execution and evidence remain pending

data
object
meta
object