OpenVibe.AI API

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

Server https://ai.openvibe.services. 73 routes performing 20 capabilities. OpenAPI 3.1 document.

GET /api/v1/actions

Read one person's Action Center items from OpenVibe.AI (plan 2026-10-28 §3.10): AI runs made on the person's behalf (on_behalf_of), as common.action-list-result@1.

Capabilities
ai.actions.read
Visibility
first-party
Response
application/json common.action-list-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.actions.read</strong> (first-party): Read one person&#39;s Action Center items from OpenVibe.AI (plan 2026-10-28 §3.10): AI runs made on the person&#39;s behalf (on_behalf_of), as common.action-list-result@1. GET /api/v1/actions?subject=usr_… with a service token; granted to OpenVibe.Network&#39;s aggregator only. Never another person&#39;s items, and only the fields of common.action-item@1.</p>

GET /api/v1/attribution-quotas/{attribution}

Cap what runs attributed to one of the caller's own entities may cost or request per hour or day (a streamer's daily AI budget on Live).

Capabilities
ai.quota.attribution.manage
Visibility
first-party
Parameters
  • attribution (path, required)
Input
ai.attribution-quota-put@1
Response
application/json ai.attribution-quota@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.quota.attribution.manage</strong> (first-party): Cap what runs attributed to one of the caller&#39;s own entities may cost or request per hour or day (a streamer&#39;s daily AI budget on Live). Only the service named in the attribution sets, reads or removes its caps; a run over a cap is refused before any provider is called.</p>

PUT /api/v1/attribution-quotas/{attribution}

Cap what runs attributed to one of the caller's own entities may cost or request per hour or day (a streamer's daily AI budget on Live).

Capabilities
ai.quota.attribution.manage
Visibility
first-party
Parameters
  • attribution (path, required)
Request body
application/json ai.attribution-quota-put@1
Response
application/json ai.attribution-quota@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.quota.attribution.manage</strong> (first-party): Cap what runs attributed to one of the caller&#39;s own entities may cost or request per hour or day (a streamer&#39;s daily AI budget on Live). Only the service named in the attribution sets, reads or removes its caps; a run over a cap is refused before any provider is called.</p>

DELETE /api/v1/attribution-quotas/{attribution}

Cap what runs attributed to one of the caller's own entities may cost or request per hour or day (a streamer's daily AI budget on Live).

Capabilities
ai.quota.attribution.manage
Visibility
first-party
Parameters
  • attribution (path, required)
Input
ai.attribution-quota-put@1
Response
application/json ai.attribution-quota@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.quota.attribution.manage</strong> (first-party): Cap what runs attributed to one of the caller&#39;s own entities may cost or request per hour or day (a streamer&#39;s daily AI budget on Live). Only the service named in the attribution sets, reads or removes its caps; a run over a cap is refused before any provider is called.</p>

GET /api/v1/audit

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

GET /api/v1/batches

Read the caller's own batches and their items (GET /api/v1/batches, GET /api/v1/batches/:id).

Capabilities
ai.batches.read
Visibility
first-party
Response
application/json ai.batch-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.batches.read</strong> (first-party): Read the caller&#39;s own batches and their items (GET /api/v1/batches, GET /api/v1/batches/:id). Somebody else&#39;s batch is not found.</p>

POST /api/v1/batches

Open a batch of many prompts on OpenVibe.AI (POST /api/v1/batches) and cancel one (POST /api/v1/batches/:id/cancel).

Capabilities
ai.batches.create
Visibility
first-party
Request body
application/json ai.batch-create-request@1
Response
application/json ai.batch-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.batches.create</strong> (first-party): Open a batch of many prompts on OpenVibe.AI (POST /api/v1/batches) and cancel one (POST /api/v1/batches/:id/cancel). A batch is answered later, through a provider&#39;s own batch API when there is one, and is billed at half the retail price. A first-party service needs this grant to open a batch on the network&#39;s own account; a person or a developer app pays with its own account.</p>

GET /api/v1/batches/{id}

Read the caller's own batches and their items (GET /api/v1/batches, GET /api/v1/batches/:id).

Capabilities
ai.batches.read
Visibility
first-party
Parameters
  • id (path, required)
