API Reference Overview
Supado exposes an OpenAI-compatible API surface at:
https://supado.com/v1This reference documents Supado-specific conventions and common endpoints. It does not duplicate the full OpenAI API schema.
Request
Section titled “Request”| Field | Value |
|---|---|
| Base URL | https://supado.com/v1 |
| Authentication | Authorization: Bearer <SUPADO_API_KEY> |
| Request body | JSON |
| Streaming transport | Server-Sent Events when stream: true is supported |
Before you start
Section titled “Before you start”- Use server-side code or a trusted backend.
- Store the API key in an environment variable or secrets manager.
- Use a model available to your Supado account.
- Add explicit timeout and retry behavior in production clients.
Example
Section titled “Example”curl https://supado.com/v1/chat/completions \ -H "Authorization: Bearer $SUPADO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-4o-mini", "messages": [ { "role": "user", "content": "Return a JSON checklist for API integration." } ] }'OpenAI SDK
Section titled “OpenAI SDK”import OpenAI from "openai";
const client = new OpenAI({ apiKey: process.env.SUPADO_API_KEY, baseURL: "https://supado.com/v1",});Compatibility boundary
Section titled “Compatibility boundary”Supado aims to work with common OpenAI SDK flows by changing the SDK baseURL. Endpoint support, optional request fields, response metadata, streaming behavior, and model availability can vary by account, model, or upstream provider.
When in doubt, keep your first request small and inspect the Supado request log before moving production traffic.