Mistral AI · Schema

AgentCompletionResponse

Properties

Name Type Description
id string
object string
created integer
model string
choices array
usage object
View JSON Schema on GitHub

JSON Schema

mistral-agentcompletionresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AgentCompletionResponse",
  "title": "AgentCompletionResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "type": "string",
      "enum": [
        "chat.completion"
      ]
    },
    "created": {
      "type": "integer"
    },
    "model": {
      "type": "string"
    },
    "choices": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Choice"
      }
    },
    "usage": {
      "$ref": "#/components/schemas/Usage"
    }
  }
}