Skip to content

Schemas

The objects the operator API sends and receives.

Field Type Required Description
approver string Yes
decided_at string Yes Format: date-time.
decision string Yes One of approve, deny.
evidence_level string Yes One of token, oidc, webauthn.
Field Type Required Description
approval_id string Yes
decisions array of object Yes
execution_hash string Yes
execution_id string Yes
expires_at string Yes Format: date-time.
rationale null or object Yes
requester object Yes
requirements array of object Yes
status string Yes
steps array of object Yes
summary array of string Yes
Field Type Required Description
approval_id string Yes
created_at string Yes Format: date-time.
decided_at string or null Yes The decision that ended the approval (the deny, or the last approval); null for any other status. Format: date-time.
deciders array of ApprovalDecision Yes
execution_hash string Yes
execution_id string Yes
expires_at string Yes Format: date-time.
requester object Yes
required array of string Yes The roles of the requirements still unsatisfied.
requirements array of object Yes
status string Yes One of pending, approved, denied, expired, cancelled.
summary array of string Yes
time_to_decision_seconds number or null Yes decided_at minus created_at.

A require_approval head written as constants. Its conditions decide which submissions it applies to, so it names no intents; domain is the package it is written in.

Field Type Required Description
distinct_from_requester boolean Yes
domain string Yes
file string Yes
min_evidence string No
role string Yes
rule string Yes
Field Type Required Description
actor string Yes
at string Yes Format: date-time.
body object Yes The event’s body as stored; payloads appear as hashes.
execution_id string or null Yes
hash string Yes
prev_hash string Yes
seq integer Yes
step_index integer or null Yes
type string Yes
Field Type Required Description
at string or null Yes Format: date-time.
hash string Yes
seq integer Yes
Field Type Required Description
activated_at string or null Yes The latest activation; null if never. Format: date-time.
activated_by string or null Yes
active boolean Yes
digest Digest Yes Pattern: ^sha256:[0-9a-f]{64}$.
size integer Yes Bytes of the stored archive.
uploaded_at string Yes Format: date-time.
Field Type Required Description
actor string Yes
at string Yes Format: date-time.
channel string or null Yes One of api, console, null.
digest Digest Yes Pattern: ^sha256:[0-9a-f]{64}$.
note string or null Yes
previous string or null Yes The digest it replaced; null for the first, and on older events that did not record it.
seq integer Yes

Type: Bundle or object.

Field Type Required Description
kind string Yes One of text, binary, too_large.
path string Yes
sha256 string Yes Pattern: ^[0-9a-f]{64}$.
size integer Yes

Type: IntentSummary or object.

Field Type Required Description
already_undone array of integer Yes
body any Yes The body template as written.
connector string Yes
idempotency null or object Yes
method string Yes
output object or null Yes
path string Yes
success array of integer Yes
success_when object No On compensate only. JSON pointers and the values a success answer’s body must hold for the undo to count as done.
Field Type Required Description
auth_type string or null Yes
base_url string Yes
facts array of object Yes
facts_truncated boolean Yes
intents array of string Yes
intents_truncated boolean Yes
max_concurrency integer Yes
name string Yes
secret object or null Yes
steps object Yes Steps by status.
steps_total integer Yes
timeout_ms integer Yes
type string Yes
Field Type Required Description
bundle Digest Yes Pattern: ^sha256:[0-9a-f]{64}$.
connectors array of Connector Yes
from string Yes Format: date-time.
to string Yes Format: date-time.
unattributed_steps object Yes
Field Type Required Description
note string or null Yes
set_at string Yes Format: date-time.
set_by string Yes A principal id, or sefra for the denial breaker.
source string Yes One of operator, breaker.
subject string No The intent type or principal id; absent for the pause.

Type: string. Pattern: ^sha256:[0-9a-f]{64}$.

