Submit a task

View as Markdown

Submits a human task’s output; record-writing tasks additionally require data-record:write.

Authentication

AuthorizationBearer

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

Path parameters

projectIdstringRequired
runIdstringRequired
taskIdstringRequired

Request

This endpoint expects an object.
outputmap from strings to anyOptional
The task's output values.
recordIdstringOptional

The record id picked for a lookup-then-edit task without a context path.

Response

The submission result.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error