Skip to main content

Endpoint

Authenticate with Authorization: Bearer lx1_.... Any model in the catalog is valid in model.

Request parameters

Example

Request
Response (shape)

When to use it

Only when a tool you don’t control requires it. Chat-tuned models expect message structure — the same request through Chat Completions will generally behave better, and tools, vision, and structured output live on the chat surfaces only.
Errors follow the OpenAI shape, like Chat Completions — see Errors.