Skip to content

MCP tools

Every tool the omniglass MCP server serves, generated from the API by the same make gen that generates the CLI. A tool is an API operation stamped for MCP in the server’s Go source: calling it runs that route with the caller’s token, so its gate, its scope and its audit row are the route’s own, and the row records that it came over MCP. To connect an agent, see connect an agent.

Each tool says what a client may assume of it, from one rule over the route’s method and gate:

  • read-only: changes nothing (a read, or a preview gated by a read). A client may run it freely.
  • destructive: overwrites or removes something, or acts on a component. A client should confirm it with its user.
  • idempotent: calling it again with the same arguments changes nothing more.
  • open-world: reaches outside omniglass.

A tool that is not read-only and not destructive adds something (a create).

Each tool also has an agent class, the one the install’s agent policy sets to always, ask or never: read (read-only), destructive, credential_destination (it may bind a stored credential to a destination, the most sensitive class, whatever else it does) or write (the rest). On tools/list, each tool’s _meta carries omniglass/agent_policy, its class and the policy the install resolves for it: the strictest of the class, the caller’s roles and an override on the tool itself.

104 tools.

ToolWhat it doesGateAssume
list-alarmsList the fleet’s alarmscomponent:readread-only, idempotent
list-audit-logList audit-trail eventsaudit:read:adminread-only, idempotent
get-auth-meThe authenticated user, its permissions, and grantsauthn onlyread-only, idempotent
get-auth-me-agent-policyWhat the install lets an agent doauthn onlyread-only, idempotent
list-auth-me-notificationsList your inboxnotification:readread-only, idempotent
list-calc-ruleList calc rulesrule:readread-only, idempotent
get-calc-ruleGet a calc rulerule:readread-only, idempotent
get-calc-rule-stateGet a calc rule’s live staterule:readread-only, idempotent
preview-calc-rulePreview a calc rulerule:readread-only, idempotent
list-component-typesList component typescomponent_type:readread-only, idempotent
list-componentsList components in scopecomponent:readread-only, idempotent
create-componentCreate a componentcomponent:createadds
get-componentGet a componentcomponent:readread-only, idempotent
update-componentUpdate a componentcomponent:updatedestructive
list-component-alarmsList a component’s alarmscomponent:readread-only, idempotent
acknowledge-component-alarmAcknowledge an alarmalarm:acknowledgeadds
snooze-component-alarmSnooze an alarmalarm:snoozeadds
get-component-alarm-timelineRead an alarm’s timelinealarm:readread-only, idempotent
unsnooze-component-alarmEnd an alarm’s snoozealarm:snoozeadds
list-component-commandsList a component’s commandscommand:readread-only, idempotent
get-component-commandRead a commandcommand:readread-only, idempotent
issue-component-commandIssue a command to a componentcommand:issuedestructive, open-world
list-component-dependenciesList what a component depends on and what depends on itcomponent:readread-only, idempotent
create-component-dependencyRecord that a component depends on anothercomponent:updateadds
delete-component-dependencyRemove a component’s dependency on anothercomponent:updatedestructive, idempotent
effective-tagsEffective tags for a componentcomponent:readread-only, idempotent
list-component-eventsList a component’s recent eventscomponent:readread-only, idempotent
get-component-healthRead a component’s healthcomponent:readread-only, idempotent
list-identity-bindingsList the identities a conduit component fans outcomponent:readread-only, idempotent
put-identity-bindingBind an identity a conduit reports to its ownercomponent:updatedestructive, idempotent
delete-identity-bindingUnbind an identity a conduit reportscomponent:updatedestructive, idempotent
list-component-logsList a component’s recent log linescomponent:readread-only, idempotent
list-component-metricsList a component’s effective metricscomponent:readread-only, idempotent
list-component-metric-seriesRead one metric series’ samplescomponent:readread-only, idempotent
list-component-propertiesList a component’s properties and where each standscomponent:readread-only, idempotent
list-component-property-seriesRead one property series’ change historycomponent:readread-only, idempotent
get-component-reachabilityRead a component’s per-endpoint reachabilitycomponent:readread-only, idempotent
list-unbound-identitiesList the identities a conduit reported that no binding placescomponent:readread-only, idempotent
list-component-tagsList tags on a componentcomponent:readread-only, idempotent
remove-component-tagRemove a tag value from a componentcomponent:updatedestructive
set-component-tagSet a tag value on a componentcomponent:updateadds
batch-create-componentsCreate many components in one writecomponent:createadds
create-component-from-templateStart a component from a templatecomponent:createadds
list-driversList driversdriver:readread-only, idempotent
create-driverCreate a driverdriver:createadds
get-driverGet a driverdriver:readread-only, idempotent
update-driverUpdate a driverdriver:updatedestructive
preview-driverPreview a driver spec’s polls through an outpostdriver:previewdestructive, open-world
validate-driver-specCheck a driver spec without saving itdriver:readread-only, idempotent
list-endpointsList endpoints in scopeendpoint:readread-only, idempotent
create-endpointCreate an endpointendpoint:createopen-world
get-endpointGet an endpointendpoint:readread-only, idempotent
update-endpointUpdate an endpointendpoint:updatedestructive, open-world
delete-endpointDelete an endpointendpoint:deletedestructive, idempotent
run-endpoint-pollRun an endpoint’s poll nowendpoint:runopen-world
retry-endpointRetry an endpoint’s gated connectionsendpoint:retrydestructive, open-world
rotate-endpoint-tokenRotate a webhook endpoint’s tokenendpoint:updatedestructive
list-event-ruleList event rulesrule:readread-only, idempotent
get-event-ruleGet an event rulerule:readread-only, idempotent
get-event-rule-stateGet an event rule’s live staterule:readread-only, idempotent
preview-event-rulePreview an event rulerule:readread-only, idempotent
list-event-typeList event typesevent_type:readread-only, idempotent
validate-expressionValidate an expressionrule:readread-only, idempotent
list-locationsList locations in scopelocation:readread-only, idempotent
create-locationCreate a locationlocation:createadds
get-locationGet a locationlocation:readread-only, idempotent
update-locationUpdate a locationlocation:updatedestructive
get-location-healthRead a location’s healthlocation:readread-only, idempotent
list-location-metricsList a location’s effective metricslocation:readread-only, idempotent
list-location-propertiesList a location’s effective propertieslocation:readread-only, idempotent
batch-create-locationsCreate many locations in one writelocation:createadds
create-locations-from-templateStart a subtree of locations from a templatelocation:createadds
preview-notification-typePreview a notification type against an alarmnotification_type:readread-only, idempotent
list-notificationList notificationsnotification:readread-only, idempotent
list-outpostsList outpostsoutpost:readread-only, idempotent
get-outpostGet an outpostoutpost:readread-only, idempotent
list-outpost-logsList an outpost’s recent self-logsoutpost:readread-only, idempotent
list-productsList productsproduct:readread-only, idempotent
get-productGet a productproduct:readread-only, idempotent
list-secret-typesList secret typessecret:readread-only, idempotent
list-secretsList secretssecret:readread-only, idempotent
create-standard-from-templateCreate a standard from a templatestandard:createadds
list-systemsList systems in scopesystem:readread-only, idempotent
get-systemGet a systemsystem:readread-only, idempotent
update-systemUpdate a systemsystem:updatedestructive
list-system-alarmsList a system’s members’ alarmssystem:readread-only, idempotent
list-system-eventsList a system’s recent events, members includedsystem:readread-only, idempotent
get-system-healthRead a system’s healthsystem:readread-only, idempotent
list-system-logsList a system’s members’ recent log linessystem:readread-only, idempotent
list-system-membersList the components in a systemsystem:readread-only, idempotent
add-system-memberPut a component in a systemsystem:updatedestructive, idempotent
list-system-metricsList a system’s effective metricssystem:readread-only, idempotent
list-system-metric-seriesRead one metric series’ samplessystem:readread-only, idempotent
list-system-propertiesList a system’s properties and where each standssystem:readread-only, idempotent
list-system-property-seriesRead one property series’ change historysystem:readread-only, idempotent
batch-create-systemsCreate many systems in one writesystem:createadds
create-system-from-templateStart a whole system from a templatesystem:createadds
list-tasksList tasks in scopetask:readread-only, idempotent
list-templatesList templatestemplate:readread-only, idempotent
get-templateGet a templatetemplate:readread-only, idempotent
list-transportsList the transports the platform speaksendpoint:readread-only, idempotent
list-unclaimed-sourcesList the sources no endpoint claimsoutpost:readread-only, idempotent
list-vendorsList vendorsvendor:readread-only, idempotent
run-viewsRead the history of one or more view bindingsview:readread-only, idempotent

List the fleet’s alarms

What is wrong now across every component the caller may read, in one read: by default the active alarms (state=cleared is the history, each row carrying when it cleared, and state=all both; since and until keep the alarms whose raised-to-cleared interval overlaps that range, so one raised before it and still open in it is kept, and since after until is a 400), worst severity first and newest first within a severity, each naming its component. Each row names its component’s location and the systems it belongs to that the caller may read. Narrow it with severity (repeatable), location (a subtree, by name), acknowledged and snoozed; pass unacknowledged for the queue nobody has looked at. limit is the page size (default 200, at most 1000) and next_page_token continues past it, so a queue of any size pages rather than truncating. It is the triage read: find what is red without walking every component. Gated by component:read; the caller’s component scope bounds the list, so an out-of-scope alarm is never named.

  • Route: GET /api/v1/alarms
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
acknowledgedstringnotrue keeps the acknowledged alarms, false the unacknowledged ones; absent keeps both
limitintegernoAt most this many, the worst first; 0 or absent means 200
locationstringnoOnly alarms whose component sits in this location or any location below it, by name
page_tokenstringnoThe next_page_token of the previous page: resumes the same worst-first order after it, however many alarms there are
severityarraynoOnly alarms at these severity levels, by name (see /severity-levels); repeat the parameter for several
sincestringnoOnly the alarms still raised at or after this RFC 3339 time: active, or cleared at or after it
snoozedstringnotrue keeps the snoozed alarms, false the ones not snoozed; absent keeps both
statestringnoWhich alarms: active (still raised, the default), cleared (a cleared alarm is history, with when it cleared), or all
unacknowledgedbooleannoOnly the alarms nobody has looked at: the queue an operator, or an agent, works
untilstringnoOnly the alarms raised at or before this RFC 3339 time; must not be earlier than since