Response
application/json ai.batch-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.batches.read</strong> (first-party): Read the caller&#39;s own batches and their items (GET /api/v1/batches, GET /api/v1/batches/:id). Somebody else&#39;s batch is not found.</p>

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

Open a batch of many prompts on OpenVibe.AI (POST /api/v1/batches) and cancel one (POST /api/v1/batches/:id/cancel).

Capabilities
ai.batches.create
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json ai.batch-create-request@1
Response
application/json ai.batch-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.batches.create</strong> (first-party): Open a batch of many prompts on OpenVibe.AI (POST /api/v1/batches) and cancel one (POST /api/v1/batches/:id/cancel). A batch is answered later, through a provider&#39;s own batch API when there is one, and is billed at half the retail price. A first-party service needs this grant to open a batch on the network&#39;s own account; a person or a developer app pays with its own account.</p>

GET /api/v1/cache

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

DELETE /api/v1/cache

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Input
ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

POST /api/v1/chat

Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app's own runs.

Capabilities
ai.app.run, ai.run.create
Visibility
public, first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.app.run</strong> (public): Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app&#39;s own runs. The app token (sub app:app_&lt;ULID&gt;, project_id prj_&lt;ULID&gt;, env sandbox|production, audience openvibe.ai) runs as its project: every run is metered (platform.usage-sample@1 to OpenVibe.Billing, subject project:prj_&lt;ULID&gt;) against the project&#39;s bounded free allowance, and metered capacity is spent only under the project&#39;s tier budget; a sandbox run, and every run no tier budget governs, uses only free and local capacity. An app runs only these operations (never a workflow by key), never reads another project&#39;s runs, and never uses a person&#39;s BYO provider key.</p> <p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

POST /api/v1/classify

Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app's own runs.

Capabilities
ai.app.run, ai.run.create
Visibility
public, first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.app.run</strong> (public): Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app&#39;s own runs. The app token (sub app:app_&lt;ULID&gt;, project_id prj_&lt;ULID&gt;, env sandbox|production, audience openvibe.ai) runs as its project: every run is metered (platform.usage-sample@1 to OpenVibe.Billing, subject project:prj_&lt;ULID&gt;) against the project&#39;s bounded free allowance, and metered capacity is spent only under the project&#39;s tier budget; a sandbox run, and every run no tier budget governs, uses only free and local capacity. An app runs only these operations (never a workflow by key), never reads another project&#39;s runs, and never uses a person&#39;s BYO provider key.</p> <p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

GET /api/v1/credentials/{subject}

Store, read (never the key) or delete a person's own provider key, for runs made on their behalf with it (ai.run-request credential).

Capabilities
ai.credential.manage
Visibility
first-party
Parameters
  • subject (path, required)
  • provider (query, required) — openai = any OpenAI-compatible endpoint. node = the person's own machine: a model on their own model server, through their OpenVibe Link and OpenVibe.Bot (no key, no base_url, no cost).
  • machine (query) — provider link: the person's own machine (openvibe.link/machines) whose OpenVibe Link runs the model (the ai plugin, contracts 0.219.0), or `any` (contracts 0.221.0): whichever of their machines is on, lets their AI use its models and offers the model, the fastest first, the next one when it is busy or away. Never anyone else's machine.
  • base_url (query)
  • api_key (query) — Required the first time, and whenever provider or base_url changes (a key is never sent to a new endpoint without being entered again); otherwise the stored key is kept.
  • models (query) — Model per Live role; `chat` is the default for the others.
  • budget_usd_per_day (query) — The person's own daily cap on estimated spend with this key; 0 or absent = no cap.
Input
ai.credential-put@1
Response
application/json ai.credential@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.credential.manage</strong> (first-party): Store, read (never the key) or delete a person&#39;s own provider key, for runs made on their behalf with it (ai.run-request credential). Only the service that stored a credential reads, uses or changes it.</p>

PUT /api/v1/credentials/{subject}

Store, read (never the key) or delete a person's own provider key, for runs made on their behalf with it (ai.run-request credential).

Capabilities
ai.credential.manage
Visibility
first-party
Parameters
  • subject (path, required)
