The request and response bodies the operations name. The frames of the event stream are described in the protocol reference.
AcceptInvitation
| Field | Type | Required | Description |
|---|
token | string | yes | |
password | string | yes | |
Accepted
| Field | Type | Required | Description |
|---|
accepted | true | yes | |
conversation_id | string (uuid) | yes | |
Account
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
email | string | yes | |
role | "admin", "member" | yes | |
disabled | boolean | yes | |
created_at | string (date-time) | yes | |
last_active_at | string (date-time) or null | yes | The account's last authenticated request, to the minute (written at most once a minute); null if it never made one. |
Accounts
| Field | Type | Required | Description |
|---|
items | array of Account | yes | |
AdminConnector
| Field | Type | Required | Description |
|---|
url | string (uri) | yes | https, with a host; no user information, no fragment, and no credential-like query keys. |
auth | object | yes | |
secret_ref | string | | The shared credential's secret name; a user's own credential takes precedence. Needs an auth scheme. |
tools | object | | Exactly one list: only these tools, or all but these. |
call_timeout_seconds | integer 1–600 | yes | |
enabled | boolean | yes | |
enabled_by_default | boolean | yes | New conversations start with it until profiles choose connectors. |
name | string | yes | |
insecure_http | boolean | | File-only; present only when set. |
ca_file | string | | File-only; present only when set. |
display_name | string or null | yes | |
key_missing | boolean | yes | secret_ref names a secret with no value. |
version | integer 1 or more | yes | |
seed | "current", "removed", null | yes | Whether the [[connectors]] seed lists it. |
last_set_by | "seed", "admin" | yes | |
updated_at | string (date-time) | yes | |
AdminConnectorWrite
Every connector field except the name (the path gives it). insecure_http and ca_file are file-only.
| Field | Type | Required | Description |
|---|
url | string (uri) | yes | https, with a host; no user information, no fragment, and no credential-like query keys. |
auth | object | | |
secret_ref | string | | The shared credential's secret name; a user's own credential takes precedence. Needs an auth scheme. |
tools | object | | Exactly one list: only these tools, or all but these. |
call_timeout_seconds | integer 1–600 | | |
enabled | boolean | | |
enabled_by_default | boolean | | New conversations start with it until profiles choose connectors. |
display_name | string or null | | The editable label; no control characters or surrounding spaces. |
version | integer 1 or more or null | | The version read; absent to create. |
AdminConnectors
| Field | Type | Required | Description |
|---|
items | array of AdminConnector | yes | |
generation | integer | yes | The settings generation the list was read at. |
AdminDecisionEngine
| Field | Type | Required | Description |
|---|
protocol | "decision_v1", "typed_questions_v1" | yes | 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_name | string | | What people read; no control characters or surrounding spaces. The name stays the identifier. |
url | string (uri) | yes | decision_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. |
auth | object | yes | |
key_ref | string | | The installation's credential for the engine: a shared secret that allows the engine (never a user's own). Needs an auth scheme. |
timeout_ms | integer 1–10000 | yes | How long the engine has to answer. |
exposure | "none", "calls", "full" | yes | 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. |
enabled | boolean | yes | |
name | string | yes | |
insecure_http | boolean | | File-only; present only when set. |
ca_file | string | | File-only; present only when set. |
key_missing | boolean | yes | key_ref names a secret without a value. |
version | integer 1 or more | yes | |
seed | "current", "removed", null | yes | current: from the seed file; removed: no longer in it; null: added here. |
last_set_by | "seed", "admin" | yes | |
updated_at | string (date-time) | yes | |
model | string | | A 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_confidence | number | | A 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_hints | object | | A 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. |
budget | object | | The engine's optional budget, an administrator's setting, off when absent; calls or tokens (or both). Counted from the engine's usage rows. |
budget_used | object | | Only with a budget: the consultations and their tokens (input and output, as the service reports them) over the budget's current count. |
budget_since | string (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.
| Field | Type | Required | Description |
|---|
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_name | string | | What people read; no control characters or surrounding spaces. The name stays the identifier. |
url | string (uri) | yes | decision_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. |
auth | object | | |
key_ref | string | | The installation's credential for the engine: a shared secret that allows the engine (never a user's own). Needs an auth scheme. |
timeout_ms | integer 1–10000 | | How 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. |
enabled | boolean | | |
version | integer 1 or more or null | | The version read; absent to create. |
model | string | | A 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_confidence | number | | A 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_hints | object | | A 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. |
budget | object | | The engine's optional budget, an administrator's setting, off when absent; calls or tokens (or both). Counted from the engine's usage rows. |
AdminDecisionEngines
| Field | Type | Required | Description |
|---|
items | array of AdminDecisionEngine | yes | |
generation | integer | yes | The settings generation the list was read at. |
AdminEgressPresetApplied
AdminEgressPresetRemoved
AdminEgressPresetRule
| Field | Type | Required | Description |
|---|
host | string | yes | An exact name, *.domain, or * (any website, only from open_web). |
ports | array of integer 1–65535 | | |
AdminEgressPresets
| Field | Type | Required | Description |
|---|
items | array of object | yes | |
AdminEgressRefusal
| Field | Type | Required | Description |
|---|
host | string | yes | The refused destination's name or address, in the allow-list's canonical form. |
port | integer 1–65535 | yes | |
reason | "not_listed", "private", "disabled", "internal_forbidden", "internal_unconfigured", "internal_unverified", "key_over_plain_http" | yes | Why the proxy refused it. |
count | integer 1 or more | yes | How often it was refused since the gateway started. |
last_at | string (date-time) | yes | |
list | "install" | yes | The list that refused it: the install's (per-profile lists are not built). |
allowable | boolean | yes | A rule for this host and port would open it. |
allowed | boolean | yes | The allow-list as it is now lets this host and port through. |
AdminEgressRefusals
AdminEgressRule
One allow-list rule.
| Field | Type | Required | Description |
|---|
host | string | yes | The canonical host pattern: lower case, no trailing dot. |
ports | array of integer 1–65535 | yes | Sorted. |
version | integer 1 or more | yes | Send it back to replace or delete. |
seed | "current", "removed", null | yes | current 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_at | string (date-time) | yes | |
preset | "package_registries", "open_web", "code_hosting", null | yes | The internet-access preset that added the rule, until an administrator edits it (it is then theirs). |
internal | boolean | yes | The 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
| Field | Type | Required | Description |
|---|
ports | array of integer 1–65535 | yes | 1 to 16 distinct non-zero ports, in any order. |
version | integer 1 or more | | Required to replace (the version read); omitted to create. |
internal | boolean | | Lets this exact host name reach a private address (ADR-0035 amendment). Refused on a wildcard or an address (internal_name_only). |
AdminEgressRules
| Field | Type | Required | Description |
|---|
disabled | boolean | yes | Egress is off by configuration: sandboxes are internal-only, no rule applies and writes answer 409 egress_disabled. |
items | array of AdminEgressRule | yes | |
limit | integer 1 or more | yes | The most rules the list may hold; the list never pages. |
AdminHostKeyAdd
| Field | Type | Required | Description |
|---|
name | string | yes | What 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_. |
address | string | yes | https://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" | yes | How the service expects it; header is not available yet (scheme_not_supported). |
user_name | string or null | | basic only: the stored user name. |
header_name | string or null | | header only (not available yet). |
value | string | yes | The key's value: write-only, never returned. No NUL or line break. |
users | "all" or array of string (uuid) | yes | Who 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.
| Field | Type | Required | Description |
|---|
version | integer 1 or more | yes | |
name | string | yes | What 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_. |
address | string | yes | https://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" | yes | How the service expects it; header is not available yet (scheme_not_supported). |
user_name | string or null | | basic only: the stored user name. |
header_name | string or null | | header only (not available yet). |
value | string | | The key's value: write-only, never returned. No NUL or line break. |
users | "all" or array of string (uuid) | yes | Who may use the shared key: all, or up to 256 chosen people's ids. |
AdminHostKeys
AdminLimit
One overridable limit.
| Field | Type | Required | Description |
|---|
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 | |
value | integer 0 or more | yes | |
default | integer 0 or more | yes | The configuration file's value (or its built-in default): what a reset restores. |
min | integer 0 or more | yes | The lowest value an administrator may set (the file's bound or the administrator floor). |
max | integer 0 or more | yes | |
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 | |
version | integer 1 or more | yes | Send it back to replace or delete. |
seed | "current", "removed", null | yes | current: seeded from the configuration file. |
last_set_by | "seed", "admin" | yes | |
updated_at | string (date-time) | yes | |
clamped_from | integer or null | yes | The value a start-up moved into the configuration file's bounds (for example after max_live was lowered); null once set again. |
below_floor | boolean | yes | The value is below the administrator floor: the configuration file's explicit choice. |
AdminLimitWrite
| Field | Type | Required | Description |
|---|
value | integer 0 or more | yes | |
version | integer 1 or more | yes | The version read; limits always exist. |
AdminLimits
| Field | Type | Required | Description |
|---|
items | array of AdminLimit | yes | |
generation | integer 0 or more | yes | |
defaults | EnvironmentSize | yes | What an environment without its own size gets (configuration file). |
ceiling | EnvironmentSize | yes | No environment is sized above this ([sandbox.ceiling], configuration file only). |
AdminRoute
One model route: the models.toml record plus metadata.
| Field | Type | Required | Description |
|---|
name | string | yes | |
protocol | "openai_chat", "openai_responses", "anthropic_messages" | yes | |
base_url | string | yes | The endpoint prefix, including its API version path; plain HTTP(S) without credentials, query or fragment. |
model | string | yes | |
auth | RouteAuth | yes | |
key_ref | string or null | yes | A 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_window | integer 1 or more or null | yes | Tokens, when known. |
max_output | integer 1 or more or null | yes | Tokens; required by anthropic_messages. |
concurrency | integer 1 or more or null | yes | At most this many requests in flight on the route. |
requests_per_minute | integer 1 or more or null | yes | At most this many requests started per rolling minute. |
native_tools | boolean | yes | |
parallel_tools | boolean | yes | |
vision | boolean | yes | |
reasoning | RouteReasoning | yes | |
cache_hint | "prefix", "anthropic_cache_control", "none" | yes | |
stream_usage | boolean | yes | |
extra_headers | object | yes | Non-credential headers merged into every request. |
extra_body | object | yes | Non-reserved body fields merged into every request. |
quirks | array of string | yes | |
strict | "auto", "on", "off" | yes | When tools go out with strict: true: auto (only schemas meeting the strict rules), on (every tool) or off (none). |
schema_keywords | "full", "basic" | yes | 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_secs | integer 5–900 | | How 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. |
fallbacks | array of string | yes | Routes a run may fall back to, in order. |
display_name | string or null | yes | The label pickers show; null shows the name. No control characters or surrounding spaces. |
description | string or null | yes | The administrator's one-line purpose, shown where people pick it; null when there is none. Display only. |
key_missing | boolean | yes | key_ref names a secret that has no value. |
key_ref_invalid | boolean | yes | The 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. |
version | integer 1 or more | yes | Send it back to replace or delete. |
seed | "current", "removed", null | yes | current 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_at | string (date-time) | yes | |
fallback_of | array of string | yes | Routes that list this one as a fallback, sorted; it cannot be deleted while any do. |
probe | object | yes | The 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.
| Field | Type | Required | Description |
|---|
protocol | "openai_chat", "openai_responses", "anthropic_messages" | yes | |
base_url | string | yes | The endpoint prefix, including its API version path; plain HTTP(S) without credentials, query or fragment. |
model | string | yes | |
auth | RouteAuth | | |
key_ref | string or null | | A secret reference (secrets/<name>), never the credential; required unless auth is none. |
context_window | integer 1 or more or null | | Tokens, when known. |
max_output | integer 1 or more or null | | Tokens; required by anthropic_messages. |
concurrency | integer 1 or more or null | | At most this many requests in flight on the route. |
requests_per_minute | integer 1 or more or null | | At most this many requests started per rolling minute. |
native_tools | boolean | | |
parallel_tools | boolean | | |
vision | boolean | | |
reasoning | RouteReasoning | | |
cache_hint | "prefix", "anthropic_cache_control", "none" | | |
stream_usage | boolean | | |
extra_headers | object | | Non-credential headers merged into every request. |
extra_body | object | | Non-reserved body fields merged into every request. |
quirks | array 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_secs | integer 5–900 | | How 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. |
fallbacks | array of string | | Routes a run may fall back to, in order. |
display_name | string or null | | The label pickers show; null shows the name. No control characters or surrounding spaces. |
description | string or null | | One 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. |
version | integer 1 or more | | Required to replace (the version read); omitted to create. |
AdminRoutes
| Field | Type | Required | Description |
|---|
items | array of AdminRoute | yes | |
generation | integer 0 or more | yes | The settings generation the list was read at. |
AdminSandbox
One running sandbox. Nothing of its task but the id.
| Field | Type | Required | Description |
|---|
conversation_id | string (uuid) | yes | For Stop; never rendered or linked. |
owner | object | yes | |
environment | object | yes | |
state | "starting", "working", "idle", "stopping" | yes | |
started_at | string (date-time) | yes | |
last_activity_at | string (date-time) | yes | |
stops_at | string (date-time) or null | yes | Idle: the window's end from the last activity; kept on: the lifetime's end; else null. About, by one worker pass. |
kept_on | boolean | yes | Pinned, or keeping a desktop sign-in; stoppable, with a warning. |
size | AdminSandboxSize | yes | |
usage | AdminSandboxUsage or null | yes | null until measured, or when the backend has no stats. |
can_stop | boolean | yes | |
stop_refusal | "starting", "working", "stopping", "work_waiting", null | yes | Why Stop is refused now, when can_stop is false. |
screen_held | boolean | yes | A 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" | yes | Where it runs: its workspace's backend (Docker container or microVM). |
AdminSandboxBackend
| Field | Type | Required | Description |
|---|
default | "docker", "firecracker" | yes | Where new workspaces run now: the administrators' choice, else the configuration's. |
chosen | "docker", "firecracker", null | yes | The administrators' saved choice; null follows the configuration. |
configured | "docker", "firecracker" | yes | The configuration's [runtime] backend. |
version | integer 0 or more | yes | |
docker | object | yes | Whether Docker sandboxes can start here. |
firecracker | object | yes | Whether microVMs can start here. |
environments | array of object | yes | Each offered environment's microVM root filesystem, read when microVMs are ready; empty otherwise. |
workspaces | object | yes | The workspaces on each backend. |
AdminSandboxBackendWrite
| Field | Type | Required | Description |
|---|
default | "docker", "firecracker", null | yes | docker, firecracker, or null to follow the configuration. |
version | integer 0 or more | yes | |
AdminSandboxLeftBehind
An engine object no record accounts for that survived a sweep: named by the engine's name only.
| Field | Type | Required | Description |
|---|
kind | "container", "network", "volume" | yes | |
name | string | yes | A container's short id, a network's or a volume's name. |
age_seconds | integer 0 or more | yes | |
reason | string | yes | The engine's error code from the last failed removal. |
remove | string | yes | The command that removes it by hand, built from the name. |
AdminSandboxSize
What the sandbox was admitted with; null until its create recorded it.
| Field | Type | Required | Description |
|---|
cpu_millicores | integer 0 or more or null | yes | |
memory_bytes | integer 0 or more or null | yes | |
pids | integer 0 or more or null | yes | |
AdminSandboxStop
| Field | Type | Required | Description |
|---|
stopping | true | yes | |
AdminSandboxUsage
The sampler's last measurement: the CPU rate between its last two samples, and the resident memory and processes of the last.
| Field | Type | Required | Description |
|---|
cpu_millicores | integer 0 or more | yes | |
memory_bytes | integer 0 or more | yes | |
pids | integer 0 or more | yes | |
AdminSandboxes
| Field | Type | Required | Description |
|---|
backend | "docker", "firecracker" | yes | The installation's configured backend ([runtime] backend); each sandbox names its own, and Settings › Environments says where new workspaces run. |
limits | object | yes | |
totals | object | yes | |
items | array of AdminSandbox | yes | |
next_after | string or null | yes | The last row's conversation_id when a next page exists; pass it as after. |
left_behind | array of AdminSandboxLeftBehind | yes | Empty when the verdict is green. |
AdminSecret
A shared secret's metadata. Never its value, length, a hash or a prefix of it.
| Field | Type | Required | Description |
|---|
ref | string | yes | |
updated_at | string (date-time) | yes | |
version | integer 1 or more | yes | Send it back to replace or delete. |
seed | "current", "removed", null | yes | current while the seed file lists it, removed after it no longer does, null if never seeded. |
last_set_by | "seed", "admin" | yes | |
routes | array of string | yes | Routes whose key_ref names it, sorted. |
rotated_at | string (date-time) | yes | When the value last changed; a write of the same value does not count. |
rotate_after_days | integer 1–3650 or null | yes | The rotation reminder's interval in days, or null for none. |
rotation_due | boolean | yes | Whether the reminder's interval has passed since the value last changed. A due reminder never stops the secret from working. |
consumers | array of SecretConsumer | yes | The 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
| Field | Type | Required | Description |
|---|
consumers | array of SecretConsumer | yes | Replaces the whole list; duplicates are removed. |
version | integer 1 or more | yes | The version read. |
AdminSecretReminder
| Field | Type | Required | Description |
|---|
rotate_after_days | integer 1–3650 or null | yes | Days after a change of value before a reminder; null clears it. |
version | integer 1 or more | yes | The version read. |
AdminSecretWrite
| Field | Type | Required | Description |
|---|
value | string | yes | Kept exactly, whitespace included; no NUL; at most the store's value_bytes. |
version | integer 1 or more | | Required to replace (the version read); omitted to create. |
AdminSecrets
| Field | Type | Required | Description |
|---|
items | array of AdminSecret | yes | |
limit | integer 1 or more | yes | The store's reference cap; the list never pages. |
AdminTemplate
| Field | Type | Required | Description |
|---|
name | string | yes | |
display_name | string | yes | |
description | string or null | yes | The administrator's one-line purpose, shown where people pick it; null when there is none. Display only. |
image | string | yes | The pinned image: a local image ID or a registry digest. |
capabilities | array of string | yes | |
cpus | number or null | yes | |
memory_mib | integer or null | yes | |
is_default | boolean | yes | |
enabled | boolean | yes | |
version | integer 1 or more | yes | |
last_set_by | "seed", "admin", "builtin" | yes | Who 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", null | yes | |
check | object | yes | |
base | string or null | yes | The file-provided template it derives from, once verified. |
image_id | string or null | yes | |
bound_conversations | integer 0 or more | yes | |
updated_at | string (date-time) | yes | |
builtin | object or null | yes | For 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. |
customised | boolean | yes | A 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). |
pids | integer or null | yes | |
workspace_mib | integer or null | yes | |
clamped | array of "cpus", "memory_mib", "pids", "workspace_mib" | yes | Size 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_from | object or null | yes | What each size lowered at start had before, until an administrator saves the environment; null when none. |
AdminTemplateWrite
| Field | Type | Required | Description |
|---|
display_name | string | yes | At most 64 characters, not blank. |
description | string or null | | One 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. |
image | string | yes | Pinned by digest (image@sha256:… or a local sha256: ID). |
capabilities | array of "shell", "python", "node", "build", "browser", "data", "desktop" | yes | |
cpus | number or null | | CPUs 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_mib | integer 256–1048576 or null | | Null uses the installation's default. At most the ceiling. |
enabled | boolean or null | | |
default | boolean or null | | Only to keep or state the current default; the default moves through POST /default. |
version | integer 1 or more or null | | |
pids | integer 64–65536 or null | | Processes; null uses the installation's default. At most the ceiling. |
workspace_mib | integer 16–1048576 or null | | The 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).
| Field | Type | Required | Description |
|---|
items | array of AdminTemplate | yes | |
generation | integer | yes | |
defaults | EnvironmentSize | yes | What an environment without its own size gets (configuration file). |
ceiling | EnvironmentSize | yes | No environment is sized above this ([sandbox.ceiling], configuration file only). |
AdminUsageReport
| Field | Type | Required | Description |
|---|
from | string (date) | yes | |
to | string (date) | yes | |
group | "day", "user", "route" | yes | |
rows | array of AdminUsageRow | yes | |
totals | AdminUsageTotals | yes | |
truncated | boolean | yes | |
previous | AdminUsageTotals | | |
previous_from | string (date) | | |
previous_to | string (date) | | |
AdminUsageRow
| Field | Type | Required | Description |
|---|
key | string | yes | The date (day), the user id (user) or the route name (route). |
label | string or null | yes | The user's email for group=user; otherwise null. |
requests | integer 0 or more | yes | |
reported | integer 0 or more | yes | Requests whose model server reported their usage. |
estimated | integer 0 or more | yes | Requests 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_tokens | integer 0 or more | yes | |
completion_tokens | integer 0 or more | yes | |
cached_tokens | integer 0 or more or null | yes | Null when no request in the group reported it. |
reasoning_tokens | integer 0 or more or null | yes | Null when no request in the group reported it. |
AdminUsageTotals
| Field | Type | Required | Description |
|---|
requests | integer 0 or more | yes | |
reported | integer 0 or more | yes | Requests whose model server reported their usage. |
estimated | integer 0 or more | yes | Requests 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_tokens | integer 0 or more | yes | |
completion_tokens | integer 0 or more | yes | |
cached_tokens | integer 0 or more or null | yes | Null when no request in the group reported it. |
reasoning_tokens | integer 0 or more or null | yes | Null when no request in the group reported it. |
AgentTeamSettings
| Field | Type | Required | Description |
|---|
member_route | string or null | yes | |
acceptance_check | string or null | yes | |
version | integer 0 or more | yes | |
AgentTeamSettingsWrite
| Field | Type | Required | Description |
|---|
member_route | string or null | yes | A model route that exists and can be used now. |
acceptance_check | string or null | yes | One line, at most 4,096 bytes. |
version | integer 0 or more | yes | |
ApiToken
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
name | string | yes | |
hint | string | yes | The token's last four characters. |
created_at | string (date-time) | yes | |
expires_at | string (date-time) | yes | |
last_used_at | string (date-time) or null | yes | |
ApiTokens
| Field | Type | Required | Description |
|---|
items | array of ApiToken | yes | |
Bootstrap
| Field | Type | Required | Description |
|---|
email | string (email) | yes | |
password | string | yes | |
token | string | yes | |
Cancel
Type: object
ChangeAccount
| Field | Type | Required | Description |
|---|
role | "admin", "member" | | |
disabled | boolean | | |
ChangeEnvironment
| Field | Type | Required | Description |
|---|
template | string | yes | |
Channel
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
name | string | yes | |
purpose | string | yes | |
rule | "human", "majority" | yes | |
state | "open", "ended" | yes | |
owner | object | yes | |
created_at | string (date-time) | yes | |
ended_at | string (date-time) or null | yes | |
role | "lead", "member", "observer", null | yes | The caller's role; null for an administrator or a member conversation's owner who isn't a member. |
member_count | integer 0 or more | yes | |
last_seq | integer 0 or more | yes | |
open_votes | integer 0 or more | yes | Proposals not yet decided. |
todos_open | integer 0 or more | yes | To-dos whose places aren't all taken by members whose latest report is completed; failed or blocked counts as open. |
wake_budget | integer 0 or more | | The 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_tokens | integer 0 or more | | What woken runs have spent here today, in the open budget window (0 when none is open); on one channel's read only. |
budget_resets_at | string (date-time) or null | | When 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
| Field | Type | Required | Description |
|---|
kind | "conversation", "user", "gateway" | yes | |
id | string | yes | |
name | string | | |
ChannelCandidates
| Field | Type | Required | Description |
|---|
people | array of object | yes | |
tasks | array of object | yes | |
ChannelFile
A file posted with a channel message (ADR-0014's amendment of 20 Nov 2026, A9).
| Field | Type | Required | Description |
|---|
name | string | yes | Its name as posted (sanitised as uploads are). |
size | integer 0 or more | yes | Its size in bytes. |
path | string | | Where 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
| Field | Type | Required | Description |
|---|
items | array of Channel | yes | |
next_cursor | string or null | yes | |
ChannelMember
| Field | Type | Required | Description |
|---|
kind | "user", "conversation" | yes | |
id | string (uuid) | yes | |
name | string | yes | A user's email; a conversation's agent profile display name. |
owner_name | string | | A conversation's owner's email. |
title | string | | A conversation's title, only for its owner (titles are content, SEC-044: never for an administrator). |
role | "lead", "member", "observer" | yes | |
added_at | string (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_open | boolean | | Whether 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. |
named | boolean | | Whether 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
| Field | Type | Required | Description |
|---|
email | string | yes | |
role | "lead", "member", "observer" | yes | |
ChannelMemberRole
| Field | Type | Required | Description |
|---|
role | "lead", "member", "observer" | yes | |
name | string | | An 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
ChannelMessage
| Field | Type | Required | Description |
|---|
seq | integer 1 or more | yes | |
ts | string (date-time) | yes | |
author | ChannelAuthor | yes | |
parent | integer 1 or more | | |
body | ChannelMessageBody | yes | |
files | array of ChannelFile | | The 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
| Field | Type | Required | Description |
|---|
messages | array of ChannelMessage | yes | |
next_since | integer 0 or more | yes | |
more | boolean | yes | |
woken | boolean | | On 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
| Field | Type | Required | Description |
|---|
parent | integer 1 or more | | |
body | ChannelMessageBody | yes | |
author | object | | Accepted and ignored: the author is the caller (SEC-015). |
ChannelProposalState
| Field | Type | Required | Description |
|---|
proposal_seq | integer 1 or more | yes | |
rule | "human", "majority" | yes | |
state | "open", "decided" | yes | |
window_ends_at | string (date-time) | yes | |
voting_members | integer 0 or more | yes | |
tally | object | yes | |
votes | array of object | yes | |
decision | null or object | yes | |
ChannelTaskBoard
| Field | Type | Required | Description |
|---|
items | array of object | yes | |
ChannelUpload
A file uploaded to a channel and kept for the uploader's next post (ADR-0014's amendment of 20 Nov 2026, A9).
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | What a post names in its files. |
name | string | yes | |
size | integer 0 or more | yes | |
ClientFrame
Type: ClientFrame
Conversation
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
owner_id | string (uuid) | yes | |
title | string | | Absent when an administrator views another user's task (titles are content). |
model_route | string | yes | |
backend | "docker", "firecracker" | yes | |
state | "active", "deleted" | yes | |
created_at | string (date-time) | yes | |
updated_at | string (date-time) | yes | |
last_activity_at | string (date-time) | yes | Database time of the latest accepted message or terminal run event; metadata changes use updated_at. |
template | string | yes | |
pinned | boolean | yes | The keep-alive pin: its sandbox is never idle-retired or evicted, up to sandbox.max_lifetime_seconds. |
keep_sign_in | boolean | | Whether 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_id | string (uuid) | yes | The workspace this task is bound to for its whole life. |
mcp_servers | array of string | yes | The 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). |
connectors | array of string | yes | The 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. |
profile | object | | The 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_notices | boolean | | Whether 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" | yes | Where 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). |
team | ConversationTeam or null | yes | null for a task in no agent team, and always while agent teams are off. |
ConversationPage
| Field | Type | Required | Description |
|---|
items | array of Conversation | yes | |
next_cursor | string or null | yes | Pass 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.
| Field | Type | Required | Description |
|---|
role | "lead", "member" | yes | |
id | string (uuid) | yes | The team. |
state | "running", "stopping", "ended" | yes | |
helpers | integer 0 or more | | A lead's helpers now; deleted ones are not counted. |
attention | object | | How 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_you | boolean | | A lead's person_question is unanswered (the task's own person only). |
lead | object | | |
name | string | | A member's name (its own person only). |
helper_state | "working", "waiting_lead", "queued", "stuck", "done", "stopped", "failed", "unknown" | | |
can_stop | boolean | | Whether 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). |
round | integer 1 or more | yes | The 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
| Field | Type | Required | Description |
|---|
title | string | yes | 1-200 characters after trimming; U+0000 is refused with 400 invalid_request. |
model_route | string | | Required unless the profile sets one; with a profile that sets one, only the same value is accepted (422 set_by_profile). |
profile | string (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. |
template | string | | Absent selects the configured default environment template. |
workspace_id | string (uuid) | | A workspace you own or hold a write share on; absent creates a new empty workspace. |
CreatedInvitation
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
email | string | yes | |
role | "admin", "member" | yes | |
status | "pending", "accepted", "expired", "revoked" | yes | |
created_by | string (uuid) | yes | |
created_at | string (date-time) | yes | |
expires_at | string (date-time) | yes | |
token | string | yes | Shown once. |
CreatedToken
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
name | string | yes | |
hint | string | yes | The token's last four characters. |
created_at | string (date-time) | yes | |
expires_at | string (date-time) | yes | |
last_used_at | string (date-time) or null | yes | |
token | string | yes | Shown once. |
EnvironmentImage
| Field | Type | Required | Description |
|---|
id | string | yes | The image ID (sha256:…): the pin an environment made from it uses. |
tags | array of string | yes | Its local tags; empty for an untagged image. |
created | string (date-time) | yes | When it was built. |
size_bytes | integer 0 or more | yes | |
runtime | "current", "too_old", "none" | yes | Whether it holds a runtime this version can run (its protocol-revision label): too_old needs a rebuild. |
environment | string or null | yes | The environment it says it is (its org.tensorquay.environment label); null without one. |
display_name | string or null | yes | Its label's name for people; null without one. |
capabilities | array of string | yes | The capabilities its label names, as written (an unknown one included); empty without the label. |
capabilities_valid | boolean | yes | False when the capability label names no capability or an unknown one. |
usable | boolean | yes | Whether an environment can be made from it. |
reason | string or null | yes | Plain 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_on | string or null | yes | The 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_by | array of string | yes | The environments pinned to it, by name. |
sandboxes | integer 0 or more | yes | How many tasks' sandboxes run it now. |
built_in | "registered", "not_added", null | yes | For 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. |
sizes | object or null | yes | A 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
| Field | Type | Required | Description |
|---|
items | array of EnvironmentImage | yes | Newest first, at most limit. |
limit | integer | yes | The most images listed (200). |
EnvironmentSize
An environment size: CPUs (in halves), memory, processes and a new workspace's disk.
| Field | Type | Required | Description |
|---|
cpus | number | yes | |
memory_mib | integer | yes | |
pids | integer | yes | |
workspace_mib | integer | yes | |
Error
| Field | Type | Required | Description |
|---|
error | object | yes | |
EventPage
| Field | Type | Required | Description |
|---|
items | array of ServerFrame | yes | |
next_after | integer 0 or more or null | yes | |
FileChange
| Field | Type | Required | Description |
|---|
path | string | yes | |
status | "added", "modified", "deleted" | yes | |
added | integer 0 or more | yes | Lines added. |
removed | integer 0 or more | yes | Lines removed. |
binary | boolean | yes | Not text on one side; no line counts or diff. |
too_large | boolean | yes | Not copied on one side (over the snapshot text or copy bound); no line counts or diff. |
FileContent
| Field | Type | Required | Description |
|---|
path | string | yes | |
size | integer 0 or more | yes | |
modified_at | string (date-time) | yes | |
etag | string | yes | |
binary | boolean | yes | Not UTF-8 text (or contains NUL); no content is returned. |
truncated | boolean | yes | Text longer than files.preview_bytes; only the start is returned. |
text | string or null | yes | |
FileDiff
| Field | Type | Required | Description |
|---|
path | string | yes | |
status | "added", "modified", "deleted" | yes | |
unified | string or null | yes | The unified diff, when both sides are text with copies. |
binary | boolean | yes | |
too_large | boolean | yes | |
truncated | boolean | yes | Cut at files.diff_bytes. |
FileEntry
| Field | Type | Required | Description |
|---|
name | string | yes | |
kind | "file", "dir", "link", "other" | yes | The entry itself; links are listed, never followed. |
size | integer 0 or more | yes | Bytes for a file; 0 otherwise. |
modified_at | string (date-time) | yes | |
FilePage
| Field | Type | Required | Description |
|---|
path | string | yes | The listed directory, relative to the workspace root; empty for the root. |
items | array of FileEntry | yes | |
next_after | string or null | yes | |
ForkWorkspace
| Field | Type | Required | Description |
|---|
name | string | yes | |
HostKey
A host key's metadata (ADR-0037); never its value.
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
name | string | yes | |
host | string | yes | |
port | integer 1–65535 | yes | |
path_prefix | string or null | yes | |
scheme | "bearer", "basic", "header" | yes | |
user_name | string or null | yes | |
header_name | string or null | yes | |
shared | boolean | yes | false: the viewer's own key; true: a shared key. |
users | null or "all" or array of UserRef | yes | Shared keys, in administrators' answers only: all, or the chosen people; null otherwise. |
set_at | string (date-time) | yes | When the value was last set. |
last_use | null or HostKeyUse | yes | The viewer's most recent use they may see, or null. |
allowed | boolean | yes | Whether the network list allows the key's host and port today; a run gets the key only then. |
check_name | boolean | yes | Migrated from a Git credential and not yet saved. |
version | integer 1 or more | yes | |
HostKeyAdd
| Field | Type | Required | Description |
|---|
name | string | yes | What 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_. |
address | string | yes | https://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" | yes | How the service expects it; header is not available yet (scheme_not_supported). |
user_name | string or null | | basic only: the stored user name. |
header_name | string or null | | header only (not available yet). |
value | string | yes | The 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.
| Field | Type | Required | Description |
|---|
version | integer 1 or more | yes | |
name | string | yes | What 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_. |
address | string | yes | https://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" | yes | How the service expects it; header is not available yet (scheme_not_supported). |
user_name | string or null | | basic only: the stored user name. |
header_name | string or null | | header only (not available yet). |
value | string | | The 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).
| Field | Type | Required | Description |
|---|
at | string (date-time) | yes | |
count | integer 1 or more | yes | |
outcome | "ok", "absent", "unavailable", "foreign_run", "foreign_sandbox", "expired", "wrong_host", "wrong_position", "not_allowed", "revoked", "unrecorded" | yes | |
conversation_id | string (uuid) or null | yes | The 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_title | string or null | yes | Only for the viewer's own task. |
user | null or UserRef | yes | Administrators' view of a shared key only. |
HostKeys
| Field | Type | Required | Description |
|---|
items | array of HostKey | yes | |
Invitation
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
email | string | yes | |
role | "admin", "member" | yes | |
status | "pending", "accepted", "expired", "revoked" | yes | |
created_by | string (uuid) | yes | |
created_at | string (date-time) | yes | |
expires_at | string (date-time) | yes | |
InvitationToken
| Field | Type | Required | Description |
|---|
token | string | yes | |
Invitations
| Field | Type | Required | Description |
|---|
items | array of Invitation | yes | |
Invitee
| Field | Type | Required | Description |
|---|
email | string | yes | |
role | "admin", "member" | yes | |
expires_at | string (date-time) | yes | |
Login
| Field | Type | Required | Description |
|---|
email | string (email) | yes | |
password | string | yes | |
McpServers
| Field | Type | Required | Description |
|---|
items | array of object | yes | |
Message
| Field | Type | Required | Description |
|---|
text | string | yes | At most 64 KiB of UTF-8. |
attachments | array of string | | |
MessageAccepted
| Field | Type | Required | Description |
|---|
accepted | true | yes | |
conversation_id | string (uuid) | yes | |
message_id | string | yes | The message's id, for the queue's list and cancel. |
held | boolean | yes | True when the message waits for the task's run to end (send after this). |
Model
| Field | Type | Required | Description |
|---|
name | string | yes | |
display_name | string or null | yes | The administrator's label; show the name when null. |
description | string or null | yes | The administrator's one-line purpose, shown where people pick it; null when there is none. Display only. |
verified | boolean or null | yes | Whether a current route probe passed; null until one is recorded. |
answering | boolean or null | | Whether 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. |
model | string | yes | |
protocol | "openai_chat", "openai_responses", "anthropic_messages" | yes | |
context_window | integer 1 or more or null | yes | |
vision | boolean | yes | |
native_tools | boolean | yes | Whether the route takes structured tool calls; without them the runtime uses its text fallback. |
reasoning | null or object | yes | |
runs_on | object | yes | Where the model runs, for pickers; never its address. |
Models
| Field | Type | Required | Description |
|---|
items | array of Model | yes | |
NewChannel
| Field | Type | Required | Description |
|---|
name | string | yes | |
purpose | string | | |
rule | "human", "majority" | yes | |
NewConnectorCredential
| Field | Type | Required | Description |
|---|
value | string | yes | Printable ASCII without spaces; write-only. |
NewInvitation
| Field | Type | Required | Description |
|---|
email | string | yes | |
role | "admin", "member" | yes | |
NewToken
| Field | Type | Required | Description |
|---|
name | string | yes | |
expires_in_days | integer 1–365 | yes | |
NewWorkspace
| Field | Type | Required | Description |
|---|
name | string | yes | |
profile | string (uuid) | | The profile the workspace is for; an unknown id, or one the caller may not use, is 422 unknown_reference (field profile). |
template | string | | The 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
| Field | Type | Required | Description |
|---|
current_password | string | yes | |
new_password | string | yes | |
PatchConversation
| Field | Type | Required | Description |
|---|
title | string | | 1-200 characters after trimming; U+0000 is refused with 400 invalid_request. |
route | string | | Refused (422 set_by_profile) when the conversation's profile sets the route. |
pinned | boolean | | Set or clear the keep-alive pin. |
keep_sign_in | boolean | | Keep, 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_servers | array of string | | The 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). |
connectors | array of string | | The 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).
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
host | string | yes | |
port | integer | yes | |
path_prefix | string or null | yes | |
owner | UserRef | yes | |
set_at | string (date-time) | yes | |
last_use | null or object | yes | |
version | integer 1 or more | yes | |
Profile
| Field | Type | Required | Description |
|---|
name | string | yes | Unique among the owner's profiles, or among shared ones. |
display_name | string | yes | |
description | string or null | | |
instructions | string or null | | Added to the system prompt as its own section (at most 16 KiB; left out rather than empty). |
model_route | string or null | | A route that exists now; a conversation from the profile uses it. |
template | string or null | | An environment template; it must be offered when a conversation is created from the profile. |
tools | array 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 null | | Built-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_servers | array of string | | Catalogue 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. |
connectors | array of string | | Connectors; 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_engine | string or null | | A decision engine the profile's conversations consult (ADR-0013); it must exist and be enabled. |
limits | object | | Ceilings under the install's run limits. |
busy_policy | "wait", "refuse", null | | |
id | string (uuid) | yes | |
shared | boolean | yes | |
version | integer 1 or more | yes | |
updated_at | string (date-time) | yes | |
usable | boolean | yes | Whether 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
| Field | Type | Required | Description |
|---|
name | string | yes | Unique among the owner's profiles, or among shared ones. |
display_name | string | yes | |
description | string or null | | |
instructions | string or null | | Added to the system prompt as its own section (at most 16 KiB; left out rather than empty). |
model_route | string or null | | A route that exists now; a conversation from the profile uses it. |
template | string or null | | An environment template; it must be offered when a conversation is created from the profile. |
tools | array 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 null | | Built-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_servers | array of string | | Catalogue 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. |
connectors | array of string | | Connectors; 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_engine | string or null | | A decision engine the profile's conversations consult (ADR-0013); it must exist and be enabled. |
limits | object | | Ceilings under the install's run limits. |
busy_policy | "wait", "refuse", null | | |
shared | boolean | | On create only: a shared profile (administrators). |
version | integer 1 or more | | On replace only: the version read. |
Profiles
| Field | Type | Required | Description |
|---|
items | array of Profile | yes | |
QueuedMessage
| Field | Type | Required | Description |
|---|
id | string | yes | |
text | string | yes | |
attachments | array of string | yes | |
author | object | yes | |
created_at | string (date-time) | yes | |
state | "held", "waiting_for_slot", "dropped", "sent" | yes | waiting_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_at | string (date-time) | | When a sent message went out. |
team_wake | object | | Set 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_wake | object | | Set 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_brief | true | | Set 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
ReadyDetail
The readiness detail an administrator gets with detail=1; ready is true only when every check is.
| Field | Type | Required | Description |
|---|
ready | boolean | yes | |
checks | object | yes | |
sandbox | object | yes | |
templates | object | yes | Template diagnostics (ADR-0032). Diagnostics only: they never make the gateway unready. |
git_credentials_kept | object or null | yes | Git 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_active | integer 0 or more or null | yes | Tasks 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. |
sandboxes | object | yes | The 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
| Field | Type | Required | Description |
|---|
route | string | yes | |
protocol | "openai_chat", "openai_responses", "anthropic_messages" | yes | |
models | array of object | yes | |
truncated | boolean | yes | The endpoint offers more models than the 500 listed |
failure | null or object | yes | |
RouteProbe
| Field | Type | Required | Description |
|---|
state | "verified", "failed" | yes | verified when every check that applies passed |
probed_at | string (date-time) | yes | |
route_version | integer 1 or more | yes | The route version the probe tested |
observed | RouteProbeObservation | yes | |
RouteProbeObservation
| Field | Type | Required | Description |
|---|
ok | boolean | yes | |
streaming | boolean or null | yes | |
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. |
usage | object | yes | |
reasoning_accepted | boolean or null | yes | |
first_byte_ms | integer 0 or more or null | yes | |
total_ms | integer 0 or more | yes | |
tokens | object | yes | Tokens the probe spent |
failure | null or object | yes | |
warnings | array of "argument_mismatch", "line_breaks_unverified", "stream_mislabelled", "swallowed_calls", "thinks_unasked", "usage_missing", "context_window_differs", "slow_answers" | yes | |
tool_call_extras | array of string | | The 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_context | object | | What 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_second | integer 0 or more | | The 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
RouteReasoning
Type: null or object
RunChanges
| Field | Type | Required | Description |
|---|
run_id | string | yes | |
live | boolean | yes | Compared with the live workspace (the latest run). |
running | boolean | yes | |
truncated | boolean | yes | A snapshot stopped at files.snapshot_files; files beyond it are not compared. |
files | array of FileChange | yes | |
RuntimeChannels
| Field | Type | Required | Description |
|---|
channels | array of object | yes | |
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.
| Field | Type | Required | Description |
|---|
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 | |
by | object | | The 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). |
at | string (date-time) | yes | |
after_seq | integer 0 or more | yes | The conversation's last stored event seq when it happened. |
seconds | integer 0 or more | | screen.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
SecretConsumer
| Field | Type | Required | Description |
|---|
kind | "connector", "route", "engine" | yes | |
name | string | yes | |
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.
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
consumer_kind | "route", "connector", "git", "engine", "host" | yes | |
consumer | string | yes | The route or connector name; push for a Git credential; host:port for a host key. |
conversation_id | string (uuid) or null | yes | |
user_id | string (uuid) or null | | The user it was read for; only in the administrator's view. |
run_id | string or null | yes | |
outcome | "ok", "absent", "unavailable", "foreign_run", "foreign_sandbox", "expired", "wrong_host", "wrong_position", "not_allowed", "revoked", "unrecorded" | yes | ok, 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. |
count | integer 1 or more | yes | |
first_at | string (date-time) | yes | |
last_at | string (date-time) | yes | |
SecretReadPage
| Field | Type | Required | Description |
|---|
items | array of SecretRead | yes | |
next | string (uuid) or null | yes | Pass as before for the next page; null on the last page. |
ServerFrame
Type: ServerFrame
Setup
| Field | Type | Required | Description |
|---|
required | boolean | yes | True while no account exists. |
ShareByEmail
| Field | Type | Required | Description |
|---|
email | string | yes | An active account's exact email, case-insensitive. |
access | "read", "write" | yes | |
ShareWorkspace
| Field | Type | Required | Description |
|---|
access | "read", "write" | yes | |
SheetPreview
| Field | Type | Required | Description |
|---|
sheets | array of string | yes | Every sheet's name, in the workbook's order. |
sheet | string | yes | The shown sheet's name. |
rows | array of array of string | yes | The shown rows, each as wide as the widest; cells are display text. |
total_rows | integer 0 or more or null | yes | The 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_rows | boolean | yes | A non-empty cell lies below the shown rows. |
more_columns | boolean | yes | A non-empty cell lies right of the shown columns. |
truncated_cells | integer 0 or more | yes | Shown cells cut at 200 characters. |
SiteNetwork
| Field | Type | Required | Description |
|---|
any | boolean | yes | The any-host rule is in the install's allow-list: the page may reach any https host. |
hosts | array of string | yes | The exact hosts and *.domain entries the page may reach (ports left out), sorted; empty with internet access off. |
SitePass
| Field | Type | Required | Description |
|---|
pass | string | yes | 43 characters of unpadded base64url. |
folder | string | yes | |
url | string | yes | The 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_seconds | integer | yes | 900: the pass lives this long from its last use. |
network | SiteNetwork | yes | |
SitePassRequest
| Field | Type | Required | Description |
|---|
folder | string | yes | A 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
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | The row; a page's before. |
run_id | string or null | yes | The run; null for a use refused while the task had no running run. |
sender_id | string (uuid) | yes | The run's sender, whose key it is. |
name | string or null | yes | The key's variable, only for the row's sender. |
host | string | yes | Canonical: an IPv6 address bare. |
port | integer 1–65535 | yes | |
outcome | "ok", "revoked", "foreign_sandbox", "foreign_run", "expired", "wrong_host", "wrong_position", "not_allowed", "unrecorded", "unavailable" | yes | |
count | integer 1 or more | yes | |
first_at | string (date-time) | yes | |
last_at | string (date-time) | yes | |
TaskKeyUses
| Field | Type | Required | Description |
|---|
items | array of TaskKeyUse | yes | |
next | string (uuid) or null | yes | The before of the next page, if there is one. |
Team
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
state | "running", "stopping", "ended" | yes | |
stop_reason | string or null | yes | |
lead | object | yes | |
started_at | string (date-time) | yes | |
deadline_at | string (date-time) | yes | |
budget | object | yes | |
waiting_for_you | object or null | yes | The latest unanswered person_question. |
helpers | array of TeamHelper | yes | |
version | integer 0 or more | yes | Rises with every change; team.changed names it. |
round | integer 1 or more | yes | The 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. |
rounds | array of object | yes | Every round so far, newest last: the current one from the team itself, live. |
tokens_all_rounds | integer 0 or more | yes | The tokens every round spent, this one's included. |
TeamAnswerWrite
| Field | Type | Required | Description |
|---|
question_seq | integer 1 or more | yes | |
text | string | yes | 1 to 16,000 UTF-8 bytes, no NUL. |
TeamHelper
| Field | Type | Required | Description |
|---|
conversation | string (uuid) | yes | |
name | string | yes | |
role | string | yes | |
workspace | "own_copy", "my_files" | yes | |
state | "working", "waiting_lead", "queued", "stuck", "done", "stopped", "failed", "unknown" | yes | |
can_stop | boolean | yes | Whether Stop helper would stop it now: while the team runs, any helper but a stopped one or one that couldn't start. |
position | integer 1 or more or null | yes | Its place in the queue while queued. |
tokens | integer 0 or more | yes | Prompt 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_estimated | boolean | yes | Part of tokens is the relay's estimate: a model call cancelled before its server reported usage (a stop mid-reply), counted from what streamed. |
activity | object or null | yes | |
last_message | object or null | yes | |
round | integer 1 or more | yes | The 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.
| Field | Type | Required | Description |
|---|
code | string | | On 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. |
seq | integer 1 or more | yes | |
type | "assign", "question", "answer", "report", "ask", "decision", "person_question", "person_answer", "person_message", "notice", "done", "ended", "round_started" | yes | |
from | object | yes | |
to | object | yes | |
at | string (date-time) | yes | |
text | string | yes | |
question_seq | integer 1 or more | | |
by | string (uuid) | | The person, on their own messages. |
member | string | | |
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). |
position | integer 1 or more | | |
files | array of object or object | | A report's files [{name, size, sha256}]; the end note's [{member, seq, name, size}] (handed back, seq being the report's). |
reason | string | | done, 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. |
summary | string or null | | |
tokens | object | | |
reports | array of object | | |
round | integer 1 or more | | round_started: the round that started; ended: the round that ended (ADR-0034's rounds amendment, A5). |
tokens_all_rounds | integer 0 or more | | ended: the tokens every round spent, this one's included. |
TeamMessagePage
| Field | Type | Required | Description |
|---|
items | array of TeamMessage | yes | |
last_seq | integer 0 or more | yes | |
more | boolean | yes | |
TeamSeq
| Field | Type | Required | Description |
|---|
seq | integer 1 or more | yes | |
TeamStopped
Type: object or object
Template
| Field | Type | Required | Description |
|---|
name | string | yes | |
display_name | string | yes | |
description | string or null | yes | The administrator's one-line purpose, shown where people pick it; null when there is none. Display only. |
capabilities | array of "shell", "python", "node", "build", "browser", "data", "desktop" | yes | Canonical order: shell, python, node, build, browser, data. |
is_default | boolean | yes | |
cpus | number | yes | What a task in it gets (its own size or the default, within the ceiling). Display only. |
memory_mib | integer | yes | As cpus. |
Templates
Ordered with the default template first, then by display name. No image references or digests.
| Field | Type | Required | Description |
|---|
items | array of Template | yes | |
UpdateWorkspace
| Field | Type | Required | Description |
|---|
name | string | | |
Upload
| Field | Type | Required | Description |
|---|
path | string | yes | The attachment reference. |
name | string | yes | |
size | integer 0 or more | yes | |
User
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
email | string (email) | yes | |
role | "admin", "member" | yes | |
limits | object | yes | The 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" | yes | Whether this person's tasks reach anything outside their environment: none (no internet-access rule, or egress off) or some. It never lists hosts. |
features | UserFeatures | yes | |
UserConnector
| Field | Type | Required | Description |
|---|
name | string | yes | |
display_name | string or null | yes | |
scheme | "none", "bearer", "header" | yes | |
required | boolean | yes | A call without any credential fails with 424 connector_credential_missing. |
has_credential | boolean | yes | You hold a credential that still counts for this connector. |
credential_updated_at | string (date-time) or null | yes | |
UserConnectors
UserFeatures
| Field | Type | Required | Description |
|---|
agent_teams | boolean | yes | The install switch [agent_teams] enabled, read at start. |
UserRef
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
email | string | yes | |
Workspace
| Field | Type | Required | Description |
|---|
id | string (uuid) | yes | |
owner_id | string (uuid) | yes | |
name | string | | Absent in an administrator's metadata view. |
state | "ready", "forking", "failed", "deleted" | yes | A 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_at | string (date-time) | yes | |
updated_at | string (date-time) | yes | |
last_used_at | string (date-time) or null | yes | |
size_bytes | integer 0 or more or null | yes | Bytes 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_at | string (date-time) or null | yes | |
kind | "standard", "helper_copy" | yes | What 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. |
fork | object | | For 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. |
owner | object | yes | The owner, for every view (task 076g). |
quota_bytes | integer 0 or more or null | yes | The effective per-workspace quota (workspaces.quota_bytes); null when unlimited. |
lease | null or object | yes | The task holding the workspace's write lease (a live sandbox), or null. |
share_count | integer 0 or more or null | yes | People it is shared with; the owner's view only, null otherwise. |
task_count | integer 0 or more or null | yes | Active tasks bound to it, anyone's; the owner's view only, null otherwise. |
WorkspaceShare
| Field | Type | Required | Description |
|---|
user_id | string (uuid) | yes | |
email | string | yes | |
access | "read", "write" | yes | |
WorkspaceShares
Workspaces
| Field | Type | Required | Description |
|---|
items | array of Workspace | yes | |
next_cursor | string | | Where the next page starts; absent on the last page and whenever limit is absent. |