List audit-trail events

Recent audit-trail events, newest first, each with the actor and, for an impersonated action, the real actor behind it. Read-only; gated by audit:read:admin (admin/owner only, since the audit trail is admin-sensitive).

  • Route: GET /api/v1/audit-log
  • Gate: audit:read:admin
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
agentstringnoFilter to the events one agent took on its person’s behalf (the name its agent token was minted with)
beforestringnoOnly events strictly older than this RFC3339 timestamp (paging backward)
channelstringnoFilter to the events that arrived through one channel; direct is a plain API call, with no channel
clientstringnoFilter to the events whose declared MCP client contains this term, case-insensitively
limitintegernoMax rows to return, newest first (default 100, capped at 500)
resourcestringnoFilter to one resource kind (e.g. auth, user_grant)
verbstringnoFilter to one verb (e.g. login, create)

The authenticated user, its permissions, and grants

Returns the caller’s user, flattened permissions (a UI hint and the fast-reject set), the permissions held on an all-scope grant (fleet_permissions), and grants. Requires authentication.

  • Route: GET /api/v1/auth/me
  • Gate: authn only
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

What the install lets an agent do

Returns the install’s resolved agent policy, always, ask or never for each operation class (read, write, destructive, credential_destination), and whether this request is an agent’s (an agent token, or any request over MCP) and so governed by it. Each class names the layer that set it (platform, role, or tool), and an overridden tool is listed with its own policy; the strictest layer wins. The server refuses an agent a never class on every route; ask is the client’s to confirm. Requires authentication; answers even when the policy refuses every read.

  • Route: GET /api/v1/auth/me/agent-policy
  • Gate: authn only
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

List your inbox

The caller’s own console inbox: the notifications addressed to them on the inbox channel, newest first, with the unread count. Self-scoped (never another user’s), and scoped again by the caller’s component read scope as it stands now, so an entry about a component they can no longer read is gone. Gated by notification:read.

  • Route: GET /api/v1/auth/me/notifications
  • Gate: notification:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
limitintegernoAt most this many, newest first (default 100)
unreadbooleannoOnly the entries not yet read

List calc rules

Lists the calc rules, by name: the authored config that derives an output key on each owner from aliased inputs, each with its live state as counts (owners_computed, owners_pending, owners_unsupported, owners_failed) over the owners the caller may read. Rules read like a catalog, so every rule is listed whatever the caller’s scope. Gated by rule:read.

  • Route: GET /api/v1/calc-rules
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Get a calc rule

Returns one calc rule by name (or uuid). Gated by rule:read.

  • Route: GET /api/v1/calc-rules/{name}
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe rule’s name (its uuid is accepted too)

Get a calc rule’s live state

What a calc rule last did on each owner the caller may read (components by the component read scope, systems by the system read scope), each owner named now: the value it computed, when and at which version, the inputs it found no value of, a system’s members that held none and the instances it left out as stale (named when the caller may read the component, else counted), an error, since when a system has had no members, and whether the owner is pending (with when a deferred mark is due). Ordered on the server, failing owners first, then pending, then those it wrote nothing for, then those holding a value, each by name, and at most limit of them; total and the pending depth count every owner the caller may read, listed or not. Gated by rule:read.

  • Route: GET /api/v1/calc-rules/{name}/state
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
limitintegernoThe most owners to list, in state order: failing, pending, missing an input (or with no members), valued, each by name
namestringyesThe rule’s name (its uuid is accepted too)

Preview a calc rule

Computes a candidate calc rule now, on each owner it selects that the caller may read, with the reduce the tick runs, and writes nothing (a read-only transaction). For each owner it answers the value the rule would write, the output’s current value and whether they differ, the inputs with no value, the members skipped and the instances left out as stale (named when the caller may read the component, else counted). An expression that reads one member’s value by position (members[1].value.t, or an element of an input’s list) over a system with a member the caller may not read is withheld on that system, its error counting the members out of scope; one that folds each input’s list whole (avg(t), max(t)) shows the aggregate. A component rule previews the selected components holding one of its inputs, as the tick would mark them. The owners holding a current value of the output are computed first, so the cap never hides one, and the answer lists the owners holding a value or that the rule would write one on first, each by name. At most owner_cap owners are computed, and a bound on total input reads stops a preview over large systems early, a whole owner at a time (owners_judged of owners_total, truncated past either). The candidate is checked as a save would check it: a reduce that does not compile, a cycle in the key graph, an output another enabled rule or a collection writes, or health are each a 422, so the author learns before saving; given a saved rule’s name it is judged as an edit of that rule. The selector’s names resolve in the caller’s read scope: a name that does not exist and one the caller may not read are the same 422, and a name shared in and out of scope means the one in scope. A preview takes no lock a save waits on. Gated by rule:read.

  • Route: POST /api/v1/calc-rules:preview
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
inputsarrayyesThe keys the rule reads, each by a unique alias its reduce uses
namestringnoA saved rule’s name, to preview an edit of it (its stored version is then not a second writer of its key); absent for a new rule
output_keystringyesThe property or metric the rule would write
owner_kindstringyesWhat the rule derives a value on
reduceobjectyes
selectorobjectno

List component types

Lists the component_type catalog (the taxonomy a product is classified under: mic, camera, wireless-mic under mic), ordered alphabetically by label. Each row carries its parent link, so the console reconstructs the tree client-side. Gated by component_type:read.

  • Route: GET /api/v1/component-types
  • Gate: component_type:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

List components in scope

Lists the components the caller may read, each filtered to its scope subtree. Optional product, driver and component_type filters narrow to the components a catalog row classifies or a driver serves, and limit caps the page while total counts every match (the catalog drawers’ used-by reads). Gated by component:read.

  • Route: GET /api/v1/components
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
component_typestringnoOnly components of a product classified under exactly this component type (name or uuid)
driverstringnoOnly components of a product this driver serves (name or uuid)
limitintegernoCap the page at this many rows; 0 or absent is no cap. total still counts every match.
productstringnoOnly components of this product (name or uuid)

Create a component

Creates a component, optionally under a parent (a root needs an all-scoped grant, or a location inside the location subtree of a location-scoped component:create grant; a root with no location needs the all-scoped grant), bound to a system and a location, and classified by a product (required; naming a generic is fine until a real product is modeled). Gated by component:create. The location reference resolves within the caller’s location:read scope, because the label this stores is rendered from it, and one outside that scope is refused (422) exactly as :renderLabel refuses to preview it. Naming a system additionally requires system:update, and resolves within that scope, because the component’s primary membership is inserted from it: it is the same row the membership route writes, so the two paths cost the same permission. A system outside that scope is refused with a 403 naming it when the caller may read the system (denying its existence to someone who can GET it would be a lie) and with the non-disclosing 422 when the caller may not.

  • Route: POST /api/v1/components
  • Gate: component:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
expected_namestringnoThe name a create form previewed (POST /components:renderLabel returns it). The create is refused with a 409 naming what it would produce instead, rather than silently landing a different name, if the number was taken or the type’s stem moved while the form was open. It does not name the row (the platform still does, and the row is still name_generated): it only asserts what that name will be. Applies only when the platform names the row: sending it beside a name is a 422.
labelstringnoWhat an operator reads; the name is the address
locationstringnoLocation name this component is placed at
namestringnoName, unique within its placement (the address; lowercase letters, digits, hyphens). Omit to have the platform generate one from the product’s type.
parentstringnoParent component name; omit for a root component
productstringnoProduct (catalog SKU) this component is an instance of, by name or uuid. Required: use a generic (generic-device, generic-app, generic-service) until a real product is modeled.
systemstringnoPrimary system name this component belongs to. Naming one writes that system’s membership, so it costs the system:update permission and resolves in that scope; omitted, the create costs component:create alone.

Get a component

Fetches a component by name within the caller’s read scope. Out of scope is a non-disclosing 404. Gated by component:read.

  • Route: GET /api/v1/components/{name}
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Update a component

Patches a component’s label or product. The name is not patchable: renaming is the :rename custom method. Placement is not patchable either: relocating or re-parenting is the :move custom method, gated separately, because a placement change is an authorization act. Product is required, so it is unchanged when omitted and reclassified when named, but an explicit empty string is refused (422), not a clear. Gated by component:update; read and update scopes drive the 404 versus 403 split.

  • Route: PATCH /api/v1/components/{name}
  • Gate: component:update
  • Assume: destructive
  • Agent class: destructive
ArgumentTypeRequiredDescription
labelstringnoA new operator-facing label
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
productstringnoRe-classifies the component to this product (catalog SKU), by name or uuid. Required once set: an empty string is refused (422), not a clear. Explicitly-set property values persist; the new product’s contract defaults follow.

List a component’s alarms

What is currently wrong with this component, newest first, with the component’s own health those alarms make. Pass include_cleared for the history rather than the active set, and since/until to keep only the alarms raised during a range (still raised at since or later, raised by until), newest first and capped at 500. since after until is a 400. Gated by component:read; an out-of-scope component is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/alarms
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
include_clearedbooleannoInclude cleared alarms, so the list is the history rather than what is wrong now
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
sincestringnoOnly the alarms still raised at or after this RFC 3339 time: active, or cleared at or after it. With include_cleared, a timeline’s read of what was raised during a range
unacknowledgedbooleannoOnly the alarms nobody has looked at. On its own this is the queue an operator works (raised and unacknowledged); with include_cleared it also returns the alarms that came and went unattended
untilstringnoOnly the alarms raised at or before this RFC 3339 time; must not be earlier than since

Acknowledge an alarm

Records that a human has seen this alarm, and changes nothing else. The alarm stays exactly as raised as it was: acknowledging is not fixing, so health is NOT recomputed and cleared_at is untouched. Acknowledging is orthogonal to clearing in both directions, so a cleared alarm can still be acknowledged by whoever reviews the history, and clearing never acknowledges on an operator’s behalf. Acknowledging twice is idempotent: the first person and the first time stay, and the no-op writes no second audit row. Gated by alarm:acknowledge, whose scope is resolved on the component tier from that permission (not from component:update); a component outside the caller’s component:read is a non-disclosing 404, and one it can read but not acknowledge on is a 403.

  • Route: POST /api/v1/components/{name}/alarms/{id}:acknowledge
  • Gate: alarm:acknowledge
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
idstringyesThe alarm id
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Snooze an alarm

