{
  "provider": "siraya",
  "note": "Bootstrap metadata for autonomous agents. The API contract itself lives in the API Reference pages; this file only describes how to get running.",
  "base_url_candidates": [
    "https://llm.siraya.ai/v1"
  ],
  "api_key_env": "SIRAYA_API_KEY",
  "base_url_env": "SIRAYA_BASE_URL",
  "model_env": "SIRAYA_MODEL",
  "auth": {
    "header": "Authorization: Bearer ${SIRAYA_API_KEY}"
  },
  "endpoints": {
    "models": "/models",
    "chat_completions": "/chat/completions",
    "responses": "/responses",
    "messages": "/messages",
    "embeddings": "/embeddings"
  },
  "smoke_test": {
    "discover": {
      "method": "GET",
      "path": "/models",
      "expect": "HTTP 200, non-empty data[].id — pick any id as SIRAYA_MODEL"
    },
    "chat": {
      "method": "POST",
      "path": "/chat/completions",
      "body": {
        "model": "${SIRAYA_MODEL}",
        "messages": [
          {
            "role": "user",
            "content": "Reply OK"
          }
        ],
        "max_tokens": 32
      },
      "expect": "HTTP 200, non-empty choices"
    }
  },
  "docs": {
    "agent_setup_page": "/docs/agent-setup/",
    "llms_txt": "/docs/llms.txt"
  }
}
