Skip to main content

Schemas

The request and response bodies the operations name. The frames of the event stream are described in the protocol reference.

AcceptInvitation​

FieldTypeRequiredDescription
tokenstringyes
passwordstringyes

Accepted​

FieldTypeRequiredDescription
acceptedtrueyes
conversation_idstring (uuid)yes

Account​

FieldTypeRequiredDescription
idstring (uuid)yes
emailstringyes
role"admin", "member"yes
disabledbooleanyes
created_atstring (date-time)yes
last_active_atstring (date-time) or nullyesThe account's last authenticated request, to the minute (written at most once a minute); null if it never made one.

Accounts​

FieldTypeRequiredDescription
itemsarray of Accountyes

AdminConnector​

FieldTypeRequiredDescription
urlstring (uri)yeshttps, with a host; no user information, no fragment, and no credential-like query keys.
authobjectyes
secret_refstringThe shared credential's secret name; a user's own credential takes precedence. Needs an auth scheme.
toolsobjectExactly one list: only these tools, or all but these.
call_timeout_secondsinteger 1–600yes
enabledbooleanyes
enabled_by_defaultbooleanyesNew conversations start with it until profiles choose connectors.
namestringyes
insecure_httpbooleanFile-only; present only when set.
ca_filestringFile-only; present only when set.
display_namestring or nullyes
key_missingbooleanyessecret_ref names a secret with no value.
versioninteger 1 or moreyes
seed"current", "removed", nullyesWhether the [[connectors]] seed lists it.
last_set_by"seed", "admin"yes
updated_atstring (date-time)yes

AdminConnectorWrite​

Every connector field except the name (the path gives it). insecure_http and ca_file are file-only.

FieldTypeRequiredDescription
urlstring (uri)yeshttps, with a host; no user information, no fragment, and no credential-like query keys.
authobject
secret_refstringThe shared credential's secret name; a user's own credential takes precedence. Needs an auth scheme.
toolsobjectExactly one list: only these tools, or all but these.
call_timeout_secondsinteger 1–600
enabledboolean
enabled_by_defaultbooleanNew conversations start with it until profiles choose connectors.
display_namestring or nullThe editable label; no control characters or surrounding spaces.
versioninteger 1 or more or nullThe version read; absent to create.

AdminConnectors​

FieldTypeRequiredDescription
itemsarray of AdminConnectoryes
generationintegeryesThe settings generation the list was read at.

AdminDecisionEngine​

FieldTypeRequiredDescription
protocol"decision_v1", "typed_questions_v1"yesdecision_v1: the relay forwards decision/v1 as is; typed_questions_v1: the relay asks the engine's service one multiple-choice question per step (before steps only) and answers with the decision.
display_namestringWhat people read; no control characters or surrounding spaces. The name stays the identifier.
urlstring (uri)yesdecision_v1: the engine's base URL; the relay posts to <url>/v1/before_step and /v1/after_response. typed_questions_v1: the service's endpoint, posted to as is. https, with a host; no user information, no fragment, and no credential-like query keys.
authobjectyes
key_refstringThe installation's credential for the engine: a shared secret that allows the engine (never a user's own). Needs an auth scheme.
timeout_msinteger 1–10000yesHow long the engine has to answer.
exposure"none", "calls", "full"yesWhat the engine sees: tool names only (none), names and arguments (calls), or the full conversation (full). Every change is audited as its own action.
enabledbooleanyes
namestringyes
insecure_httpbooleanFile-only; present only when set.
ca_filestringFile-only; present only when set.
key_missingbooleanyeskey_ref names a secret without a value.
versioninteger 1 or moreyes
seed"current", "removed", nullyescurrent: from the seed file; removed: no longer in it; null: added here.
last_set_by"seed", "admin"yes
updated_atstring (date-time)yes
modelstringA typed-question engine's model identifier, which its service requires (see the service's documentation); pinned for a measurement. Not accepted on a decision_v1 engine.
min_confidencenumberA typed-question engine's threshold: a choice below it takes the conversation's own route; 0.6 when unset. Not accepted on a decision_v1 engine.
route_hintsobjectA typed-question engine's one-line description of each route, offered with its option; the route's name otherwise. Not accepted on a decision_v1 engine.
budgetobjectThe engine's optional budget, an administrator's setting, off when absent; calls or tokens (or both). Counted from the engine's usage rows.
budget_usedobjectOnly with a budget: the consultations and their tokens (input and output, as the service reports them) over the budget's current count.
budget_sincestring (date-time)Only with a budget: where its current count starts. For total, when the budget was set or last changed (saving a new budget starts a new count); for month, the first instant of this calendar month in UTC, whatever changed in it.

AdminDecisionEngineWrite​

Every engine field except the name (the path gives it). insecure_http and ca_file are file-only.

FieldTypeRequiredDescription
protocol"decision_v1", "typed_questions_v1"decision_v1: the relay forwards decision/v1 as is; typed_questions_v1: the relay asks the engine's service one multiple-choice question per step (before steps only) and answers with the decision.
display_namestringWhat people read; no control characters or surrounding spaces. The name stays the identifier.
urlstring (uri)yesdecision_v1: the engine's base URL; the relay posts to <url>/v1/before_step and /v1/after_response. typed_questions_v1: the service's endpoint, posted to as is. https, with a host; no user information, no fragment, and no credential-like query keys.
authobject
key_refstringThe installation's credential for the engine: a shared secret that allows the engine (never a user's own). Needs an auth scheme.
timeout_msinteger 1–10000How long the engine has to answer.
exposure"none", "calls", "full"What the engine sees: tool names only (none), names and arguments (calls), or the full conversation (full). Every change is audited as its own action.
enabledboolean
versioninteger 1 or more or nullThe version read; absent to create.
modelstringA typed-question engine's model identifier, which its service requires (see the service's documentation); pinned for a measurement. Not accepted on a decision_v1 engine.
min_confidencenumberA typed-question engine's threshold: a choice below it takes the conversation's own route; 0.6 when unset. Not accepted on a decision_v1 engine.
route_hintsobjectA typed-question engine's one-line description of each route, offered with its option; the route's name otherwise. Not accepted on a decision_v1 engine.
budgetobjectThe engine's optional budget, an administrator's setting, off when absent; calls or tokens (or both). Counted from the engine's usage rows.

AdminDecisionEngines​

FieldTypeRequiredDescription
itemsarray of AdminDecisionEngineyes
generationintegeryesThe settings generation the list was read at.

AdminEgressPresetApplied​

FieldTypeRequiredDescription
addedarray of AdminEgressPresetRuleyes
keptarray of AdminEgressPresetRuleyes

AdminEgressPresetRemoved​

FieldTypeRequiredDescription
removedarray of AdminEgressPresetRuleyes
keptarray of AdminEgressPresetRuleyes

AdminEgressPresetRule​

FieldTypeRequiredDescription
hoststringyesAn exact name, *.domain, or * (any website, only from open_web).
portsarray of integer 1–65535

AdminEgressPresets​

FieldTypeRequiredDescription
itemsarray of objectyes

AdminEgressRefusal​

FieldTypeRequiredDescription
hoststringyesThe refused destination's name or address, in the allow-list's canonical form.
portinteger 1–65535yes
reason"not_listed", "private", "disabled", "internal_forbidden", "internal_unconfigured", "internal_unverified", "key_over_plain_http"yesWhy the proxy refused it.
countinteger 1 or moreyesHow often it was refused since the gateway started.
last_atstring (date-time)yes
list"install"yesThe list that refused it: the install's (per-profile lists are not built).
allowablebooleanyesA rule for this host and port would open it.
allowedbooleanyesThe allow-list as it is now lets this host and port through.

AdminEgressRefusals​

FieldTypeRequiredDescription
itemsarray of AdminEgressRefusalyes
limitinteger 1 or moreyes

AdminEgressRule​

One allow-list rule.

FieldTypeRequiredDescription
hoststringyesThe canonical host pattern: lower case, no trailing dot.
portsarray of integer 1–65535yesSorted.
versioninteger 1 or moreyesSend it back to replace or delete.
seed"current", "removed", nullyescurrent while [[egress.allow]] lists it, removed after it no longer does (the rule still applies), null if never seeded.
last_set_by"seed", "admin"yes
updated_atstring (date-time)yes
preset"package_registries", "open_web", "code_hosting", nullyesThe internet-access preset that added the rule, until an administrator edits it (it is then theirs).
internalbooleanyesThe administrator lets this exact host name reach a private address (an internal server, ADR-0035 amendment). Off unless set; never on a wildcard, the any-host rule or an address.
internal_state"internal_never_missing", "engine_unknown"Only on an internal rule that can't be used right now: internal_never_missing (name this machine's own addresses in [egress] internal_never) or engine_unknown (the container engine's networks can't be read). Absent when the rule works.

AdminEgressRuleWrite​

FieldTypeRequiredDescription
portsarray of integer 1–65535yes1 to 16 distinct non-zero ports, in any order.
versioninteger 1 or moreRequired to replace (the version read); omitted to create.
internalbooleanLets this exact host name reach a private address (ADR-0035 amendment). Refused on a wildcard or an address (internal_name_only).

AdminEgressRules​

