API Reference

Chat Completions

Use the server-side QUGrid gateway to send model requests through the configured provider.

POST /api/v1/chat/completions

{
  "model": "google/gemini-2.0-flash-001",
  "messages": [{ "role": "user", "content": "Hello" }]
}

Authentication uses a server-side bearer key when QUGRID_API_KEY is configured. Demo mode works without external credentials.

Back to documentation