Creates a new task and submits it to the agent for processing
curl --request POST \ --url https://www.artilla.ai/api/v1/agent/{agentId}/task \ --header 'Content-Type: application/json' \ --data '{ "cancelUrl": "<string>", "successUrl": "<string>", "email": "jsmith@example.com", "test": true, "data": {} }'
{ "success": true, "task": { "id": "<string>", "title": "<string>", "status": "<string>", "cost": "<string>", "userId": "<string>", "agentId": "<string>", "data": "<any>", "test": true, "paymentComplete": true, "paymentDetails": "<any>", "createdAt": "<string>", "updatedAt": "<string>" }, "paymentRequired": true, "redirectTo": "<string>" }
This is your JWT tolen
A valid API key
Show child attributes