Skip to main content
Retrieve all agent configurations for the authenticated user. This endpoint returns a list of all agents you have access to, including their metadata and configuration details.
curl -X GET https://api-be.atthene.com/api/v1/agent/ \
  -H "x-api-key: YOUR_API_KEY"

Response

Returns an array of agent configuration objects:
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "agent_key": "customer_support_agent",
    "name": "Customer Support Agent",
    "architecture": "llm_agent",
    "entry_point": "main",
    "is_public": false,
    "is_shared": false,
    "origin_url": null,
    "owner": "user_123",
    "company": "company_456",
    "system_config": {
      "name": "Customer Support Agent",
      "agent_type": "llm_agent",
      "system_prompt": "You are a helpful customer support agent...",
      "llm_config": {
        "model": "gpt-4o",
        "temperature": 0.7
      }
    },
    "version_number": "1.0.0",
    "config_hash": "a1b2c3d4e5f6",
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-01-15T10:30:00Z"
  }
]
Key Response Fields:
  • agent_key - Unique identifier derived from agent name
  • architecture - Agent architecture type (e.g., llm_agent, react_agent)
  • system_config - Complete agent configuration including prompts, LLM settings, tools, and knowledge bases
  • version_number - Current version of the agent configuration
  • config_hash - Hash of the current configuration for change detection