Docs

API docs

The base URL is https://gateway.glimrel.store. API keys start with glm_live_, and the OpenAPI spec is at /v1/openapi.json.

Quickstart

Create a project in the console, copy your test token, and call the health endpoint. We'll issue your first live token after a short setup call.

curl -s https://gateway.glimrel.store/v1/health \
  -H "Authorization: Bearer glm_live_test"

Auth

Send an Authorization: Bearer header with every request. You can rotate keys from the console. Test keys can't access production data.

AI routes

There are three main endpoints. Requests and responses are JSON, and errors include type, message, and request_id.

  • Chat completions: OpenAI-compatible requests, with fallbacks and caching. POST /v1/chat/completions
  • Traces: nested spans for completions, tool calls, retrieval, and retries. GET /v1/traces/{id}
  • Evals: run an LLM judge, code check, or human review on a sample of production traces. POST /v1/evals/runs
curl -s https://gateway.glimrel.store/v1/chat/completions \
  -H "Authorization: Bearer glm_live_test" \
  -H "Content-Type: application/json" \
  -d '{"model":"MODEL_ID","messages":[{"role":"user","content":"ping"}]}'
POST /v1/chat/completions
GET  /v1/traces/{id}
POST /v1/evals/runs

Supported model families: OpenAI GPT, Anthropic Claude, Google Gemini, Meta Llama, Amazon Nova, and Groq. Coming soon: Amazon Bedrock, Hugging Face, and NVIDIA NIM.

Limits

On the River plan, each key can make 30 requests per second by default, with burst capacity that refills every minute. Need more for a launch? Email team@glimrel.store.

Status

Incident updates are sent from team@glimrel.store. Webhooks retry with exponential backoff for up to 24 hours.