Base URL
All API requests should be made to:Authentication
Endpoints require your API key and an explicitX-Stack-Id header identifying an authorized stack.
Make a request
Open an endpoint and select Try it. Enter your own API key, fill in the request fields, and select Send. These are real requests charged to your account. Enter only the key in a bearer-token field, orBearer YOUR_API_KEY in an Authorization header field.
The playground supplies the Geoff stack automatically. API keys stay in page memory and are cleared when the page is reloaded.
Response Format
Generation endpoints return JSON results. Other endpoints may return streaming responses or binary content; see their response definitions.Error Handling
Errors follow standard HTTP status codes:
Error responses include a message: