OpenVibe.Run API

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

Server https://openvibe.run. 22 routes performing 11 capabilities. OpenAPI 3.1 document.

GET /api/v1/admin/jobs

Operator access to every project's jobs: GET /api/v1/admin/jobs (run.job-list-query@1 with project_id), and the read and cancel routes for any job.

Capabilities
run.job.admin
Visibility
internal
Parameters
  • state (query)
  • project_id (query) — Admin only (run.job.admin): list this project's jobs; with run.job.list it is refused 403.
  • limit (query) — Items per page, 1 to 200 (default 50). A query string carries it as a string, which must name the same range.
  • cursor (query) — next_cursor of the previous page.
Input
run.job-list-query@1
Response
application/json run.job-list-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.job.admin</strong> (internal): Operator access to every project&#39;s jobs: GET /api/v1/admin/jobs (run.job-list-query@1 with project_id), and the read and cancel routes for any job. Never delegated and never in an app or mod token.</p>

GET /api/v1/fill-requests

Read pending blind sign-in requests for the signed-in person and submit a single-use encrypted approval envelope.

Capabilities
run.fill.approve
Visibility
public
Parameters
  • request_id (query, required)
  • envelope (query, required)
Input
run.fill-grant@1
Response
application/json run.fill-request@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.fill.approve</strong> (public): Read pending blind sign-in requests for the signed-in person and submit a single-use encrypted approval envelope. Responses contain request metadata and credential-free outcomes only.</p>

POST /api/v1/fill-requests/{id}/grant

Read pending blind sign-in requests for the signed-in person and submit a single-use encrypted approval envelope.

Capabilities
run.fill.approve
Visibility
public
Parameters
  • id (path, required)
Request body
application/json run.fill-grant@1
Response
application/json run.fill-request@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.fill.approve</strong> (public): Read pending blind sign-in requests for the signed-in person and submit a single-use encrypted approval envelope. Responses contain request metadata and credential-free outcomes only.</p>

GET /api/v1/jobs

List the token project's jobs, newest first and cursor-paged: GET /api/v1/jobs?state=&limit=&cursor=.

Capabilities
run.job.list
Visibility
public
Parameters
  • state (query)
  • project_id (query) — Admin only (run.job.admin): list this project's jobs; with run.job.list it is refused 403.
  • limit (query) — Items per page, 1 to 200 (default 50). A query string carries it as a string, which must name the same range.
  • cursor (query) — next_cursor of the previous page.
Input
run.job-list-query@1
Response
application/json run.job-list-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.job.list</strong> (public): List the token project&#39;s jobs, newest first and cursor-paged: GET /api/v1/jobs?state=&amp;limit=&amp;cursor=.</p>

POST /api/v1/jobs

Submit a job to OpenVibe.Run: POST /api/v1/jobs.

Capabilities
run.job.submit
Visibility
public
Request body
application/json run.job-create-request@1
Response
application/json run.job-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.job.submit</strong> (public): Submit a job to OpenVibe.Run: POST /api/v1/jobs. The job belongs to the token&#39;s project, which is billed per wall-clock second it runs (service run, operation function.invoke, unit s). An idempotency_key makes a retry return the first job.</p>

GET /api/v1/jobs/{id}

Read one of the token project's jobs: GET /api/v1/jobs/:id (state, placement, timings, exit, usage seconds, result).

Capabilities
run.job.read
Visibility
public
Parameters
  • id (path, required)
Response
application/json run.job-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.job.read</strong> (public): Read one of the token project&#39;s jobs: GET /api/v1/jobs/:id (state, placement, timings, exit, usage seconds, result).</p>

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

Cancel one of the token project's jobs: POST /api/v1/jobs/:id/cancel.

Capabilities
run.job.cancel
Visibility
public
Parameters
  • id (path, required)
Response
application/json run.job-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.job.cancel</strong> (public): Cancel one of the token project&#39;s jobs: POST /api/v1/jobs/:id/cancel. A queued or placed job never starts; a running one is killed (platform.job-frame@1 job_cancel); cancelling an ended job changes nothing and answers it as it is.</p>

GET /api/v1/jobs/{id}/stream

Watch a job's live output: POST /api/v1/jobs/:id/stream/ticket mints a one-use, two-minute stream ticket (run.job-stream-ticket-result@1) and GET /api/v1/jobs/:id/stream?ticket= (or with a Bearer toke

Capabilities
run.job.stream
Visibility
public
Parameters
  • id (path, required)
Response
application/json run.job-stream-ticket-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.job.stream</strong> (public): Watch a job&#39;s live output: POST /api/v1/jobs/:id/stream/ticket mints a one-use, two-minute stream ticket (run.job-stream-ticket-result@1) and GET /api/v1/jobs/:id/stream?ticket= (or with a Bearer token) is text/event-stream of run.job-stream-event@1, resumable with Last-Event-ID.</p>