Field Type Required Description
approval object No
bundle_digest string Yes
created_at string Yes Format: date-time.
error ExecutionError or null Yes
execution_hash string Yes
execution_id string Yes
finished_at string or null Yes Format: date-time.
on_behalf_of any Yes The user the agent acted for, as recorded at acceptance, or null.
principal string Yes
principal_roles array of string Yes As recorded at acceptance.
principal_type string Yes As recorded at acceptance. One of agent, human.
status ExecutionStatus Yes One of pending_approval, executing, compensating, succeeded, rejected, failed, rolled_back, needs_intervention, resolved_manually.
steps array of object Yes
updated_at string Yes Format: date-time.
workflow_started boolean Yes
Field Type Required Description
code string Yes
message string Yes
retryable boolean Yes
stage string Yes
step string No
violations array of object No

Type: string. One of pending_approval, executing, compensating, succeeded, rejected, failed, rolled_back, needs_intervention, resolved_manually.

Field Type Required Description
attention null or object Yes Why an execution in needs_intervention waits; null for any other status.
bundle_digest string Yes
created_at string Yes Received. Format: date-time.
error_code string or null Yes
execution_id string Yes
finished_at string or null Yes Format: date-time.
intents array of string Yes The steps’ intent types in step order; empty without steps.
on_behalf_of string or null Yes The user’s id, as recorded at acceptance.
principal string Yes
status ExecutionStatus Yes One of pending_approval, executing, compensating, succeeded, rejected, failed, rolled_back, needs_intervention, resolved_manually.
updated_at string Yes Format: date-time.

A role or a principal id; exactly one is set.

Field Type Required Description
principal string No
role string No
Field Type Required Description
connectors array of string Yes
description string Yes
disabled boolean Yes The intent’s control now, not bundle content.
effect string Yes One of read, write.
granted_to array of GrantSubject Yes At most, in items: 50.
granted_to_truncated boolean Yes
irreversible boolean Yes
tags array of string Yes
type string Yes
version integer Yes
Field Type Required Description
clock_regression boolean Yes The clock is more than 24 hours behind the latest time in the audit trail.
days_left integer or null Yes Whole days until expires_at; negative after it.
deployment_id string Yes Format: uuid.
development_build boolean Yes Not a release build. Its evaluation never ends and it trusts the development key.
effect string No One of freeze, stop.
expires_at string or null Yes The licence’s expiry or the evaluation’s end; null when there is no end. Format: date-time.
file object Yes
first_event_hash string Yes The hash of the audit trail’s first event; empty while the trail is.
frozen boolean Yes A bundle never active on this deployment is not activated.
lapses_at string or null Yes When the lapse takes effect: the expiry plus the grace days. Format: date-time.
license object or null Yes The installed licence with the latest issued_at; null in evaluation.
limits object Yes
phase string Yes One of unknown, evaluation, valid, expiring, grace, lapsed.
read_error string No Set when the licence could not be read just now. The rest is the last state that was read, which still applies; phase is unknown if none was.
stopped boolean Yes New submissions are refused.
usage object Yes
version string Yes
Field Type Required Description
alert_id string No
approval_id string No
at string Yes Format: date-time.
attempt integer Yes
channel string Yes
error string or null Yes What failed without a status; never a URL or credential.
execution_id string or null Yes
kind string Yes One of approval, alert.
outcome string Yes One of delivered, failed.
seq integer Yes
status integer or null Yes HTTP status of a failed attempt.
Field Type Required Description
body any Yes The redacted body as stored, or null when erased.
erased boolean Yes
hash string Yes
Field Type Required Description
access PrincipalAccess or null Yes
bundle string or null Yes
decisions object Yes
executions PrincipalStatusCounts Yes
first_activity string Yes Format: date-time.
from string Yes Format: date-time.
id string Yes
last_activity string Yes Format: date-time.
on_behalf_of PrincipalStatusCounts Yes
operator_actions object Yes
refusals integer Yes Format: int64.
refusals_by_code object Yes
relations array of PrincipalRelation Yes
roles array of string or null Yes
roles_at string or null Yes Format: date-time.
roles_source string or null Yes One of execution, on_behalf_of, approval_decision, null.
suspension PrincipalSuspension or null Yes
to string Yes Format: date-time.
Field Type Required Description
intent_limits object Yes
intents array of string Yes
intents_truncated boolean Yes
limit PrincipalRate or null Yes
limit_source string Yes One of principal, default, ``.
Field Type Required Description
from string Yes Format: date-time.
next_after string No
principals array of PrincipalRow Yes
to string Yes Format: date-time.
Field Type Required Description
burst integer Yes
per_minute integer Yes

