Bifrost · JSON Structure

Bifrost Chat Completion Request Structure

Request body for creating a chat completion.

Type: object Properties: 7
AI GatewayLLMLoad BalancingOpen-SourceOpenAI-CompatibleMCP

ChatCompletionRequest is a JSON Structure definition published by Bifrost, describing 7 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

model messages temperature max_tokens stream top_p n

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "name": "ChatCompletionRequest",
  "type": "object",
  "description": "Request body for creating a chat completion.",
  "properties": {
    "model": {
      "type": "string",
      "description": "Provider and model name in the format provider/model-name (e.g., openai/gpt-4o, anthropic/claude-3-5-sonnet-20241022)."
    },
    "messages": {
      "type": "array",
      "description": "Array of messages comprising the conversation."
    },
    "temperature": {
      "type": "float",
      "description": "Sampling temperature between 0 and 2."
    },
    "max_tokens": {
      "type": "int32",
      "description": "Maximum number of tokens to generate."
    },
    "stream": {
      "type": "boolean",
      "description": "Whether to stream the response as SSE."
    },
    "top_p": {
      "type": "float",
      "description": "Nucleus sampling probability."
    },
    "n": {
      "type": "int32",
      "description": "Number of completions to generate."
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/bifrost-chat-completion-request-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.