Agent Get By Name
Get a specific agent by name.
Args: name: The name of the agent to retrieve current_user: The current authenticated user tenant: The tenant database
Returns: Agent: The agent details
Raises: HTTPException(400): If input validation fails HTTPException(404): If agent not found HTTPException(500): If database operation fails or other error occurs
Authorizations
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Query Parameters
The name of the agent to retrieve
Response
Successful Response
Response model for agent
Unique identifier for the agent
Name of the agent
Brief description of what the agent does
Long string with the agent instructions
Type of agent (private/public)
When the agent was created
When the agent was last updated
Email of the user who created the agent
List of API names that the agent contains
List of MCP server names that the agent contains
List of context IDs that the agent contains
List of skill IDs that the agent contains
Either a URL or base64 string for the agent icon
Per-tool MCP visibility: tool name -> "enabled" or "disabled"
