Endpoints
Create Task
Creates a new task to be processed by the Abundant platform.
POST
/
tasks
Copy
Ask AI
curl --request POST \
--url 'https://platform.abundant.ai/api/v1/tasks' \
--header 'x-api-key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"targetUrl": "https://remote.browser.com/target",
"description": "Post about Project Papaya on Hacker News",
"title": "Post on Hacker News",
"context": {
"history": [
{
"user": "Create a post about Project Papaya on Hacker News",
"assistant": "Lets navigate to Hacker News and create a post about Project Papaya. I will guide you through the process."
}
]
}
}'
Copy
Ask AI
{
"id": "<string>",
"status": "<string>",
"targetUrl": "<string>",
"title": "<string>",
"description": "<string>",
"type": "WEB_INTERVENTION",
"context": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"feedback": {},
"taskThreadId": "<string>"
}
Authorizations
Body
application/json
Response
201
application/json
Task created successfully
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url 'https://platform.abundant.ai/api/v1/tasks' \
--header 'x-api-key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"targetUrl": "https://remote.browser.com/target",
"description": "Post about Project Papaya on Hacker News",
"title": "Post on Hacker News",
"context": {
"history": [
{
"user": "Create a post about Project Papaya on Hacker News",
"assistant": "Lets navigate to Hacker News and create a post about Project Papaya. I will guide you through the process."
}
]
}
}'
Copy
Ask AI
{
"id": "<string>",
"status": "<string>",
"targetUrl": "<string>",
"title": "<string>",
"description": "<string>",
"type": "WEB_INTERVENTION",
"context": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"metadata": {},
"feedback": {},
"taskThreadId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.