Endpoint
Authentication
Send your API key in theX-API-Key header. The OpenAI SDKs send an
Authorization: Bearer header, which Valkyrie also accepts, set the SDK’s
api_key to your Valkyrie key.
Examples
Streaming
Set"stream": true to receive tokens as server-sent events, exactly as with the
OpenAI API. The SDKs expose this through their streaming helpers.
The
model field should be your deployment slug (or alias). If a deployment is
stopped, calls will fail until it is resumed, see
Deploy a model for stop/resume and schedules.