v5

latestOpenAPI 3.0.3raw.githubusercontent.com2025-05-30447.5 KB

Create a new task run

Executes a task with the provided inputs

post/runs

Request body

taskIdstring required

The ID of the task to execute

profileIdstring

Optional user-specified UID for a profile linked via magic link

inputsobject

The inputs required for the task

urlstring uri

An optional URL to be processed by the task

Example request

{
  "taskId": "task_123456",
  "inputs": {
    "prompt": "Analyze the sentiment of this text",
    "text": "I really enjoyed this product, it exceeded my expectations!"
  }
}

Response

Task run created successfully

idstring

Unique identifier for the run

queued_atstring date-time

Timestamp when the run was queued

inputsobject

The inputs provided for the task

All 4 operations