Skip to main content
OpenAPI reference of Friendli Serverless Endpoints API.

Inference

Chat completions

Discover how to generate text through interactive conversations.

Messages (Beta)

Generate responses using Anthropic Messages-style payloads.

Chat render

Learn how to render chat.

Tool assisted chat completions (Beta)

Learn how to enhance responses with tool assisted chat completions using built-in tools.

Completions

Learn how to generate text.

Tokenization

Explore the process of breaking down text into smaller tokens for machine processing.

Detokenization

Learn how to reconstruct tokenized text back into its original, human-readable form.