FieldTypeRequiredDescription
disabledbooleanyesEgress is off by configuration: sandboxes are internal-only, no rule applies and writes answer 409 egress_disabled.
itemsarray of AdminEgressRuleyes
limitinteger 1 or moreyesThe most rules the list may hold; the list never pages.

AdminHostKeyAdd​

FieldTypeRequiredDescription
namestringyesWhat the task sees the key by. Reserved (name_reserved): PATH, HOME, USER, LOGNAME, SHELL, PWD, OLDPWD, TMPDIR, LANG, LANGUAGE, TERM, HOSTNAME, HTTP_PROXY, HTTPS_PROXY, NO_PROXY, ALL_PROXY, SSL_CERT_FILE, SSL_CERT_DIR, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE, PIP_CERT, NODE_EXTRA_CA_CERTS, NODE_OPTIONS, PYTHONPATH, PYTHONHOME, PYTHONSTARTUP, and any name starting LC_, LD_, GIT_ or TQA_.
addressstringyeshttps://host[:port][/path]: one exact host name (no address, no wildcard), port 443 unless given, an optional path prefix; no credentials, query or fragment.
scheme"bearer", "basic", "header"yesHow the service expects it; header is not available yet (scheme_not_supported).
user_namestring or nullbasic only: the stored user name.
header_namestring or nullheader only (not available yet).
valuestringyesThe key's value: write-only, never returned. No NUL or line break.
users"all" or array of string (uuid)yesWho may use the shared key: all, or up to 256 chosen people's ids.

AdminHostKeyPut​

The whole item at the version read; value only when replacing it. Any successful save clears check_name.

FieldTypeRequiredDescription
versioninteger 1 or moreyes
namestringyesWhat the task sees the key by. Reserved (name_reserved): PATH, HOME, USER, LOGNAME, SHELL, PWD, OLDPWD, TMPDIR, LANG, LANGUAGE, TERM, HOSTNAME, HTTP_PROXY, HTTPS_PROXY, NO_PROXY, ALL_PROXY, SSL_CERT_FILE, SSL_CERT_DIR, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE, PIP_CERT, NODE_EXTRA_CA_CERTS, NODE_OPTIONS, PYTHONPATH, PYTHONHOME, PYTHONSTARTUP, and any name starting LC_, LD_, GIT_ or TQA_.
addressstringyeshttps://host[:port][/path]: one exact host name (no address, no wildcard), port 443 unless given, an optional path prefix; no credentials, query or fragment.
scheme"bearer", "basic", "header"yesHow the service expects it; header is not available yet (scheme_not_supported).
user_namestring or nullbasic only: the stored user name.
header_namestring or nullheader only (not available yet).
valuestringThe key's value: write-only, never returned. No NUL or line break.
users"all" or array of string (uuid)yesWho may use the shared key: all, or up to 256 chosen people's ids.

AdminHostKeys​

FieldTypeRequiredDescription
itemsarray of HostKeyyes
personalarray of PersonalHostKeyyes

AdminLimit​

One overridable limit.

