{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gtm-api/json-schema/gtm-api-search-linkedin-account-quota-hits-request-schema.json",
  "title": "SearchLinkedinAccountQuotaHitsRequest",
  "description": "Request body of `search_linkedin_account_quota_hits`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gtm-api-linkedin-account-quota-hits-api-openapi.yml#/components/schemas/SearchLinkedinAccountQuotaHitsRequest",
  "type": "object",
  "properties": {
    "filter": {
      "type": "object",
      "properties": {
        "sid": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "string"
            },
            "in": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "linkedin_account_sid": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "string"
            },
            "in": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "linkedin_account_snapshot_sid": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "string"
            },
            "in": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "is_null": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "reason": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "string"
            },
            "ne": {
              "type": "string"
            },
            "in": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nin": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "limit_type": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "string"
            },
            "ne": {
              "type": "string"
            },
            "in": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nin": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false,
          "description": "The smart-limit bucket the refusal locked (send_messages, send_connection_requests, ...). One reason can lock more than one bucket."
        },
        "has_premium": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "has_sn": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "has_recruiter": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "boolean"
            }
          },
          "additionalProperties": false
        },
        "daily_count": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "integer"
            },
            "gte": {
              "type": "integer"
            },
            "lte": {
              "type": "integer"
            },
            "gt": {
              "type": "integer"
            },
            "lt": {
              "type": "integer"
            }
          },
          "additionalProperties": false
        },
        "seven_days_count": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "integer"
            },
            "gte": {
              "type": "integer"
            },
            "lte": {
              "type": "integer"
            },
            "gt": {
              "type": "integer"
            },
            "lt": {
              "type": "integer"
            }
          },
          "additionalProperties": false
        },
        "thirty_days_count": {
          "type": "object",
          "properties": {
            "eq": {
              "type": "integer"
            },
            "gte": {
              "type": "integer"
            },
            "lte": {
              "type": "integer"
            },
            "gt": {
              "type": "integer"
            },
            "lt": {
              "type": "integer"
            }
          },
          "additionalProperties": false
        },
        "linkedin_quota_hit_till": {
          "type": "object",
          "properties": {
            "gte": {
              "type": "string"
            },
            "lte": {
              "type": "string"
            },
            "gt": {
              "type": "string"
            },
            "lt": {
              "type": "string"
            }
          },
          "additionalProperties": false,
          "description": "\"currently in effect\" ⇒ { gt: \"<now>\" }."
        },
        "created_at": {
          "type": "object",
          "properties": {
            "gte": {
              "type": "string"
            },
            "lte": {
              "type": "string"
            },
            "gt": {
              "type": "string"
            },
            "lt": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      }
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "linkedin_account",
          "linkedin_account_snapshot"
        ]
      },
      "description": "Relations to eager-load (see entity Includes)."
    },
    "sort": {
      "type": "object",
      "properties": {
        "field": {
          "type": "string",
          "enum": [
            "created_at",
            "linkedin_quota_hit_till"
          ]
        },
        "direction": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "description": "Default desc."
        }
      },
      "required": [
        "field"
      ]
    },
    "page_size": {
      "type": "integer",
      "minimum": 0,
      "maximum": 200,
      "description": "0..200, default 50. page_size=0 = count-only, page_size=1 = getFirst."
    },
    "cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Opaque forward cursor from a previous response pagination.next_cursor."
    }
  }
}