Update invocation
Update an invocation’s status or output. This can be used to cancel an invocation by setting the status to “failed”.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Invocation ID
Body
Response
Invocation updated successfully
Name of the action invoked
"analyze"
Name of the application
"my-app"
ID of the invocation
"rr33xuugxj9h0bkf1rdt2bet"
RFC 3339 Nanoseconds timestamp when the invocation started
"2024-05-19T15:30:00.000000000Z07:00"
Status of the invocation
queued, running, succeeded, failed "succeeded"
Version label for the application
"1.0.0"
RFC 3339 Nanoseconds timestamp when the invocation finished (null if still running)
"2024-05-19T15:30:05.000000000Z07:00"
The action result or detailed failure output. Often a JSON-encoded value, but failures may contain plain text. May contain sensitive application data.
"{\"result\":\"success\",\"data\":\"processed input\"}"
Payload provided to the invocation. This is a string that can be parsed as JSON.
"{\"data\":\"example input\"}"
A nonempty, customer-safe summary of the recorded failure output, always present when status is failed and omitted otherwise, including in the first failed invocation_state event. Recognized messages receive a specific summary; other failures receive a generic summary. Message matching does not establish whether the failure originated in the platform or action code. Does not include raw action output or internal error details. Available for historical invocations as well. Human-readable text, not a stable identifier for retry logic.
1"Invocation timed out after 900 seconds."