{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/meetstream-ai/json-schema/meetstream-ai-remove-bot-response-schema.json",
  "title": "RemoveBotResponse",
  "description": "Current state of the stop request for this bot.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/meetstream-ai-openapi.yml#/components/schemas/RemoveBotResponse",
  "type": "object",
  "properties": {
    "bot_id": {
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/RemoveBotResponseStatus",
      "description": "State of the stop request."
    },
    "bot_status": {
      "type": "string",
      "description": "The bot's own lifecycle status, or `Unknown`."
    },
    "control_request_id": {
      "type": "string",
      "description": "Id of the stop request, once one has been issued."
    },
    "requested_at": {
      "type": "integer",
      "description": "Unix epoch seconds."
    },
    "acknowledged_at": {
      "type": "integer",
      "description": "Unix epoch seconds."
    },
    "completed_at": {
      "type": "integer",
      "description": "Unix epoch seconds."
    },
    "reason": {
      "type": "string"
    }
  },
  "$defs": {
    "RemoveBotResponseStatus": {
      "type": "string",
      "enum": [
        "not_requested",
        "stop_requested",
        "acknowledged",
        "graceful_exit_in_progress",
        "stopped",
        "force_stopped",
        "failed",
        "cancelled"
      ],
      "description": "State of the stop request.",
      "title": "RemoveBotResponseStatus"
    }
  }
}