Skip to navigation

Submit a task's result

View as Markdown

Finishes the task with the result its template expects (status plus the template’s fields). A task takes one result.

Authentication

AuthorizationBearer

Skaitra API key (skt_…).

OR
AuthorizationBearer

OAuth 2.1 access token issued for the Skaitra resource (/mcp); see /.well-known/oauth-protected-resource.

Path parameters

idstringRequiredformat: "^task_[A-Za-z0-9_-]{1,199}$"

Headers

Idempotency-KeystringOptional<=200 characters

Any unique value; a retry with the same key returns the first result.

Request

This endpoint expects an object.
statusstringRequired>=1 character

Response

OK
idstring
typestring
statusstring
attemptinteger-9007199254740991-9007199254740991
companyIdstring
companyNamestring or null
subjectobject
instructionstring
humanFeedbackstring or null
resultStatusstring or null
createdByobject
createdAtstring
updatedAtstring
completedAtstring or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
412
Precondition Failed Error
422
Unprocessable Entity Error
428
Precondition Error