v1

latestOpenAPI 3.0.32026-07-17170260319.8 KB

Complete sends the messages of a chat to the AI and asks it to generate a new message.

post/v1/ai/complete

Request body

outputJsonSchemastring

Response

A successful response.

cachedInputTokensinteger

Number of cache-read (discounted) input tokens; a subset of input_tokens.

inputTokensinteger

Number of full-rate (non-cached) tokens in the input.

outputTokensinteger

Number of tokens in the output.

providerstring

The LLM provider that served the completion (e.g. "claude", "openai", "gemini").

All 170 operations