Snoozes the alarm, by its component and dedup_key, for a duration from now (1m to 7d), so every notification any alarm of that dedup key would send, a raise or a clear, on any channel, is written suppressed with the reason instead, and a message already waiting to be retried is suppressed when its turn comes. Snoozing a snoozed alarm replaces the deadline. It changes nothing else: it does not acknowledge, does not recompute health, a snoozed alarm stays in the unacknowledged queue, and a clear does not end it. It notifies nothing itself. When the snooze ends, at its deadline or by :unsnooze, with an alarm of that dedup key still raised, that alarm is announced again as raised to whoever the action rules reach then. Audited on this alarm. Gated by alarm:snooze, whose scope is resolved on the component tier from that permission; a component outside the caller’s component:read is a non-disclosing 404, and one it can read but not snooze on is a 403.

  • Route: POST /api/v1/components/{name}/alarms/{id}:snooze
  • Gate: alarm:snooze
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
durationstringyesHow long from now the alarm stays snoozed, from 1m to 7d: a duration such as 15m, 1h, 4h or 24h, or whole days such as 7d. Snoozing a snoozed alarm replaces its deadline, shorter or longer
idstringyesThe alarm id: any alarm of the dedup key to snooze
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Read an alarm’s timeline

The alarm’s history in one list, oldest first: the events that carry it (an event rule’s fire event, which opened it, and its clear event, which resolved it) merged by time with its audit rows (the raise, each acknowledgement, the clear, each snooze, unsnooze and snooze-end, and a rule edit that opened or resolved it, naming the editor) and the notifications its transitions queued, each at the moment it was queued with its status as it stands (#618). At one instant an event comes before the audit row it caused, and that before a notification. Gated by alarm:read; a component outside the caller’s component read scope, and an alarm not on the component, are a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/alarms/{id}:timeline
  • Gate: alarm:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
idstringyesThe alarm id
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

End an alarm’s snooze

Ends the alarm’s snooze early, exactly as its deadline passing would: if an alarm of that dedup key is still raised, it is announced again as raised to whoever the action rules reach now. Audited on this alarm, naming the caller. Unsnoozing an alarm that is not snoozed is a 200 that writes nothing. Gated by alarm:snooze, resolved as :snooze is.

  • Route: POST /api/v1/components/{name}/alarms/{id}:unsnooze
  • Gate: alarm:snooze
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
idstringyesThe alarm id
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

List a component’s commands

The component’s command history, newest first, each command whole (as the single read returns it), narrowed by recorded status and by when it was issued, a page at a time. status=issued is what is in flight now. Gated by command:read, resolved on the component tier; a component outside the caller’s component:read is a non-disclosing 404, and one it can read but whose commands it may not is a 403.

  • Route: GET /api/v1/components/{name}/commands
  • Gate: command:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
limitintegernoHow many to return, newest first (1 to 500)
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
sincestringnoOnly the commands issued at or after this RFC3339 time
statusstringnoOnly the commands with this recorded status; issued is every command still in flight
untilstringnoOnly the commands issued at or before this RFC3339 time

Read a command

One command, whole: what it was told and the value it set, its recorded status with a time for each transition (issued, delivered, executed, settled), where it sits now while in flight (queued, delivered, awaiting the reply, awaiting the observation), how its binding settles it, the evidence that decided it (the reply, masked of credentials, or the observed sample) and why, the endpoint, outpost and driver that carry it, and who issued it. Gated by command:read, resolved on the component tier; a component outside the caller’s component:read, or a command not on that component, is a non-disclosing 404, and a component it can read but whose commands it may not is a 403.

  • Route: GET /api/v1/components/{name}/commands/{id}
  • Gate: command:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
idintegeryesThe command’s id, as its issue answered it
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Issue a command to a component

Records a command invocation, writes a caused event, and (for a settleable command) opens an intended value the observed value settles against. Answers with the command as it stands (as the command read returns it) and the computed settlement; with wait, once it settles, fails or times out, or wait_timeout passes. Gated by command:issue, whose scope is resolved on the component tier from that permission (not from component:read); a component outside the caller’s component:read is a non-disclosing 404, and one it can read but not command is a 403.

  • Route: POST /api/v1/components/{name}/commands:issue
  • Gate: command:issue
  • Assume: destructive, open-world
  • Agent class: destructive
ArgumentTypeRequiredDescription
command_typestringyesThe command_type to invoke
instancestringnoThe series discriminator (e.g. an endpoint), when the target is instanced
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
paramsanynoThe invocation params, stored on the command and the caused event
valueanynoThe intended value for the target property (a settleable command)
waitbooleannoBlock until the command settles, fails or times out, or until wait_timeout passes, and answer with where it stands then. Refused with a 429, before anything is issued, while too many commands are already being waited on
wait_timeoutintegernoHow long a wait may block, in seconds (1 to 120). A command still in flight when it passes is answered as it stands, its phase saying where

List what a component depends on and what depends on it

This component’s dependency edges both ways: its upstreams (what it depends on) and its dependents (what depends on it), each of kind power (fed from an outlet of the upstream), host (hosted by it) or path (reached through it). A disruptive command follows host edges down from its target and a power command follows the power edges from its outlet, so these edges are what a reboot or an outlet cycle holds; a path edge holds the dependent’s in-band endpoints while its upstream’s gate is closed. Containment (a component’s parent) is a different fact and never appears here. An edge whose other end is outside the caller’s component:read is counted in hidden, never named. Gated by component:read; a component outside it is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/dependencies
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesName of the component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Record that a component depends on another

Records that this component depends on the upstream: power (fed from the named outlet of the upstream; the outlet is required on this kind and refused on the others), host (hosted by the upstream, so a reboot of the upstream holds this component’s endpoints too) or path (reached through the upstream, so while the upstream’s gate is closed on this component’s outpost its in-band endpoints are held with an upstream reason naming it). A component never depends on itself, one edge of a kind joins a pair once (a 409 for the second), and an edge whose upstream already depends on this component through edges of the same kind would close a cycle and is a 422. The edge is a fact about the dependent: gated by component:update on it (a dependent the caller reads but cannot write is a 403), with the upstream resolved in the caller’s component:read (outside it, a non-disclosing 404).

  • Route: POST /api/v1/components/{name}/dependencies
  • Gate: component:update
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
kindstringyesHow it depends: power, host or path
namestringyesName of the dependent component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
outletstringnoThe upstream’s outlet that feeds this component: required on a power edge, refused on any other
upstreamstringyesName or uuid of the component this one depends on, or a dotted address

Remove a component’s dependency on another

Removes this component’s edge of the kind to the upstream. Gated by component:update on the dependent (read but not writable, a 403). An upstream outside the caller’s component:read is a 404, as an edge that does not exist is: the list does not name it either.

  • Route: DELETE /api/v1/components/{name}/dependencies/{kind}/{upstream}
  • Gate: component:update
  • Assume: destructive, idempotent
  • Agent class: destructive
ArgumentTypeRequiredDescription
kindstringyesThe edge’s kind
namestringyesName of the dependent component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
upstreamstringyesName or uuid of the upstream component, or a dotted address

Effective tags for a component

Resolves the tags that cascade onto a component (platform -> location -> system -> component): keys union and the most specific binding shadows the rest, with the winner and the shadowed candidates. A non-propagating key resolves only from a binding on the component itself. The system band comes from MEMBERSHIP: pass ?system= (a name or a uuid, ADR-0062) to resolve against one the component belongs to (a shared device answers differently for each), or omit it to resolve against its primary membership. Gated by component:read; the component must be in the caller’s component read scope.

  • Route: GET /api/v1/components/{name}/effective-tags
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
systemstringnoResolve against this system, name or uuid (ADR-0062), which the component must be a member of. Omit to resolve against its primary membership, the default for a caller with no system in hand.

List a component’s recent events

Returns the component’s recent log occurrences (the log-kind sink), newest first, bounded to the last 24 hours, narrowed by an optional event type (key), source and message text (q). Gated by component:read; an out-of-scope component is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/events
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
keystringnoOnly occurrences of this event type, by name
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
qstringnoOnly occurrences whose message contains this text, case-insensitively
sourcestringnoOnly occurrences from this transport

Read a component’s health

The component’s own current health (healthy, degraded or outage from its active alarms; unknown for a device nothing has observed) beside the recorded edges that got it there, in the shape the system health read returns: slots and systems are empty, transitions are one entry per change inside since..until (default the last 30 days), oldest first. since after until is a 400. Gated by component:read; an out-of-scope component is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/health
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
sincestringnoOnly the transitions recorded at or after this RFC 3339 time. Defaults to 30 days before until, or before now when until is absent
untilstringnoOnly the transitions recorded at or before this RFC 3339 time. Defaults to now; must not be earlier than since

List the identities a conduit component fans out

The identity bindings of this conduit component: each value it reports under a match key (a registered property type, such as ucc-room-id) and the one system or component that value’s samples land on. A component that speaks for many owners (a cloud service, a controller fronting many components) is the conduit, the path rather than the owner. Each binding is named only when its owner is inside the caller’s read on its tier (system:read for a system owner, component:read for a component owner); the rest are counted in hidden, never named. Gated by component:read; a conduit outside it is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/identity-bindings
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesName of the conduit component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Bind an identity a conduit reports to its owner

Ties this value, reported by the conduit component under this match key, to one owner, a system or a component, so the conduit’s samples naming it land on that owner. One identity on one conduit has exactly one owner: a put naming the owner it is already bound to changes nothing, and one naming a different owner moves it. The match key must be a registered property type (422 otherwise), and the owner a component or a system other than the conduit itself (a location or an outpost owns no observed sample, and a value with no identity already lands on the conduit: each a 422). The value rides the path as one percent-encoded segment, so a value carrying a slash, a space or another reserved character is escaped (room%2F1) and round-trips. A binding writes onto both of its ends, so it costs a write on both: gated by component:update on the conduit, and it also needs the owner’s update (component:update, or system:update for a system, refused with a 403 naming it before anything resolves). Each end resolves in its own tier’s read scope and must be inside its update scope: an end outside the read scope is a non-disclosing 404, one readable but not writable a 403. A move also needs update on the owner it leaves; refused, it says the identity is bound to another owner but never which one.

  • Route: PUT /api/v1/components/{name}/identity-bindings/{key}/{value}
  • Gate: component:update
  • Assume: destructive, idempotent
  • Agent class: destructive
ArgumentTypeRequiredDescription
keystringyesThe match key, a registered property type
namestringyesName of the conduit component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
ownerstringyesName or uuid of the owner the identity’s values land on, or a dotted address
owner_kindstringyesWhat kind of owner the identity names. A component or a system; a location or an outpost owns no observed sample, so neither is an owner here
valuestringyesThe identity value the conduit reports, 1 to 256 characters

Unbind an identity a conduit reports

Removes the binding of this value, reported by the conduit component under this match key, so its samples no longer land on the owner it named. Unbinding writes onto both ends, so it costs a write on both: gated by component:update on the conduit, and it also needs update on the binding’s owner (component:update, or system:update for a system), a 403 naming it when the caller reads the owner but cannot write it. A binding whose owner the caller cannot read is a 404, as one that does not exist is: the list does not name it either.

  • Route: DELETE /api/v1/components/{name}/identity-bindings/{key}/{value}
  • Gate: component:update
  • Assume: destructive, idempotent
  • Agent class: destructive
ArgumentTypeRequiredDescription
keystringyesThe match key, a registered property type
namestringyesName of the conduit component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
valuestringyesThe identity value the conduit reports, 1 to 256 characters

List a component’s recent log lines

Returns the component’s recent raw log lines (the ingest lane of ADR-0066, distinct from typed events), newest first, bounded to the last 24 hours, narrowed by an optional severity threshold and source, with the sources the window carries. Gated by component:read; an out-of-scope component is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/logs
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
qstringnoOnly lines whose message contains this text, case-insensitively
severitystringnoOnly lines at this severity or more severe (RFC 5424’s eight levels); a line with no severity is left out
sourcestringnoOnly lines that arrived on this channel

List a component’s effective metrics

Every metric the component’s product declares, resolved to the newest observed or calculated sample across its live instances (instance names the one shown, instance_count counts them) or the contract default until one arrives (is_sampled marks a live series), plus any metric sampled directly on the component (from_contract false). Gated by component:read; an out-of-scope component is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/metrics
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Read one metric series’ samples

The samples behind the effective read’s latest value for one series, newest first, windowed (hours) and capped (limit, newest kept). With a resolution (seconds) it answers instead with every regular bucket of the window, oldest first, each with count, min, max, avg and last (null when empty), and covered_from, the earliest instant retention leaves data for. A bucket aggregates one instance’s measured samples (observed and calculated, never declared or intended): instance names it, and unset it is the one instance with measured samples in the window, or a 422 listing them when there are several. Over more than 48 hours, or past the series’ retention, the resolution is raised to whole hours, and resolution_seconds is the width applied. At whole hours a series with hourly trends (an observed one) takes every hour the trend fold has closed from its trend, so the read reaches back as far as the trends are kept, and its open hours from the samples; any other series, or a finer resolution, reads its samples, within their retention (ADR-1566). Gated by component:read; an out-of-scope owner is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/metrics/{metric}/samples
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
hoursintegernoThe window in hours, counted back from now; 24 when unset
instancestringnoThe instance a bucketed read aggregates. Unset, the one instance with measured samples in the window; when more than one has them the read is refused with a 422 listing them. Ignored without a resolution
limitintegernoThe row cap, newest kept; 500 when unset. Ignored when a resolution is set
metricstringyesThe metric_type name of the series
namestringyesThe owner’s name or uuid
resolutionintegernoThe bucket width in seconds, at most 30 days. Set, the read answers with every regular bucket of the window (buckets) instead of raw rows; unset, the raw samples. Over a window of more than 48 hours, or one past the series’ retention, it is raised to whole hours, at least one, and resolution_seconds says the width applied. A window of more than 5000 buckets is refused

List a component’s properties and where each stands

Every property the component has: each its product declares, resolved to the component’s own value or the contract default (is_set marks a declared value), each set directly on the component (from_contract false), each a calc rule writes (source_rule), and each only observed or told by a command. Every row but a calculated one carries its reconciliation: want (declared), told (intended), is (observed, worst case across every live instance, naming is_instance) and drift, computed on read. Gated by component:read; an out-of-scope component is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/properties
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

Read one property series’ change history

The change history behind the effective value for one property series, newest first, windowed (hours) and capped (limit, newest kept). With a resolution (seconds) it answers instead with every regular bucket of the window, oldest first, each with the change count, last (the value its own changes end on, null when empty) and held (the value in force at its end), and covered_from, the earliest instant retention leaves data for. Both forms carry carried_in, the value in force when the window opens (the newest measured row of the instance before it, within retention), so a step chart starts on it instead of blank. A bucket aggregates one instance’s measured changes (observed and calculated, never declared or intended): instance names it, and unset it is the one instance with measured changes in the window, or a 422 listing them when there are several. Gated by component:read; an out-of-scope owner is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/properties/{property}/samples
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
hoursintegernoThe window in hours, counted back from now; 24 when unset
instancestringnoThe instance a bucketed read aggregates. Unset, the one instance with measured samples in the window; when more than one has them the read is refused with a 422 listing them. On a raw read it names only the instance whose carried_in value is returned, the one with a measured row in the window else the one holding a value from before it
limitintegernoThe row cap, newest kept; 500 when unset. Ignored when a resolution is set
namestringyesThe owner’s name or uuid
propertystringyesThe property_type name of the series
resolutionintegernoThe bucket width in seconds, at most 30 days. Set, the read answers with every regular bucket of the window (buckets) instead of raw rows; unset, the raw samples. A window of more than 5000 buckets is refused

Read a component’s per-endpoint reachability

Composes, per endpoint, the latest reachability, the probe-layer signals that compose it, and the recent reachability transitions for the availability strip. Gated by component:read; an out-of-scope component is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/reachability
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)

