OpenVibe.Bot API

Generated at from openvibe-contracts v0.454.0 and openvibe-sdk v0.193.0.

Server https://openvibe.bot. 30 routes performing 12 capabilities. OpenAPI 3.1 document.

POST /api/v1/devices/{id}/revoke

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

POST /api/v1/devices/{id}/rotate

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

POST /api/v1/jobs

OpenVibe.Run hands a platform.job@1 to a paired Link over the device link and reads its state: POST /api/v1/jobs {node_id, job, project_id, subject, provider} dispatches it (idempotent by job id; 409

Capabilities
bot.job.dispatch
Visibility
internal
Request body
application/json platform.job@1
Response
application/json bot.job-dispatch-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.job.dispatch</strong> (internal): OpenVibe.Run hands a platform.job@1 to a paired Link over the device link and reads its state: POST /api/v1/jobs {node_id, job, project_id, subject, provider} dispatches it (idempotent by job id; 409 bot.class_unadvertised when the device does not advertise the job&#39;s class), POST /api/v1/jobs/:id/cancel cancels it, GET /api/v1/jobs/:id returns its state with the captured stdout. project_id is required (422 without it): the dispatch carries the project, and Run is the payer. Service-to-service only (OpenVibe.Run&#39;s Network service token); never granted to an app or mod and never delegated to people.</p>

GET /api/v1/jobs/{id}

OpenVibe.Run hands a platform.job@1 to a paired Link over the device link and reads its state: POST /api/v1/jobs {node_id, job, project_id, subject, provider} dispatches it (idempotent by job id; 409

Capabilities
bot.job.dispatch
Visibility
internal
Parameters
  • id (path, required)
  • class (query, required)
  • artifact (query) — The pre-registered artifact to run; required for classes `function` and `code`.
  • args (query, required) — The artifact's declared input as JSON; the whole `job` frame stays within the link's 1 MiB frame limit.
  • ttl_ms (query, required) — Lifetime from the worker's receipt of the job, covering any wait and the run; the worker caps it with its own local maximum (the stricter wins, as with `max_command_ms`). When it runs out, a job not yet started never starts and a running one is killed; either way `job_exit` says `ttl`.
  • limits (query, required) — Caps the worker enforces on the running process (merged stricter with its local caps); exceeding one kills the job and `job_exit` says `limit`.
  • net (query) — Network policy; absent means `deny`. `none` is `deny` spelled as OpenVibe Link's worker.egress names it; `public` and `openvibe-only` ask for egress the host must already allow (ADR-046): a worker whose host policy is stricter runs the stricter one, and a worker that cannot enforce what is asked refuses the job (`nack`) rather than running it weaker.
  • inputs (query) — Files placed in the job's working directory before the process starts. Each is an OpenVibe.Media object pinned by digest: a size or digest mismatch ends the job failed before the process ever runs (run.job.input_digest_mismatch). Never a caller-chosen URL and never a credential; the worker holds its own token. Names are unique and carry no path separator.
  • sandbox (query) — The person's own persistent sandbox on the machine (2026-11-16): an opaque id the dispatcher derives from the person and the machine, so the machine keeps that person's installed agents and sign-ins without learning who they are. Absent for the machine owner's own job, whose sandbox is the owner's. A Link mounts it read-write at /sandbox for an entry that keeps one (OpenVibe.Link v0.72.0 docs/worker.md).
Input
platform.job@1
Response
application/json bot.job-dispatch-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.job.dispatch</strong> (internal): OpenVibe.Run hands a platform.job@1 to a paired Link over the device link and reads its state: POST /api/v1/jobs {node_id, job, project_id, subject, provider} dispatches it (idempotent by job id; 409 bot.class_unadvertised when the device does not advertise the job&#39;s class), POST /api/v1/jobs/:id/cancel cancels it, GET /api/v1/jobs/:id returns its state with the captured stdout. project_id is required (422 without it): the dispatch carries the project, and Run is the payer. Service-to-service only (OpenVibe.Run&#39;s Network service token); never granted to an app or mod and never delegated to people.</p>

POST /api/v1/jobs/{id}/cancel

OpenVibe.Run hands a platform.job@1 to a paired Link over the device link and reads its state: POST /api/v1/jobs {node_id, job, project_id, subject, provider} dispatches it (idempotent by job id; 409

Capabilities
bot.job.dispatch
Visibility
internal
Parameters
  • id (path, required)
Request body
application/json platform.job@1
Response
application/json bot.job-dispatch-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.job.dispatch</strong> (internal): OpenVibe.Run hands a platform.job@1 to a paired Link over the device link and reads its state: POST /api/v1/jobs {node_id, job, project_id, subject, provider} dispatches it (idempotent by job id; 409 bot.class_unadvertised when the device does not advertise the job&#39;s class), POST /api/v1/jobs/:id/cancel cancels it, GET /api/v1/jobs/:id returns its state with the captured stdout. project_id is required (422 without it): the dispatch carries the project, and Run is the payer. Service-to-service only (OpenVibe.Run&#39;s Network service token); never granted to an app or mod and never delegated to people.</p>

GET /api/v1/machines

A service acts for a person on their machines through Bot's machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject).

Capabilities
bot.machine.manage
Visibility
first-party
Input
bot.machine-manage-request@1
Response
application/json bot.machine-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.machine.manage</strong> (first-party): A service acts for a person on their machines through Bot&#39;s machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject). Network holds it for the machines hub (openvibe.link/machines): Bot stays the registry underneath, so Bot checks that the machine is the named person&#39;s own. Never grantable to apps.</p>

GET /api/v1/machines/{id}

A service acts for a person on their machines through Bot's machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject).

Capabilities
bot.machine.manage
Visibility
first-party
Parameters
  • id (path, required)
Input
bot.machine-manage-request@1
Response
application/json bot.machine-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.machine.manage</strong> (first-party): A service acts for a person on their machines through Bot&#39;s machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject). Network holds it for the machines hub (openvibe.link/machines): Bot stays the registry underneath, so Bot checks that the machine is the named person&#39;s own. Never grantable to apps.</p>

PATCH /api/v1/machines/{id}

A service acts for a person on their machines through Bot's machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject).

Capabilities
bot.machine.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.machine-manage-request@1
Response
application/json bot.machine-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.machine.manage</strong> (first-party): A service acts for a person on their machines through Bot&#39;s machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject). Network holds it for the machines hub (openvibe.link/machines): Bot stays the registry underneath, so Bot checks that the machine is the named person&#39;s own. Never grantable to apps.</p>

POST /api/v1/machines/{id}/desk-leases

OpenVibe.Run's sessions on machines (the Desks plan's D6): lease one desk for one session and act on it, with a Run service token naming the session's person in X-OV-Subject.

Capabilities
bot.desk.session
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.desk-lease-create-request@1
Response
application/json bot.desk-lease@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.desk.session</strong> (first-party): OpenVibe.Run&#39;s sessions on machines (the Desks plan&#39;s D6): lease one desk for one session and act on it, with a Run service token naming the session&#39;s person in X-OV-Subject. POST /api/v1/machines/:id/desk-leases (bot.desk-lease-create-request@1, answered by bot.desk-lease@1) starts a browser desk on the person&#39;s own machine where they let agents use it, or on a desk host whose owner offers its desks to other people and whose Link sandboxes every desk; POST /api/v1/machines/:id/desk-leases/:desk/commands carries screen, input and browser (bot.command@1 without desk) to that desk alone; DELETE /api/v1/machines/:id/desk-leases/:desk stops it. Bot takes it only from Run, never reaches another desk or the machine itself, and on a shared host keeps even its owner off a leased desk.</p>

GET /api/v1/machines/{id}/desk-leases/{desk}

OpenVibe.Run's sessions on machines (the Desks plan's D6): lease one desk for one session and act on it, with a Run service token naming the session's person in X-OV-Subject.

Capabilities
bot.desk.session
Visibility
first-party
Parameters
  • id (path, required)
  • desk (path, required)
  • session (query, required)
  • kind (query, required) — browser (a headless browser driven over its pipe) or desktop (0.433.0: a whole desktop, a display with a window manager, a browser and a terminal, on a desk host that lends desktops and keeps each one in its own sandbox; driven with screen and input only). A machine that does not run that kind (its describe: desk.kinds; on a shared host, what its owner lends and Bot's shared_desktops) is refused 409 bot.kind_unavailable.
  • width (query) — Default 1280.
  • height (query) — Default 800.
  • origins (query) — The session's exact browser origins, fixed for this lease. Empty allows no network origin; absent keeps the legacy policy. A shared desk that cannot enforce the list is refused.
Input
bot.desk-lease-create-request@1
Response
application/json bot.desk-lease@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.desk.session</strong> (first-party): OpenVibe.Run&#39;s sessions on machines (the Desks plan&#39;s D6): lease one desk for one session and act on it, with a Run service token naming the session&#39;s person in X-OV-Subject. POST /api/v1/machines/:id/desk-leases (bot.desk-lease-create-request@1, answered by bot.desk-lease@1) starts a browser desk on the person&#39;s own machine where they let agents use it, or on a desk host whose owner offers its desks to other people and whose Link sandboxes every desk; POST /api/v1/machines/:id/desk-leases/:desk/commands carries screen, input and browser (bot.command@1 without desk) to that desk alone; DELETE /api/v1/machines/:id/desk-leases/:desk stops it. Bot takes it only from Run, never reaches another desk or the machine itself, and on a shared host keeps even its owner off a leased desk.</p>

DELETE /api/v1/machines/{id}/desk-leases/{desk}

OpenVibe.Run's sessions on machines (the Desks plan's D6): lease one desk for one session and act on it, with a Run service token naming the session's person in X-OV-Subject.

Capabilities
bot.desk.session
Visibility
first-party
Parameters
  • id (path, required)
  • desk (path, required)
  • session (query, required)
  • kind (query, required) — browser (a headless browser driven over its pipe) or desktop (0.433.0: a whole desktop, a display with a window manager, a browser and a terminal, on a desk host that lends desktops and keeps each one in its own sandbox; driven with screen and input only). A machine that does not run that kind (its describe: desk.kinds; on a shared host, what its owner lends and Bot's shared_desktops) is refused 409 bot.kind_unavailable.
  • width (query) — Default 1280.
  • height (query) — Default 800.
  • origins (query) — The session's exact browser origins, fixed for this lease. Empty allows no network origin; absent keeps the legacy policy. A shared desk that cannot enforce the list is refused.
Input
bot.desk-lease-create-request@1
Response
application/json bot.desk-lease@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.desk.session</strong> (first-party): OpenVibe.Run&#39;s sessions on machines (the Desks plan&#39;s D6): lease one desk for one session and act on it, with a Run service token naming the session&#39;s person in X-OV-Subject. POST /api/v1/machines/:id/desk-leases (bot.desk-lease-create-request@1, answered by bot.desk-lease@1) starts a browser desk on the person&#39;s own machine where they let agents use it, or on a desk host whose owner offers its desks to other people and whose Link sandboxes every desk; POST /api/v1/machines/:id/desk-leases/:desk/commands carries screen, input and browser (bot.command@1 without desk) to that desk alone; DELETE /api/v1/machines/:id/desk-leases/:desk stops it. Bot takes it only from Run, never reaches another desk or the machine itself, and on a shared host keeps even its owner off a leased desk.</p>

POST /api/v1/machines/{id}/desk-leases/{desk}/commands

OpenVibe.Run's sessions on machines (the Desks plan's D6): lease one desk for one session and act on it, with a Run service token naming the session's person in X-OV-Subject.

Capabilities
bot.desk.session
Visibility
first-party
Parameters
  • id (path, required)
  • desk (path, required)
Request body
application/json bot.desk-lease-create-request@1
Response
application/json bot.desk-lease@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.desk.session</strong> (first-party): OpenVibe.Run&#39;s sessions on machines (the Desks plan&#39;s D6): lease one desk for one session and act on it, with a Run service token naming the session&#39;s person in X-OV-Subject. POST /api/v1/machines/:id/desk-leases (bot.desk-lease-create-request@1, answered by bot.desk-lease@1) starts a browser desk on the person&#39;s own machine where they let agents use it, or on a desk host whose owner offers its desks to other people and whose Link sandboxes every desk; POST /api/v1/machines/:id/desk-leases/:desk/commands carries screen, input and browser (bot.command@1 without desk) to that desk alone; DELETE /api/v1/machines/:id/desk-leases/:desk stops it. Bot takes it only from Run, never reaches another desk or the machine itself, and on a shared host keeps even its owner off a leased desk.</p> <p>Route note: bot.command@1, answered by bot.command-result@1</p>

POST /api/v1/machines/{id}/relay

Network relays grant-checked tasks and frames to a paired machine.

Capabilities
bot.machine.relay
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json agent.task@1
Response
application/json agent.task-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.machine.relay</strong> (first-party): Network relays grant-checked tasks and frames to a paired machine.</p>

POST /api/v1/machines/{id}/revoke

A service acts for a person on their machines through Bot's machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject).

Capabilities
bot.machine.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.machine-manage-request@1
Response
application/json bot.machine-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.machine.manage</strong> (first-party): A service acts for a person on their machines through Bot&#39;s machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject). Network holds it for the machines hub (openvibe.link/machines): Bot stays the registry underneath, so Bot checks that the machine is the named person&#39;s own. Never grantable to apps.</p>

PUT /api/v1/machines/{id}/roles

A service acts for a person on their machines through Bot's machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject).

Capabilities
bot.machine.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.machine-manage-request@1
Response
application/json bot.machine-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.machine.manage</strong> (first-party): A service acts for a person on their machines through Bot&#39;s machines API: it lists, renames, gives roles to and revokes the machines of the person it names (X-OV-Subject). Network holds it for the machines hub (openvibe.link/machines): Bot stays the registry underneath, so Bot checks that the machine is the named person&#39;s own. Never grantable to apps.</p>

POST /api/v1/machines/{id}/watch-links

A watch link to a person's own machine desk (plan L55): the owner's agent (OpenVibe.Actor) asks Bot for a link that shows the desk it works on (the private desk or its own desk-<name>, never the owner

Capabilities
bot.machine.watch_link
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.watch-link-request@1
Response
application/json bot.watch-link-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.machine.watch_link</strong> (first-party): A watch link to a person&#39;s own machine desk (plan L55): the owner&#39;s agent (OpenVibe.Actor) asks Bot for a link that shows the desk it works on (the private desk or its own desk-&lt;name&gt;, never the owner&#39;s own screen), live, inside a chat turn. POST /api/v1/machines/:id/watch-links (bot.watch-link-request@1, answered by bot.watch-link-result@1) makes one for the machine the named person owns — never another person&#39;s (404) — and it lives for 5 to 240 minutes. The page needs no sign-in (the token is the credential), may sit in a frame on openvibe.chat or openvibe.actor, and carries the mouse and keyboard only when the caller asks for it. Only the owner&#39;s agent may make one: the capability alone would let any service that holds it name any person.</p>

GET /api/v1/resources

Read OpenVibe.Bot's resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists the robots Bot keeps as a page of common.resource-summary@1 (common.resource

Capabilities
bot.resource.read
Visibility
first-party
Response
application/json common.resource-list-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.resource.read</strong> (first-party): Read OpenVibe.Bot&#39;s resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists the robots Bot keeps as a page of common.resource-summary@1 (common.resource-list-result@1). Kind bot.robot, id rob_&lt;ULID&gt;, named by the robot&#39;s name, owner its owner_subject. Bot holds no projects, so a robot carries no project_id and no OVRN, like Network&#39;s user-owned node principals; GET /api/v1/resources/:ovrn answers 404 for every name.</p>

GET /api/v1/resources/{ovrn}

Read OpenVibe.Bot's resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists the robots Bot keeps as a page of common.resource-summary@1 (common.resource

Capabilities
bot.resource.read
Visibility
first-party
Parameters
  • ovrn (path, required)
Response
application/json common.resource-list-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.resource.read</strong> (first-party): Read OpenVibe.Bot&#39;s resource index (ADR-048, plan T13 step 8 phase 2, a person-owned resource): GET /api/v1/resources lists the robots Bot keeps as a page of common.resource-summary@1 (common.resource-list-result@1). Kind bot.robot, id rob_&lt;ULID&gt;, named by the robot&#39;s name, owner its owner_subject. Bot holds no projects, so a robot carries no project_id and no OVRN, like Network&#39;s user-owned node principals; GET /api/v1/resources/:ovrn answers 404 for every name.</p>

POST /api/v1/resources/control

Control a person's robots through the authority's control API (ADR-048 amendment 2026-10-15, step 8 phase 2): POST /api/v1/resources/control takes one common.owned-resource-control-request@1 naming a

Capabilities
bot.resource.control
Visibility
first-party
Request body
application/json common.owned-resource-control-request@1
Response
application/json common.resource-control-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.resource.control</strong> (first-party): Control a person&#39;s robots through the authority&#39;s control API (ADR-048 amendment 2026-10-15, step 8 phase 2): POST /api/v1/resources/control takes one common.owned-resource-control-request@1 naming a bot.robot (id rob_&lt;ULID&gt;) from a first-party service (OpenVibe.Services) acting for the person in on_behalf_of. Actions: stop (send the robot&#39;s own Stop, the halt command: every actuator stops and nothing is latched) and resume (answer that nothing was latched, so there is nothing to clear; a stop on the machine itself stays local); any other action is refused unsupported. Only the resource&#39;s owner may act: the request&#39;s owner must be the owner the authority holds. dry_run decides and explains without applying. The first answer per (caller, idempotency_key) is kept and returned for a repeat; the same key with another request is refused. Answers common.resource-control-result@1 without resource (person-owned resources have no OVRN).</p>

GET /api/v1/robots

Read robots with a Network service token.

Capabilities
bot.robot.read
Visibility
first-party
Parameters
  • owner (query)
  • limit (query)
  • before (query)
Input
bot.robot-read-request@1
Response
application/json bot.robot-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.read</strong> (first-party): Read robots with a Network service token. GET /robots needs ?owner= and lists that person&#39;s robots; the robot routes answer for any robot id with role &quot;service&quot;: Bot does not check X-OV-Subject or any person&#39;s membership for a service token (a person&#39;s own token is held to owner, operator or viewer). Devices never carry a credential or key hash. The command audit (GET /robots/:id/audit, newest first, paged) is read too, for any robot id.</p>

POST /api/v1/robots

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Request body
application/json bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

GET /api/v1/robots/{id}

Read robots with a Network service token.

Capabilities
bot.robot.read
Visibility
first-party
Parameters
  • id (path, required)
  • owner (query)
  • limit (query)
  • before (query)
Input
bot.robot-read-request@1
Response
application/json bot.robot-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.read</strong> (first-party): Read robots with a Network service token. GET /robots needs ?owner= and lists that person&#39;s robots; the robot routes answer for any robot id with role &quot;service&quot;: Bot does not check X-OV-Subject or any person&#39;s membership for a service token (a person&#39;s own token is held to owner, operator or viewer). Devices never carry a credential or key hash. The command audit (GET /robots/:id/audit, newest first, paged) is read too, for any robot id.</p>

PATCH /api/v1/robots/{id}

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

DELETE /api/v1/robots/{id}

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Parameters
  • id (path, required)
Input
bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

GET /api/v1/robots/{id}/audit

Read robots with a Network service token.

Capabilities
bot.robot.read
Visibility
first-party
Parameters
  • id (path, required)
  • owner (query)
  • limit (query)
  • before (query)
Input
bot.robot-read-request@1
Response
application/json bot.robot-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.read</strong> (first-party): Read robots with a Network service token. GET /robots needs ?owner= and lists that person&#39;s robots; the robot routes answer for any robot id with role &quot;service&quot;: Bot does not check X-OV-Subject or any person&#39;s membership for a service token (a person&#39;s own token is held to owner, operator or viewer). Devices never carry a credential or key hash. The command audit (GET /robots/:id/audit, newest first, paged) is read too, for any robot id.</p>

GET /api/v1/robots/{id}/devices

Read robots with a Network service token.

Capabilities
bot.robot.read
Visibility
first-party
Parameters
  • id (path, required)
  • owner (query)
  • limit (query)
  • before (query)
Input
bot.robot-read-request@1
Response
application/json bot.robot-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.read</strong> (first-party): Read robots with a Network service token. GET /robots needs ?owner= and lists that person&#39;s robots; the robot routes answer for any robot id with role &quot;service&quot;: Bot does not check X-OV-Subject or any person&#39;s membership for a service token (a person&#39;s own token is held to owner, operator or viewer). Devices never carry a credential or key hash. The command audit (GET /robots/:id/audit, newest first, paged) is read too, for any robot id.</p>

GET /api/v1/robots/{id}/operators

Read robots with a Network service token.

Capabilities
bot.robot.read
Visibility
first-party
Parameters
  • id (path, required)
  • owner (query)
  • limit (query)
  • before (query)
Input
bot.robot-read-request@1
Response
application/json bot.robot-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.read</strong> (first-party): Read robots with a Network service token. GET /robots needs ?owner= and lists that person&#39;s robots; the robot routes answer for any robot id with role &quot;service&quot;: Bot does not check X-OV-Subject or any person&#39;s membership for a service token (a person&#39;s own token is held to owner, operator or viewer). Devices never carry a credential or key hash. The command audit (GET /robots/:id/audit, newest first, paged) is read too, for any robot id.</p>

POST /api/v1/robots/{id}/operators

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

DELETE /api/v1/robots/{id}/operators/{subject}

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Parameters
  • id (path, required)
  • subject (path, required)
Input
bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

POST /api/v1/robots/{id}/pairing-code

Manage robots with a Network service token: create one for the person the body's owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it

Capabilities
bot.robot.manage
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json bot.robot-manage-request@1
Response
application/json bot.robot-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>bot.robot.manage</strong> (first-party): Manage robots with a Network service token: create one for the person the body&#39;s owner or X-OV-Subject names (a new robot and its pairing code), and, for any robot id, rename, reconfigure or delete it (irreversible), issue a one-time pairing code, add or remove operators, and rotate a paired device&#39;s credentials (the new credential and publish key are shown once) or revoke the device, which closes its socket at once. Bot does not check the acting person against the robot&#39;s owner for a service token (a person&#39;s own token must be the owner&#39;s).</p>

Other bindings