v1

latestOpenAPI 3.1.02026-07-135055368.9 KB
Agents

List All AI Agents

List All AI Agents

get/v1/ai-agents

Query parameters

search_bystring nullable

Field name to search by

Field name to search by

search_valuestring nullable

Value to search for in the specified field

Value to search for in the specified field

statusstring nullable

Filter by status

Filter by status

sort_bystring nullable

Field to sort by

Field to sort by

sort_order'asc' | 'desc'

Sort order (asc or desc)

skipinteger

Number of records to skip

Number of records to skip

limitinteger

Maximum number of records to return

Maximum number of records to return

Response

List of AI Agents retrieved successfully

idstring
orgIdstring
namestring
imageUrlstring
rolestring
roleDescriptionstring
statusstring
timezonestring
createdBystring
createdAtstring date-time
updatedBystring
updatedAtstring date-time

Example response

[
  {
    "mission": {
      "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.",
      "greeting": "Hello! Thank you for taking the time to speak with me today.",
      "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."
        }
      ]
    }
  }
]