List the identities a conduit reported that no binding places

A component that speaks for many owners (a conduit) lands each value its driver identifies on the owner an identity binding names; a value naming an identity it has no binding for lands on no owner and is kept here, one row per match key and value (a count, first and last heard, the keys it carried), bounded at 1024 per conduit with the least recently heard evicted, and aged out after seven days. Binding one (PUT …/identity-bindings/{key}/{value}) makes the next value naming it land on its owner. Gated by component:read; an out-of-scope conduit is a non-disclosing 404.

  • Route: GET /api/v1/components/{name}/unbound-identities
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe conduit component’s name, or a dotted address (e.g. hq.$comp.ucc-platform)

List tags on a component

Lists the tags bound directly on a component (not the resolved cascade). Gated by component:read.

  • Route: GET /api/v1/components/{name}:listTags
  • Gate: component:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe entity’s name. For a component, system, or location, also accepts a dotted address (e.g. boi.17c.415a.$comp.display-1); an outpost’s name is always a single token.

Remove a tag value from a component

Removes a key’s value from a component. Gated by component:update.

  • Route: POST /api/v1/components/{name}:removeTag
  • Gate: component:update
  • Assume: destructive
  • Agent class: destructive
ArgumentTypeRequiredDescription
keystringyesThe tag key to remove
namestringyesThe entity’s name. For a component, system, or location, also accepts a dotted address (e.g. boi.17c.415a.$comp.display-1); an outpost’s name is always a single token.

Set a tag value on a component

Binds a value for a key on a component. The key must exist and apply to this entity kind. Setting a value is the ordinary entity write, gated by component:update.

  • Route: POST /api/v1/components/{name}:setTag
  • Gate: component:update
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
keystringyesThe tag key (must exist and apply to this kind)
namestringyesThe entity’s name. For a component, system, or location, also accepts a dotted address (e.g. boi.17c.415a.$comp.display-1); an outpost’s name is always a single token.
valuestringyesThe bound value

Create many components in one write

Creates components in one transaction: each request is the body POST /components takes, run as that create runs it, in order, so a component may name as its parent one an earlier request creates, and its system and location by name as the single create does. Every row writes its own audit row carrying the one batch_id the response returns, under from_batch. A refused request refuses the whole batch, mapped as POST /components maps it, with its position in the request (requests[3]) leading the detail; nothing lands. validate_only runs the same transaction and rolls it back, answering 200 with the names the write would mint and no ids. A batch carries at most 1000 requests; more is a 413 naming the limit, so split a bigger import (by building). Gated by component:create; each request is held to that scope, its location resolves within your location:read scope, and a request naming a system also needs system:update over it, as its single create does.

  • Route: POST /api/v1/components:batchCreate
  • Gate: component:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
requestsarrayyesThe components to create, each the body POST /components takes, in order: a parent before its children
validate_onlybooleannoRun every request in the transaction and roll it back: the response is what the write would create (names minted, ids empty), or the row that would refuse it, and nothing is written

Start a component from a template

Creates one component from a component template at a location: its product and the template’s declared values, and, when the inputs carry an address (host), its endpoint attached through the driver with the template’s preset under your inputs. A secret input names a secret you may bind (secret:bind), resolved as an attach resolves it. One transaction, every piece in your own scope with its own audit row carrying from_template; nothing points back at the template. Gated by component:create; declared values also need component:update and an attach endpoint:create. A location outside your location scope is a 404, an unknown template a 404, inputs with no address or an attach with no outpost a 422.

  • Route: POST /api/v1/components:createFromTemplate
  • Gate: component:create
  • Assume: adds
  • Agent class: credential_destination
ArgumentTypeRequiredDescription
inputsobjectnoDriver inputs laid over the template’s preset: the address (host) attaches the endpoint, a secret input names a secret you may bind (secret:bind)
labelstringnoThe component’s label
locationstringnoThe location the component sits in, by name or dotted path
namestringnoThe component’s name; minted as an unnamed create mints it when empty
outpoststringnoThe outpost the endpoint is placed on; needed when inputs carry an address
templatestringyesThe component template, by name

List drivers

Lists the driver catalog, ordered alphabetically by label. Populates the driver picker on the product form. Gated by driver:read.

  • Route: GET /api/v1/drivers
  • Gate: driver:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Create a driver

Creates a custom (non-official) driver. Gated by driver:create.

  • Route: POST /api/v1/drivers
  • Gate: driver:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
