{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teardrop-dev/json-schema/teardrop-dev-llm-config-response-schema.json",
  "title": "LlmConfigResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teardrop-dev-openapi.json#/components/schemas/LlmConfigResponse",
  "properties": {
    "configured": {
      "type": "boolean",
      "title": "Configured"
    },
    "org_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Org Id",
      "description": "Present when configured=true."
    },
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "model": {
      "type": "string",
      "title": "Model"
    },
    "has_api_key": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Has Api Key",
      "description": "Present when configured=true."
    },
    "api_base": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Api Base"
    },
    "max_tokens": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Tokens",
      "description": "Present when configured=true."
    },
    "temperature": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Temperature",
      "description": "Present when configured=true."
    },
    "timeout_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timeout Seconds",
      "description": "Present when configured=true."
    },
    "routing_preference": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Routing Preference",
      "description": "Present when configured=true."
    },
    "reasoning_effort": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reasoning Effort"
    },
    "model_reasoning_effort": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Reasoning Effort",
      "description": "Present when configured=true."
    },
    "is_byok": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Is Byok",
      "description": "Present when configured=true."
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At",
      "description": "ISO 8601 timestamp; present when configured=true."
    },
    "updated_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Updated At",
      "description": "ISO 8601 timestamp; present when configured=true."
    }
  },
  "type": "object",
  "required": [
    "configured",
    "provider",
    "model"
  ]
}