Invoke an action.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Invocation parameters
Name of the application
"my-app"
Version of the application
"1.0.0"
Name of the action to invoke
"analyze"
Input data for the action, sent as a JSON string.
"{\"data\":\"example input\"}"
If true, invoke asynchronously. When set, the API responds 202 Accepted with status "queued".
true
Timeout in seconds for async invocations (min 10, max 3600). Only applies when async is true.
10 <= x <= 3600600
Invocation created successfully
ID of the invocation
"rr33xuugxj9h0bkf1rdt2bet"
Name of the action invoked
"analyze"
Status of the invocation
queued, running, succeeded, failed "queued"
Status reason
"Invocation queued for execution"
The return value of the action that was invoked, rendered as a JSON string. This could be: string, number, boolean, array, object, or null.
"{\"result\":\"success\",\"data\":\"processed input\"}"