labelstringyesWhat an operator reads in pickers and lists
namestringyesThe globally unique name; renameable
specanynoThe declarative spec body; validated against the catalogs, and a spec that fails validation refuses the write (422)
versionstringnoA free-form version string, e.g. 1.0.0

Get a driver

Fetches a driver by id. Gated by driver:read.

  • Route: GET /api/v1/drivers/{id}
  • Gate: driver:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
idstringyesThe driver, by name or uuid

Update a driver

Patches a custom driver’s label or version. Official drivers are read-only (422). Gated by driver:update.

  • Route: PATCH /api/v1/drivers/{id}
  • Gate: driver:update
  • Assume: destructive
  • Agent class: destructive
ArgumentTypeRequiredDescription
idstringyesThe driver, by name or uuid
labelstringnoA new operator-facing label
specanynoA replacement spec body; validated like the create’s, refused with a 422 when it cannot be interpreted
versionstringnoA new version string, e.g. 1.0.1

Preview a driver spec’s polls through an outpost

Runs a driver spec’s polls once through the outpost named, against the target its inputs name, and answers with what each poll read: the samples its emits extracted, each emit that did not locate, and an excerpt of the raw answer, masked of every secret the preview used. Nothing is stored. The spec is a stored driver (driver) or an unsaved one (spec); an invalid spec is a 422 listing its findings, as validate-driver-spec gives them. A preview runs a poll that is its own request (http, https, an snmp get, a tcp line); a poll that rides a held session or a bound socket needs an attached endpoint (run-endpoint-poll). A secret input must be one the caller may bind (secret:bind), since the preview hands it to the target named. A preview whose transport and target name an endpoint the outpost holds runs on that endpoint’s lane, never beside its other requests and ahead of its scheduled polls; when that endpoint’s gate is closed (refused, unreachable, or disrupted by a command), or the probe reads the target’s host unreachable, it is a 409 naming the reason, and nothing is sent. An outpost that is not connected is a 503, one that does not answer in time a 504; too many runs in flight, here or on the outpost’s operator lanes, is a 429. Audited on the outpost and on each secret used. Gated by driver:preview.

  • Route: POST /api/v1/drivers:preview
  • Gate: driver:preview
  • Assume: destructive, open-world
  • Agent class: credential_destination
ArgumentTypeRequiredDescription
driverstringnoA stored driver to preview, by name; or give spec
inputsobjectnoThe inputs an attach would take (host, port, a secret by name); a secret must be one you may bind (secret:bind), since a preview hands it to the target
outpoststringyesThe outpost that runs the preview, by name: the one that reaches the target
pollsarraynoThe polls to run, by name; absent runs every poll
specanynoA driver spec to preview inline, unsaved; or give driver
timeout_secondsintegernoHow long the outpost may take for the whole preview (default 15, at most 30)

Check a driver spec without saving it

Checks a driver spec by the rules a save applies (the strict parse, then validation against the live catalogs) and writes nothing. The answer lists every fault the validator can pin down, each pinned on the function it is in, the first always the fault a save would name; an empty list is a spec create-driver accepts. Gated by driver:read.

  • Route: POST /api/v1/drivers:validate
  • Gate: driver:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
specanyyesThe driver spec to check, as create-driver takes it

List endpoints in scope

Lists the endpoints whose owning component the caller may read (the component cascade). Gated by endpoint:read.

  • Route: GET /api/v1/endpoints
  • Gate: endpoint:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Create an endpoint

Creates an endpoint owned by a component (or a server-hosted one, which needs an all-scoped grant), named by its transport; the optional label is the only identity string an operator types, and is where what the connection is FOR goes. A secret input hands that credential to the endpoint’s host, so it takes secret:bind on the secret: one the caller cannot read is a 422, one it can read but not bind a 403. The create scope cascades through the owning component. Gated by endpoint:create.

  • Route: POST /api/v1/endpoints
  • Gate: endpoint:create
  • Assume: open-world
  • Agent class: credential_destination
ArgumentTypeRequiredDescription
componentstringnoOwning component, by name or id; omit for a server-hosted endpoint (needs an all-scoped grant)
driverstringnoAttach this driver (by name or id): the spec derives the transport and params, and the endpoint’s tasks derive from the spec’s functions
inputsobjectnoThe inputs the driver’s spec declares (host, port, credentials as secret reference names); required ones must be supplied, defaults fill the rest
labelstringnoWhat an operator reads in lists (Control processor). Settable here because the name is derived from the transport, so it says how the device is reached and never what the connection is for
out_of_bandbooleannoMark the endpoint a management path (a BMC, a management port) that answers through a reboot of its device, so a reboot’s hold leaves its gate open
outpoststringnoOutpost placement, by name or id
paramsanynoAddress/target settings (jsonb): set target as host[:port] (host and port keys are refused); timeout, count (icmp), tls-mode (tls, https, wss); an attach derives them from the inputs instead
transportstringnoA transport name from the built-in transports (GET /transports); the endpoint is named by it, unique within the component. Exactly one of transport (a bare probe endpoint) or driver (an attach) is set

Get an endpoint

Fetches an endpoint by its address (/) or uuid. An endpoint whose component is out of the caller’s read scope is a non-disclosing 404, and a name no endpoint the caller can see answers to is a 404 naming what was looked up, and a name more than one answers to is a 409 listing each match. Gated by endpoint:read.

  • Route: GET /api/v1/endpoints/{endpoint}
  • Gate: endpoint:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
endpointstringyesThe endpoint, as / (the component by name, dotted address or uuid) or by its uuid. The slash is percent-encoded in a URL, as the CLI does

Update an endpoint

Patches an endpoint’s outpost placement, params, label, out-of-band mark, or (driver-attached) its connection inputs in place: the host, port and attached secret references (a secret taking secret:bind, as on create), validated against the driver’s declared inputs, the endpoint’s tasks re-derived in the same transaction. A value the driver refuses is a 400 naming the field. An empty label clears it and the surface falls back to the derived name. Gated by endpoint:update; read and update scopes (through the component) drive the 404 versus 403 split.

  • Route: PATCH /api/v1/endpoints/{endpoint}
  • Gate: endpoint:update
  • Assume: destructive, open-world
  • Agent class: credential_destination
