V1 routes
https://api.redgold.ai and authenticate as described in the authentication guide.POST /v1/chat/completions
Create an OpenAI-compatible chat completion, with optional server-sent-event streaming.
Authentication: required. Protocol: streaming.
GET /v1/credits
Return the authenticated account's available model API credit balance.
Authentication: required. Protocol: unary.
POST /v1/messages
Create an Anthropic-compatible Messages response, with optional server-sent-event streaming.
Authentication: required. Protocol: streaming.
GET /v1/models
List the model identifiers currently available through the public model API.
Authentication: required. Protocol: unary.
GET /v1/models/{model}
Fetch one model object from the public model API — ports the gateway GET /v1/models/{model} route.
Authentication: required. Protocol: unary.
Parameters
| name | in | type | effect |
|---|---|---|---|
model | path | string | path segment |
POST /v1/responses
Create an OpenAI-compatible Responses API result, with optional server-sent-event streaming.
Authentication: required. Protocol: streaming.