POST
/
tasks
curl --request POST \
  --url https://ronika-api.induced.ai/v1/tasks \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "intent": "<string>",
  "files": [
    null
  ],
  "accounts": [
    "<string>"
  ],
  "details": [
    {
      "type": "<string>",
      "key": "<string>",
      "value": "<string>",
      "options": [
        "<string>"
      ]
    }
  ],
  "expectedOutput": {
    "type": "<string>",
    "columns": [
      "<string>"
    ],
    "prompt": "<string>"
  }
}'
{
  "id": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
intent
string

Your prompt for the task.

files
file[]

Files to be associated with the task. Can be IDs of the files you have uploaded before or direct links to files. Invalid IDs and files are currently silently ignored.

accounts
string[]

Account IDs to be associated with the task to share credentials for the particular task.

details
object[]
expectedOutput
object

Response

200 - application/json
Task creation success response
id
string