ArgumentTypeRequiredDescription
endpointstringyesThe endpoint, as / (the component by name, dotted address or uuid) or by its uuid. The slash is percent-encoded in a URL, as the CLI does
inputsobjectnoA driver-attached endpoint’s inputs, edited in place (#1061): the host, the port, an attached secret’s reference name, any input the driver declares. Merged over the stored inputs and validated against the driver; a value it refuses is a 400 naming the input. Changing where a credential is sent needs the caller to hold secret:bind on it, a 403 naming secret:bind without it
labelstringnoA new label; an empty string clears it, and the surface falls back to the derived name. Omit to leave it alone
out_of_bandbooleannoMark the endpoint a management path that answers through a reboot of its device (true), or an ordinary one (false). Omit to leave it alone
outpoststringnoReassign the outpost placement, by name or id
paramsanynoReplace the address/target settings (jsonb): set target as host[:port] (host and port keys are refused); timeout, count (icmp), tls-mode (tls, https, wss). On a driver-attached endpoint only the timeout is set here: its address derives from its host and port inputs
transportstringnoThe transport: a driver-attached endpoint takes only one its driver speaks

Delete an endpoint

Deletes an endpoint, refused while a task still references it. Gated by endpoint:delete; read and delete scopes (through the component) drive the 404 versus 403 split.

  • Route: DELETE /api/v1/endpoints/{endpoint}
  • Gate: endpoint:delete
  • Assume: destructive, idempotent
  • Agent class: destructive
ArgumentTypeRequiredDescription
endpointstringyesThe endpoint, as / (the component by name, dotted address or uuid) or by its uuid. The slash is percent-encoded in a URL, as the CLI does

Run an endpoint’s poll now

Runs one of an attached endpoint’s polls now, on the outpost that holds the endpoint, outside its schedule (which is unchanged), and answers with what it read. The samples land as a scheduled run’s do. The run waits for the endpoint’s lane on the outpost, ahead of its scheduled polls and never beside another request to the endpoint; it borrows the endpoint’s held session where it has one and honors its gate: a gated endpoint refuses the run with the gate’s reason (409), a refusal, an unreachable reading from the endpoint’s probe, or a disruptive command (a reboot) the run was queued behind, and nothing is sent. A poll the endpoint does not have is a 404 naming the polls it has; an endpoint on no outpost is a 409. An outpost that is not connected is a 503, one that does not answer in time a 504; too many runs in flight, here or on the outpost’s operator lanes, is a 429. Audited on the endpoint. Gated by endpoint:run; read and run scopes (through the component) drive the 404 versus 403 split.

  • Route: POST /api/v1/endpoints/{endpoint}/polls/{poll}:run
  • Gate: endpoint:run
  • Assume: open-world
  • Agent class: write
ArgumentTypeRequiredDescription
endpointstringyesThe endpoint, as / or its id
pollstringyesThe poll to run, by its function name
timeout_secondsintegernoHow long the outpost may take (default 15, at most 30)

Retry an endpoint’s gated connections

Moves the endpoint’s retry counter, which is part of its connection fingerprint: a gate a refusal retrying cannot fix holds (a wrong credential, a changed host key or certificate, a reply its driver declares terminal) lifts, the outpost recycles the endpoint’s held session, and every connection to it is attempted again. Fixing the secret, the address, the transport, the tls mode or the driver’s login needs no retry: the change moves the fingerprint itself. An unrelated edit (a label) moves nothing. host_key names a key to trust, the one the endpoint’s transport pins (the offered key a key refusal names): an ssh host key, or a tls or https endpoint’s certificate public key, which such an endpoint also takes as certificate. It becomes the declared pin and recycles the session onto it whatever its state, an audited acceptance of the change. While the endpoint’s gate names an offered key, the key must be that key, so a trust confirmed against a refusal the record has since moved past is a 409 and changes nothing. Audited, a trusted key with the pin it replaced (old) and the pin it set (new). Gated by endpoint:retry; read and retry scopes (through the component) drive the 404 versus 403 split.

  • Route: POST /api/v1/endpoints/{endpoint}:retry
  • Gate: endpoint:retry
  • Assume: destructive, open-world
  • Agent class: destructive
ArgumentTypeRequiredDescription
certificatestringnoA tls or https endpoint only: the same as host_key, named for the certificate (the offered_key a certificate refusal names). It becomes the endpoint’s declared tls-certificate pin, held to the same rule (the exact offered key while a key refusal holds), and the session redials onto it. Omit to retry with the pin unchanged
endpointstringyesThe endpoint, as / (the component by name, dotted address or uuid) or by its uuid. The slash is percent-encoded in a URL, as the CLI does
host_keystringnoThe SHA256 fingerprint of a changed key the operator now trusts, the key the endpoint’s transport pins (the offered_key a key refusal names on the component’s reachability read): an ssh endpoint’s host key, which becomes its declared ssh-host-key, or a tls or https endpoint’s certificate public key, which becomes its declared tls-certificate. The session redials onto it. While a key refusal holds, it must be that exact offered key: any other is a 409 that changes nothing (the refusal on record is the outpost’s last word, so to trust a key the component presents since, retry without a key first). With no key refusal held it declares a pin ahead of time. Omit to retry with the pin unchanged

Rotate a webhook endpoint’s token

Mints a webhook endpoint’s token anew (#1024): a post bearing the old one answers 404 at once, exactly as a token that never existed, and the new one is revealed through the endpoint’s secret, to give the sender. A token deleted with its secret is minted again. A dialed endpoint has no token, a 422. Audited on the endpoint and the secret. Gated by endpoint:update; read and update scopes (through the component) drive the 404 versus 403 split.

  • Route: POST /api/v1/endpoints/{endpoint}:rotateToken
  • Gate: endpoint:update
  • Assume: destructive
  • Agent class: destructive
ArgumentTypeRequiredDescription
endpointstringyesThe endpoint, as / (the component by name, dotted address or uuid) or by its uuid. The slash is percent-encoded in a URL, as the CLI does

List event rules

Lists the event rules, the authored config that raises alarms, each with its live state as counts (firing, open_alarms, pending_streaks) read in the same query. Rules read like a catalog: every rule is listed whatever the caller’s scope, while the counts cover only components the caller may read. Gated by rule:read.

  • Route: GET /api/v1/event-rules
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Get an event rule

Returns one event rule by name, with its live state as counts over the components the caller may read. Gated by rule:read.

  • Route: GET /api/v1/event-rules/{name}
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe rule’s name

Get an event rule’s live state

What a rule holds right now: its firings (one per component and instance, whether or not it raises an alarm), the alarms it raised that are still open, each on a component and instance, its streaks waiting out a sustain, and when it last judged an ingested sample. Only firings, alarms and streaks on components the caller may read are listed. Gated by rule:read.

  • Route: GET /api/v1/event-rules/{name}/state
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe rule’s name

Preview an event rule

Judges a candidate rule (sample key, selector, criteria) without writing anything, as the ingest would have with no sustains (the answer says they are ignored): over each series it selects on components the caller may read, from the state its newest deciding sample in the 7 days before the window set (state_unknown when there is none), through every sample in the last 24 hours that the ingest would have judged (a late sample older than one before it decides nothing). Answers the edges it would have written and the series it would hold in force now. Its reads are index probes per series, capped at row_cap window samples taken a whole series at a time: series_judged of series_total, and truncated when the cap stopped it. A selector naming a component the caller cannot read is the same 422 as one that does not exist. Criteria take {expr} or {op, value}; one that does not compile is a 422 naming the criteria, line and column, and criteria that read window or age (a trend rule’s) are a 422, since each sample is judged alone. Gated by rule:read.

  • Route: POST /api/v1/event-rules:preview
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
clear_criteriaobjectno
clear_sustainstringnoAccepted and ignored, like fire_sustain
fire_criteriaobjectyes
fire_sustainstringnoAccepted so a rule body previews as it is, and ignored: a preview judges each sample alone
sample_keystringyesThe property or metric the candidate rule reads
selectorobjectno

List event types

Lists every registered event type (official and custom). The catalog is fleet-wide reference data. Gated by event_type:read.

  • Route: GET /api/v1/event-types
  • Gate: event_type:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Validate an expression

Compiles an expression against a registered site’s environment and answers whether it compiles, with positioned diagnostics, and the site’s bindings, admitted builtins and run budget, all generated from the site’s declaration. For criteria a sample key is required, and types the value (a metric is a number; a property is text, or a bool for a bool property). For calc the key is the rule’s output key, typing the result, and the rule’s inputs (and owner_kind, component by default) give the bindings, each input’s alias bound to the list of its key’s type (a system also binds members, one record per member); an input that is unknown, or an alias that is not an identifier, is reserved or repeats, is a 422; a name the expression uses that no alias binds is a diagnostic carrying that name (unbound); the answer’s value_type so reveals a key’s lane and data type to a rule:read holder, as the rule list already does. Compiles without the engine’s program cache and stores and runs nothing. An unknown site, a missing or unknown key is a 422. Gated by rule:read.

  • Route: POST /api/v1/expressions:validate
  • Gate: rule:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
inputsarraynoFor calc (required there), the rule’s inputs: each bound by its alias, typed by its key (by name or uuid)
keystringnoThe sample key that types the expression (required at both sites). For criteria, the key the rule reads: its lane and data type type the value (a metric is a number; a property is text, or a bool for a bool property). For calc, the rule’s output key: its type is the result the reduce must yield
owner_kindstringnoFor calc, what the rule derives on: each input binds by its alias as the list of its current values (one per instance on a component, every member’s on a system); a system also binds members, one record per slot-bound member with value. and has. per input; defaults to component
sitestringyesWhere the expression is written: action, an action rule’s when; calc, a calc rule’s reduce; criteria, an event rule’s fire_criteria or clear_criteria
sourcestringyesThe expression

List locations in scope

Lists the locations the caller may read, each filtered to its scope subtree. Gated by location:read.

  • Route: GET /api/v1/locations
  • Gate: location:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Create a location

Creates a location, optionally under a parent (a root needs an all-scoped grant). Omit name and the platform generates one from the location_type’s name rule, taking the lowest free ordinal among the siblings in that placement; a type carrying no name rule refuses (422), since a building’s real name is not something the platform can know. The parent resolves within the caller’s location:read scope before its location:create scope: a parent the caller cannot read is the same 404 as one that does not exist, so the answer never discloses a location outside the caller’s read, and a parent the caller can read but not create under is a 403. Gated by location:create.

  • Route: POST /api/v1/locations
  • Gate: location:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
expected_namestringnoThe name a create form previewed (POST /locations:renderLabel returns it). The create is refused with a 409 naming what it would produce instead, rather than silently landing a different name, if the number was taken or the location_type’s name rule moved while the form was open. It does not name the row (the platform still does, and the row is still name_generated): it only asserts what that name will be. Applies only when the platform names the row: sending it beside a name is a 422.
labelstringnoWhat an operator reads; the name is the address
location_typestringyesThe location_type, by name or uuid (campus, building, …)
namestringnoName, unique within its placement (the address; lowercase letters, digits, hyphens). Omit to have the platform generate one from the location_type’s name rule.
parentstringnoParent location name; omit for a root location

Get a location

Fetches a location by name within the caller’s read scope. Out of scope is a non-disclosing 404. Gated by location:read.

  • Route: GET /api/v1/locations/{name}
  • Gate: location:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe location’s name, or a dotted address (e.g. boi.17c.415a)

Update a location

Patches a location’s label or location_type. The name is not patchable: renaming is the :rename custom method. Placement is not patchable either: re-parenting is the :move custom method, gated separately, because a placement change is an authorization act. Changing the location_type of a location the PLATFORM named re-mints the name from the new type’s name rule, and is refused (422) when the new type carries none, which is every shipped type: :rename the location first to claim its name, then reclassify it. A location an operator named is never renamed by a reclassify. Gated by location:update; the read and update scopes drive the 404 versus 403 split.

  • Route: PATCH /api/v1/locations/{name}
  • Gate: location:update
  • Assume: destructive
  • Agent class: destructive
ArgumentTypeRequiredDescription
labelstringnoA new operator-facing label
location_typestringnoRe-types the location: a location_type, by name or uuid
namestringyesThe location’s name, or a dotted address (e.g. boi.17c.415a)

Read a location’s health

The location’s current health, worst-wins over every system placed anywhere beneath it, with those systems and their health as the drill-down (the system health read names the slot, which occupant is down, and the alarm). Transitions are the recorded edges inside since..until (default the last 30 days); since after until is a 400. Gated by location:read; an out-of-scope location is a non-disclosing 404.

  • Route: GET /api/v1/locations/{name}/health
  • Gate: location:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe location’s name, or a dotted address (e.g. boi.17c.415a)
sincestringnoOnly the transitions recorded at or after this RFC 3339 time. Defaults to 30 days before until, or before now when until is absent
untilstringnoOnly the transitions recorded at or before this RFC 3339 time. Defaults to now; must not be earlier than since

List a location’s effective metrics

Every metric the location’s type declares, resolved to the newest observed or calculated sample across its live instances (instance names the one shown, instance_count counts them) or the contract default until one arrives (is_sampled marks a live series), plus any metric sampled directly on the location (from_contract false). Gated by location:read; an out-of-scope location is a non-disclosing 404.

  • Route: GET /api/v1/locations/{name}/metrics
  • Gate: location:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe location’s name, or a dotted address (e.g. boi.17c.415a)

List a location’s effective properties

Every property the location’s type declares, resolved to the location’s own value or the contract default (is_set marks a declared value), plus any property set directly on the location (from_contract false), in the component and system properties read’s shape. A location owns no observed sample, so a row’s reconciliation carries want and never is. Gated by location:read; an out-of-scope location is a non-disclosing 404.

  • Route: GET /api/v1/locations/{name}/properties
  • Gate: location:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe location’s name, or a dotted address (e.g. boi.17c.415a)

Create many locations in one write

Creates locations in one transaction: each request is the body POST /locations takes, run as that create runs it, in order, so a location may name as its parent one an earlier request creates. Every row writes its own audit row carrying the one batch_id the response returns, under from_batch. A refused request refuses the whole batch, mapped as POST /locations maps it, with its position in the request (requests[3]) leading the detail; nothing lands. validate_only runs the same transaction and rolls it back, answering 200 with the names the write would mint and no ids. A batch carries at most 1000 requests; more is a 413 naming the limit, so split a bigger import (by building). Gated by location:create, and each request is held to that scope as its single create is.

  • Route: POST /api/v1/locations:batchCreate
  • Gate: location:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
requestsarrayyesThe locations to create, each the body POST /locations takes, in order: a parent before its children, which then name it as their parent
validate_onlybooleannoRun every request in the transaction and roll it back: the response is what the write would create (names minted, ids empty), or the row that would refuse it, and nothing is written

Start a subtree of locations from a template

Creates a subtree of locations from a location template under a parent location (or as a new top), each location’s type checked against its parent type’s allowed parents as this fleet has them (your fork of a shipped type included), each named by the template, the request (the root) or its type’s name rule, and the systems the template puts in them, staffed as a system template is, unattached. One transaction: all of it or none, every piece in your own scope with its own audit row carrying from_template. Gated by location:create; when the subtree carries systems it also needs system:create, system:read, system:update, component:create and component:update, and standard:create when a standard is created from its template. A type this fleet does not hold, or a placement its types refuse, is a 422 naming the type or the pair.

  • Route: POST /api/v1/locations:createFromTemplate
  • Gate: location:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
labelstringnoThe subtree root’s label
namestringnoThe subtree root’s name; omitted takes the template’s, else its type’s name rule mints one
parentstringnoThe location the subtree sits under, by name or dotted path; omitted makes it a new top
templatestringyesThe location template, by name

Preview a notification type against an alarm

Renders the type’s subject and text (or a draft of either, sent in the body) against one real alarm, exactly as a delivery of that alarm’s transition would carry them, with the facts they read. Writes nothing. The alarm is named by its component and id; without an id, the component’s most recently raised alarm. A draft the sandbox refuses is a 422, one that fails to render (its output past the cap) a 422 naming it. Gated by notification_type:read; the component is resolved in the caller’s component read scope, so a component outside it is a non-disclosing 404.

  • Route: POST /api/v1/notification-types/{name}:preview
  • Gate: notification_type:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
alarmstringnoThe alarm’s id; absent previews the component’s most recently raised alarm
componentstringyesThe component the alarm is on, by name or dotted address
namestringyesThe notification type’s name or uuid
subjectstringnoA draft subject to render instead of the stored one, so an editor previews before it saves
textstringnoA draft text to render instead of the stored one
transitionstringnoThe edge to render for; absent reads the alarm’s own state (cleared when it is, raised otherwise)

List notifications

The messages sent, on their way, or failed about alarms, newest first, filtered by alarm, target or status. Only notifications about components in the caller’s component read scope are listed. A row addressed to a person names them only to that person and to holders of user:read:admin. Gated by notification:read.

  • Route: GET /api/v1/notifications
  • Gate: notification:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
alarmstringnoOnly the notifications about this alarm (its uuid)
limitintegernoAt most this many, newest first (default 100)
statusstringnoOnly those in this status
targetstringnoOnly those to this target, by name

List outposts

Lists the edge outposts. An outpost is fleet-wide, so listing requires an all-scope read. Gated by outpost:read.

  • Route: GET /api/v1/outposts
  • Gate: outpost:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Get an outpost

Fetches an outpost by name. Requires an all-scope read. Gated by outpost:read.

  • Route: GET /api/v1/outposts/{name}
  • Gate: outpost:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe outpost’s unique name

List an outpost’s recent self-logs

Returns the outpost’s own recent operational log lines (the raw ingest lane of ADR-0066, owner-bound to the outpost), newest first, bounded to the last 24 hours. Gated by outpost:read; an out-of-scope outpost is a non-disclosing 404.

  • Route: GET /api/v1/outposts/{name}/logs
  • Gate: outpost:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe outpost’s unique name

List products

Lists the product catalog, ordered alphabetically by label. Each product carries its vendor, driver, kind, and component_type. declares_metric and declares_property narrow it to the products whose contract declares that key. Gated by product:read.

  • Route: GET /api/v1/products
  • Gate: product:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
declares_metricstringnoOnly products whose contract declares this metric (name or uuid)
declares_propertystringnoOnly products whose contract declares this property (name or uuid)

Get a product

Fetches a product by its name or its uuid. Either form resolves, so omniglass product get acme-soundbar and the uuid are interchangeable. Gated by product:read.

  • Route: GET /api/v1/products/{id}
  • Gate: product:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
idstringyesThe product, by name or uuid

List secret types

Lists the secret_type shapes a secret can take, for the create form. Gated by secret:read.

  • Route: GET /api/v1/secret-types
  • Gate: secret:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

List secrets

Lists the secrets the caller may see, with masked fields, filtered to the read scope; admin-sensitive secrets appear only to the admin tier. Gated by secret:read, which the viewer floor does not carry (secret is a sensitive resource).

  • Route: GET /api/v1/secrets
  • Gate: secret:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Create a standard from a template

Writes one standard of your own (official false) from a standard template in the catalog: its slots, choices, property and metric contract lines and map, in one transaction, audited once as a create carrying the template it came from (from_template). Nothing points back at the template, so a later release can change the template without touching your standard, and your standard renames, edits and deletes like any you created. The name is the template’s unless you give one; a taken name is a 409, so creating from the same template again needs a second name. A variant is created only once you hold the standard it hangs off (the parent you name, or yours named for the template’s parent), else a 422 naming the template to create from first. An unknown template is a 404. Gated by standard:create.

  • Route: POST /api/v1/standards:createFromTemplate
  • Gate: standard:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
labelstringnoThe standard’s label; omitted takes the template’s
namestringnoThe name the standard takes; omitted takes the template’s
parentstringnoFor a variant, the standard it hangs off, by name or uuid; omitted takes your standard named for the template’s parent
templatestringyesThe standard template to create from, by name

List systems in scope

Lists the systems the caller may read, each filtered to its scope subtree. An optional standard filter narrows to the systems built to one standard, and limit caps the page while total counts every match. Gated by system:read.

  • Route: GET /api/v1/systems
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
limitintegernoCap the page at this many rows; 0 or absent is no cap. total still counts every match.
standardstringnoOnly systems built to this standard (name or uuid)

Get a system

Fetches a system by name within the caller’s read scope. Out of scope is a non-disclosing 404. Gated by system:read.

  • Route: GET /api/v1/systems/{name}
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)

Update a system

Patches a system’s label, standard, or system_type. The name is not patchable: renaming is the :rename custom method. Placement is not patchable either: relocating or re-parenting is the :move custom method, gated separately, because a placement change is an authorization act. The standard and system_type fields both follow the three-state convention: an omitted field is unchanged, an explicit empty string clears (a one-off system, an unclassified system), a name sets. A new standard declaring a slot name the system declares itself is a 409 naming the slot, since a slot name must mean one slot in a system. A standard change carries the system’s staffing in the same transaction: each occupant of an inherited slot moves onto the new standard’s slot of the same name when it is still a typed match and the slot has room, and is released, staying a member, otherwise; clearing the standard releases every inherited assignment. Gated by system:update; read and update scopes drive the 404 versus 403 split.

  • Route: PATCH /api/v1/systems/{name}
  • Gate: system:update
  • Assume: destructive
  • Agent class: destructive
ArgumentTypeRequiredDescription
labelstringnoA new operator-facing label
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)
standard_idstringnoA new standard, by handle or uuid; "" clears it (a one-off system)
system_type_idstringnoA new system_type, by name or uuid; "" clears it (an unclassified system)

