{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fastmetal-ai/json-schema/fastmetal-ai-post-v1-messages-response-schema.json",
  "title": "PostV1MessagesResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fastmetal-ai-core-openapi-generated.yml#/components/schemas/PostV1MessagesResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Message identifier"
    },
    "type": {
      "type": "string",
      "description": "Type of response"
    },
    "role": {
      "type": "string",
      "description": "Role of the message sender"
    },
    "model": {
      "type": "string",
      "description": "Model identifier"
    },
    "content": {
      "type": "array",
      "description": "Content array with message blocks"
    },
    "stop_reason": {
      "type": "string",
      "description": "Reason message generation stopped"
    },
    "usage": {
      "type": "object",
      "description": "Token usage metrics"
    }
  }
}