Skip to content

Relay API reference

The relay API is what your applications call: chat in four dialects, embeddings, images, audio, model lists and the generation lookup. Endpoints and dialects explains how they fit together.

The reference is generated from relay.yaml, an OpenAPI 3 file you can download for client generators and API tools. It describes the endpoints; the behaviour is defined by the gateway itself, and the file changes when the behaviour does.

Pages by area (also in the sidebar): chat, embeddings, images, audio, models, generation.

Request bodies list the fields the gateway itself reads. Everything else a provider accepts for the dialect is passed on, so the vendors’ own API references remain the source for model parameters such as temperature or tools.