Get Agent
Retrieves detailed information about a specific agent.
Endpoint
Parameters
agent_id
string
Yes
Unique identifier of the agent to retrieve
Authentication
Requires a valid API key or user authentication token.
Response
Returns the agent object with its complete configuration and metadata.
Response Format
Response Fields
id
string
Unique identifier for the agent
name
string
Display name of the agent
description
string
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., "krosaimlingual")
stt_provider
string
Speech-to-text provider (e.g., "krosaimlingual")
llm_model
string
Large language model used by the agent (e.g., "krosaimlingual")
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 - Not authorized to access this agent
404
Not Found - Agent with the specified ID does not exist
500
Internal Server Error
Notes
Users can only retrieve agents they have created.
The system prompt may contain sensitive information about how the agent is configured to behave.
Last updated