For AI agents: the complete documentation index is available at https://aioproxy.dev/llms.txt, the full documentation bundle is available at https://aioproxy.dev/llms-full.txt, and this page is available as Markdown at https://aioproxy.dev/api/chat-completions.md.
  • English
  • Create a chat completion POST /v1/chat/completions

    Creates a chat completion with the OpenAI-compatible Chat Completions API.

    Parameters / Responses

    Parameters: conversation_id, max_completion_tokens, max_tokens, messages, metadata, model, prompt_cache_key, reasoning_effort, response_format, service_tier, session_id, stream, temperature, tool_choice, tools

    Responses: 2XX application/json, 2XX text/event-stream, 2XX text/plain

    Loading API reference…