FieldTypeRequiredDescription
key"admission.slots", "admission.per_user", "sandbox.idle_seconds", "sandbox.max_lifetime_seconds", "mcp.calls_per_minute", "agent_teams.max_members", "agent_teams.token_budget", "agent_teams.deadline_minutes", "agent_teams.member_idle_minutes", "agent_teams.member_stuck_minutes", "agent_teams.idle_stop_minutes", "desktop.max_sessions", "desktop.screenshot_retention_days", "computer.max_screenshots_per_run", "computer.max_actions_per_run"yes
valueinteger 0 or moreyes
defaultinteger 0 or moreyesThe configuration file's value (or its built-in default): what a reset restores.
mininteger 0 or moreyesThe lowest value an administrator may set (the file's bound or the administrator floor).
maxinteger 0 or moreyes
unit"sandboxes", "millicores", "bytes", "processes", "seconds", "calls", "helpers", "tokens", "minutes", "days", "screenshots", "actions"yes
applies"next_admission", "next_sandbox", "next_call", "next_member", "next_team", "next_check", "next_purge", "next_session"yes
versioninteger 1 or moreyesSend it back to replace or delete.
seed"current", "removed", nullyescurrent: seeded from the configuration file.
last_set_by"seed", "admin"yes
updated_atstring (date-time)yes
clamped_frominteger or nullyesThe value a start-up moved into the configuration file's bounds (for example after max_live was lowered); null once set again.
below_floorbooleanyesThe value is below the administrator floor: the configuration file's explicit choice.

AdminLimitWrite​

FieldTypeRequiredDescription
valueinteger 0 or moreyes
versioninteger 1 or moreyesThe version read; limits always exist.

AdminLimits​

FieldTypeRequiredDescription
itemsarray of AdminLimityes
generationinteger 0 or moreyes
defaultsEnvironmentSizeyesWhat an environment without its own size gets (configuration file).
ceilingEnvironmentSizeyesNo environment is sized above this ([sandbox.ceiling], configuration file only).

AdminRoute​

One model route: the models.toml record plus metadata.

FieldTypeRequiredDescription
namestringyes
protocol"openai_chat", "openai_responses", "anthropic_messages"yes
base_urlstringyesThe endpoint prefix, including its API version path; plain HTTP(S) without credentials, query or fragment.
modelstringyes
authRouteAuthyes
key_refstring or nullyesA secret reference (secrets/<name>), never the credential; required unless auth is none. Only a reference is ever shown; null for a route whose pasted key was removed (see key_ref_invalid).
context_windowinteger 1 or more or nullyesTokens, when known.
max_outputinteger 1 or more or nullyesTokens; required by anthropic_messages.
concurrencyinteger 1 or more or nullyesAt most this many requests in flight on the route.
requests_per_minuteinteger 1 or more or nullyesAt most this many requests started per rolling minute.
native_toolsbooleanyes
parallel_toolsbooleanyes
visionbooleanyes
reasoningRouteReasoningyes
cache_hint"prefix", "anthropic_cache_control", "none"yes
stream_usagebooleanyes
extra_headersobjectyesNon-credential headers merged into every request.
extra_bodyobjectyesNon-reserved body fields merged into every request.
quirksarray of stringyes
strict"auto", "on", "off"yesWhen tools go out with strict: true: auto (only schemas meeting the strict rules), on (every tool) or off (none).
schema_keywords"full", "basic"yesWhich JSON Schema keywords tool schemas keep: full, or basic (types, descriptions, object structure, items, enum, format, numeric and item bounds, anyOf).
instructions_role"system", "developer", "top_level"Where the merged instructions go; absent is the protocol's default. Chat: system (default) or developer. Responses: top_level (the instructions field, default) or developer. Messages: top_level only.
first_response_secsinteger 5–900How long the relay waits for the model's first byte, in seconds. Unset: 300 for a local route (no key, or a loopback or container-host address) and 60 otherwise.
fallbacksarray of stringyesRoutes a run may fall back to, in order.
display_namestring or nullyesThe label pickers show; null shows the name. No control characters or surrounding spaces.
descriptionstring or nullyesThe administrator's one-line purpose, shown where people pick it; null when there is none. Display only.
key_missingbooleanyeskey_ref names a secret that has no value.
key_ref_invalidbooleanyesThe route authenticates but names no secret reference: its key was pasted into key_ref by an earlier version and removed. It is not used until its key is entered again.
versioninteger 1 or moreyesSend it back to replace or delete.
seed"current", "removed", nullyescurrent while models.toml lists it, removed after it no longer does (the route is kept), null if never seeded.
last_set_by"seed", "admin"yes
updated_atstring (date-time)yes
fallback_ofarray of stringyesRoutes that list this one as a fallback, sorted; it cannot be deleted while any do.
probeobjectyesThe route probe's latest result; never before any probe, stale once the route has changed since.

AdminRouteWrite​

Every models.toml route field except name (the path names it); omitted fields take the file's defaults.

FieldTypeRequiredDescription
protocol"openai_chat", "openai_responses", "anthropic_messages"yes
base_urlstringyesThe endpoint prefix, including its API version path; plain HTTP(S) without credentials, query or fragment.
modelstringyes
authRouteAuth
key_refstring or nullA secret reference (secrets/<name>), never the credential; required unless auth is none.
context_windowinteger 1 or more or nullTokens, when known.
max_outputinteger 1 or more or nullTokens; required by anthropic_messages.
concurrencyinteger 1 or more or nullAt most this many requests in flight on the route.
requests_per_minuteinteger 1 or more or nullAt most this many requests started per rolling minute.
native_toolsboolean
parallel_toolsboolean
visionboolean
reasoningRouteReasoning
cache_hint"prefix", "anthropic_cache_control", "none"
stream_usageboolean
extra_headersobjectNon-credential headers merged into every request.
extra_bodyobjectNon-reserved body fields merged into every request.
quirksarray of string
strict"auto", "on", "off"When tools go out with strict: true: auto (only schemas meeting the strict rules), on (every tool) or off (none).
schema_keywords"full", "basic"Which JSON Schema keywords tool schemas keep: full, or basic (types, descriptions, object structure, items, enum, format, numeric and item bounds, anyOf).
instructions_role"system", "developer", "top_level"Where the merged instructions go; absent is the protocol's default. Chat: system (default) or developer. Responses: top_level (the instructions field, default) or developer. Messages: top_level only.
first_response_secsinteger 5–900How long the relay waits for the model's first byte, in seconds. Unset: 300 for a local route (no key, or a loopback or container-host address) and 60 otherwise.
fallbacksarray of stringRoutes a run may fall back to, in order.
display_namestring or nullThe label pickers show; null shows the name. No control characters or surrounding spaces.
descriptionstring or nullOne line of 1 through 160 characters, no control characters and no surrounding spaces; null or absent clears it. A bad value is 400 with reason description_invalid.
versioninteger 1 or moreRequired to replace (the version read); omitted to create.

AdminRoutes​

FieldTypeRequiredDescription
itemsarray of AdminRouteyes
generationinteger 0 or moreyesThe settings generation the list was read at.

AdminSandbox​

One running sandbox. Nothing of its task but the id.

FieldTypeRequiredDescription
conversation_idstring (uuid)yesFor Stop; never rendered or linked.
ownerobjectyes
environmentobjectyes
state"starting", "working", "idle", "stopping"yes
started_atstring (date-time)yes
last_activity_atstring (date-time)yes
stops_atstring (date-time) or nullyesIdle: the window's end from the last activity; kept on: the lifetime's end; else null. About, by one worker pass.
kept_onbooleanyesPinned, or keeping a desktop sign-in; stoppable, with a warning.
sizeAdminSandboxSizeyes
usageAdminSandboxUsage or nullyesnull until measured, or when the backend has no stats.
can_stopbooleanyes
stop_refusal"starting", "working", "stopping", "work_waiting", nullyesWhy Stop is refused now, when can_stop is false.
screen_heldbooleanyesA person holds the sandbox's screen now (a Take over in progress); its Stop is then refused as working. Always false without a desktop.
backend"docker", "firecracker"yesWhere it runs: its workspace's backend (Docker container or microVM).

AdminSandboxBackend​

FieldTypeRequiredDescription
default"docker", "firecracker"yesWhere new workspaces run now: the administrators' choice, else the configuration's.
chosen"docker", "firecracker", nullyesThe administrators' saved choice; null follows the configuration.
configured"docker", "firecracker"yesThe configuration's [runtime] backend.
versioninteger 0 or moreyes
dockerobjectyesWhether Docker sandboxes can start here.
firecrackerobjectyesWhether microVMs can start here.
environmentsarray of objectyesEach offered environment's microVM root filesystem, read when microVMs are ready; empty otherwise.
workspacesobjectyesThe workspaces on each backend.

AdminSandboxBackendWrite​

FieldTypeRequiredDescription
default"docker", "firecracker", nullyesdocker, firecracker, or null to follow the configuration.
versioninteger 0 or moreyes

AdminSandboxLeftBehind​

An engine object no record accounts for that survived a sweep: named by the engine's name only.

FieldTypeRequiredDescription
kind"container", "network", "volume"yes
namestringyesA container's short id, a network's or a volume's name.
age_secondsinteger 0 or moreyes
reasonstringyesThe engine's error code from the last failed removal.
removestringyesThe command that removes it by hand, built from the name.

AdminSandboxSize​

What the sandbox was admitted with; null until its create recorded it.

FieldTypeRequiredDescription
cpu_millicoresinteger 0 or more or nullyes
memory_bytesinteger 0 or more or nullyes
pidsinteger 0 or more or nullyes

AdminSandboxStop​

FieldTypeRequiredDescription
stoppingtrueyes

AdminSandboxUsage​

The sampler's last measurement: the CPU rate between its last two samples, and the resident memory and processes of the last.

FieldTypeRequiredDescription
cpu_millicoresinteger 0 or moreyes
memory_bytesinteger 0 or moreyes
pidsinteger 0 or moreyes

AdminSandboxes​

FieldTypeRequiredDescription
backend"docker", "firecracker"yesThe installation's configured backend ([runtime] backend); each sandbox names its own, and Settings › Environments says where new workspaces run.
limitsobjectyes
totalsobjectyes
itemsarray of AdminSandboxyes
next_afterstring or nullyesThe last row's conversation_id when a next page exists; pass it as after.
left_behindarray of AdminSandboxLeftBehindyesEmpty when the verdict is green.

AdminSecret​

A shared secret's metadata. Never its value, length, a hash or a prefix of it.

FieldTypeRequiredDescription
refstringyes
updated_atstring (date-time)yes
versioninteger 1 or moreyesSend it back to replace or delete.
seed"current", "removed", nullyescurrent while the seed file lists it, removed after it no longer does, null if never seeded.
last_set_by"seed", "admin"yes
routesarray of stringyesRoutes whose key_ref names it, sorted.
rotated_atstring (date-time)yesWhen the value last changed; a write of the same value does not count.
rotate_after_daysinteger 1–3650 or nullyesThe rotation reminder's interval in days, or null for none.
rotation_duebooleanyesWhether the reminder's interval has passed since the value last changed. A due reminder never stops the secret from working.
consumersarray of SecretConsumeryesThe routes and connectors that may use the secret, sorted; a new secret allows none. A route or connector naming a secret not bound to it cannot be saved (409 secret_not_allowed) and cannot read it.

AdminSecretConsumers​

FieldTypeRequiredDescription
consumersarray of SecretConsumeryesReplaces the whole list; duplicates are removed.
versioninteger 1 or moreyesThe version read.

AdminSecretReminder​

FieldTypeRequiredDescription
rotate_after_daysinteger 1–3650 or nullyesDays after a change of value before a reminder; null clears it.
versioninteger 1 or moreyesThe version read.

AdminSecretWrite​

FieldTypeRequiredDescription
valuestringyesKept exactly, whitespace included; no NUL; at most the store's value_bytes.
versioninteger 1 or moreRequired to replace (the version read); omitted to create.

AdminSecrets​

FieldTypeRequiredDescription
itemsarray of AdminSecretyes
limitinteger 1 or moreyesThe store's reference cap; the list never pages.

AdminTemplate​

FieldTypeRequiredDescription
namestringyes
display_namestringyes
descriptionstring or nullyesThe administrator's one-line purpose, shown where people pick it; null when there is none. Display only.
imagestringyesThe pinned image: a local image ID or a registry digest.
capabilitiesarray of stringyes
cpusnumber or nullyes
memory_mibinteger or nullyes
is_defaultbooleanyes
enabledbooleanyes
versioninteger 1 or moreyes
last_set_by"seed", "admin", "builtin"yesWho set its current values: the install file (seed), an administrator (admin), or the gateway from an environment image the install built (builtin: Minimal, Workstation, later Data). An administrator's write, or the file's entry of the same name, takes a built-in over. An edited built-in becomes admin and customised, until it is reset.
seed"current", "removed", nullyes
checkobjectyes
basestring or nullyesThe file-provided template it derives from, once verified.
image_idstring or nullyes
bound_conversationsinteger 0 or moreyes
updated_atstring (date-time)yes
builtinobject or nullyesFor a built-in: when its image was built, and when a newer build last replaced its image at the gateway's start (null until one has). A replacement is audited and never silent: the page says "Updated to the image built on <date>". Tasks in it move to the new image at their next session. Null for every other template.
customisedbooleanyesA built-in an administrator edited: it is theirs now, so rebuilds no longer update it. The Environments list says "Customised: rebuilds no longer update it" and offers Reset to built-in (POST …/reset).
pidsinteger or nullyes
workspace_mibinteger or nullyes
clampedarray of "cpus", "memory_mib", "pids", "workspace_mib"yesSize fields lowered to the installation's ceiling: at start (see clamped_from), or since the file lowered it (new sandboxes and workspaces get the ceiling).
clamped_fromobject or nullyesWhat each size lowered at start had before, until an administrator saves the environment; null when none.

AdminTemplateWrite​

FieldTypeRequiredDescription
display_namestringyesAt most 64 characters, not blank.
descriptionstring or nullOne line of 1 through 160 characters, no control characters and no surrounding spaces; null or absent clears it. A bad value is 400 with reason description_invalid.
imagestringyesPinned by digest (image@sha256:… or a local sha256: ID).
capabilitiesarray of "shell", "python", "node", "build", "browser", "data", "desktop"yes
cpusnumber or nullCPUs in steps of 0.5; null uses the installation's default. At most the installation's ceiling (400 limit_out_of_range on field cpus).
memory_mibinteger 256–1048576 or nullNull uses the installation's default. At most the ceiling.
enabledboolean or null
defaultboolean or nullOnly to keep or state the current default; the default moves through POST /default.
versioninteger 1 or more or null
pidsinteger 64–65536 or nullProcesses; null uses the installation's default. At most the ceiling.
workspace_mibinteger 16–1048576 or nullThe disk of a workspace created for this environment; an existing workspace keeps its size. Null uses the installation's default. At most the ceiling.

AdminTemplates​

At most 32 templates are stored (409 template_count).

FieldTypeRequiredDescription
itemsarray of AdminTemplateyes
generationintegeryes
defaultsEnvironmentSizeyesWhat an environment without its own size gets (configuration file).
ceilingEnvironmentSizeyesNo environment is sized above this ([sandbox.ceiling], configuration file only).

AdminUsageReport​

FieldTypeRequiredDescription
fromstring (date)yes
tostring (date)yes
group"day", "user", "route"yes
rowsarray of AdminUsageRowyes
totalsAdminUsageTotalsyes
truncatedbooleanyes
previousAdminUsageTotals
previous_fromstring (date)
previous_tostring (date)

AdminUsageRow​

FieldTypeRequiredDescription
keystringyesThe date (day), the user id (user) or the route name (route).
labelstring or nullyesThe user's email for group=user; otherwise null.
requestsinteger 0 or moreyes
reportedinteger 0 or moreyesRequests whose model server reported their usage.
estimatedinteger 0 or moreyesRequests counted by the relay's estimate instead: the server reported no usage (a step cancelled mid-reply), so the tokens are estimated from what streamed and the request sent.
prompt_tokensinteger 0 or moreyes
completion_tokensinteger 0 or moreyes
cached_tokensinteger 0 or more or nullyesNull when no request in the group reported it.
reasoning_tokensinteger 0 or more or nullyesNull when no request in the group reported it.

AdminUsageTotals​

FieldTypeRequiredDescription
requestsinteger 0 or moreyes
reportedinteger 0 or moreyesRequests whose model server reported their usage.
estimatedinteger 0 or moreyesRequests counted by the relay's estimate instead: the server reported no usage (a step cancelled mid-reply), so the tokens are estimated from what streamed and the request sent.
prompt_tokensinteger 0 or moreyes
completion_tokensinteger 0 or moreyes
cached_tokensinteger 0 or more or nullyesNull when no request in the group reported it.
reasoning_tokensinteger 0 or more or nullyesNull when no request in the group reported it.

AgentTeamSettings​

FieldTypeRequiredDescription
member_routestring or nullyes
acceptance_checkstring or nullyes
versioninteger 0 or moreyes

AgentTeamSettingsWrite​

FieldTypeRequiredDescription
member_routestring or nullyesA model route that exists and can be used now.
acceptance_checkstring or nullyesOne line, at most 4,096 bytes.
versioninteger 0 or moreyes

ApiToken​

FieldTypeRequiredDescription
idstring (uuid)yes
namestringyes
hintstringyesThe token's last four characters.
created_atstring (date-time)yes
expires_atstring (date-time)yes
last_used_atstring (date-time) or nullyes

ApiTokens​

FieldTypeRequiredDescription
itemsarray of ApiTokenyes

Bootstrap​

FieldTypeRequiredDescription
emailstring (email)yes
passwordstringyes
tokenstringyes

Cancel​

Type: object

ChangeAccount​

FieldTypeRequiredDescription
role"admin", "member"
disabledboolean

ChangeEnvironment​

FieldTypeRequiredDescription
templatestringyes

Channel​

FieldTypeRequiredDescription
idstring (uuid)yes
namestringyes
purposestringyes
rule"human", "majority"yes
state"open", "ended"yes
ownerobjectyes
created_atstring (date-time)yes
ended_atstring (date-time) or nullyes
role"lead", "member", "observer", nullyesThe caller's role; null for an administrator or a member conversation's owner who isn't a member.
member_countinteger 0 or moreyes
last_seqinteger 0 or moreyes
open_votesinteger 0 or moreyesProposals not yet decided.
todos_openinteger 0 or moreyesTo-dos whose places aren't all taken by members whose latest report is completed; failed or blocked counts as open.
wake_budgetinteger 0 or moreThe tokens woken runs may spend here a day: its own budget, or the installation's [channels] wake_budget (ADR-0014's amendment of 20 Nov 2026, A5; a daily allowance, decided on 21 Nov 2026); on one channel's read only.
spent_tokensinteger 0 or moreWhat woken runs have spent here today, in the open budget window (0 when none is open); on one channel's read only.
budget_resets_atstring (date-time) or nullWhen the open budget window ends and spent is 0 again: a day after its first charge (decided on 21 Nov 2026); null while none is open; on one channel's read only.

