Skip to main content
POST
Answer a procedure task

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Headers

Idempotency-Key
string
required

Client-chosen key for safe retries: 1-128 letters, digits, -, _, . or :. Use a new random UUID for each intended operation and the same key when retrying it. Do not put customer data or credentials in the key.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9\-_.:]+$

Path Parameters

taskId
string<uuid>
required

Body

application/json
answer
object
required

The answer; it must match the task’s answerSchema.

comment
string

A note kept with the answer, for people.

Required string length: 1 - 10000

Response

A retry: the answer this request gave before.

outcome
enum<string>
required

already_submitted when this Idempotency-Key and request answered the task before: that answer.

Available options:
submitted,
already_submitted
task
object
required