GET
/
agent
Get all agents
curl --request GET \
  --url https://atoms-api.smallest.ai/api/v1/agent \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "data": {
    "agents": [
      {
        "_id": "<string>",
        "name": "<string>",
        "description": "<string>",
        "backgroundSound": true,
        "organization": "<string>",
        "workflowId": "<string>",
        "createdBy": "<string>",
        "globalKnowledgeBaseId": "<string>",
        "language": {
          "enabled": "en",
          "switching": {
            "isEnabled": true,
            "minWordsForDetection": 123,
            "strongSignalThreshold": 123,
            "weakSignalThreshold": 123,
            "minConsecutiveForWeakThresholdSwitch": 123
          },
          "supported": [
            "<string>"
          ]
        },
        "synthesizer": {
          "voiceConfig": {
            "model": "waves_lightning_large",
            "voiceId": "nyah",
            "gender": "female"
          },
          "speed": 1.2,
          "consistency": 0.5,
          "similarity": 0,
          "enhancement": 1
        },
        "slmModel": "electron",
        "defaultVariables": {},
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default:1

Page number

offset
integer
default:5

Number of items to return

Search query

Response

Successful response

The response is of type object.