ChannelAuthor​

FieldTypeRequiredDescription
kind"conversation", "user", "gateway"yes
idstringyes
namestring

ChannelCandidates​

FieldTypeRequiredDescription
peoplearray of objectyes
tasksarray of objectyes

ChannelFile​

A file posted with a channel message (ADR-0014's amendment of 20 Nov 2026, A9).

FieldTypeRequiredDescription
namestringyesIts name as posted (sanitised as uploads are).
sizeinteger 0 or moreyesIts size in bytes.
pathstringWhere it is in the reading agent member's workspace (uploads/<channel>-<seq>-<file>); only in an agent's own read, never in a person's.
not_placed"uploads_full", "upload_too_large"Why it isn't in the reading agent member's workspace and won't be; only in an agent's own read.

ChannelList​

FieldTypeRequiredDescription
itemsarray of Channelyes
next_cursorstring or nullyes

ChannelMember​

FieldTypeRequiredDescription
kind"user", "conversation"yes
idstring (uuid)yes
namestringyesA user's email; a conversation's agent profile display name.
owner_namestringA conversation's owner's email.
titlestringA conversation's title, only for its owner (titles are content, SEC-044: never for an administrator).
role"lead", "member", "observer"yes
added_atstring (date-time)yes
run_status"idle", "running", "completed", "failed", "cancelled"An agent member's run, from the lifecycle projection (GW-I-113); present only for kind conversation. A run that started and never ended (a crash) reads running, as on the conversation page. A client shows an unknown value as plain words.
state"working", "waiting", "waking", "idle", "held", "unreachable"An agent member's live state in this channel (ADR-0014's amendment of 20 Nov 2026, A7): working (a run is active), waiting (that run waits on this channel), waking (a wake is queued), idle, held (the budget or the bound on agents waking each other holds its wake back) or unreachable (its runtime is too old to be woken); present only for kind conversation. A client shows an unknown value as plain words.
can_openbooleanWhether the caller may open this agent member's task page: true for the task's owner and for an administrator (who gets its private view), false otherwise. Present only for kind conversation.
namedbooleanWhether an agent member has a name in the channel (ADR-0014's amendment A12). One without shows by its profile's name, its owner sees its task's title, and @ can't reach it until its owner names it. Absent for a person.

ChannelMemberByEmail​

FieldTypeRequiredDescription
emailstringyes
role"lead", "member", "observer"yes

ChannelMemberRole​

FieldTypeRequiredDescription
role"lead", "member", "observer"yes
namestringAn agent member's name in the channel, shown to every member and matched by @ (ADR-0014's amendment of 20 Nov 2026). Only the agent's owner sets it (403 not_agent_owner); its task's title when its owner adds it without one. 1 to 80 characters, no control characters, unique in the channel without regard to case (409 member_name_taken). Refused for a person (400).

ChannelMembers​

FieldTypeRequiredDescription
itemsarray of ChannelMemberyes

ChannelMessage​

FieldTypeRequiredDescription
seqinteger 1 or moreyes
tsstring (date-time)yes
authorChannelAuthoryes
parentinteger 1 or more
bodyChannelMessageBodyyes
filesarray of ChannelFileThe files posted with it, in order; absent when none (ADR-0014's amendment of 20 Nov 2026, A9). Download each from GET /api/v1/channels/{id}/messages/{seq}/files/{index}.

ChannelMessageBody​

A channel message's typed body (ADR-0014 point 3; tqa-types).

Type: object or object or object or object or object or object or object or object or object

ChannelMessagePage​

FieldTypeRequiredDescription
messagesarray of ChannelMessageyes
next_sinceinteger 0 or moreyes
morebooleanyes
wokenbooleanOn a runtime's wait in a run a channel's wake started (decided on 20 Nov 2026): the wait didn't wait and the page is a read's; the run ends its turn and is woken again when more arrives. Absent otherwise.

ChannelPost​

FieldTypeRequiredDescription
parentinteger 1 or more
bodyChannelMessageBodyyes
authorobjectAccepted and ignored: the author is the caller (SEC-015).

ChannelProposalState​

FieldTypeRequiredDescription
proposal_seqinteger 1 or moreyes
rule"human", "majority"yes
state"open", "decided"yes
window_ends_atstring (date-time)yes
voting_membersinteger 0 or moreyes
tallyobjectyes
votesarray of objectyes
decisionnull or objectyes

ChannelTaskBoard​

FieldTypeRequiredDescription
itemsarray of objectyes

ChannelUpload​

A file uploaded to a channel and kept for the uploader's next post (ADR-0014's amendment of 20 Nov 2026, A9).

FieldTypeRequiredDescription
idstring (uuid)yesWhat a post names in its files.
namestringyes
sizeinteger 0 or moreyes

ClientFrame​

Type: ClientFrame

Conversation​

