curl -X GET "http://localhost:8000/api/v2/session/current" \ -H "Authorization: Bearer your_api_key" \ -H "X-Session-Token: your_session_token"
{ "agent_id": "customer-support", "session_token": "eyJhbGc...", "created_at": "2025-03-30T16:30:00Z", "expires_at": "2025-03-31T22:30:00Z", "time_remaining_minutes": 345 }
Get active session details.
Authorization: Bearer your_api_key
X-Session-Token: {session_token}