{
  "service": "hackathon-backend",
  "status": "ok",
  "message": "Hackathon backend is running. Use the endpoints below instead of the API root.",
  "base_url": "https://aiagenthackathondev.run.ingarena.net/api/v1",
  "quick_start": [
    "1. POST /oauth/register from the frontend claim flow to register client_id and client_secret.",
    "2. POST /oauth/token with your client_id and client_secret to get an access token.",
    "3. Use Authorization: Bearer <access_token> for protected APIs."
  ],
  "public_endpoints": [
    {
      "method": "GET",
      "path": "/healthy",
      "description": "Health check"
    },
    {
      "method": "POST",
      "path": "/oauth/register",
      "description": "Register client credentials for frontend one-click claim"
    },
    {
      "method": "POST",
      "path": "/oauth/token",
      "description": "Exchange client credentials for an access token"
    }
  ],
  "protected_endpoints": [
    {
      "method": "POST",
      "path": "/v1/chat/completions",
      "description": "Non-streaming chat completion"
    },
    {
      "method": "POST",
      "path": "/v1/chat/completions/stream",
      "description": "Streaming chat completion (SSE)"
    },
    {
      "method": "GET",
      "path": "/v1/quota",
      "description": "Query remaining token quota"
    }
  ],
  "avatar_endpoints": [
    {
      "method": "POST",
      "path": "/personas/generate",
      "description": "Generate personas or adaptive questions"
    },
    {
      "method": "GET",
      "path": "/avatars/library",
      "description": "List shared avatar library"
    },
    {
      "method": "GET",
      "path": "/avatars/by-owner?email=<email>",
      "description": "List avatars for one owner"
    },
    {
      "method": "POST",
      "path": "/avatars",
      "description": "Create or update one avatar"
    },
    {
      "method": "POST",
      "path": "/avatars/batch",
      "description": "Batch create avatars"
    },
    {
      "method": "GET/DELETE",
      "path": "/avatars/{id}",
      "description": "Get or delete one avatar"
    }
  ]
}