OpenVibe.Watch API
Generated at from
openvibe-contracts v0.454.0 and
openvibe-sdk v0.193.0.
Server https://openvibe.watch. 19 routes performing 7 capabilities. OpenAPI 3.1 document.
GET /api/v1/resources
Read OpenVibe.Watch's resource index (ADR-048, plan T13 step 8 phase 2): GET /api/v1/resources lists the watches it keeps as a page of common.resource-summary@1 (common.resource-list-result@1), and GE
- Capabilities
- watch.resource.read
- Visibility
- first-party
- Response
application/jsoncommon.resource-list-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.resource.read</strong> (first-party): Read OpenVibe.Watch's resource index (ADR-048, plan T13 step 8 phase 2): GET /api/v1/resources lists the watches it keeps as a page of common.resource-summary@1 (common.resource-list-result@1), and GET /api/v1/resources/:ovrn reads one by its OVRN (common.resource-summary@1). Kind watch.watch, id wch_<ULID>, named by the watch's name, state its status (active, paused, disabled, failed), owner the subject that made it. A watch made under a project carries that project_id and so an OVRN; a person's own watch has neither.</p>GET /api/v1/resources/{ovrn}
Read OpenVibe.Watch's resource index (ADR-048, plan T13 step 8 phase 2): GET /api/v1/resources lists the watches it keeps as a page of common.resource-summary@1 (common.resource-list-result@1), and GE
- Capabilities
- watch.resource.read
- Visibility
- first-party
- Parameters
ovrn(path, required)
- Response
application/jsoncommon.resource-list-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.resource.read</strong> (first-party): Read OpenVibe.Watch's resource index (ADR-048, plan T13 step 8 phase 2): GET /api/v1/resources lists the watches it keeps as a page of common.resource-summary@1 (common.resource-list-result@1), and GET /api/v1/resources/:ovrn reads one by its OVRN (common.resource-summary@1). Kind watch.watch, id wch_<ULID>, named by the watch's name, state its status (active, paused, disabled, failed), owner the subject that made it. A watch made under a project carries that project_id and so an OVRN; a person's own watch has neither.</p>POST /api/v1/resources/control
Control a watch through OpenVibe.Watch's control API (ADR-048, plan T13 step 10): POST /api/v1/resources/control takes one common.resource-control-request@1 naming a watch.watch by its OVRN, from a fi
- Capabilities
- watch.resource.control
- Visibility
- first-party
- Request body
application/jsoncommon.resource-control-request@1- Response
application/jsoncommon.resource-control-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.resource.control</strong> (first-party): Control a watch through OpenVibe.Watch's control API (ADR-048, plan T13 step 10): POST /api/v1/resources/control takes one common.resource-control-request@1 naming a watch.watch by its OVRN, from a first-party service (OpenVibe.Services) acting for the person in on_behalf_of. Actions: suspend (pause the watch: nothing is checked until it resumes), resume (active again) and delete (remove it, as DELETE /api/v1/watches/:id); any other action is refused unsupported. Only the watch's owner may act on it, and only inside the project the OVRN names. dry_run decides and explains without applying. The first answer per (caller, project, idempotency_key) is kept and returned for a repeat; the same key with another request is refused. Answers common.resource-control-result@1.</p>GET /api/v1/watches
List and read the acting person's or project's watches: GET /api/v1/watches and GET /api/v1/watches/:id.
- Capabilities
- watch.watch.read
- Visibility
- first-party
- Response
application/jsonwatch.watch-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.watch.read</strong> (first-party): List and read the acting person's or project's watches: GET /api/v1/watches and GET /api/v1/watches/:id.</p>POST /api/v1/watches
Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.
- Capabilities
- watch.watch.manage
- Visibility
- first-party
- Request body
application/jsonwatch.watch-request@1- Response
application/jsonwatch.watch-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.watch.manage</strong> (first-party): Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.</p>GET /api/v1/watches/{id}
List and read the acting person's or project's watches: GET /api/v1/watches and GET /api/v1/watches/:id.
- Capabilities
- watch.watch.read
- Visibility
- first-party
- Parameters
id(path, required)
- Response
application/jsonwatch.watch-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.watch.read</strong> (first-party): List and read the acting person's or project's watches: GET /api/v1/watches and GET /api/v1/watches/:id.</p>PATCH /api/v1/watches/{id}
Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.
- Capabilities
- watch.watch.manage
- Visibility
- first-party
- Parameters
id(path, required)
- Request body
application/jsonwatch.watch-request@1- Response
application/jsonwatch.watch-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.watch.manage</strong> (first-party): Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.</p>DELETE /api/v1/watches/{id}
Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.
- Capabilities
- watch.watch.manage
- Visibility
- first-party
- Parameters
id(path, required)name(query)labels(query)project_id(query) — The project the watch's project work belongs to (its run-job actions are billed to it). The acting person must be an admin or owner of the unarchived project: Watch checks with Network when it is saved (network.project.member.read; 403 project.not_delegated otherwise) and OpenVibe.Run checks again at every job (ADR-003 amendment 2026-10-12). null clears it.project_env(query) — The project environment the watch's project secrets (ADR-056: a source credential's or a webhook action's secret_ref) are looked up in. Defaults to production when the watch names a project; meaningless without one.source(query)cadence(query)extraction(query)comparison(query)condition(query)action(query)budget(query)retention(query)status(query)
- Input
- watch.watch-request@1
- Response
application/jsonwatch.watch-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.watch.manage</strong> (first-party): Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.</p>POST /api/v1/watches/{id}/check
Run one check of a watch now, outside its cadence: POST /api/v1/watches/:id/check (409 watch.busy when one is already running).
- Capabilities
- watch.check.run
- Visibility
- first-party
- Parameters
id(path, required)
- Response
application/jsonwatch.check-run@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.check.run</strong> (first-party): Run one check of a watch now, outside its cadence: POST /api/v1/watches/:id/check (409 watch.busy when one is already running).</p>GET /api/v1/watches/{id}/checks
Read a watch's observations and check runs: GET /api/v1/watches/:id/observations and GET /api/v1/watches/:id/checks.
- Capabilities
- watch.observation.read
- Visibility
- first-party
- Parameters
id(path, required)
- Response
application/jsonwatch.observation@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.observation.read</strong> (first-party): Read a watch's observations and check runs: GET /api/v1/watches/:id/observations and GET /api/v1/watches/:id/checks.</p>GET /api/v1/watches/{id}/observations
Read a watch's observations and check runs: GET /api/v1/watches/:id/observations and GET /api/v1/watches/:id/checks.
- Capabilities
- watch.observation.read
- Visibility
- first-party
- Parameters
id(path, required)
- Response
application/jsonwatch.observation@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.observation.read</strong> (first-party): Read a watch's observations and check runs: GET /api/v1/watches/:id/observations and GET /api/v1/watches/:id/checks.</p>POST /api/v1/watches/{id}/pause
Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.
- Capabilities
- watch.watch.manage
- Visibility
- first-party
- Parameters
id(path, required)
- Request body
application/jsonwatch.watch-request@1- Response
application/jsonwatch.watch-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.watch.manage</strong> (first-party): Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.</p>POST /api/v1/watches/{id}/resume
Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.
- Capabilities
- watch.watch.manage
- Visibility
- first-party
- Parameters
id(path, required)
- Request body
application/jsonwatch.watch-request@1- Response
application/jsonwatch.watch-result@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.watch.manage</strong> (first-party): Create, change, pause, resume and delete a watch: POST /api/v1/watches, PATCH /api/v1/watches/:id, POST /api/v1/watches/:id/pause, POST /api/v1/watches/:id/resume and DELETE /api/v1/watches/:id.</p>GET /internal/config
Manage the configuration namespaces and secrets of OpenVibe.Watch through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one
- Capabilities
- watch.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/jsoncommon.config-namespace@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Watch 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'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's Setup tab). Only Network'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.Watch through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one
- Capabilities
- watch.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/jsoncommon.config-namespace@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Watch 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'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's Setup tab). Only Network'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.Watch through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one
- Capabilities
- watch.config.manage
- Visibility
- internal
- Parameters
namespace(path, required)
- Request body
application/jsoncommon.config-change@1- Response
application/jsoncommon.config-namespace@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Watch 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'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's Setup tab). Only Network'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.Watch through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one
- Capabilities
- watch.config.manage
- Visibility
- internal
- Parameters
namespace(path, required)key(path, required)
- Request body
application/jsoncommon.config-change@1- Response
application/jsoncommon.config-namespace@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Watch 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'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's Setup tab). Only Network'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.Watch through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one
- Capabilities
- watch.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/jsoncommon.config-namespace@1- Errors
- errors.problem@1 (application/problem+json)
Description
<p><strong>watch.config.manage</strong> (internal): Manage the configuration namespaces and secrets of OpenVibe.Watch 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'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's Setup tab). Only Network'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.Watch through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns one
- Capabilities
- watch.config.manage
- Visibility
- internal
- Parameters
namespace(path, required)key(path, required)
- Request body
application/jsoncommon.config-change@1- Response
application/jsoncommon.config-namespace@1- Errors
- errors.problem@1 (application/problem+json)