Skip to main content
POST
/
agents
Add agent
curl --request POST \
  --url https://api.poligono.ai/v1/agents \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data'
{
  "data": {
    "created_at": 123,
    "id": "<string>",
    "name": "<string>",
    "organization_id": "<string>",
    "prompt": "<string>",
    "status": "active",
    "updated_at": 123,
    "description": "<string>",
    "number_of_channels": 123,
    "number_of_rag_files": 123,
    "number_of_tools": 123,
    "profile_photo": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

multipart/form-data

RAG Files

The body is of type file.

Response

Created

data
object