Type: string. One of agent, submitter, user, approver, operator.

Field Type Required Description
decisions integer Yes Format: int64.
executions integer Yes Format: int64.
first_activity string Yes Format: date-time.
id string Yes
last_activity string Yes Format: date-time.
operator_actions integer Yes Format: int64.
refusals integer Yes Format: int64.
relations array of PrincipalRelation Yes
roles array of string or null Yes As last seen; null when no record holds them, as for a person seen only as an operator.
roles_at string or null Yes Format: date-time.
roles_source string or null Yes One of execution, on_behalf_of, approval_decision, null.
suspension PrincipalSuspension or null Yes
Field Type Required Description
by_status object Yes
total integer Yes Format: int64.
Field Type Required Description
note string or null Yes
set_at string Yes Format: date-time.
set_by string Yes
source string Yes One of operator, breaker.
Field Type Required Description
code string No
detail string No
status integer Yes
title string Yes
type string Yes about:blank.
Field Type Required Description
burst integer Yes
per_minute integer Yes
Field Type Required Description
at string Yes Format: date-time.
code string Yes
count integer Yes
execution_id string or null Yes
intents array of string Yes
kind string Yes One of rejected, admission, admission_summary.
principal string Yes
rules array of string Yes
seq integer Yes
stage string Yes One of admission, validation, policy.
Field Type Required Description
by_agent array of object Yes
by_code array of object Yes
by_rule array of object Yes
from string Yes Format: date-time.
to string Yes Format: date-time.
total integer Yes
Field Type Required Description
changed array of ReplayChange Yes
cut object Yes
decisions integer Yes Decisions read in the period, at most 5000.
digest Digest Yes Pattern: ^sha256:[0-9a-f]{64}$.
first_seq integer or null Yes
from string Yes The start actually replayed, after the period bound. Format: date-time.
last_seq integer or null Yes
not_replayed array of integer Yes Sequence numbers of decisions that could not be replayed.
output_only integer Yes Decisions whose output changed with the same effect.
to string Yes Format: date-time.
Field Type Required Description
at string Yes Format: date-time.
execution_id string or null Yes
intent string Yes
phase string Yes
recorded ReplaySide Yes
replayed ReplaySide Yes
seq integer Yes
step_index integer or null Yes
Field Type Required Description
effect string Yes One of allow, deny, require_approval, error.
rules array of string Yes
Field Type Required Description
broken object or null Yes
checked_at string Yes Format: date-time.
duration_ms integer Yes
from integer Yes
head object Yes The head of the check’s snapshot, also when the chain is broken.
ok boolean Yes
to integer Yes Below from for an empty chain.

One series of Insights. rows hold scalars in the order of columns; a chart, its table and its CSV read the same rows.

Field Type Required Description
bucket string or null Yes One of hour, day, null.
columns array of string Yes
from string Yes Format: date-time.
rows array of array of string or number or null Yes
series string Yes
to string Yes Format: date-time.
tz string or null Yes The zone of the buckets; UTC for governed; null for a series without buckets.
Field Type Required Description
attention object Yes
executions object Yes
from string Yes Format: date-time.
governed object Yes
to string Yes Format: date-time.

Type: string. One of pending, executing, succeeded, failed, unknown, compensating, compensated, compensation_failed, skipped.

Field Type Required Description
bundle object or null Yes
checks array of object Yes
configuration object Yes
in_flight object Yes
open_workflows object or null Yes
ready boolean Yes
roles array of string Yes
secrets array of object Yes
version string Yes