List a component's commands
const url = 'https://example.com/api/v1/components/hq.west.level-2.boardroom-a.%24comp.videobar-1/commands?status=issued&limit=50';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/v1/components/hq.west.level-2.boardroom-a.%24comp.videobar-1/commands?status=issued&limit=50'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.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
The component’s name, or a dotted address (e.g. boi.17c.415a.$comp.display-1)
Query Parameters
Section titled “ Query Parameters ”Only the commands with this recorded status; issued is every command still in flight
Only the commands with this recorded status; issued is every command still in flight
Only the commands issued at or after this RFC3339 time
Only the commands issued at or after this RFC3339 time
Only the commands issued at or before this RFC3339 time
Only the commands issued at or before this RFC3339 time
How many to return, newest first (1 to 500)
How many to return, newest first (1 to 500)
Responses
Section titled “ Responses ”OK
object
A URL to the JSON Schema for this object.
Its commands, newest first
One instruction sent to a component, typed by a command type, and its outcome.
object
A URL to the JSON Schema for this object.
The command-issued event it put on the component’s timeline
What the component was told to do
The component it was issued to, by name
The component’s uuid, the stable form of component
When its window closes (its settle window, or a fire-and-forget command’s delivery window); a command still issued past it is timed out by the next sweep
When an outpost last took it from its queue
How many times an outpost has taken it: 0 while queued, 1 once delivered, more when it went silent past the redelivery wait and was taken again
The driver whose binding renders and settles it, by name
The endpoint it rides, by name: the one an outpost took it over, else the one an outpost would (its driver binds the type); absent when no endpoint can carry it
The endpoint’s uuid
The execution’s failure, as its outpost reported it, masked of credentials
When its outpost’s execution report landed
When an outpost first took it from its queue; a redelivery moves delivered_at, not this
The command’s id: with its component, its address (a command has no name)
The series discriminator it was issued with, if any
The value it set; absent for a fire-and-forget command
When it was issued
Who issued it, by name; empty once that user is purged (the audit log keeps the name)
The issuer’s uuid, the actor on the command’s audit row
The sample of its target that decided it, when an observation did
object
When it was observed
The observed value
The outpost that endpoint is placed on, by name
The invocation params
Where it sits now: queued for its outpost; delivered to it (a binding that settles on observation, or a fire-and-forget command its outpost’s execution report decides); awaiting the reply that settles it; awaiting the observation that does, within its window; or, once terminal, its status
Why it reached its terminal status, in words: the reply that confirmed it, the value observed instead, where it stopped when it timed out
The component’s answer, as its execution report carried it, masked of the endpoint’s credentials and anything labeled a credential, and capped; absent until a report lands
How its driver binding says it settles: from the component’s reply, from the next observation of its target, or none (it sets nothing, so its outpost’s execution report decides it)
How long it waits for its evidence
When it reached its terminal status
What decided it, once terminal: its reply (for a fire-and-forget command, its outpost’s execution report), an observation of its target, or its window closing on no evidence; issue marks a fire-and-forget command recorded before it waited on its report
The event its terminal status put there: command-settled, command-failed or command-timed-out
On an issue’s answer only: the computed settlement at that moment (none/pending/settled/failed)
The recorded status: issued until a terminal settled, failed, or timed-out
The property or metric it sets, by name
The lane of the value it sets; absent for a fire-and-forget command
The component, by name
Example
{ "$schema": "/api/v1/schemas/ListCommandsOutputBody.json", "commands": [ { "$schema": "/api/v1/schemas/CommandBody.json", "phase": "queued", "settle_mode": "reply", "settled_by": "issue", "settlement": "none", "status": "issued", "target_kind": "property" } ]}default
Section titled “ default ”Error
object
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
Optional list of individual error details
object
Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
A URI reference to human-readable documentation for the error.
Example
{ "$schema": "/api/v1/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "about:blank"}