Request body
application/json ai.credential-put@1
Response
application/json ai.credential@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.credential.manage</strong> (first-party): Store, read (never the key) or delete a person&#39;s own provider key, for runs made on their behalf with it (ai.run-request credential). Only the service that stored a credential reads, uses or changes it.</p>

DELETE /api/v1/credentials/{subject}

Store, read (never the key) or delete a person's own provider key, for runs made on their behalf with it (ai.run-request credential).

Capabilities
ai.credential.manage
Visibility
first-party
Parameters
  • subject (path, required)
  • provider (query, required) — openai = any OpenAI-compatible endpoint. node = the person's own machine: a model on their own model server, through their OpenVibe Link and OpenVibe.Bot (no key, no base_url, no cost).
  • machine (query) — provider link: the person's own machine (openvibe.link/machines) whose OpenVibe Link runs the model (the ai plugin, contracts 0.219.0), or `any` (contracts 0.221.0): whichever of their machines is on, lets their AI use its models and offers the model, the fastest first, the next one when it is busy or away. Never anyone else's machine.
  • base_url (query)
  • api_key (query) — Required the first time, and whenever provider or base_url changes (a key is never sent to a new endpoint without being entered again); otherwise the stored key is kept.
  • models (query) — Model per Live role; `chat` is the default for the others.
  • budget_usd_per_day (query) — The person's own daily cap on estimated spend with this key; 0 or absent = no cap.
Input
ai.credential-put@1
Response
application/json ai.credential@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.credential.manage</strong> (first-party): Store, read (never the key) or delete a person&#39;s own provider key, for runs made on their behalf with it (ai.run-request credential). Only the service that stored a credential reads, uses or changes it.</p>

POST /api/v1/embed

Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app's own runs.

Capabilities
ai.app.run, ai.run.create
Visibility
public, first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.app.run</strong> (public): Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app&#39;s own runs. The app token (sub app:app_&lt;ULID&gt;, project_id prj_&lt;ULID&gt;, env sandbox|production, audience openvibe.ai) runs as its project: every run is metered (platform.usage-sample@1 to OpenVibe.Billing, subject project:prj_&lt;ULID&gt;) against the project&#39;s bounded free allowance, and metered capacity is spent only under the project&#39;s tier budget; a sandbox run, and every run no tier budget governs, uses only free and local capacity. An app runs only these operations (never a workflow by key), never reads another project&#39;s runs, and never uses a person&#39;s BYO provider key.</p> <p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

POST /api/v1/enrich

Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller's own runs and attach citations to them.

Capabilities
ai.run.create
Visibility
first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

POST /api/v1/extract

Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app's own runs.

Capabilities
ai.app.run, ai.run.create
Visibility
public, first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.app.run</strong> (public): Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app&#39;s own runs. The app token (sub app:app_&lt;ULID&gt;, project_id prj_&lt;ULID&gt;, env sandbox|production, audience openvibe.ai) runs as its project: every run is metered (platform.usage-sample@1 to OpenVibe.Billing, subject project:prj_&lt;ULID&gt;) against the project&#39;s bounded free allowance, and metered capacity is spent only under the project&#39;s tier budget; a sandbox run, and every run no tier budget governs, uses only free and local capacity. An app runs only these operations (never a workflow by key), never reads another project&#39;s runs, and never uses a person&#39;s BYO provider key.</p> <p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

POST /api/v1/generate

Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app's own runs.

Capabilities
ai.app.run, ai.run.create
Visibility
public, first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.app.run</strong> (public): Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app&#39;s own runs. The app token (sub app:app_&lt;ULID&gt;, project_id prj_&lt;ULID&gt;, env sandbox|production, audience openvibe.ai) runs as its project: every run is metered (platform.usage-sample@1 to OpenVibe.Billing, subject project:prj_&lt;ULID&gt;) against the project&#39;s bounded free allowance, and metered capacity is spent only under the project&#39;s tier budget; a sandbox run, and every run no tier budget governs, uses only free and local capacity. An app runs only these operations (never a workflow by key), never reads another project&#39;s runs, and never uses a person&#39;s BYO provider key.</p> <p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

GET /api/v1/me/ai/preferences

The person's own AI settings (L36 Y1): GET /api/v1/me/credentials lists the provider keys they hold themselves, never a key (a four-character hint only), and GET /api/v1/me/ai/preferences reads how th

