Skip to main content
POST
Queue an owner-authorized StackKits service action

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string
required
Required string length: 1 - 128

Path Parameters

serviceId
string
required

Canonical service runtime ID

Body

application/json

Either an agent-executed runtime action bound to a fresh inventory revision, or an owner lock action executed entirely in the control plane. The lock is not bound to an inventory observation: an owner must be able to freeze a service whose agent is unreachable.

action
enum<string>
required

update runs the StackKit upgrade of the owning stack to the pinned release; it is accepted only while allowed_actions advertises it.

Available options:
start,
stop,
restart,
logs,
update
expected_inventory_revision
integer<int64>
required
Required range: x >= 1
owner_approved
boolean
required

Required true for start, stop and restart; logs is read-only.

limit
integer

Logs only; defaults to 100.

Required range: 1 <= x <= 200
cursor
string

Logs only; opaque StackKits cursor from the prior page.

Maximum string length: 2048

Response

Action queued or exact durable replay returned

data
object
meta
object