API Reference · Agent Tasks

Answer a paused agent task's question

When an agent is blocked on something only you know (a credential, an address, a choice, an approval) it pauses the task with its question in `result` (`NEED_HUMAN: <question>`) and `status: paused`. POST your answer here — it goes into the same agent session and the task resumes (`status` returns to `running`). Only valid while the task is paused.

POST/v1/tenants/{name}/tasks/{taskId}/answer

Authorization

x-api-keystringrequired
Your per-workspace API key, e.g. llc_AbC123…. Also accepted as Authorization: Bearer <key>. Mint keys on your workspace's API keys page — each key belongs to one workspace.

Path parameters

namestringrequired
Workspace (tenant) name.
taskIdstringrequired

Body

textstringrequired
e.g. use the staging credentials from 1Password

Response

200Answer delivered — the task is running again.

idstring
statusenum
One of: running.
curl -X POST https://api.live-llm.com/v1/tenants/acme/tasks/taskId/answer \
  -H "x-api-key: $LIVELLM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "use the staging credentials from 1Password"
  }'
Try itPOSThttps://api.live-llm.com/v1/tenants/{name}/tasks/{taskId}/answer
Fill required path params: name, taskId.
Example response200
{
  "id": "task_a412",
  "status": "running"
}