Capabilities
ai.me.read
Visibility
public
Response
application/json ai.me-credential-list@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.me.read</strong> (public): The person&#39;s own AI settings (L36 Y1): GET /api/v1/me/credentials lists the provider keys they hold themselves, never a key (a four-character hint only), and GET /api/v1/me/ai/preferences reads how their runs route. Only the person may call it — their Network user token, or the person session on AI&#39;s own site behind a same-origin check. A service token is refused, and so is any token carrying on_behalf_of, whatever capabilities it holds.</p>

PUT /api/v1/me/ai/preferences

The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and

Capabilities
ai.me.manage
Visibility
public
Request body
application/json ai.me-credential-put@1
Response
application/json ai.me-credential@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.me.manage</strong> (public): The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and PUT /api/v1/me/ai/preferences. A key is tested on save (models, or a one-token request), sealed at rest and never returned, logged or put in an error. Only the person may call it — a service token or any token carrying on_behalf_of is refused, whatever capabilities it holds.</p>

GET /api/v1/me/credentials

The person's own AI settings (L36 Y1): GET /api/v1/me/credentials lists the provider keys they hold themselves, never a key (a four-character hint only), and GET /api/v1/me/ai/preferences reads how th

Capabilities
ai.me.read
Visibility
public
Response
application/json ai.me-credential-list@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.me.read</strong> (public): The person&#39;s own AI settings (L36 Y1): GET /api/v1/me/credentials lists the provider keys they hold themselves, never a key (a four-character hint only), and GET /api/v1/me/ai/preferences reads how their runs route. Only the person may call it — their Network user token, or the person session on AI&#39;s own site behind a same-origin check. A service token is refused, and so is any token carrying on_behalf_of, whatever capabilities it holds.</p>

PUT /api/v1/me/credentials/{provider}

The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and

Capabilities
ai.me.manage
Visibility
public
Parameters
  • provider (path, required)
Request body
application/json ai.me-credential-put@1
Response
application/json ai.me-credential@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.me.manage</strong> (public): The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and PUT /api/v1/me/ai/preferences. A key is tested on save (models, or a one-token request), sealed at rest and never returned, logged or put in an error. Only the person may call it — a service token or any token carrying on_behalf_of is refused, whatever capabilities it holds.</p>

DELETE /api/v1/me/credentials/{provider}

The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and

Capabilities
ai.me.manage
Visibility
public
Parameters
  • provider (path, required)
  • key (query) — The provider key. Required the first time and whenever base_url changes; optional afterwards, when the stored key is kept. Never returned.
  • base_url (query) — The endpoint, for a custom provider or to override the provider's own. https only, no credentials, query or fragment; reached through the guarded fetcher's egress rules.
  • budget_usd_per_day (query) — The person's own daily cap on this key; 0 or absent means no cap.
  • models (query) — The model this key should use per kind of work. `auto` is not a model: absent means the provider's default, and the person's ai.me-preferences choose between keys.
Input
ai.me-credential-put@1
Response
application/json ai.me-credential@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.me.manage</strong> (public): The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and PUT /api/v1/me/ai/preferences. A key is tested on save (models, or a one-token request), sealed at rest and never returned, logged or put in an error. Only the person may call it — a service token or any token carrying on_behalf_of is refused, whatever capabilities it holds.</p>

POST /api/v1/me/credentials/{provider}/test

The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and

Capabilities
ai.me.manage
Visibility
public
Parameters
  • provider (path, required)
Request body
application/json ai.me-credential-put@1
Response
application/json ai.me-credential@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.me.manage</strong> (public): The person stores, tests and deletes their own provider keys and chooses how their runs route (L36 Y1/Y3): PUT/DELETE /api/v1/me/credentials/{provider}, POST /api/v1/me/credentials/{provider}/test and PUT /api/v1/me/ai/preferences. A key is tested on save (models, or a one-token request), sealed at rest and never returned, logged or put in an error. Only the person may call it — a service token or any token carrying on_behalf_of is refused, whatever capabilities it holds.</p>

GET /api/v1/memory/items

Read a person's memory from OpenVibe.AI (Memory M2): GET /api/v1/memory/items, /items/{id}, /profile and /search.

