actor.task.create

Generated at from openvibe-contracts v0.127.0 and openvibe-sdk v0.37.0.

Grantable to apps: request it for an app on its project page. Network approves it only inside the project's allowance.

Give OpenVibe.Actor a task: POST /api/v1/tasks with the task in plain words, a mode (cheapest, balanced, best, fastest, private) and a budget. Actor picks the agent system for it with openvibe-sdk/placement, runs it, has a second model family check the result, and records the result, the cost to the cent and the explanation on the task (platform.task@1, answered 201 with state queued). POST /api/v1/tasks/:id/cancel stops a task that has not ended. A person's tasks are theirs; a token that names a project puts the task in that project. Each person has a daily free allowance; a task whose cheapest eligible agent would cost more than its budget fails with actor.budget.exceeded instead of running.

Owner
actor (token audience openvibe.actor)
Version
1.0
Status
active
Visibility
public
Resource constraints
owner, project
Quota class
actor-task
Permissions
actor:tasks:create
Input
actor.task-create-request@1
Output
platform.task@1
Events
—
Implemented by
  • POST /api/v1/tasks
  • POST /api/v1/tasks/:id/cancel

These routes in the API explorer