List a system’s members’ alarms

Every member’s alarms in one read, newest first, each naming its component: the active ones whatever their age, and those cleared in the last 30 days, capped at 500. With since (and optionally until) it is instead every alarm raised during that range, active or cleared, the same cap applying. It is what a system’s Activity reads to explain its alarms, one request however many members the system has. since after until is a 400. Gated by system:read; an out-of-scope system is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/alarms
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)
sincestringnoRead the alarms raised during since..until instead of the default (active ones, and those cleared in the last 30 days): active, or cleared at or after since, and raised at or before until
untilstringnoThe range’s end, with since; defaults to now and must not be earlier than since

List a system’s recent events, members included

Returns the system’s own events and its members’, newest first, bounded to the last 24 hours, each row labeled by the owner that raised it, narrowed by an optional event type (key), source and message text (q). A component shared with another system appears in both systems’ lists. Gated by system:read; an out-of-scope system is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/events
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
keystringnoOnly occurrences of this event type, by name
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)
qstringnoOnly occurrences whose message contains this text, case-insensitively
sourcestringnoOnly occurrences from this transport

Read a system’s health

The system’s current health and why: every slot it needs filled, whether it is impaired, what an impaired slot means for the system (impact), and for an impaired slot which assigned components are down plus the alarms that took them down. A slot that belongs to a choice (#626, an exclusive-or group such as an all-in-one alternate versus a component-built one) carries choice and alternate, and active is false when a different alternate answered the choice, meaning this slot’s own impaired figure did not move the health. Members lists every component bound into the system, slotted or not, with its own health, its open alarms and the slot it fills; a member outside every slot is shown and not rolled up, since only slots decide the health (ADR-2459). Reason names the slots behind the health. Transitions are the recorded edges inside since..until (default the last 30 days), one entry per change; since after until is a 400. Gated by system:read; an out-of-scope system is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/health
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)
sincestringnoOnly the transitions recorded at or after this RFC 3339 time. Defaults to 30 days before until, or before now when until is absent
untilstringnoOnly the transitions recorded at or before this RFC 3339 time. Defaults to now; must not be earlier than since

List a system’s members’ recent log lines

Returns the members’ raw log lines merged newest first, bounded to the last 24 hours and capped, each naming the component that wrote it, narrowed by an optional severity threshold and source, with the sources the window carries. Gated by system:read; an out-of-scope system is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/logs
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)
qstringnoOnly lines whose message contains this text, case-insensitively
severitystringnoOnly lines at this severity or more severe (RFC 5424’s eight levels); a line with no severity is left out
sourcestringnoOnly lines that arrived on this channel

List the components in a system

The components bound into this system, ordered by name. Membership is what a slot attaches to: every component staffing a slot here is a member, and a member may also carry no slot at all (a power conditioner is in the room without filling a declared slot). Each member carries its own health, so a system’s view can poll its members’ health here rather than reading the whole fleet. Gated by system:read; an out-of-scope system is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/members
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesName of the system, or a dotted address (e.g. boi.17c.$sys.av)