Capabilities
ai.memory.read
Visibility
first-party
Response
application/json ai.memory-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.memory.read</strong> (first-party): Read a person&#39;s memory from OpenVibe.AI (Memory M2): GET /api/v1/memory/items, /items/{id}, /profile and /search. The person&#39;s own token reads their own items; a service with ai.memory.read acting on_behalf_of a person searches only the scopes its grant names (user always; project:* only for Codes runs in that project), gets active items only, at most 8, and is audited in memory_reads with item ids and never text. Suggested, archived and conflict items never reach an agent.</p>

DELETE /api/v1/memory/items

Store and change a person's memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DE

Capabilities
ai.memory.write
Visibility
first-party
Parameters
  • items (query)
  • text (query)
  • kind (query)
  • scope (query)
  • status (query)
  • source (query)
Input
ai.memory-write-request@1
Response
application/json ai.memory-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.memory.write</strong> (first-party): Store and change a person&#39;s memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DELETE /items?source= remove rows. The person&#39;s own token or a service acting on_behalf_of them. Redaction runs again on the server (openvibe-sdk/redact), an item that is only a secret is refused, AI-produced items are suggestions until the person accepts them, and a delete removes the row (profiles that used it are rebuilt).</p>

POST /api/v1/memory/items{batch}

Store and change a person's memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DE

Capabilities
ai.memory.write
Visibility
first-party
Parameters
  • batch (path, required)
Request body
application/json ai.memory-write-request@1
Response
application/json ai.memory-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.memory.write</strong> (first-party): Store and change a person&#39;s memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DELETE /items?source= remove rows. The person&#39;s own token or a service acting on_behalf_of them. Redaction runs again on the server (openvibe-sdk/redact), an item that is only a secret is refused, AI-produced items are suggestions until the person accepts them, and a delete removes the row (profiles that used it are rebuilt).</p>

GET /api/v1/memory/items/{id}

Read a person's memory from OpenVibe.AI (Memory M2): GET /api/v1/memory/items, /items/{id}, /profile and /search.

Capabilities
ai.memory.read
Visibility
first-party
Parameters
  • id (path, required)
Response
application/json ai.memory-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.memory.read</strong> (first-party): Read a person&#39;s memory from OpenVibe.AI (Memory M2): GET /api/v1/memory/items, /items/{id}, /profile and /search. The person&#39;s own token reads their own items; a service with ai.memory.read acting on_behalf_of a person searches only the scopes its grant names (user always; project:* only for Codes runs in that project), gets active items only, at most 8, and is audited in memory_reads with item ids and never text. Suggested, archived and conflict items never reach an agent.</p>

PATCH /api/v1/memory/items/{id}

Store and change a person's memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DE

Capabilities
ai.memory.write
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json ai.memory-write-request@1
Response
application/json ai.memory-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.memory.write</strong> (first-party): Store and change a person&#39;s memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DELETE /items?source= remove rows. The person&#39;s own token or a service acting on_behalf_of them. Redaction runs again on the server (openvibe-sdk/redact), an item that is only a secret is refused, AI-produced items are suggestions until the person accepts them, and a delete removes the row (profiles that used it are rebuilt).</p>

DELETE /api/v1/memory/items/{id}

Store and change a person's memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DE

Capabilities
ai.memory.write
Visibility
first-party
Parameters
  • id (path, required)
  • items (query)
  • text (query)
  • kind (query)
  • scope (query)
  • status (query)
  • source (query)
Input
ai.memory-write-request@1
Response
application/json ai.memory-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.memory.write</strong> (first-party): Store and change a person&#39;s memory in OpenVibe.AI (Memory M2): POST /api/v1/memory/items:batch imports up to 200 items, PATCH /items/{id} changes text, kind, scope or status, DELETE /items/{id} and DELETE /items?source= remove rows. The person&#39;s own token or a service acting on_behalf_of them. Redaction runs again on the server (openvibe-sdk/redact), an item that is only a secret is refused, AI-produced items are suggestions until the person accepts them, and a delete removes the row (profiles that used it are rebuilt).</p>

GET /api/v1/memory/profile

Read a person's memory from OpenVibe.AI (Memory M2): GET /api/v1/memory/items, /items/{id}, /profile and /search.

