{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grepr/json-schema/grepr-chat-status-response-schema.json",
  "title": "ChatStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grepr-chats-api-openapi.yml#/components/schemas/ChatStatusResponse",
  "properties": {
    "autoApprove": {
      "type": "boolean"
    },
    "model": {
      "$ref": "#/$defs/ModelConfiguration"
    },
    "pendingApproval": {
      "$ref": "#/$defs/PendingApproval"
    },
    "processing": {
      "type": "boolean"
    },
    "status": {
      "type": "string"
    },
    "turnIndex": {
      "format": "int32",
      "type": "integer"
    }
  },
  "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"
    },
    "PendingApproval": {
      "properties": {
        "command": {
          "type": "string"
        },
        "permissionId": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}