The API
Everything the site does is this API. Tasks are platform.task@1; the contracts and capabilities are in OpenVibe.Contracts.
Who can call it
- A person: their OpenVibe Network token as
Authorization: Bearer(or this site's sign-in). Tasks are theirs and use their free tier. - An app or agent: a Network token for audience
openvibe.actorwith theactor.task.*capability the route needs, granted on OpenVibe.Services. Tasks belong to the app's project. - Anyone:
GET /api/v1/agents(with no person: the catalog),GET /api/v1/agent-systems,GET /api/v1/agents/presets,POST /api/v1/route, the skills registry (GET /api/v1/skills,GET /api/v1/skills/:id) and the live stats (GET /api/v1/stats/tools,GET /api/v1/stats/models) need no token.
| Route | Capability | What it does |
|---|---|---|
POST /api/v1/tasks | actor.task.create | Create a task: { task, mode?, budget?: { per_task_usd, per_day_usd }, agent?, agent_id?, level?, idempotency_key?, webhooks?: [{ url, events, secret_ref? }] }. agent pins an agent system; agent_id names one of the person's contacts (default Vibe) and level is the thread's own level. Answers 201 with the task (queued); with webhooks, also its webhook_secret, this once, unless every webhook names a project secret (webhooks). |
GET /api/v1/tasks/:id | actor.task.read | The task: state, result, cost, explanation, error. While it runs on a desk of its own, desk (url: the person's page to watch it live and take it over; kind: browser or desktop); while it waits for its person to do a step there, needs_you (what, url). |
GET /api/v1/tasks/:id/events | actor.task.read | Server-sent events (actor.task-event@2): state, output (each step; a tool result that made a file or chart carries artifacts, and a step names its assignment node in assignment_id), end. Resumes with Last-Event-ID. |
GET /api/v1/tasks/:id/trace | actor.task.read | The span numbers and names only: each model, tool, check, judge and sub-agent call with its kind, name, tier, family, start, ms, cost, tokens, ok, error code and loop step, plus model cost, tool cost and time. Another person gets the same 404 as a task that does not exist. |
GET /tasks/:id/files/:artifact | the task's own page | A file or chart the task made, out of Actor's own database and private to the person who asked: their own page opens it, another person gets the same 404 as a task that does not exist. |
POST /api/v1/tasks/:id/cancel | actor.task.create | Stop it. What was spent stays spent. |
GET /api/v1/tasks | actor.task.list | Your tasks, newest first; ?limit=, ?before= (the next cursor). |
GET /api/v1/assignments/:id | actor.assignment.read | One node of your delegated-work tree and its children (actor.assignment-tree@1, each node actor.assignment@1): origin, mode, reply, agent, task, level and effective level, the root's budget, state and times. Another person gets 404. |
POST /api/v1/assignments/:id/cancel | actor.assignment.cancel | Cancel that node and every node below it; the tasks still running under the tree are stopped. Answers the node and the nodes it cancelled (actor.assignment-cancel-result@1). Another person gets 404. |
GET /api/v1/agents | public / person | With no person: the agent systems, what each can do, its price and whether it works now (actor.agent-list-result@2). With a person: their own agent contacts, Vibe first (actor.agent-list@1). |
GET /api/v1/agent-systems | public | The agent systems even when signed in (the explicit catalog path). |
GET /api/v1/agents/presets | public | The four presets a create can copy: Researcher, Inbox, Studio editor and Party host. |
POST /api/v1/agents, GET/PATCH/DELETE /api/v1/agents/:id, PUT /api/v1/agents/:id/level | actor.agent.manage (the person) | A person's agent contacts (actor.agent@1): create from a preset or with { name, face?, voice?, model?, computer?, apps?, memory?, level? }, read, change, delete (Vibe answers 409 actor.agent.vibe) and set the level with { level } (actor.level-change@1). The default is ask; money, passwords, deletions and sending to a new recipient always ask. |
POST /api/v1/route | public | { task, mode? } answers which agent would take it and why, for every candidate. Nothing runs and nothing is charged. |
GET /api/v1/stats/tools, GET /api/v1/stats/models | public | Live per-tool and per-model numbers over the last 7 days: { name, n, successRate, p50ms, p90ms, meanCostUsd, lastFailureAt }. Names and numbers only, and only rows with n >= 20, so no one person's use shows. |
GET /api/v1/skills, GET /api/v1/skills/:id | public | The skills registry (the catalogue): one listing per skill (actor.skill-listing@1, or @2 with the Media id and sha256 of each code resource) with the document as published, the publisher the registry vouches for, the scan's state and its findings, and the curator's state. A skill is a document anybody may read; a sandbox skill's code runs on a machine that declared the skill runner, never on Actor's server. |
POST /api/v1/me/agents/:id/skills, DELETE /api/v1/me/agents/:id/skills/:listingId | actor.agent.manage (the person) | Install a skill on one of your own agents, or take it back. Installing grants nothing: the agent's level and your approvals still decide every step. A flagged skill needs { read_findings: true }; a failed one never installs. |
Create a task, then watch it
curl -s https://openvibe.actor/api/v1/tasks \
-H "authorization: Bearer $TOKEN" \
-H 'content-type: application/json' \
-d '{"task":"Is the TLS certificate of example.com valid, and when does it expire?","mode":"cheapest"}'
# 201 { "id": "tsk_…", "state": "queued", "progress": { "stream_url": "…/events" }, … }curl -N https://openvibe.actor/api/v1/tasks/tsk_…/events -H "authorization: Bearer $TOKEN"
id: 3
event: output
data: {"task_id":"tsk_…","seq":3,"kind":"output","agent":"openvibe-runtime","step":"tool_call","tool":"run_tool","input":"ssl {\"target\":\"example.com\"}"}Webhooks
Give a task up to 8 HTTPS endpoints and the state changes each wants (queued, running, verifying, succeeded, failed, cancelled). Actor POSTs actor.task-webhook@1 to each: { type: "actor.task.state", delivery_id, state, task }, with the task as it was at that moment.
- Signed per task. The answer that creates the task carries
webhook_secret, and nothing else ever shows it. Each delivery hasX-OpenVibe-TimestampandX-OpenVibe-Signature-V2, exactly like an OpenVibe.Events delivery, soverifyDeliveryV2(rawBody, headers, secret)fromopenvibe-sdk/eventschecks it (and the five-minute window). - Or with your project's secret. A project's app or agent may name a project secret instead (
secret_ref): grant it toactorfor signing on openvibe.services, and OpenVibe.Network signs each delivery with it in the same headers. Actor never sees the value, and you verify with your own secret. - Retried. A 2xx answer is delivered. 410 Gone ends it. Anything else is retried after 10 s, 1 min, 5 min, 30 min, 2 h, 6 h and 12 h.
delivery_id(alsoX-OpenVibe-Delivery-Id) is the same on every attempt: dedupe on it. - Public endpoints only. HTTPS on port 443 or 8443, no credentials in the URL, and only public addresses, checked when the task is created and again when each delivery is sent. Redirects are not followed.
Limits and money
The free tier: 20 tasks a day, up to $0.05 a task and $0.05 a day (limits.json). A budget above the tier is refused (actor.budget.over_tier), never lowered. A task whose cheapest capable agent would cost more than its budget fails before running (actor.budget.exceeded). cost.usd is what each model call and web search really cost at the published prices.
Errors
Every refusal is RFC 9457 application/problem+json with a stable code. A task that fails says why in error:
| Code | Meaning |
|---|---|
actor.task.invalid | The request does not match actor.task-create-request@1. |
actor.webhook.refused | A webhook URL Actor will not deliver to: not HTTPS on 443/8443, credentials in it, or not a public address. |
actor.budget.over_tier | The budget is above what the free tier allows. |
actor.allowance.exhausted / actor.budget.day_spent | Today's free tasks or budget are used; Retry-After says when it resets. |
actor.capacity.spent | Actor's free capacity for everyone is used up for today. |
actor.budget.exceeded | The task could not be done within its budget. |
actor.no_agent | No agent that can do this kind of task is available (the detail says which and why). |
actor.agents.exhausted | Every agent that could do it failed or gave an answer that failed its check. |
actor.check.unavailable | The answer could not be checked, so it was not delivered. |
actor.task.timeout / actor.task.interrupted | It ran too long, or Actor restarted while it ran. |