POST
/
agent-profiles
Create an agent profile
curl --request POST \
  --url https://odyssey.asteroid.ai/api/v1/agent-profiles \
  --header 'Content-Type: application/json' \
  --header 'X-Asteroid-Agents-Api-Key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "proxy_cc": "us",
  "proxy_type": "residential",
  "captcha_solver_active": false,
  "sticky_ip": false,
  "credentials": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "data": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "proxy_cc": "us",
  "proxy_type": "residential",
  "captcha_solver_active": true,
  "sticky_ip": true,
  "credentials": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "data": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-Asteroid-Agents-Api-Key
string
header
required

Body

application/json

Response

201
application/json

Agent profile created successfully

The response is of type object.