Put a component in a system

Binds this component into the system. Idempotent. A component’s first membership becomes its primary with nobody asking, so a component in exactly one system never has to think about the concept; a later membership does not take that default away. Gated by system:update, and also needs component:update, because the binding writes onto the component (its primary, its label, the system band of its cascade): each end resolves in its own tier’s read scope and must be inside its update scope, so an end outside the read scope is a non-disclosing 404 and one readable but not writable a 403.

  • Route: PUT /api/v1/systems/{name}/members/{component}
  • Gate: system:update
  • Assume: destructive, idempotent
  • Agent class: destructive
ArgumentTypeRequiredDescription
componentstringyesName of the component, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
namestringyesName of the system, or a dotted address (e.g. boi.17c.$sys.av)

List a system’s effective metrics

Every metric the system’s standard declares, resolved to the newest observed or calculated sample across its live instances (instance names the one shown, instance_count counts them) or the contract default until one arrives (is_sampled marks a live series), plus any metric sampled directly on the system (from_contract false). Gated by system:read; an out-of-scope system is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/metrics
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)

Read one metric series’ samples

The samples behind the effective read’s latest value for one series, newest first, windowed (hours) and capped (limit, newest kept). With a resolution (seconds) it answers instead with every regular bucket of the window, oldest first, each with count, min, max, avg and last (null when empty), and covered_from, the earliest instant retention leaves data for. A bucket aggregates one instance’s measured samples (observed and calculated, never declared or intended): instance names it, and unset it is the one instance with measured samples in the window, or a 422 listing them when there are several. Over more than 48 hours, or past the series’ retention, the resolution is raised to whole hours, and resolution_seconds is the width applied. At whole hours a series with hourly trends (an observed one) takes every hour the trend fold has closed from its trend, so the read reaches back as far as the trends are kept, and its open hours from the samples; any other series, or a finer resolution, reads its samples, within their retention (ADR-1566). Gated by system:read; an out-of-scope owner is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/metrics/{metric}/samples
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
hoursintegernoThe window in hours, counted back from now; 24 when unset
instancestringnoThe instance a bucketed read aggregates. Unset, the one instance with measured samples in the window; when more than one has them the read is refused with a 422 listing them. Ignored without a resolution
limitintegernoThe row cap, newest kept; 500 when unset. Ignored when a resolution is set
metricstringyesThe metric_type name of the series
namestringyesThe owner’s name or uuid
resolutionintegernoThe bucket width in seconds, at most 30 days. Set, the read answers with every regular bucket of the window (buckets) instead of raw rows; unset, the raw samples. Over a window of more than 48 hours, or one past the series’ retention, it is raised to whole hours, at least one, and resolution_seconds says the width applied. A window of more than 5000 buckets is refused

List a system’s properties and where each stands

Every property the system has: each its standard declares, resolved to the system’s own value or the contract default (is_set marks a declared value), each set directly on the system (from_contract false), each a calc rule writes (source_rule), and each only observed or told by a command. Every row but a calculated one carries its reconciliation: want (declared), told (intended), is (observed, worst case across every live instance, naming is_instance) and drift, computed on read. Gated by system:read; an out-of-scope system is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/properties
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
namestringyesThe system’s name, or a dotted address (e.g. boi.17c.$sys.av)

Read one property series’ change history

The change history behind the effective value for one property series, newest first, windowed (hours) and capped (limit, newest kept). With a resolution (seconds) it answers instead with every regular bucket of the window, oldest first, each with the change count, last (the value its own changes end on, null when empty) and held (the value in force at its end), and covered_from, the earliest instant retention leaves data for. Both forms carry carried_in, the value in force when the window opens (the newest measured row of the instance before it, within retention), so a step chart starts on it instead of blank. A bucket aggregates one instance’s measured changes (observed and calculated, never declared or intended): instance names it, and unset it is the one instance with measured changes in the window, or a 422 listing them when there are several. Gated by system:read; an out-of-scope owner is a non-disclosing 404.

  • Route: GET /api/v1/systems/{name}/properties/{property}/samples
  • Gate: system:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
hoursintegernoThe window in hours, counted back from now; 24 when unset
instancestringnoThe instance a bucketed read aggregates. Unset, the one instance with measured samples in the window; when more than one has them the read is refused with a 422 listing them. On a raw read it names only the instance whose carried_in value is returned, the one with a measured row in the window else the one holding a value from before it
limitintegernoThe row cap, newest kept; 500 when unset. Ignored when a resolution is set
namestringyesThe owner’s name or uuid
propertystringyesThe property_type name of the series
resolutionintegernoThe bucket width in seconds, at most 30 days. Set, the read answers with every regular bucket of the window (buckets) instead of raw rows; unset, the raw samples. A window of more than 5000 buckets is refused

Create many systems in one write

Creates systems in one transaction: each request is the body POST /systems takes, run as that create runs it, in order, so a system may name as its parent one an earlier request creates, and its location by name as the single create does. Every row writes its own audit row carrying the one batch_id the response returns, under from_batch. A refused request refuses the whole batch, mapped as POST /systems maps it, with its position in the request (requests[3]) leading the detail; nothing lands. validate_only runs the same transaction and rolls it back, answering 200 with the names the write would mint and no ids. A batch carries at most 1000 requests; more is a 413 naming the limit, so split a bigger import (by building). Gated by system:create; each request is held to that scope, and its location resolves within your location:read scope, as its single create is.

  • Route: POST /api/v1/systems:batchCreate
  • Gate: system:create
  • Assume: adds
  • Agent class: write
ArgumentTypeRequiredDescription
requestsarrayyesThe systems to create, each the body POST /systems takes, in order: a parent before its children
validate_onlybooleannoRun every request in the transaction and roll it back: the response is what the write would create (names minted, ids empty), or the row that would refuse it, and nothing is written

Start a whole system from a template

Creates a system from a system template at a location, built to the standard you name or the template’s own (yours of that name when you hold one, else created from its standard template, with any parent it hangs off, in the same write), with a component for each slot filled to its quorum and assigned, and the declared values. A component whose slot you give an address in attach lands attached; the rest land unattached and are listed in to_attach. One transaction: it lands whole or not at all, every piece in your own scope with its own audit row carrying from_template. Gated by system:create, and also needs system:read, system:update, component:create and component:update; endpoint:create when anything attaches, standard:create when a standard is created from its template. A location outside your location scope is a 404, an unknown template or standard a 404, a standard the template cannot staff a 422 naming the slots.

  • Route: POST /api/v1/systems:createFromTemplate
  • Gate: system:create
  • Assume: adds
  • Agent class: credential_destination
ArgumentTypeRequiredDescription
attachobjectnoDriver inputs per slot, one object per component of the slot in order; an object with an address (host) attaches that component, the rest land unattached
labelstringnoThe system’s label
locationstringnoThe location the system and its components sit in, by name or dotted path
namestringnoThe system’s name; minted from its type when empty
outpoststringnoThe outpost the endpoints are placed on; needed when any component attaches
standardstringnoA standard of your own to build to, by name; omitted takes the template’s, created from its template in the same write when you hold none of that name
templatestringyesThe system template, by name

List tasks in scope

Lists the tasks whose endpoint’s owning component the caller may read (the component cascade). Tasks are derived from endpoints, not authored. Gated by task:read.

  • Route: GET /api/v1/tasks
  • Gate: task:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

List templates

Lists the template catalog this binary ships, ordered by kind then name, optionally one kind. A template is an example an operator clones: creating from one (POST /standards:createFromTemplate, and the same method on components, systems and locations) writes ordinary rows the operator owns, and nothing points back at the template. Gated by template:read.

  • Route: GET /api/v1/templates
  • Gate: template:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
kindstringnoOnly templates of this kind; omitted lists every kind

Get a template

Reads one template from the catalog by name, whole: its kind and the body that kind carries. An unknown name is a 404. Gated by template:read.

  • Route: GET /api/v1/templates/{template}
  • Gate: template:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
templatestringyesThe template, by name

List the transports the platform speaks

Lists the built-in transports: the wires an endpoint can speak over, a build-time fact of the binary (ADR-0073). Gated by endpoint:read, the surface that consumes it.

  • Route: GET /api/v1/transports
  • Gate: endpoint:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

List the sources no endpoint claims

The unclaimed-source inbox: each source a listener heard from that no endpoint claims (a webhook post to an unknown or rotated token), with how often, when first and last, and its last message cut to 512 bytes. Bounded at 256 sources per listener, the least recently heard evicted, and aged out after seven days; a source is let go once its messages land on an endpoint. Claim one by creating its endpoint. Gated by outpost:read on an all-scope grant: it is the listener’s own observation, and listeners are fleet-wide as outposts are.

  • Route: GET /api/v1/unclaimed-sources
  • Gate: outpost:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

List vendors

Lists the vendor catalog, ordered alphabetically by label. Populates the vendor picker on the product form. Gated by vendor:read.

  • Route: GET /api/v1/vendors
  • Gate: vendor:read
  • Assume: read-only, idempotent
  • Agent class: read
  • Arguments: none

Read the history of one or more view bindings

Reads each binding’s history from one snapshot and answers the tail cursor it was taken at (ADR-1830). A binding names a primitive (metric, property, event or log), an entity selector (literal refs, or a kind and a filter), the keys, and a range (from and to, or window_seconds back from now). A metric or property binding answers one series per resolved entity, key and instance: its raw points, or with step_seconds every bucket of an epoch-aligned grid (metric buckets carry count, min, max, avg and last; property buckets count, last and held), the older hours from the hourly trends when an hour-multiple step reaches past the raw retention. An event or log binding answers a page of rows, newest first, and a next_page. /views:watch from the cursor carries exactly the rows the history does not. Gated by view:read; each binding also needs :read (component:read or system:read) and resolves only inside that read’s scope: a filter selector resolves to the visible entities, and a literal ref out of scope is the same 404 as one that does not exist. A selector past 200 entities, a raw read past 20000 points or a grid past 5000 buckets is a 422, never a truncated answer.

  • Route: POST /api/v1/views:run
  • Gate: view:read
  • Assume: read-only, idempotent
  • Agent class: read
ArgumentTypeRequiredDescription
bindingsarrayyesThe bindings read, all from one snapshot