Endpoint
Authentication
Requires JWT authentication via Authorization: Bearer <token> header.
Description
Retrieves complete information about a specific agent, including its current version configuration, tools, MCP integrations, and metadata. The agent must belong to the authenticated user.
Path Parameters
The unique identifier (UUID) of the agent to retrieve.
Response
Returns the agent object with full configuration including the current active version.
Unique identifier for the agent (UUID format)
Agent description (if set)
Current system prompt from active version
AI model identifier (e.g., “kortix/basic”, “openai/gpt-4”)
Icon identifier from the icon library
Icon background color in hex format
Whether this agent is the default for new threads
Whether this agent is publicly shared (enterprise feature)
Array of tag strings for categorization
UUID of the currently active version
Total number of versions for this agent
Complete configuration of the active version Show Version Object Fields
Unique version identifier
Sequential version number (1, 2, 3…)
Human-readable version label (e.g., “v1”, “v2”)
System prompt for this version
AI model for this version
Array of configured MCP integrations
Array of custom MCP server configurations
Tool enable/disable configuration
Whether this version is currently active
ISO 8601 timestamp of version creation
ISO 8601 timestamp of last version update
User ID who created this version
MCP integrations from current version (flattened for convenience)
Custom MCP servers from current version (flattened for convenience)
Tool configurations from current version (flattened for convenience)
Additional agent metadata (e.g., is_suna_default, restrictions)
ISO 8601 timestamp when agent was created
ISO 8601 timestamp of last update
Examples
cURL
Python SDK
TypeScript SDK
Node.js
curl -X GET https://api.kortix.ai/agents/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer YOUR_API_KEY"
Response Example
{
"agent_id" : "550e8400-e29b-41d4-a716-446655440000" ,
"name" : "Research Assistant" ,
"description" : "Specialized agent for research and analysis tasks" ,
"system_prompt" : "You are an expert research assistant. Help users find accurate information, analyze sources, and synthesize insights from multiple documents." ,
"model" : "kortix/basic" ,
"icon_name" : "search" ,
"icon_color" : "#10B981" ,
"icon_background" : "#D1FAE5" ,
"is_default" : false ,
"is_public" : false ,
"tags" : [ "research" , "analysis" ],
"current_version_id" : "660f9511-f3ac-52e5-b827-557766551111" ,
"version_count" : 3 ,
"current_version" : {
"version_id" : "660f9511-f3ac-52e5-b827-557766551111" ,
"agent_id" : "550e8400-e29b-41d4-a716-446655440000" ,
"version_number" : 3 ,
"version_name" : "v3" ,
"system_prompt" : "You are an expert research assistant. Help users find accurate information, analyze sources, and synthesize insights from multiple documents." ,
"model" : "kortix/basic" ,
"configured_mcps" : [
{
"mcp_id" : "brave-search" ,
"enabled" : true
}
],
"custom_mcps" : [],
"agentpress_tools" : {
"bash" : { "enabled" : true },
"read" : { "enabled" : true },
"write" : { "enabled" : true },
"edit" : { "enabled" : true },
"glob" : { "enabled" : true },
"grep" : { "enabled" : true },
"web_search" : { "enabled" : true }
},
"is_active" : true ,
"created_at" : "2025-08-15T14:25:00.000Z" ,
"updated_at" : "2025-08-15T14:25:00.000Z" ,
"created_by" : "user_123abc"
},
"configured_mcps" : [
{
"mcp_id" : "brave-search" ,
"enabled" : true
}
],
"custom_mcps" : [],
"agentpress_tools" : {
"bash" : { "enabled" : true },
"read" : { "enabled" : true },
"write" : { "enabled" : true },
"edit" : { "enabled" : true },
"glob" : { "enabled" : true },
"grep" : { "enabled" : true },
"web_search" : { "enabled" : true }
},
"metadata" : {},
"created_at" : "2025-08-14T09:00:00.000Z" ,
"updated_at" : "2025-08-15T14:25:00.000Z"
}
Error Responses
Agent does not exist or user does not have access {
"detail" : "Agent not found"
}
Missing or invalid authentication token {
"detail" : "Not authenticated"
}
500 Internal Server Error
Server error retrieving agent {
"detail" : "Failed to fetch agent: <error details>"
}
Use Cases
Inspect Agent Configuration
Retrieve complete configuration before starting a run or making updates:
agent = client.agents.get(agent_id)
# Check what tools are enabled
if agent.agentpress_tools.get( 'web_search' , {}).get( 'enabled' ):
print ( "Web search is available" )
# Check configured integrations
for mcp in agent.configured_mcps:
if mcp[ 'enabled' ]:
print ( f "Integration enabled: { mcp[ 'mcp_id' ] } " )
Version History
Check how many versions exist:
agent = client.agents.get(agent_id)
print ( f "This agent has { agent.version_count } versions" )
print ( f "Currently on: { agent.current_version.version_name } " )
Validate Agent Before Run
Ensure agent has required capabilities:
agent = client.agents.get(agent_id)
required_tools = [ 'bash' , 'read' , 'write' ]
for tool in required_tools:
if not agent.agentpress_tools.get(tool, {}).get( 'enabled' , False ):
raise ValueError ( f "Agent missing required tool: { tool } " )
print ( "Agent validated, starting run..." )
Notes
Full Configuration : This endpoint loads the complete agent configuration including the current version
Flattened Fields : The system_prompt, model, configured_mcps, custom_mcps, and agentpress_tools fields at the top level mirror the current version for convenience
Version Access : Only the current active version is returned; use the versions API to access historical versions
Metadata : The metadata field may contain special flags like is_suna_default or restrictions for system agents