Capabilities
ai.memory.read
Visibility
first-party
Response
application/json ai.memory-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.memory.read</strong> (first-party): Read a person&#39;s memory from OpenVibe.AI (Memory M2): GET /api/v1/memory/items, /items/{id}, /profile and /search. The person&#39;s own token reads their own items; a service with ai.memory.read acting on_behalf_of a person searches only the scopes its grant names (user always; project:* only for Codes runs in that project), gets active items only, at most 8, and is audited in memory_reads with item ids and never text. Suggested, archived and conflict items never reach an agent.</p>

GET /api/v1/models

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

POST /api/v1/models

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

PATCH /api/v1/models/{provider}/{model}

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Parameters
  • provider (path, required)
  • model (path, required)
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

GET /api/v1/providers

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

POST /api/v1/providers

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

PATCH /api/v1/providers/{key}

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Parameters
  • key (path, required)
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

POST /api/v1/providers/{key}/disable

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Parameters
  • key (path, required)
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

POST /api/v1/providers/{key}/enable

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Parameters
  • key (path, required)
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

POST /api/v1/providers/{key}/reset

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Parameters
  • key (path, required)
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

GET /api/v1/quotas

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

POST /api/v1/quotas

Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.

Capabilities
ai.provider.manage
Visibility
internal
Request body
application/json ai.provider-manage-request@1
Response
application/json ai.provider-manage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.provider.manage</strong> (internal): Register, update, enable and disable providers and models (secrets only as env references, never values), reset circuit breakers, set quotas and purge the cache.</p>

GET /api/v1/requests

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

POST /api/v1/routes/{key}/versions

Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled).

Capabilities
ai.workflow.manage
Visibility
internal
Parameters
  • key (path, required)
Request body
application/json ai.definition-version-request@1
Response
application/json ai.definition-version-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.workflow.manage</strong> (internal): Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled). Every change is audited; edits never overwrite a version.</p>

POST /api/v1/routes/{key}/versions/{version}/status

Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled).

Capabilities
ai.workflow.manage
Visibility
internal
Parameters
  • key (path, required)
  • version (path, required)
Request body
application/json ai.definition-version-request@1
Response
application/json ai.definition-version-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.workflow.manage</strong> (internal): Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled). Every change is audited; edits never overwrite a version.</p>

GET /api/v1/runs

Read the caller's own runs, their citations and request-log metadata (hashes, tokens, latency; never raw prompts).

Capabilities
ai.run.read
Visibility
first-party
Response
application/json ai.run-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.run.read</strong> (first-party): Read the caller&#39;s own runs, their citations and request-log metadata (hashes, tokens, latency; never raw prompts).</p>

POST /api/v1/runs

Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller's own runs and attach citations to them.

Capabilities
ai.run.create
Visibility
first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

GET /api/v1/runs/{id}

Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app's own runs.

Capabilities
ai.app.run, ai.run.read
Visibility
public, first-party
Parameters
  • id (path, required)
Input
ai.run-create-request@1
Response
application/json one of ai.run-create-result@1, ai.run-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.app.run</strong> (public): Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app&#39;s own runs. The app token (sub app:app_&lt;ULID&gt;, project_id prj_&lt;ULID&gt;, env sandbox|production, audience openvibe.ai) runs as its project: every run is metered (platform.usage-sample@1 to OpenVibe.Billing, subject project:prj_&lt;ULID&gt;) against the project&#39;s bounded free allowance, and metered capacity is spent only under the project&#39;s tier budget; a sandbox run, and every run no tier budget governs, uses only free and local capacity. An app runs only these operations (never a workflow by key), never reads another project&#39;s runs, and never uses a person&#39;s BYO provider key.</p> <p><strong>ai.run.read</strong> (first-party): Read the caller&#39;s own runs, their citations and request-log metadata (hashes, tokens, latency; never raw prompts).</p>

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

Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller's own runs and attach citations to them.

Capabilities
ai.run.create
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

GET /api/v1/runs/{id}/citations

Read the caller's own runs, their citations and request-log metadata (hashes, tokens, latency; never raw prompts).

Capabilities
ai.run.read
Visibility
first-party
Parameters
  • id (path, required)
