Tasks
Run Single Job
Runs a single job with the provided task and inputs and awaits the result. Tasks have a default timeout of 1 minute. For longer running tasks, consider using async batches instead.
POST
/
v0
/
tasks
/
{id}
Authorizations
x-api-key
string
headerrequiredPath Parameters
id
string
requiredBody
application/json
inputs
string[]
requiredThe inputs for the task
task_version
number
default: 0requiredThe version of the task
Response
200 - application/json
status
enum<string>
requiredAvailable options:
success
, error
data
object
requiredmessage
string
requirederror
object