cURL
curl --request POST \ --url https://sontairo.com/api/tasks \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": "<string>", "prompt": "<string>", "projectId": "<string>", "selectedProvider": "<string>", "selectedModel": "<string>", "providerKeyId": "<string>", "connectorIds": [ "<string>" ], "autonomyLevel": "supervised" } '
{ "data": { "id": "<string>", "workspaceId": "<string>", "projectId": "<string>", "status": "PENDING", "prompt": "<string>", "output": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } }
Send a task to an agent for execution. Creates an agent run.
Task instruction in natural language
1 - 10000
AI provider to use
AI model to use
Connector IDs the agent can use
supervised
semi-autonomous
autonomous
Task created and run started
Show child attributes