POST /api/v1/jobs/{id}/stream/ticket

Watch a job's live output: POST /api/v1/jobs/:id/stream/ticket mints a one-use, two-minute stream ticket (run.job-stream-ticket-result@1) and GET /api/v1/jobs/:id/stream?ticket= (or with a Bearer toke

Capabilities
run.job.stream
Visibility
public
Parameters
  • id (path, required)
Response
application/json run.job-stream-ticket-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.job.stream</strong> (public): Watch a job&#39;s live output: POST /api/v1/jobs/:id/stream/ticket mints a one-use, two-minute stream ticket (run.job-stream-ticket-result@1) and GET /api/v1/jobs/:id/stream?ticket= (or with a Bearer token) is text/event-stream of run.job-stream-event@1, resumable with Last-Event-ID.</p>

GET /api/v1/sessions

Read your own browser sessions: GET /api/v1/sessions (run.session-list-result@1), GET /api/v1/sessions/:id (run.session@1: state, where it runs, task_id, timings, desk-seconds) and GET /api/v1/session

Capabilities
run.session.read
Visibility
public
Response
application/json run.session@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.session.read</strong> (public): Read your own browser sessions: GET /api/v1/sessions (run.session-list-result@1), GET /api/v1/sessions/:id (run.session@1: state, where it runs, task_id, timings, desk-seconds) and GET /api/v1/sessions/:id/still (the desk&#39;s newest frame as a small JPEG, at most once a second, or the curtain picture while Curtain now is up). Never another person&#39;s: anyone else gets 404, a signed-out visitor included.</p>

POST /api/v1/sessions

Open a browser session for yourself (the Desks plan's D6): POST /api/v1/sessions with run.session-create-request@1.

Capabilities
run.session.create
Visibility
public
Request body
application/json run.session-create-request@1
Response
application/json run.session@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.session.create</strong> (public): Open a browser session for yourself (the Desks plan&#39;s D6): POST /api/v1/sessions with run.session-create-request@1. Run places a browser desk on one of your own machines (when you name it or your requirements name user-owned) or on a desk host that serves other people, where every desk runs in its own sandbox, and answers run.session@1. A first-party service acting for a person (X-OV-Subject) opens it for them and is recorded as via. Desk time is metered in desk-seconds.</p>

GET /api/v1/sessions/{id}

Read your own browser sessions: GET /api/v1/sessions (run.session-list-result@1), GET /api/v1/sessions/:id (run.session@1: state, where it runs, task_id, timings, desk-seconds) and GET /api/v1/session

Capabilities
run.session.read
Visibility
public
Parameters
  • id (path, required)
Response
application/json run.session@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.session.read</strong> (public): Read your own browser sessions: GET /api/v1/sessions (run.session-list-result@1), GET /api/v1/sessions/:id (run.session@1: state, where it runs, task_id, timings, desk-seconds) and GET /api/v1/sessions/:id/still (the desk&#39;s newest frame as a small JPEG, at most once a second, or the curtain picture while Curtain now is up). Never another person&#39;s: anyone else gets 404, a signed-out visitor included.</p>

POST /api/v1/sessions/{id}/commands

Use, curtain and end your own browser session: POST /api/v1/sessions/:id/commands with run.session-control-request@1 (screen, input and browser on the session's desk only, answered by run.session-cont

Capabilities
run.session.control
Visibility
public
Parameters
  • id (path, required)
Request body
application/json run.session-control-request@1
Response
application/json run.session-control-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.session.control</strong> (public): Use, curtain and end your own browser session: POST /api/v1/sessions/:id/commands with run.session-control-request@1 (screen, input and browser on the session&#39;s desk only, answered by run.session-control-result@1), POST /api/v1/sessions/:id/curtain ({ up }: the privacy screen the still honors) and POST /api/v1/sessions/:id/end (run.session@1, ended). Nothing else on the machine it runs on is reachable.</p>

POST /api/v1/sessions/{id}/curtain

Use, curtain and end your own browser session: POST /api/v1/sessions/:id/commands with run.session-control-request@1 (screen, input and browser on the session's desk only, answered by run.session-cont

Capabilities
run.session.control
Visibility
public
Parameters
  • id (path, required)
Request body
application/json run.session-control-request@1
Response
application/json run.session-control-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.session.control</strong> (public): Use, curtain and end your own browser session: POST /api/v1/sessions/:id/commands with run.session-control-request@1 (screen, input and browser on the session&#39;s desk only, answered by run.session-control-result@1), POST /api/v1/sessions/:id/curtain ({ up }: the privacy screen the still honors) and POST /api/v1/sessions/:id/end (run.session@1, ended). Nothing else on the machine it runs on is reachable.</p>

POST /api/v1/sessions/{id}/end

Use, curtain and end your own browser session: POST /api/v1/sessions/:id/commands with run.session-control-request@1 (screen, input and browser on the session's desk only, answered by run.session-cont

Capabilities
run.session.control
Visibility
public
Parameters
  • id (path, required)
Request body
application/json run.session-control-request@1
Response
application/json run.session-control-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.session.control</strong> (public): Use, curtain and end your own browser session: POST /api/v1/sessions/:id/commands with run.session-control-request@1 (screen, input and browser on the session&#39;s desk only, answered by run.session-control-result@1), POST /api/v1/sessions/:id/curtain ({ up }: the privacy screen the still honors) and POST /api/v1/sessions/:id/end (run.session@1, ended). Nothing else on the machine it runs on is reachable.</p>

GET /api/v1/sessions/{id}/still

Read your own browser sessions: GET /api/v1/sessions (run.session-list-result@1), GET /api/v1/sessions/:id (run.session@1: state, where it runs, task_id, timings, desk-seconds) and GET /api/v1/session

Capabilities
run.session.read
Visibility
public
Parameters
  • id (path, required)
Response
application/json run.session@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.session.read</strong> (public): Read your own browser sessions: GET /api/v1/sessions (run.session-list-result@1), GET /api/v1/sessions/:id (run.session@1: state, where it runs, task_id, timings, desk-seconds) and GET /api/v1/sessions/:id/still (the desk&#39;s newest frame as a small JPEG, at most once a second, or the curtain picture while Curtain now is up). Never another person&#39;s: anyone else gets 404, a signed-out visitor included.</p>

GET /internal/config

Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as

Capabilities
run.config.manage
Visibility
internal
Parameters
  • values (query, required) — The new values, one member per key. The store validates them against the namespace schema; a secret-class value here is refused.
  • reason (query, required) — Why the change is made; it is the revision's reason in the history.
  • merge (query) — Merge into the active values instead of replacing them.
  • unset (query) — Keys to remove from the new revision.
Input
common.config-change@1
Response
application/json common.config-namespace@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

GET /internal/config/{namespace}

Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as

Capabilities
run.config.manage
Visibility
internal
Parameters
  • namespace (path, required)
  • values (query, required) — The new values, one member per key. The store validates them against the namespace schema; a secret-class value here is refused.
  • reason (query, required) — Why the change is made; it is the revision's reason in the history.
  • merge (query) — Merge into the active values instead of replacing them.
  • unset (query) — Keys to remove from the new revision.
Input
common.config-change@1
Response
application/json common.config-namespace@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

POST /internal/config/{namespace}

Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as

Capabilities
run.config.manage
Visibility
internal
Parameters
  • namespace (path, required)
Request body
application/json common.config-change@1
Response
application/json common.config-namespace@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

PUT /internal/config/{namespace}/secrets/{key}

Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as

Capabilities
run.config.manage
Visibility
internal
Parameters
  • namespace (path, required)
  • key (path, required)
Request body
application/json common.config-change@1
Response
application/json common.config-namespace@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

DELETE /internal/config/{namespace}/secrets/{key}

Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as

Capabilities
run.config.manage
Visibility
internal
Parameters
  • namespace (path, required)
  • key (path, required)
  • values (query, required) — The new values, one member per key. The store validates them against the namespace schema; a secret-class value here is refused.
  • reason (query, required) — Why the change is made; it is the revision's reason in the history.
  • merge (query) — Merge into the active values instead of replacing them.
  • unset (query) — Keys to remove from the new revision.
Input
common.config-change@1
Response
application/json common.config-namespace@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>

POST /internal/config/{namespace}/test/{key}

Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as

Capabilities
run.config.manage
Visibility
internal
Parameters
  • namespace (path, required)
  • key (path, required)
Request body
application/json common.config-change@1
Response
application/json common.config-namespace@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>run.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Run through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one as common.config-namespace@1, POST applies common.config-change@1, and PUT /internal/config/:namespace/secrets/:key sets a secret with common.config-secret-put@1 (write-only; the answer is the marker) while DELETE removes it. POST /internal/config/:namespace/test/:key asks the service&#39;s tester to try a stored value with the provider on the server, answering { ok, message } in one line that never carries a secret (the owner&#39;s Setup tab). Only Network&#39;s admin proxy, acting for the owner, holds this capability; it is never grantable to apps. Each request carries the owner as actor, and the service audits every write with that actor and key, never a secret value.</p>