curl --request POST \ --url https://api.promptloop.com/v0.1/tasks/create \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "description": "Find the company description and CEO name from a website"}'
Copy
{ "task_id": "abc123-def456-...", "name": "Company Info Extractor", "message": "Task created successfully"}
Tasks
Create Task from Description
Creates a new task from a natural language description. AI will generate the task definition based on your description.
POST
/
v0.1
/
tasks
/
create
Create Task from Description
Copy
curl --request POST \ --url https://api.promptloop.com/v0.1/tasks/create \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "description": "Find the company description and CEO name from a website"}'
Copy
{ "task_id": "abc123-def456-...", "name": "Company Info Extractor", "message": "Task created successfully"}