Bifrost · JSON Structure

Bifrost Chat Completion Response Structure

Response from a chat completion request.

Type: object Properties: 6
AI GatewayLLMLoad BalancingOpen SourceOpenAI CompatibleMCP

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

Properties

id object created model choices usage

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "name": "ChatCompletionResponse",
  "type": "object",
  "description": "Response from a chat completion request.",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the completion."
    },
    "object": {
      "type": "string",
      "description": "Object type, always chat.completion."
    },
    "created": {
      "type": "int32",
      "description": "Unix timestamp of when the completion was created."
    },
    "model": {
      "type": "string",
      "description": "Provider and model used for the completion."
    },
    "choices": {
      "type": "array",
      "description": "Array of completion choices."
    },
    "usage": {
      "type": "string"
    }
  }
}