POST
/
runs
curl --request POST \
  --url https://vern.so/api/v1/runs \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "taskId": "task_123456",
  "inputs": {
    "prompt": "Analyze the sentiment of this text",
    "text": "I really enjoyed this product, it exceeded my expectations!"
  }
}'
{
  "id": "<string>",
  "queued_at": "2023-11-07T05:31:56Z",
  "inputs": {}
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json
Task run created successfully

The response is of type object.