List Agents
Retrieves all agents created by the authenticated user.
Endpoint
GET /v1/agentsAuthentication
Requires a valid API key or user authentication token.
Response
Returns an array of agent objects, each containing the agent's configuration and metadata.
Response Format
[
{
"id": "string",
"name": "string",
"description": "string",
"system_prompt": "string",
"language": "string",
"voice_id": "string",
"tts_provider": "string",
"stt_provider": "string",
"llm_model": "string",
"knowledge_base_ids": ["string"],
"created_at": "datetime",
"updated_at": "datetime",
"created_by": "string"
}
]Response Fields
id
string
Unique identifier for the agent
name
string
Display name of the agent
description
string
Optional description of the agent's purpose
system_prompt
string
Instructions that define the agent's personality and behavior
language
string
Language code (e.g., "en" for English)
voice_id
string
Identifier for the agent's voice
tts_provider
string
Text-to-speech provider (e.g., "KrosMLingual 0.1")
stt_provider
string
Speech-to-text provider (e.g., "KrosMLingual 0.1")
llm_model
string
Large language model used by the agent (e.g., "KrosMLingual 0.1")
knowledge_base_ids
array
List of knowledge base IDs the agent can access
created_at
datetime
When the agent was created
updated_at
datetime
When the agent was last updated
created_by
string
ID of the user who created the agent
Example Request
Example Response
Error Responses
401
Unauthorized - Invalid or missing API key
403
Forbidden - Insufficient permissions
500
Internal Server Error
Last updated