Response
application/json ai.run-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.run.read</strong> (first-party): Read the caller&#39;s own runs, their citations and request-log metadata (hashes, tokens, latency; never raw prompts).</p>

POST /api/v1/runs/{id}/citations

Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller's own runs and attach citations to them.

Capabilities
ai.run.create
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

POST /api/v1/runs/{id}/retry

Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller's own runs and attach citations to them.

Capabilities
ai.run.create
Visibility
first-party
Parameters
  • id (path, required)
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

GET /api/v1/status

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

POST /api/v1/summarize

Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app's own runs.

Capabilities
ai.app.run, ai.run.create
Visibility
public, first-party
Request body
application/json ai.run-create-request@1
Response
application/json ai.run-create-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.app.run</strong> (public): Run the AI operations as a developer app (ADR-014): POST /api/v1/chat, /generate, /summarize, /classify, /extract, /embed and GET /api/v1/runs/:id for the app&#39;s own runs. The app token (sub app:app_&lt;ULID&gt;, project_id prj_&lt;ULID&gt;, env sandbox|production, audience openvibe.ai) runs as its project: every run is metered (platform.usage-sample@1 to OpenVibe.Billing, subject project:prj_&lt;ULID&gt;) against the project&#39;s bounded free allowance, and metered capacity is spent only under the project&#39;s tier budget; a sandbox run, and every run no tier budget governs, uses only free and local capacity. An app runs only these operations (never a workflow by key), never reads another project&#39;s runs, and never uses a person&#39;s BYO provider key.</p> <p><strong>ai.run.create</strong> (first-party): Create workflow runs (POST /api/v1/runs and the direct chat/generate/summarize/classify/extract/enrich/embed operations), cancel or retry the caller&#39;s own runs and attach citations to them. A token&#39;s <code>ns</code> claim limits which workflow namespaces it may run (live.*, wiki.*, ...). Quotas are checked before any provider call.</p>

POST /api/v1/templates/{key}/versions

Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled).

Capabilities
ai.workflow.manage
Visibility
internal
Parameters
  • key (path, required)
Request body
application/json ai.definition-version-request@1
Response
application/json ai.definition-version-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.workflow.manage</strong> (internal): Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled). Every change is audited; edits never overwrite a version.</p>

POST /api/v1/templates/{key}/versions/{version}/status

Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled).

Capabilities
ai.workflow.manage
Visibility
internal
Parameters
  • key (path, required)
  • version (path, required)
Request body
application/json ai.definition-version-request@1
Response
application/json ai.definition-version-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.workflow.manage</strong> (internal): Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled). Every change is audited; edits never overwrite a version.</p>

POST /api/v1/ui/layout/suggest

Turn a person's words into a ui.layout@1 for one surface, using only the parts its ui.surface@1 catalog has.

Capabilities
ai.layout.suggest
Visibility
first-party
Request body
application/json ui.layout-request@1
Response
application/json ui.layout-suggestion@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.layout.suggest</strong> (first-party): Turn a person&#39;s words into a ui.layout@1 for one surface, using only the parts its ui.surface@1 catalog has. The answer is checked by openvibe-sdk/ui-layout against the same catalog; an invalid answer gets one retry with the validator&#39;s reasons, then the task says plainly that it could not do it. The suggestion is previewed, never applied. Runs on the cheap structured-output route with the per-person limits every AI run uses, and its receipt names the model. POST /api/v1/ui/layout/suggest with a service token; OpenVibe.Network calls it for the signed-in person and names them in X-OV-Subject.</p>

GET /api/v1/usage

Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller's runs.

Capabilities
ai.usage.read
Visibility
internal
Response
application/json ai.usage-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.read</strong> (internal): Read usage, quota windows, request logs, the audit log, cache statistics, the admin summary and any caller&#39;s runs.</p>

POST /api/v1/usage/calls

Report AI calls a product made without OpenVibe.AI (ai.call-report@1): AI prices any that bring no price, records each once and publishes ai.call.recorded@1, so every AI call on the network is in one

Capabilities
ai.usage.report
Visibility
internal
Request body
application/json ai.call-report@1
Response
—
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.usage.report</strong> (internal): Report AI calls a product made without OpenVibe.AI (ai.call-report@1): AI prices any that bring no price, records each once and publishes ai.call.recorded@1, so every AI call on the network is in one meter.</p>

