{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grepr/json-schema/grepr-create-chat-request-schema.json",
  "title": "CreateChatRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grepr-chats-api-openapi.yml#/components/schemas/CreateChatRequest",
  "properties": {
    "autoApprove": {
      "type": "boolean"
    },
    "enabledSkills": {
      "items": {
        "type": "string"
      },
      "maxItems": 64,
      "minItems": 0,
      "type": "array"
    },
    "model": {
      "$ref": "#/$defs/ModelConfiguration"
    },
    "text": {
      "type": "string"
    }
  },
  "required": [
    "model",
    "text"
  ],
  "type": "object",
  "$defs": {
    "ModelConfiguration": {
      "properties": {
        "integrationId": {
          "type": "string"
        },
        "maxOutputTokens": {
          "format": "int32",
          "type": "integer"
        },
        "modelName": {
          "type": "string"
        },
        "provider": {
          "enum": [
            "ANTHROPIC",
            "GEMINI",
            "LITELLM"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}