FieldTypeRequiredDescription
idstring (uuid)yes
owner_idstring (uuid)yes
titlestringAbsent when an administrator views another user's task (titles are content).
model_routestringyes
backend"docker", "firecracker"yes
state"active", "deleted"yes
created_atstring (date-time)yes
updated_atstring (date-time)yes
last_activity_atstring (date-time)yesDatabase time of the latest accepted message or terminal run event; metadata changes use updated_at.
templatestringyes
pinnedbooleanyesThe keep-alive pin: its sandbox is never idle-retired or evicted, up to sandbox.max_lifetime_seconds.
keep_sign_inbooleanWhether the task keeps the desktop browser's sign-in across runs (ADR-0039 section 6, amended for 18.0): while true a run's end leaves the browser's profile as it is; false, and every run's end empties it. Nothing without a desktop.
workspace_idstring (uuid)yesThe workspace this task is bound to for its whole life.
mcp_serversarray of stringyesThe install catalogue's MCP servers ([[mcp.servers]]) this conversation uses; set at creation from the servers enabled by default, and a change applies at the next run (ADR-0011).
connectorsarray of stringyesThe connectors this conversation uses through the gateway's MCP proxy, which admits no other (ADR-0031); set at creation from the enabled connectors marked enabled_by_default, and a change applies at the next run. Together with mcp_servers at most 8.
profileobjectThe profile the conversation was made from, as it was then; absent without one. Later edits or deletion of the profile don't change the conversation (ADR-0012).
run_status"idle", "running", "completed", "failed", "cancelled"The task's run, from the lifecycle projection (as a channel member's run_status); present on the task list's items and on one task's own read (GW-I-120), so a page opened on a task knows whether it ran before its history replays. A run that started and never ended (a crash) reads running. A client shows an unknown value as plain words.
screen_noticesbooleanWhether the task has notices to read at /conversations/{id}/screen/notices (a desktop's screen, or an administrator's stop of its sandbox); present only on one task's own read, so the task's page asks for them only when there is one (GW-U-218).
title_source"message", "model", "person"yesWhere the title came from: message (the task's first message, until it is named), model (a 3-6 word name the gateway asked the task's route for after its first completed run; a live task.titled notice announces it) or person (renamed; never replaced).
teamConversationTeam or nullyesnull for a task in no agent team, and always while agent teams are off.

ConversationPage​

FieldTypeRequiredDescription
itemsarray of Conversationyes
next_cursorstring or nullyesPass as cursor for the next page; null when this page is not full.

ConversationTeam​

A task's place in an agent team (ADR-0034 S6). Only the task's own person gets every field; anyone else (an administrator's listing) gets role, id, state, and for a lead helpers and attention, for a member lead.id: never a name, the lead's title, a helper state or a question.

FieldTypeRequiredDescription
role"lead", "member"yes
idstring (uuid)yesThe team.
state"running", "stopping", "ended"yes
helpersinteger 0 or moreA lead's helpers now; deleted ones are not counted.
attentionobjectHow many of the lead's helpers are stuck and failed while the team runs; 0 and 0 once it is stopping or ended, since nothing in it waits on anyone.
waiting_for_youbooleanA lead's person_question is unanswered (the task's own person only).
leadobject
namestringA member's name (its own person only).
helper_state"working", "waiting_lead", "queued", "stuck", "done", "stopped", "failed", "unknown"
can_stopbooleanWhether its person's Stop helper would stop it now: while the team runs, any helper but a stopped one or one that couldn't start (a member's own person only).
roundinteger 1 or moreyesThe team's current round (ADR-0034's rounds amendment, A5): 1, then one more each time a person's follow-up opens a new round.

CreateConversation​

