Tasks
The organization's executable skills: registration, run, pre-check and the HTTP run endpoint.
List tasks
List tasks
Create task
The task is created in the default pricing tier; tier and AI model are set by Kobana (`model` in the body is rejected).
Get task details
Get task details
Update task
Update task
Delete tasks (soft delete)
Requires the `delete` level (or `all`): `write` does not delete. Cascade: the task's executions and files; cancels schedules and disables the endpoint.
Run task
Run task
Task HTTP run endpoint
Configuration of the public endpoint `POST /api/run-task/{task_id}`. Credentials are never returned: only the `*_set` flags.
Configure the Task's HTTP endpoint
Creates or updates. An omitted credential keeps the stored one as long as the auth type does not change. Avoid `auth: params`: the secret goes in the URL and ends up in proxy and CDN access logs; prefer `bearer` or `header`.
Disable the Task's HTTP endpoint
Keeps the configuration; a PUT with `enabled: true` re-enables it.
Run pre-check
Whether the Task can run in the environment: valid environment and a value for every required secret (in the Task's workspace or global). Also returns the Task's queue. The run revalidates everything.