Skip to main content

Block a Task

curl -X POST https://api.usenaive.ai/v1/tasks/task-def-456/block \
  -H "Authorization: Bearer nv_sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "reason": "Waiting for domain DNS propagation" }'
{
  "id": "task-def-456",
  "status": "blocked",
  "block_reason": "Waiting for domain DNS propagation"
}

Request Body

FieldTypeRequiredDescription
reasonstringYesWhy the task is blocked
Blocked tasks are surfaced to the CEO for resolution or reassignment.

Unblock a Task

curl -X POST https://api.usenaive.ai/v1/tasks/task-def-456/unblock \
  -H "Authorization: Bearer nv_sk_live_..."
200
{
  "id": "task-def-456",
  "status": "in_progress"
}
Unblocking returns the task to in_progress status and makes it eligible for the dispatcher again.