FieldTypeRequiredDescription
titlestringyes1-200 characters after trimming; U+0000 is refused with 400 invalid_request.
model_routestringRequired unless the profile sets one; with a profile that sets one, only the same value is accepted (422 set_by_profile).
profilestring (uuid)Make the conversation from this profile (the caller's own or a shared one): it sets the route, template, servers and connectors it names, and narrows the policy and limits; the conversation keeps a copy. 422 unknown_reference (profile) for one the caller cannot see; 409 profile_unusable with the field the install lacks, disables or does not offer.
templatestringAbsent selects the configured default environment template.
workspace_idstring (uuid)A workspace you own or hold a write share on; absent creates a new empty workspace.

CreatedInvitation​

FieldTypeRequiredDescription
idstring (uuid)yes
emailstringyes
role"admin", "member"yes
status"pending", "accepted", "expired", "revoked"yes
created_bystring (uuid)yes
created_atstring (date-time)yes
expires_atstring (date-time)yes
tokenstringyesShown once.

CreatedToken​

FieldTypeRequiredDescription
idstring (uuid)yes
namestringyes
hintstringyesThe token's last four characters.
created_atstring (date-time)yes
expires_atstring (date-time)yes
last_used_atstring (date-time) or nullyes
tokenstringyesShown once.

EnvironmentImage​

FieldTypeRequiredDescription
idstringyesThe image ID (sha256:…): the pin an environment made from it uses.
tagsarray of stringyesIts local tags; empty for an untagged image.
createdstring (date-time)yesWhen it was built.
size_bytesinteger 0 or moreyes
runtime"current", "too_old", "none"yesWhether it holds a runtime this version can run (its protocol-revision label): too_old needs a rebuild.
environmentstring or nullyesThe environment it says it is (its org.tensorquay.environment label); null without one.
display_namestring or nullyesIts label's name for people; null without one.
capabilitiesarray of stringyesThe capabilities its label names, as written (an unknown one included); empty without the label.
capabilities_validbooleanyesFalse when the capability label names no capability or an unknown one.
usablebooleanyesWhether an environment can be made from it.
reasonstring or nullyesPlain words: why it is not usable ("too old for this version: rebuild it", "there is no TensorQuay runtime in it", "its capability label names no capability", "its capability label names an unknown capability: gpu"), or, for a built-in that is not added, why ("deleted by an administrator", "not added: an environment named Workstation already exists", "not added: the gateway's configuration file has its own Data environment", "Workstation moves to this build at the gateway's next start", "not added yet: it is added at the gateway's next start"). Null otherwise.
based_onstring or nullyesThe built-in whose label it carries without being it (an image built FROM Workstation inherits its labels, or an earlier build): shown as "derived from Workstation". It can be picked for a new environment and never replaces the built-in.
used_byarray of stringyesThe environments pinned to it, by name.
sandboxesinteger 0 or moreyesHow many tasks' sandboxes run it now.
built_in"registered", "not_added", nullyesFor a built-in's image (the one its canonical tag tqa-runtime:<name> names, its label agreeing): registered when it is in the environments, not_added when not (the reason says why; an administrator adds it as an environment from here). Null for every other image.
sizesobject or nullyesA built-in's own size, which the gateway registers it with and an environment started from its card takes (Desktop: 2 CPUs, 4096 MiB, 1024 processes). Null for an image that is not a built-in, and for a built-in that takes the installation's defaults.

EnvironmentImages​

FieldTypeRequiredDescription
itemsarray of EnvironmentImageyesNewest first, at most limit.
limitintegeryesThe most images listed (200).

EnvironmentSize​

An environment size: CPUs (in halves), memory, processes and a new workspace's disk.

FieldTypeRequiredDescription
cpusnumberyes
memory_mibintegeryes
pidsintegeryes
workspace_mibintegeryes

Error​

FieldTypeRequiredDescription
errorobjectyes

EventPage​

FieldTypeRequiredDescription
itemsarray of ServerFrameyes
next_afterinteger 0 or more or nullyes

FileChange​

FieldTypeRequiredDescription
pathstringyes
status"added", "modified", "deleted"yes
addedinteger 0 or moreyesLines added.
removedinteger 0 or moreyesLines removed.
binarybooleanyesNot text on one side; no line counts or diff.
too_largebooleanyesNot copied on one side (over the snapshot text or copy bound); no line counts or diff.

FileContent​

FieldTypeRequiredDescription
pathstringyes
sizeinteger 0 or moreyes
modified_atstring (date-time)yes
etagstringyes
binarybooleanyesNot UTF-8 text (or contains NUL); no content is returned.
truncatedbooleanyesText longer than files.preview_bytes; only the start is returned.
textstring or nullyes

FileDiff​

FieldTypeRequiredDescription
pathstringyes
status"added", "modified", "deleted"yes
unifiedstring or nullyesThe unified diff, when both sides are text with copies.
binarybooleanyes
too_largebooleanyes
truncatedbooleanyesCut at files.diff_bytes.

FileEntry​

FieldTypeRequiredDescription
namestringyes
kind"file", "dir", "link", "other"yesThe entry itself; links are listed, never followed.
sizeinteger 0 or moreyesBytes for a file; 0 otherwise.
modified_atstring (date-time)yes

FilePage​

FieldTypeRequiredDescription
pathstringyesThe listed directory, relative to the workspace root; empty for the root.
itemsarray of FileEntryyes
next_afterstring or nullyes

ForkWorkspace​

FieldTypeRequiredDescription
namestringyes

HostKey​

A host key's metadata (ADR-0037); never its value.

FieldTypeRequiredDescription
idstring (uuid)yes
namestringyes
hoststringyes
portinteger 1–65535yes
path_prefixstring or nullyes
scheme"bearer", "basic", "header"yes
user_namestring or nullyes
header_namestring or nullyes
sharedbooleanyesfalse: the viewer's own key; true: a shared key.
usersnull or "all" or array of UserRefyesShared keys, in administrators' answers only: all, or the chosen people; null otherwise.
set_atstring (date-time)yesWhen the value was last set.
last_usenull or HostKeyUseyesThe viewer's most recent use they may see, or null.
allowedbooleanyesWhether the network list allows the key's host and port today; a run gets the key only then.
check_namebooleanyesMigrated from a Git credential and not yet saved.
versioninteger 1 or moreyes

HostKeyAdd​

FieldTypeRequiredDescription
namestringyesWhat the task sees the key by. Reserved (name_reserved): PATH, HOME, USER, LOGNAME, SHELL, PWD, OLDPWD, TMPDIR, LANG, LANGUAGE, TERM, HOSTNAME, HTTP_PROXY, HTTPS_PROXY, NO_PROXY, ALL_PROXY, SSL_CERT_FILE, SSL_CERT_DIR, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE, PIP_CERT, NODE_EXTRA_CA_CERTS, NODE_OPTIONS, PYTHONPATH, PYTHONHOME, PYTHONSTARTUP, and any name starting LC_, LD_, GIT_ or TQA_.
addressstringyeshttps://host[:port][/path]: one exact host name (no address, no wildcard), port 443 unless given, an optional path prefix; no credentials, query or fragment.
scheme"bearer", "basic", "header"yesHow the service expects it; header is not available yet (scheme_not_supported).
user_namestring or nullbasic only: the stored user name.
header_namestring or nullheader only (not available yet).
valuestringyesThe key's value: write-only, never returned. No NUL or line break.

HostKeyPut​

The whole item at the version read; value only when replacing it. Any successful save clears check_name.

FieldTypeRequiredDescription
versioninteger 1 or moreyes
namestringyesWhat the task sees the key by. Reserved (name_reserved): PATH, HOME, USER, LOGNAME, SHELL, PWD, OLDPWD, TMPDIR, LANG, LANGUAGE, TERM, HOSTNAME, HTTP_PROXY, HTTPS_PROXY, NO_PROXY, ALL_PROXY, SSL_CERT_FILE, SSL_CERT_DIR, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE, PIP_CERT, NODE_EXTRA_CA_CERTS, NODE_OPTIONS, PYTHONPATH, PYTHONHOME, PYTHONSTARTUP, and any name starting LC_, LD_, GIT_ or TQA_.
addressstringyeshttps://host[:port][/path]: one exact host name (no address, no wildcard), port 443 unless given, an optional path prefix; no credentials, query or fragment.
scheme"bearer", "basic", "header"yesHow the service expects it; header is not available yet (scheme_not_supported).
user_namestring or nullbasic only: the stored user name.
header_namestring or nullheader only (not available yet).
valuestringThe key's value: write-only, never returned. No NUL or line break.

HostKeyUse​

A key's most recent use the viewer may see: their own (members), or anyone's with who (administrators, shared keys).

FieldTypeRequiredDescription
atstring (date-time)yes
countinteger 1 or moreyes
outcome"ok", "absent", "unavailable", "foreign_run", "foreign_sandbox", "expired", "wrong_host", "wrong_position", "not_allowed", "revoked", "unrecorded"yes
conversation_idstring (uuid) or nullyesThe task: for a member, only their own task; for an administrator's view of a shared key, any task, as the key's reads show it.
task_titlestring or nullyesOnly for the viewer's own task.
usernull or UserRefyesAdministrators' view of a shared key only.

HostKeys​

FieldTypeRequiredDescription
itemsarray of HostKeyyes

Invitation​

FieldTypeRequiredDescription
idstring (uuid)yes
emailstringyes
role"admin", "member"yes
status"pending", "accepted", "expired", "revoked"yes
created_bystring (uuid)yes
created_atstring (date-time)yes
expires_atstring (date-time)yes

InvitationToken​

FieldTypeRequiredDescription
tokenstringyes

Invitations​

FieldTypeRequiredDescription
itemsarray of Invitationyes

Invitee​

FieldTypeRequiredDescription
emailstringyes
role"admin", "member"yes
expires_atstring (date-time)yes

Login​

FieldTypeRequiredDescription
emailstring (email)yes
passwordstringyes

McpServers​

FieldTypeRequiredDescription
itemsarray of objectyes

Message​

FieldTypeRequiredDescription
textstringyesAt most 64 KiB of UTF-8.
attachmentsarray of string

MessageAccepted​

FieldTypeRequiredDescription
acceptedtrueyes
conversation_idstring (uuid)yes
message_idstringyesThe message's id, for the queue's list and cancel.
heldbooleanyesTrue when the message waits for the task's run to end (send after this).

Model​

FieldTypeRequiredDescription
namestringyes
display_namestring or nullyesThe administrator's label; show the name when null.
descriptionstring or nullyesThe administrator's one-line purpose, shown where people pick it; null when there is none. Display only.
verifiedboolean or nullyesWhether a current route probe passed; null until one is recorded.
answeringboolean or nullWhether the model server answered the gateway's latest call: false while it can't be reached (New task doesn't start on it), true once a call connected, null before any call since the gateway started. Optional: a gateway before 18.0 leaves it out.
modelstringyes
protocol"openai_chat", "openai_responses", "anthropic_messages"yes
context_windowinteger 1 or more or nullyes
visionbooleanyes
native_toolsbooleanyesWhether the route takes structured tool calls; without them the runtime uses its text fallback.
reasoningnull or objectyes
runs_onobjectyesWhere the model runs, for pickers; never its address.

Models​

FieldTypeRequiredDescription
itemsarray of Modelyes

NewChannel​

FieldTypeRequiredDescription
namestringyes
purposestring
rule"human", "majority"yes

NewConnectorCredential​

FieldTypeRequiredDescription
valuestringyesPrintable ASCII without spaces; write-only.

NewInvitation​

FieldTypeRequiredDescription
emailstringyes
role"admin", "member"yes

NewToken​

FieldTypeRequiredDescription
namestringyes
expires_in_daysinteger 1–365yes

NewWorkspace​

FieldTypeRequiredDescription
namestringyes
profilestring (uuid)The profile the workspace is for; an unknown id, or one the caller may not use, is 422 unknown_reference (field profile).
templatestringThe environment the workspace is for, whose disk it gets (it keeps it); the default environment when absent. An unknown one is 422 unknown_template.

PasswordChange​

FieldTypeRequiredDescription
current_passwordstringyes
new_passwordstringyes

PatchConversation​

FieldTypeRequiredDescription
titlestring1-200 characters after trimming; U+0000 is refused with 400 invalid_request.
routestringRefused (422 set_by_profile) when the conversation's profile sets the route.
pinnedbooleanSet or clear the keep-alive pin.
keep_sign_inbooleanKeep, or stop keeping, the desktop browser's sign-in across runs (ADR-0039 section 6, amended for 18.0). A change is recorded as a screen notice (screen.sign_in_kept or screen.sign_in_released, naming who made it) and reaches the task's runtime at once; off with no run going empties the profile then, off during a run at that run's end.
mcp_serversarray of stringThe catalogue servers for the next run: distinct names from [[mcp.servers]] (400 invalid_request otherwise); refused with 409 run_active while a run is active, like a route change. For a conversation made from a profile, only names in the profile's set (422 set_by_profile).
connectorsarray of stringThe connectors for the next run: distinct names of existing connectors (400 invalid_request otherwise), at most 8 together with mcp_servers; refused with 409 run_active while a run is active, like a route change. For a conversation made from a profile, only names in the profile's set (422 set_by_profile).

PersonalHostKey​

A member's own key as an administrator sees it: that it exists, never its name or which task used it (ADR-0037 Amendment 1).

FieldTypeRequiredDescription
idstring (uuid)yes
hoststringyes
portintegeryes
path_prefixstring or nullyes
ownerUserRefyes
set_atstring (date-time)yes
last_usenull or objectyes
versioninteger 1 or moreyes

Profile​

FieldTypeRequiredDescription
namestringyesUnique among the owner's profiles, or among shared ones.
display_namestringyes
descriptionstring or null
instructionsstring or nullAdded to the system prompt as its own section (at most 16 KiB; left out rather than empty).
model_routestring or nullA route that exists now; a conversation from the profile uses it.
templatestring or nullAn environment template; it must be offered when a conversation is created from the profile.
toolsarray of "read_file", "write_file", "edit_file", "glob", "grep", "read_notes", "write_notes", "shell", "skill", "fetch_url", "computer", "channel_post", "channel_read", "channel_wait", "task_claim" or nullBuilt-in tools allowed; absent means every built-in tool, [] none.
skills"all", "none" or array of string"all" (default), "none", or 1 to 64 skill names.
mcp_serversarray of stringCatalogue servers; a conversation starts with these and may only narrow them. Empty or absent means none, not the install's defaults; together with the other list, at most 8.
connectorsarray of stringConnectors; a conversation starts with these and may only narrow them. Empty or absent means none, not the install's defaults; together with the other list, at most 8.
decision_enginestring or nullA decision engine the profile's conversations consult (ADR-0013); it must exist and be enabled.
limitsobjectCeilings under the install's run limits.
busy_policy"wait", "refuse", null
idstring (uuid)yes
sharedbooleanyes
versioninteger 1 or moreyes
updated_atstring (date-time)yes
usablebooleanyesWhether a conversation can be made from the profile now: every route, template, server and connector it names exists (GW-I-086).
unusable_field"model_route", "template", "mcp_servers", "connectors", "decision_engine"When not usable, the first field naming what the install does not have.

ProfileWrite​

FieldTypeRequiredDescription
namestringyesUnique among the owner's profiles, or among shared ones.
display_namestringyes
descriptionstring or null
instructionsstring or nullAdded to the system prompt as its own section (at most 16 KiB; left out rather than empty).
model_routestring or nullA route that exists now; a conversation from the profile uses it.
templatestring or nullAn environment template; it must be offered when a conversation is created from the profile.
toolsarray of "read_file", "write_file", "edit_file", "glob", "grep", "read_notes", "write_notes", "shell", "skill", "fetch_url", "computer", "channel_post", "channel_read", "channel_wait", "task_claim" or nullBuilt-in tools allowed; absent means every built-in tool, [] none.
skills"all", "none" or array of string"all" (default), "none", or 1 to 64 skill names.
mcp_serversarray of stringCatalogue servers; a conversation starts with these and may only narrow them. Empty or absent means none, not the install's defaults; together with the other list, at most 8.
connectorsarray of stringConnectors; a conversation starts with these and may only narrow them. Empty or absent means none, not the install's defaults; together with the other list, at most 8.
decision_enginestring or nullA decision engine the profile's conversations consult (ADR-0013); it must exist and be enabled.
limitsobjectCeilings under the install's run limits.
busy_policy"wait", "refuse", null
sharedbooleanOn create only: a shared profile (administrators).
versioninteger 1 or moreOn replace only: the version read.

Profiles​

FieldTypeRequiredDescription
itemsarray of Profileyes

QueuedMessage​

FieldTypeRequiredDescription
idstringyes
textstringyes
attachmentsarray of stringyes
authorobjectyes
created_atstring (date-time)yes
state"held", "waiting_for_slot", "dropped", "sent"yeswaiting_for_slot: a message not behind a run that has not gone out yet (the task waits for a slot or its sandbox is starting); it can be cancelled like a held one. dropped: a message held behind a run that failed or was stopped, or one whose environment never started (reason says which), listed held or not, so a client that reloads still shows it with Send again.
reason"run_failed", "run_cancelled", "sandbox_failed", "runtime_start_failed", "decision_engine_unavailable"Why a dropped message was dropped: the run it waited behind failed or was stopped, or the task's environment never started for it (the sandbox could not be created, the runtime exited before it registered, or the task's decision engine is gone); a start that failed is retryable by sending the message again.
sent_atstring (date-time)When a sent message went out.
team_wakeobjectSet on the gateway's wake of an agent team's reader (protocol revision 13's marker): a client shows its notice, never the text as the person's message, and offers no Cancel.
channel_wakeobjectSet on a channel's wake of its agent member (protocol revision 16's marker, ADR-0014's amendment of 20 Nov 2026): a client shows its notice, never the text as the person's message, and offers no Cancel.
lead_brieftrueSet on an agent team member's first turn, with its lead's brief (protocol revision 12): a client shows the gateway's notice, never the text as the person's message, and offers no Cancel.

QueuedMessages​

FieldTypeRequiredDescription
itemsarray of QueuedMessageyes

ReadyDetail​

The readiness detail an administrator gets with detail=1; ready is true only when every check is.

FieldTypeRequiredDescription
readybooleanyes
checksobjectyes
sandboxobjectyes
templatesobjectyesTemplate diagnostics (ADR-0032). Diagnostics only: they never make the gateway unready.
git_credentials_keptobject or nullyesGit credentials an earlier release stored that couldn't become keys (ADR-0037 §7), kept unused; null when the count couldn't be read. Diagnostics only: they never make the gateway unready.
runs_activeinteger 0 or more or nullyesTasks mid-step now: a linked runtime that sent a run's heartbeat within 75 s, and whose latest lifecycle event says its run is going. A restart now would start each of those steps over. A count only, never which tasks or whose; null when it couldn't be read. Diagnostics only: it never makes the gateway unready.
sandboxesobjectyesThe Sandboxes page's counts and the leak verdict (counts only; the names are on the page): what the last two sweeps found that no record accounts for, and what survived them. Diagnostics only: it never makes the gateway unready.

RouteAuth​

The credential placement.

Type: object or object or object or object

RouteModels​

FieldTypeRequiredDescription
routestringyes
protocol"openai_chat", "openai_responses", "anthropic_messages"yes
modelsarray of objectyes
truncatedbooleanyesThe endpoint offers more models than the 500 listed
failurenull or objectyes

RouteProbe​

FieldTypeRequiredDescription
state"verified", "failed"yesverified when every check that applies passed
probed_atstring (date-time)yes
route_versioninteger 1 or moreyesThe route version the probe tested
observedRouteProbeObservationyes

RouteProbeObservation​

FieldTypeRequiredDescription
okbooleanyes
streamingboolean or nullyes
tool_call"passed", "failed", "not_declared", "not_run"yes
round_trip"passed", "failed", "not_declared", "not_run"yes
strict_line_breaks"passed", "failed", "not_declared", "not_run"Whether a strict tool's string argument keeps its line breaks; not_run on a route that sends no strict tool. Absent from probes stored before this check.
usageobjectyes
reasoning_acceptedboolean or nullyes
first_byte_msinteger 0 or more or nullyes
total_msinteger 0 or moreyes
tokensobjectyesTokens the probe spent
failurenull or objectyes
warningsarray of "argument_mismatch", "line_breaks_unverified", "stream_mislabelled", "swallowed_calls", "thinks_unasked", "usage_missing", "context_window_differs", "slow_answers"yes
tool_call_extrasarray of stringThe shape of any opaque extra the endpoint attached to its tool call (ADR-0027): each leaf as 'path: N B' with its JSON size; never a value. Absent when there is none
server_contextobjectWhat the model server says the route's model runs with, on a local route whose check worked: Ollama's loaded context (GET /api/version, then /api/ps). Absent when unknown: another server, an unexpected answer, or a model not listed. Under minimum the check fails with context_too_small; at or above it, a route whose context_window isn't context_length gets the warning context_window_differs.
output_tokens_per_secondinteger 0 or moreThe model's output speed over the check's answers, in tokens per second, from their usage and how long they streamed; absent without usage. Below 15 on a local route, the check passes with slow_answers.

RouteProbeResult​

FieldTypeRequiredDescription
probeRouteProbeyes

RouteReasoning​

Type: null or object

RunChanges​

FieldTypeRequiredDescription
run_idstringyes
livebooleanyesCompared with the live workspace (the latest run).
runningbooleanyes
truncatedbooleanyesA snapshot stopped at files.snapshot_files; files beyond it are not compared.
filesarray of FileChangeyes

RuntimeChannels​

FieldTypeRequiredDescription
channelsarray of objectyes

ScreenNotice​

One of the gateway's screen notices (ADR-0039): never sequenced into the runtime's log, never what was typed or pasted. A sandbox.stopped notice says an administrator stopped the task's sandbox from the Sandboxes page; the task keeps its files and its next message starts a new one.

FieldTypeRequiredDescription
kind"screen.taken_over", "screen.handed_back", "screen.signed_out", "screen.sign_out_failed", "screen.sign_in_kept", "screen.sign_in_released", "sandbox.stopped"yes
byobjectThe person who took over, handed back or signed out. Absent on sandbox.stopped: an administrator's stop never names the administrator to the task's owner (PROTO-U-047).
atstring (date-time)yes
after_seqinteger 0 or moreyesThe conversation's last stored event seq when it happened.
secondsinteger 0 or morescreen.handed_back only: how long Take over lasted; absent when it ended by a restart.
ended"hand_back", "socket_closed", "restart"screen.handed_back only: Hand back, the holder's socket closed, or the gateway restarted.
reason"not_cleared", "unconfirmed"screen.sign_out_failed only: the runtime couldn't empty the browser's profile, or never confirmed it.

ScreenNotices​

FieldTypeRequiredDescription
itemsarray of ScreenNoticeyes

SecretConsumer​

FieldTypeRequiredDescription
kind"connector", "route", "engine"yes
namestringyes

SecretRead​

Reads of a secret by one consumer for one conversation, user and run, with one outcome, counted. Never a value, a hash or a length.

FieldTypeRequiredDescription
idstring (uuid)yes
consumer_kind"route", "connector", "git", "engine", "host"yes
consumerstringyesThe route or connector name; push for a Git credential; host:port for a host key.
conversation_idstring (uuid) or nullyes
user_idstring (uuid) or nullThe user it was read for; only in the administrator's view.
run_idstring or nullyes
outcome"ok", "absent", "unavailable", "foreign_run", "foreign_sandbox", "expired", "wrong_host", "wrong_position", "not_allowed", "revoked", "unrecorded"yesok, or why it was refused. absent and unavailable for a stored secret; the host outcomes of ADR-0037 §8 and its Amendment 1 for a host key.
countinteger 1 or moreyes
first_atstring (date-time)yes
last_atstring (date-time)yes

SecretReadPage​

FieldTypeRequiredDescription
itemsarray of SecretReadyes
nextstring (uuid) or nullyesPass as before for the next page; null on the last page.

ServerFrame​

Type: ServerFrame

Setup​

FieldTypeRequiredDescription
requiredbooleanyesTrue while no account exists.

ShareByEmail​

FieldTypeRequiredDescription
emailstringyesAn active account's exact email, case-insensitive.
access"read", "write"yes

ShareWorkspace​

FieldTypeRequiredDescription
access"read", "write"yes

SheetPreview​

FieldTypeRequiredDescription
sheetsarray of stringyesEvery sheet's name, in the workbook's order.
sheetstringyesThe shown sheet's name.
rowsarray of array of stringyesThe shown rows, each as wide as the widest; cells are display text.
total_rowsinteger 0 or more or nullyesThe sheet's rows up to its last non-empty one: counted when the whole sheet was read, else as the file declares it; null when unknown.
more_rowsbooleanyesA non-empty cell lies below the shown rows.
more_columnsbooleanyesA non-empty cell lies right of the shown columns.
truncated_cellsinteger 0 or moreyesShown cells cut at 200 characters.

SiteNetwork​

FieldTypeRequiredDescription
anybooleanyesThe any-host rule is in the install's allow-list: the page may reach any https host.
hostsarray of stringyesThe exact hosts and *.domain entries the page may reach (ports left out), sorted; empty with internet access off.

SitePass​

FieldTypeRequiredDescription
passstringyes43 characters of unpadded base64url.
folderstringyes
urlstringyesThe site's root under the pass, an absolute path on this gateway: /api/v1/conversations/{id}/site/{pass}/ (the frame's src, with index.html implied).
expires_in_secondsintegeryes900: the pass lives this long from its last use.
networkSiteNetworkyes

SitePassRequest​

FieldTypeRequiredDescription
folderstringyesA folder relative to the workspace root (no leading /, no . or .. segment, at most 1024 bytes; never under .tqa/), or an empty string for the root; it must exist.

TaskKeyUse​

FieldTypeRequiredDescription
idstring (uuid)yesThe row; a page's before.
run_idstring or nullyesThe run; null for a use refused while the task had no running run.
sender_idstring (uuid)yesThe run's sender, whose key it is.
namestring or nullyesThe key's variable, only for the row's sender.
hoststringyesCanonical: an IPv6 address bare.
portinteger 1–65535yes
outcome"ok", "revoked", "foreign_sandbox", "foreign_run", "expired", "wrong_host", "wrong_position", "not_allowed", "unrecorded", "unavailable"yes
countinteger 1 or moreyes
first_atstring (date-time)yes
last_atstring (date-time)yes

TaskKeyUses​

FieldTypeRequiredDescription
itemsarray of TaskKeyUseyes
nextstring (uuid) or nullyesThe before of the next page, if there is one.

Team​

FieldTypeRequiredDescription
idstring (uuid)yes
state"running", "stopping", "ended"yes
stop_reasonstring or nullyes
leadobjectyes
started_atstring (date-time)yes
deadline_atstring (date-time)yes
budgetobjectyes
waiting_for_youobject or nullyesThe latest unanswered person_question.
helpersarray of TeamHelperyes
versioninteger 0 or moreyesRises with every change; team.changed names it.
roundinteger 1 or moreyesThe team's current round (ADR-0034's rounds amendment, A5): 1, then one more each time a person's follow-up opens a new round.
roundsarray of objectyesEvery round so far, newest last: the current one from the team itself, live.
tokens_all_roundsinteger 0 or moreyesThe tokens every round spent, this one's included.

