{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carbon-black/json-schema/carbon-black-post-livequery-v1-orgs-abcd1234-runs-search-response-schema.json",
  "title": "PostLivequeryV1OrgsAbcd1234RunsSearchResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/carbon-black-openapi-generated.yml#/components/schemas/PostLivequeryV1OrgsAbcd1234RunsSearchResponse",
  "type": "object",
  "properties": {
    "org_key": {
      "type": "string"
    },
    "num_found": {
      "type": "integer"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "org_key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "sql": {
            "type": "string"
          },
          "created_by": {
            "type": "string"
          },
          "destinations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "create_time": {
            "type": "string",
            "format": "date-time"
          },
          "status_update_time": {
            "type": "string",
            "format": "date-time"
          },
          "timeout_time": {
            "type": "string",
            "format": "date-time"
          },
          "cancellation_time": {
            "type": [
              "string",
              "null"
            ]
          },
          "cancelled_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "archive_time": {
            "type": [
              "string",
              "null"
            ]
          },
          "archived_by": {
            "type": [
              "string",
              "null"
            ]
          },
          "notify_on_finish": {
            "type": "boolean"
          },
          "active_org_devices": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "device_filter": {
            "type": "object",
            "properties": {
              "policy_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "os": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "device_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "deployment_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "policy_ids": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "device_types": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "device_ids": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "recommended_query_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "template_id": {
            "type": "string"
          },
          "schedule": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string"
              },
              "recurrence": {
                "type": "string"
              },
              "timezone": {
                "type": "string"
              },
              "rrule": {
                "type": "string"
              },
              "previous_run_time": {
                "type": "string",
                "format": "date-time"
              },
              "next_run_time": {
                "type": "string",
                "format": "date-time"
              },
              "cancellation_time": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cancelled_by": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "schema": {
            "type": [
              "string",
              "null"
            ]
          },
          "last_result_time": {
            "type": "string",
            "format": "date-time"
          },
          "total_results": {
            "type": "integer"
          },
          "not_started_count": {
            "type": "integer"
          },
          "match_count": {
            "type": "integer"
          },
          "no_match_count": {
            "type": "integer"
          },
          "success_count": {
            "type": "integer"
          },
          "in_progress_count": {
            "type": "integer"
          },
          "error_count": {
            "type": "integer"
          },
          "not_supported_count": {
            "type": "integer"
          },
          "cancelled_count": {
            "type": "integer"
          }
        }
      }
    }
  }
}