{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/llm-broker-net/json-schema/llm-broker-net-broker-account-key-schema.json",
  "title": "BrokerAccountKey",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/llm-broker-net-openapi.json#/components/schemas/BrokerAccountKey",
  "properties": {
    "api_key": {
      "description": "ast_sk_… — shown exactly once. Use with base_url and model taylor (OpenAI-compatible).",
      "type": "string"
    },
    "base_url": {
      "format": "uri",
      "type": "string"
    },
    "billing": {
      "enum": [
        "topup",
        "monthly"
      ],
      "type": "string"
    },
    "category": {
      "description": "null = no default level",
      "type": [
        "string",
        "null"
      ]
    },
    "level": {
      "description": "null = no default level",
      "type": [
        "string",
        "null"
      ]
    },
    "model": {
      "type": "string"
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "api_key",
    "base_url",
    "model"
  ],
  "type": "object"
}