TeamAnswerWrite​

FieldTypeRequiredDescription
question_seqinteger 1 or moreyes
textstringyes1 to 16,000 UTF-8 bytes, no NUL.

TeamHelper​

FieldTypeRequiredDescription
conversationstring (uuid)yes
namestringyes
rolestringyes
workspace"own_copy", "my_files"yes
state"working", "waiting_lead", "queued", "stuck", "done", "stopped", "failed", "unknown"yes
can_stopbooleanyesWhether Stop helper would stop it now: while the team runs, any helper but a stopped one or one that couldn't start.
positioninteger 1 or more or nullyesIts place in the queue while queued.
tokensinteger 0 or moreyesPrompt and completion tokens of its model calls since the team started, as the relay counts them; the lead's own share is budget.spent minus the helpers'.
tokens_estimatedbooleanyesPart of tokens is the relay's estimate: a model call cancelled before its server reported usage (a stop mid-reply), counted from what streamed.
activityobject or nullyes
last_messageobject or nullyes
roundinteger 1 or moreyesThe round it last joined: below the team's round, it is not in this round.

TeamMessage​

A stored agent-team message in the read shape (ADR-0034 S1, PROTO-U-023), with the end note ended.

FieldTypeRequiredDescription
codestringOn a member_failed notice for a helper's run that failed, that run's code (as a run.failed event's): for the page to say why in its own words. Absent otherwise; show a code you don't know as the notice alone.
seqinteger 1 or moreyes
type"assign", "question", "answer", "report", "ask", "decision", "person_question", "person_answer", "person_message", "notice", "done", "ended", "round_started"yes
fromobjectyes
toobjectyes
atstring (date-time)yes
textstringyes
question_seqinteger 1 or more
bystring (uuid)The person, on their own messages.
memberstring
kind"member_idle", "member_stuck", "member_failed", "member_stopped", "member_deleted", "member_queued", "budget_80", "deadline_near", "budget_helpers_stopped", "lead_unfinished"A notice's kind (ADR-0034 S1, the notice row).
positioninteger 1 or more
filesarray of object or objectA report's files [{name, size, sha256}]; the end note's [{member, seq, name, size}] (handed back, seq being the report's).
reasonstringdone, stopped (a person), budget, deadline, idle, lead_deleted or person_disabled; this list is the contract. Show a value you don't know as Stopped.
summarystring or null
tokensobject
reportsarray of object
roundinteger 1 or moreround_started: the round that started; ended: the round that ended (ADR-0034's rounds amendment, A5).
tokens_all_roundsinteger 0 or moreended: the tokens every round spent, this one's included.

TeamMessagePage​

FieldTypeRequiredDescription
itemsarray of TeamMessageyes
last_seqinteger 0 or moreyes
morebooleanyes

TeamSeq​

FieldTypeRequiredDescription
seqinteger 1 or moreyes

TeamStopped​

Type: object or object

Template​

FieldTypeRequiredDescription
namestringyes
display_namestringyes
descriptionstring or nullyesThe administrator's one-line purpose, shown where people pick it; null when there is none. Display only.
capabilitiesarray of "shell", "python", "node", "build", "browser", "data", "desktop"yesCanonical order: shell, python, node, build, browser, data.
is_defaultbooleanyes
cpusnumberyesWhat a task in it gets (its own size or the default, within the ceiling). Display only.
memory_mibintegeryesAs cpus.

Templates​

Ordered with the default template first, then by display name. No image references or digests.

FieldTypeRequiredDescription
itemsarray of Templateyes

UpdateWorkspace​

FieldTypeRequiredDescription
namestring

Upload​

FieldTypeRequiredDescription
pathstringyesThe attachment reference.
namestringyes
sizeinteger 0 or moreyes

User​

FieldTypeRequiredDescription
idstring (uuid)yes
emailstring (email)yes
role"admin", "member"yes
limitsobjectyesThe installation's file limits ([files]): uploads, so the web refuses a larger file before sending it, and previews, so it says a file is too large to preview before fetching it.
internet"none", "some"yesWhether this person's tasks reach anything outside their environment: none (no internet-access rule, or egress off) or some. It never lists hosts.
featuresUserFeaturesyes

UserConnector​

FieldTypeRequiredDescription
namestringyes
display_namestring or nullyes
scheme"none", "bearer", "header"yes
requiredbooleanyesA call without any credential fails with 424 connector_credential_missing.
has_credentialbooleanyesYou hold a credential that still counts for this connector.
credential_updated_atstring (date-time) or nullyes

UserConnectors​

FieldTypeRequiredDescription
itemsarray of UserConnectoryes

UserFeatures​

FieldTypeRequiredDescription
agent_teamsbooleanyesThe install switch [agent_teams] enabled, read at start.

UserRef​

FieldTypeRequiredDescription
idstring (uuid)yes
emailstringyes

Workspace​

FieldTypeRequiredDescription
idstring (uuid)yes
owner_idstring (uuid)yes
namestringAbsent in an administrator's metadata view.
state"ready", "forking", "failed", "deleted"yesA fork is forking until its copy is ready, or failed (nothing kept).
access"owner", "write", "read"Your access; absent in an administrator's metadata view.
created_atstring (date-time)yes
updated_atstring (date-time)yes
last_used_atstring (date-time) or nullyes
size_bytesinteger 0 or more or nullyesBytes charged when last measured: allocated blocks, and at least each file's length (after a sandbox lets go of it, and after a fork); checked against the quota.
size_measured_atstring (date-time) or nullyes
kind"standard", "helper_copy"yesWhat the workspace is: helper_copy for an agent team member's own copy of its lead's workspace (a client words it in the reader's language), else standard. A rename keeps it.
forkobjectFor a fork: its source, and false when the source had a live sandbox while it was copied (files may have been mid-change). Absent in an administrator's metadata view.
ownerobjectyesThe owner, for every view (task 076g).
quota_bytesinteger 0 or more or nullyesThe effective per-workspace quota (workspaces.quota_bytes); null when unlimited.
leasenull or objectyesThe task holding the workspace's write lease (a live sandbox), or null.
share_countinteger 0 or more or nullyesPeople it is shared with; the owner's view only, null otherwise.
task_countinteger 0 or more or nullyesActive tasks bound to it, anyone's; the owner's view only, null otherwise.

WorkspaceShare​

FieldTypeRequiredDescription
user_idstring (uuid)yes
emailstringyes
access"read", "write"yes

WorkspaceShares​

FieldTypeRequiredDescription
itemsarray of WorkspaceShareyes

Workspaces​

FieldTypeRequiredDescription
itemsarray of Workspaceyes
next_cursorstringWhere the next page starts; absent on the last page and whenever limit is absent.