Skip to main content
Create a session from an existing agent configuration.
agent_id
string
required
The agent ID to create a session from
curl -X POST https://api-be.atthene.com/api/v1/sessions/from-agent/550e8400-e29b-41d4-a716-446655440000/ \
  -H "x-api-key: YOUR_API_KEY"

Response

{
  "success": true,
  "session_id": "session_def456",
  "agent_id": "550e8400-e29b-41d4-a716-446655440000",
  "config_hash": "a1b2c3d4e5f6"
}
This method creates a session using the current configuration of the specified agent.