Claim a task

View as Markdown
Claims an available human task for the caller.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
runIdstringRequired
taskIdstringRequired

Response

The claimed task state.
taskmap from strings to any
An arbitrary JSON object.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error