POST
/
tasks
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."
      }
    ]
  }
}'
{
  "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

x-api-key
string
header
required

Body

application/json

Response

201
application/json

Task created successfully

The response is of type object.