POST /api/v1/workflows/{key}/versions

Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled).

Capabilities
ai.workflow.manage
Visibility
internal
Parameters
  • key (path, required)
Request body
application/json ai.definition-version-request@1
Response
application/json ai.definition-version-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.workflow.manage</strong> (internal): Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled). Every change is audited; edits never overwrite a version.</p>

POST /api/v1/workflows/{key}/versions/{version}/status

Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled).

Capabilities
ai.workflow.manage
Visibility
internal
Parameters
  • key (path, required)
  • version (path, required)
Request body
application/json ai.definition-version-request@1
Response
application/json ai.definition-version-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.workflow.manage</strong> (internal): Create new versions of prompt templates, workflow definitions and routing profiles, and change their lifecycle status (draft, active, deprecated, archived; routes active/disabled). Every change is audited; edits never overwrite a version.</p>

GET /internal/config

Manage the ai.exchange and ai.provider_keys namespaces of OpenVibe.AI through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns

Capabilities
ai.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>ai.config.manage</strong> (internal): Manage the ai.exchange and ai.provider_keys namespaces of OpenVibe.AI 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 ai.exchange and ai.provider_keys namespaces of OpenVibe.AI through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns

Capabilities
ai.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>ai.config.manage</strong> (internal): Manage the ai.exchange and ai.provider_keys namespaces of OpenVibe.AI 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 ai.exchange and ai.provider_keys namespaces of OpenVibe.AI through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns

Capabilities
ai.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>ai.config.manage</strong> (internal): Manage the ai.exchange and ai.provider_keys namespaces of OpenVibe.AI 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 ai.exchange and ai.provider_keys namespaces of OpenVibe.AI through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns

Capabilities
ai.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>ai.config.manage</strong> (internal): Manage the ai.exchange and ai.provider_keys namespaces of OpenVibe.AI 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 ai.exchange and ai.provider_keys namespaces of OpenVibe.AI through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns

Capabilities
ai.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>ai.config.manage</strong> (internal): Manage the ai.exchange and ai.provider_keys namespaces of OpenVibe.AI 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 ai.exchange and ai.provider_keys namespaces of OpenVibe.AI through openvibe-shared/config (D11): GET /internal/config lists the namespace summaries, GET /internal/config/:namespace returns

Capabilities
ai.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>ai.config.manage</strong> (internal): Manage the ai.exchange and ai.provider_keys namespaces of OpenVibe.AI 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 /v1/models

Read the public model catalog: GET /v1/models returns a list (ai.model-list@1) and GET /v1/models/:id returns one catalog entry (ai.model@1).

Capabilities
ai.model.read
Visibility
public
Response
application/json ai.model-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.model.read</strong> (public): Read the public model catalog: GET /v1/models returns a list (ai.model-list@1) and GET /v1/models/:id returns one catalog entry (ai.model@1). Available to developer apps and anonymous callers.</p>

GET /v1/models/{id}

Read the public model catalog: GET /v1/models returns a list (ai.model-list@1) and GET /v1/models/:id returns one catalog entry (ai.model@1).

Capabilities
ai.model.read
Visibility
public
Parameters
  • id (path, required)
Response
application/json ai.model-read-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>ai.model.read</strong> (public): Read the public model catalog: GET /v1/models returns a list (ai.model-list@1) and GET /v1/models/:id returns one catalog entry (ai.model@1). Available to developer apps and anonymous callers.</p>

POST /v1/search/icons

Search icon references through the Exchange platform API (POST /v1/search/icons at api.openvibe.exchange, served by OpenVibe.AI).

Capabilities
exchange.search.icons
Visibility
first-party
Response
application/json exchange.image-result@1
Errors
errors.problem@1 (application/problem+json)
Description<p><strong>exchange.search.icons</strong> (first-party): Search icon references through the Exchange platform API (POST /v1/search/icons at api.openvibe.exchange, served by OpenVibe.AI). A first-party service holds only this route and its own free-search quota: no Exchange key, no inference, no web, image or fetch search. The receipt names the engine, the provider cost and each skipped attempt; results carry the icon set, author and licence. OpenVibe.Design uses it to show references beside a glyph draft.</p>