curl --request GET \
--url https://api.trata.ai/v1/products/{product_id}/agents \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"orgId": "<string>",
"name": "<string>",
"imageUrl": "<string>",
"mission": {
"greeting": "Hello! Thank you for taking the time to speak with me today.",
"prompt": "Check Trata AI docs on the specifics of prompting.",
"objective": "This is a more easier version where the user dont have to given the entire prompt but just share the objective of the call and rest will be handled by Trata.",
"sequence": [
{
"stageName": "Introduction",
"description": "This stage involves introducing the AI agent to the user and explaining the purpose of the call.",
"otherNotes": "Ensure the user understands the privacy policy."
}
],
"farewell": "<string>"
},
"role": "<string>",
"roleDescription": "<string>",
"transcriber": {
"providerName": "<string>",
"transcriberModel": "<string>",
"providerProps": {}
},
"intelligenceProvider": {
"providerName": "<string>",
"model": "<string>",
"providerProps": {}
},
"voice": {
"gender": "Male",
"languageAccent": {
"language": "English",
"accent": "American"
},
"modelId": "<string>"
},
"status": "<string>",
"timezone": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]List All Agents Linked to a Specific Product
curl --request GET \
--url https://api.trata.ai/v1/products/{product_id}/agents \
--header 'Authorization: Bearer <token>'[
{
"id": "<string>",
"orgId": "<string>",
"name": "<string>",
"imageUrl": "<string>",
"mission": {
"greeting": "Hello! Thank you for taking the time to speak with me today.",
"prompt": "Check Trata AI docs on the specifics of prompting.",
"objective": "This is a more easier version where the user dont have to given the entire prompt but just share the objective of the call and rest will be handled by Trata.",
"sequence": [
{
"stageName": "Introduction",
"description": "This stage involves introducing the AI agent to the user and explaining the purpose of the call.",
"otherNotes": "Ensure the user understands the privacy policy."
}
],
"farewell": "<string>"
},
"role": "<string>",
"roleDescription": "<string>",
"transcriber": {
"providerName": "<string>",
"transcriberModel": "<string>",
"providerProps": {}
},
"intelligenceProvider": {
"providerName": "<string>",
"model": "<string>",
"providerProps": {}
},
"voice": {
"gender": "Male",
"languageAccent": {
"language": "English",
"accent": "American"
},
"modelId": "<string>"
},
"status": "<string>",
"timezone": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the product
Successful Response
Show child attributes
Greeting message to be read by the AI agent
1 - 1024"Hello! Thank you for taking the time to speak with me today."
Full prompt instructions for LLM model
1"Check Trata AI docs on the specifics of prompting."
Objective of the mission
1 - 1024"This is a more easier version where the user dont have to given the entire prompt but just share the objective of the call and rest will be handled by Trata."
Sequence of actions to be performed by the AI agent during the conversation.
Show child attributes
Name of the stage
1 - 1024"Introduction"
Description of the stage
1 - 4096"This stage involves introducing the AI agent to the user and explaining the purpose of the call."
Other notes that AI agent should know in this stage of conversation
1 - 4096"Ensure the user understands the privacy policy."
Conclusion message to be read by the AI agent
1 - 1024Show child attributes
Male, Female, Neutral