curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/agent/{id} \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"_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"
}
}
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.
curl --request GET \
--url https://atoms-api.smallest.ai/api/v1/agent/{id} \
--header 'Authorization: Bearer <token>'
{
"status": true,
"data": {
"_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"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.