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>",
"workflowType": "workflow_graph",
"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
}
}Agents are the main entities in the system. Agents are used to create conversations. You can create workflow for an agent and configure it for different use cases. You can also create custom workflows for an agent. This API will give you the list of agents created by organization you are a part of.
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>",
"workflowType": "workflow_graph",
"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
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page number
Number of items to return
Search query
Successful response
true
Show child attributes
Show child attributes
The ID of the agent
The name of the agent
The description of the agent
Whether ambient background sound is enabled during calls
The organization ID of the agent
The workflow ID of the agent
The type of workflow used by the agent
workflow_graph, single_prompt The user ID of the user who created the agent
The global knowledge base ID of the agent
The language configuration of the agent
Show child attributes
The language of the agent
en, hi, ta, kn Language switching configuration for the agent
Show child attributes
Whether language switching is enabled for the agent
Minimum number of words required for language detection
Threshold for strong language signal detection
Threshold for weak language signal detection
Minimum consecutive detections required for weak threshold language switch
The supported languages of the agent
The synthesizer (TTS) configuration of the agent
Show child attributes
The voice configuration of the synthesizer
Show child attributes
The model of the synthesizer
waves, waves_lightning_large, waves_lightning_large_voice_clone The voice ID of the synthesizer.
male, female The speed of the synthesizer
The consistency of the synthesizer
The similarity of the synthesizer
The enhancement of the synthesizer
The LLM model to use for the agent. LLM model will be used to generate the response and take decisions based on the user's query.
electron, gpt-4o The default variables to use for the agent. These variables will be used if no variables are provided when initiating a conversation with the agent.
The date and time when the agent was created
The date and time when the agent was last updated
Total number of agents