{
  "components": {
    "schemas": {
      "AutocompleteData": {
        "properties": {
          "field": {
            "title": "Field",
            "type": "string"
          },
          "values": {
            "items": {
              "type": "string"
            },
            "title": "Values",
            "type": "array"
          }
        },
        "required": [
          "field",
          "values"
        ],
        "title": "AutocompleteData",
        "type": "object"
      },
      "AutocompleteResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/AutocompleteData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "AutocompleteResponse",
        "type": "object"
      },
      "BounceData": {
        "properties": {
          "bundle": {
            "title": "Bundle",
            "type": "string"
          },
          "decided_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decided At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "needs_review": {
            "title": "Needs Review",
            "type": "boolean"
          },
          "outcome": {
            "title": "Outcome",
            "type": "string"
          },
          "record_id": {
            "title": "Record Id",
            "type": "string"
          },
          "refunded_credits": {
            "title": "Refunded Credits",
            "type": "integer"
          },
          "reported_at": {
            "format": "date-time",
            "title": "Reported At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "record_id",
          "bundle",
          "outcome",
          "needs_review",
          "refunded_credits",
          "reported_at",
          "decided_at"
        ],
        "title": "BounceData",
        "type": "object"
      },
      "BounceIn": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "maxLength": 320,
            "minLength": 3,
            "title": "Email",
            "type": "string"
          },
          "record_id": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Record Id",
            "type": "string"
          }
        },
        "required": [
          "record_id",
          "email"
        ],
        "title": "BounceIn",
        "type": "object"
      },
      "BounceResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BounceData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "BounceResponse",
        "type": "object"
      },
      "Bucket": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          }
        },
        "required": [
          "code",
          "label",
          "count"
        ],
        "title": "Bucket",
        "type": "object"
      },
      "BulkJobCreatedData": {
        "properties": {
          "job": {
            "$ref": "#/components/schemas/BulkJobData"
          },
          "max_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Bytes"
          },
          "upload_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Expires At"
          },
          "upload_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Url"
          }
        },
        "required": [
          "job",
          "upload_url",
          "upload_expires_at",
          "max_bytes"
        ],
        "title": "BulkJobCreatedData",
        "type": "object"
      },
      "BulkJobCreatedResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BulkJobCreatedData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "BulkJobCreatedResponse",
        "type": "object"
      },
      "BulkJobData": {
        "properties": {
          "charged_credits": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Charged Credits"
          },
          "confirmed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Confirmed At"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "credits_would_charge": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Would Charge"
          },
          "env": {
            "title": "Env",
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "estimate_credits": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Credits"
          },
          "finished_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finished At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "input_format": {
            "title": "Input Format",
            "type": "string"
          },
          "input_rows": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Rows"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "matched": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Matched"
          },
          "product": {
            "title": "Product",
            "type": "string"
          },
          "progress": {
            "additionalProperties": true,
            "title": "Progress",
            "type": "object"
          },
          "result_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Expires At"
          },
          "result_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Url"
          },
          "result_url_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result Url Expires At"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "status",
          "env",
          "product",
          "input_format",
          "input_rows",
          "estimate_credits",
          "matched",
          "charged_credits",
          "credits_would_charge",
          "progress",
          "error",
          "result_url",
          "result_url_expires_at",
          "result_expires_at",
          "created_at",
          "confirmed_at",
          "started_at",
          "finished_at"
        ],
        "title": "BulkJobData",
        "type": "object"
      },
      "BulkJobIn": {
        "additionalProperties": false,
        "description": "`POST /v1/bulk/jobs`: a file to upload, or (unlock only) a filter with a `limit`, or IDs.",
        "properties": {
          "bundles": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "minItems": 1,
            "title": "Bundles",
            "type": "array"
          },
          "filename": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filename"
          },
          "filter": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filter"
          },
          "ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "maxItems": 20000,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ids"
          },
          "input_format": {
            "default": "csv",
            "enum": [
              "csv",
              "jsonl"
            ],
            "title": "Input Format",
            "type": "string"
          },
          "kind": {
            "enum": [
              "enrich_person",
              "enrich_company",
              "unlock"
            ],
            "title": "Kind",
            "type": "string"
          },
          "limit": {
            "anyOf": [
              {
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limit"
          },
          "min_likelihood": {
            "anyOf": [
              {
                "maximum": 10,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Likelihood"
          },
          "product": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product"
          },
          "required": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Required",
            "type": "array"
          },
          "sql": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sql"
          }
        },
        "required": [
          "kind",
          "bundles"
        ],
        "title": "BulkJobIn",
        "type": "object"
      },
      "BulkJobResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/BulkJobData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "BulkJobResponse",
        "type": "object"
      },
      "BulkJobsMeta": {
        "properties": {
          "credits_charged": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Charged"
          },
          "credits_remaining": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Remaining"
          },
          "credits_would_charge": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Would Charge"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "release": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Release"
          },
          "replayed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replayed"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "BulkJobsMeta",
        "type": "object"
      },
      "BulkJobsResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/BulkJobData"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/BulkJobsMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "BulkJobsResponse",
        "type": "object"
      },
      "BundlePrice": {
        "properties": {
          "bundle": {
            "title": "Bundle",
            "type": "string"
          },
          "credits": {
            "title": "Credits",
            "type": "integer"
          }
        },
        "required": [
          "bundle",
          "credits"
        ],
        "title": "BundlePrice",
        "type": "object"
      },
      "CategoriesOut": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CategoryItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "CategoriesOut",
        "type": "object"
      },
      "CategoryItem": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "has_children": {
            "title": "Has Children",
            "type": "boolean"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "parent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent"
          }
        },
        "required": [
          "code",
          "label",
          "parent",
          "has_children"
        ],
        "title": "CategoryItem",
        "type": "object"
      },
      "CountData": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "facets": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/Bucket"
              },
              "type": "array"
            },
            "title": "Facets",
            "type": "object"
          }
        },
        "required": [
          "count",
          "facets"
        ],
        "title": "CountData",
        "type": "object"
      },
      "CountIn": {
        "additionalProperties": false,
        "properties": {
          "entity": {
            "enum": [
              "person",
              "company"
            ],
            "title": "Entity",
            "type": "string"
          },
          "facets": {
            "items": {
              "type": "string"
            },
            "maxItems": 20,
            "title": "Facets",
            "type": "array"
          },
          "filter": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filter"
          },
          "product": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product"
          },
          "sql": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sql"
          }
        },
        "required": [
          "entity"
        ],
        "title": "CountIn",
        "type": "object"
      },
      "CountResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CountData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "CountResponse",
        "type": "object"
      },
      "CreditsData": {
        "properties": {
          "available": {
            "title": "Available",
            "type": "integer"
          },
          "balance": {
            "title": "Balance",
            "type": "integer"
          },
          "held": {
            "title": "Held",
            "type": "integer"
          },
          "lots": {
            "items": {
              "$ref": "#/components/schemas/LotItem"
            },
            "title": "Lots",
            "type": "array"
          },
          "quotas": {
            "items": {
              "$ref": "#/components/schemas/QuotaItem"
            },
            "title": "Quotas",
            "type": "array"
          }
        },
        "required": [
          "balance",
          "held",
          "available",
          "lots",
          "quotas"
        ],
        "title": "CreditsData",
        "type": "object"
      },
      "CreditsOut": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CreditsData"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "CreditsOut",
        "type": "object"
      },
      "DataMeta": {
        "properties": {
          "credits_charged": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Charged"
          },
          "credits_remaining": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Remaining"
          },
          "credits_would_charge": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credits Would Charge"
          },
          "release": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Release"
          },
          "replayed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replayed"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "DataMeta",
        "type": "object"
      },
      "EnrichBatchData": {
        "properties": {
          "charged": {
            "title": "Charged",
            "type": "integer"
          },
          "matched": {
            "title": "Matched",
            "type": "integer"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/EnrichItemData"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "results",
          "matched",
          "charged"
        ],
        "title": "EnrichBatchData",
        "type": "object"
      },
      "EnrichBatchIn": {
        "additionalProperties": false,
        "properties": {
          "bundles": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "minItems": 1,
            "title": "Bundles",
            "type": "array"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/EnrichBatchItem"
            },
            "maxItems": 1000,
            "minItems": 1,
            "title": "Items",
            "type": "array"
          },
          "min_likelihood": {
            "anyOf": [
              {
                "maximum": 10,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Likelihood"
          },
          "product": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product"
          },
          "required": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Required",
            "type": "array"
          }
        },
        "required": [
          "items",
          "bundles"
        ],
        "title": "EnrichBatchIn",
        "type": "object"
      },
      "EnrichBatchItem": {
        "additionalProperties": false,
        "properties": {
          "client_ref": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Ref"
          },
          "match": {
            "$ref": "#/components/schemas/EnrichMatch"
          }
        },
        "required": [
          "match"
        ],
        "title": "EnrichBatchItem",
        "type": "object"
      },
      "EnrichBatchResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EnrichBatchData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "EnrichBatchResponse",
        "type": "object"
      },
      "EnrichData": {
        "properties": {
          "already_owned_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Already Owned Bundles",
            "type": "array"
          },
          "charged_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Charged Bundles",
            "type": "array"
          },
          "likelihood": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Likelihood"
          },
          "matched": {
            "title": "Matched",
            "type": "boolean"
          },
          "record": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record"
          },
          "record_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Id"
          }
        },
        "required": [
          "matched",
          "likelihood",
          "record_id",
          "record",
          "charged_bundles",
          "already_owned_bundles"
        ],
        "title": "EnrichData",
        "type": "object"
      },
      "EnrichIn": {
        "additionalProperties": false,
        "properties": {
          "bundles": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "minItems": 1,
            "title": "Bundles",
            "type": "array"
          },
          "match": {
            "$ref": "#/components/schemas/EnrichMatch"
          },
          "min_likelihood": {
            "anyOf": [
              {
                "maximum": 10,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Likelihood"
          },
          "product": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product"
          },
          "required": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Required",
            "type": "array"
          }
        },
        "required": [
          "match",
          "bundles"
        ],
        "title": "EnrichIn",
        "type": "object"
      },
      "EnrichItemData": {
        "properties": {
          "already_owned_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Already Owned Bundles",
            "type": "array"
          },
          "charged_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Charged Bundles",
            "type": "array"
          },
          "client_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Ref"
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EnrichItemError"
              },
              {
                "type": "null"
              }
            ]
          },
          "index": {
            "title": "Index",
            "type": "integer"
          },
          "likelihood": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Likelihood"
          },
          "matched": {
            "title": "Matched",
            "type": "boolean"
          },
          "record": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record"
          },
          "record_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Id"
          }
        },
        "required": [
          "index",
          "client_ref",
          "matched",
          "likelihood",
          "record_id",
          "record",
          "charged_bundles",
          "already_owned_bundles",
          "error"
        ],
        "title": "EnrichItemData",
        "type": "object"
      },
      "EnrichItemError": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "title": "EnrichItemError",
        "type": "object"
      },
      "EnrichMatch": {
        "additionalProperties": false,
        "description": "What a customer knows about the record. Exact keys need no search engine; names do.",
        "properties": {
          "address": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address"
          },
          "company_domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Domain"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Domain"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "place": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place"
          },
          "profile_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Url"
          },
          "region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region"
          }
        },
        "title": "EnrichMatch",
        "type": "object"
      },
      "EnrichResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EnrichData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "EnrichResponse",
        "type": "object"
      },
      "EstimateData": {
        "properties": {
          "already_owned": {
            "items": {
              "type": "string"
            },
            "title": "Already Owned",
            "type": "array"
          },
          "breakdown": {
            "items": {
              "$ref": "#/components/schemas/EstimateLineItem"
            },
            "title": "Breakdown",
            "type": "array"
          },
          "credits": {
            "title": "Credits",
            "type": "integer"
          },
          "estimate_token": {
            "title": "Estimate Token",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          },
          "quota_applied": {
            "title": "Quota Applied",
            "type": "integer"
          },
          "rejected": {
            "items": {
              "$ref": "#/components/schemas/RejectedItem"
            },
            "title": "Rejected",
            "type": "array"
          }
        },
        "required": [
          "credits",
          "breakdown",
          "already_owned",
          "quota_applied",
          "rejected",
          "estimate_token",
          "expires_at"
        ],
        "title": "EstimateData",
        "type": "object"
      },
      "EstimateLineItem": {
        "properties": {
          "bundle": {
            "title": "Bundle",
            "type": "string"
          },
          "credits_each": {
            "title": "Credits Each",
            "type": "integer"
          },
          "records": {
            "title": "Records",
            "type": "integer"
          },
          "subtotal": {
            "title": "Subtotal",
            "type": "integer"
          }
        },
        "required": [
          "bundle",
          "records",
          "credits_each",
          "subtotal"
        ],
        "title": "EstimateLineItem",
        "type": "object"
      },
      "EstimateResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EstimateData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "EstimateResponse",
        "type": "object"
      },
      "FieldItem": {
        "properties": {
          "bundle": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bundle"
          },
          "code_system": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code System"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "entity": {
            "title": "Entity",
            "type": "string"
          },
          "enum_values": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Enum Values"
          },
          "example": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Example"
          },
          "facetable": {
            "title": "Facetable",
            "type": "boolean"
          },
          "is_list": {
            "title": "Is List",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "operators": {
            "items": {
              "type": "string"
            },
            "title": "Operators",
            "type": "array"
          },
          "sortable": {
            "title": "Sortable",
            "type": "boolean"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "key",
          "entity",
          "type",
          "is_list",
          "description",
          "example",
          "operators",
          "enum_values",
          "code_system",
          "facetable",
          "sortable",
          "bundle"
        ],
        "title": "FieldItem",
        "type": "object"
      },
      "FieldsOut": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FieldItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "FieldsOut",
        "type": "object"
      },
      "Health": {
        "properties": {
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "Health",
        "type": "object"
      },
      "LedgerItem": {
        "properties": {
          "balance_after": {
            "title": "Balance After",
            "type": "integer"
          },
          "by": {
            "title": "By",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "delta": {
            "title": "Delta",
            "type": "integer"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "key_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Key Id"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "product_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product Id"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "kind",
          "summary",
          "delta",
          "balance_after",
          "by",
          "product_id",
          "key_id",
          "reference",
          "reason"
        ],
        "title": "LedgerItem",
        "type": "object"
      },
      "LedgerMeta": {
        "properties": {
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "release": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Release"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "LedgerMeta",
        "type": "object"
      },
      "LedgerOut": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LedgerItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/LedgerMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "LedgerOut",
        "type": "object"
      },
      "ListChangeData": {
        "properties": {
          "changed": {
            "title": "Changed",
            "type": "integer"
          },
          "list": {
            "$ref": "#/components/schemas/ListItem"
          }
        },
        "required": [
          "list",
          "changed"
        ],
        "title": "ListChangeData",
        "type": "object"
      },
      "ListChangeResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ListChangeData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "ListChangeResponse",
        "type": "object"
      },
      "ListIn": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "ids",
              "domains",
              "postal",
              "emails_hashed"
            ],
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "values": {
            "items": {
              "type": "string"
            },
            "maxItems": 10000,
            "title": "Values",
            "type": "array"
          }
        },
        "required": [
          "name",
          "kind"
        ],
        "title": "ListIn",
        "type": "object"
      },
      "ListItem": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "filterable": {
            "title": "Filterable",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "value_count": {
            "title": "Value Count",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "kind",
          "value_count",
          "filterable",
          "created_at",
          "updated_at"
        ],
        "title": "ListItem",
        "type": "object"
      },
      "ListResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ListItem"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "ListResponse",
        "type": "object"
      },
      "ListValuesData": {
        "properties": {
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "values": {
            "items": {
              "type": "string"
            },
            "title": "Values",
            "type": "array"
          }
        },
        "required": [
          "values",
          "next_cursor"
        ],
        "title": "ListValuesData",
        "type": "object"
      },
      "ListValuesIn": {
        "additionalProperties": false,
        "properties": {
          "values": {
            "items": {
              "type": "string"
            },
            "maxItems": 10000,
            "minItems": 1,
            "title": "Values",
            "type": "array"
          }
        },
        "required": [
          "values"
        ],
        "title": "ListValuesIn",
        "type": "object"
      },
      "ListValuesResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ListValuesData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "ListValuesResponse",
        "type": "object"
      },
      "ListsResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ListItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "ListsResponse",
        "type": "object"
      },
      "LotItem": {
        "properties": {
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "remaining": {
            "title": "Remaining",
            "type": "integer"
          }
        },
        "required": [
          "kind",
          "remaining",
          "expires_at"
        ],
        "title": "LotItem",
        "type": "object"
      },
      "Meta": {
        "properties": {
          "release": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Release"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "Meta",
        "type": "object"
      },
      "PlaceItem": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "country": {
            "title": "Country",
            "type": "string"
          },
          "lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lat"
          },
          "level": {
            "title": "Level",
            "type": "string"
          },
          "lon": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lon"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "parent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent"
          }
        },
        "required": [
          "code",
          "level",
          "name",
          "parent",
          "country",
          "lat",
          "lon"
        ],
        "title": "PlaceItem",
        "type": "object"
      },
      "PlacesOut": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/PlaceItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "PlacesOut",
        "type": "object"
      },
      "ProductDetail": {
        "properties": {
          "bundles": {
            "items": {
              "$ref": "#/components/schemas/BundlePrice"
            },
            "title": "Bundles",
            "type": "array"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "entity": {
            "title": "Entity",
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/ProductField"
            },
            "title": "Fields",
            "type": "array"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "per_record_credits": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Record Credits"
          },
          "pricing_model": {
            "title": "Pricing Model",
            "type": "string"
          },
          "quota": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QuotaStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "record_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Count"
          },
          "sample": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Sample",
            "type": "array"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "slug",
          "name",
          "entity",
          "description",
          "version",
          "bundles",
          "pricing_model",
          "per_record_credits",
          "quota",
          "record_count",
          "fields",
          "sample"
        ],
        "title": "ProductDetail",
        "type": "object"
      },
      "ProductField": {
        "properties": {
          "bundle": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bundle"
          },
          "contact": {
            "title": "Contact",
            "type": "boolean"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "filterable": {
            "title": "Filterable",
            "type": "boolean"
          },
          "is_list": {
            "title": "Is List",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "key",
          "type",
          "is_list",
          "bundle",
          "description",
          "contact",
          "filterable"
        ],
        "title": "ProductField",
        "type": "object"
      },
      "ProductItem": {
        "properties": {
          "bundles": {
            "items": {
              "$ref": "#/components/schemas/BundlePrice"
            },
            "title": "Bundles",
            "type": "array"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "entity": {
            "title": "Entity",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "per_record_credits": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Record Credits"
          },
          "pricing_model": {
            "title": "Pricing Model",
            "type": "string"
          },
          "quota": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QuotaStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "record_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Count"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "slug",
          "name",
          "entity",
          "description",
          "version",
          "bundles",
          "pricing_model",
          "per_record_credits",
          "quota",
          "record_count"
        ],
        "title": "ProductItem",
        "type": "object"
      },
      "ProductResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/ProductDetail"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "ProductResponse",
        "type": "object"
      },
      "ProductsResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ProductItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "ProductsResponse",
        "type": "object"
      },
      "QuotaItem": {
        "properties": {
          "period_end": {
            "format": "date",
            "title": "Period End",
            "type": "string"
          },
          "period_start": {
            "format": "date",
            "title": "Period Start",
            "type": "string"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string"
          },
          "quota": {
            "title": "Quota",
            "type": "integer"
          },
          "used": {
            "title": "Used",
            "type": "integer"
          }
        },
        "required": [
          "product_id",
          "period_start",
          "period_end",
          "quota",
          "used"
        ],
        "title": "QuotaItem",
        "type": "object"
      },
      "QuotaStatus": {
        "properties": {
          "period_end": {
            "title": "Period End",
            "type": "string"
          },
          "period_start": {
            "title": "Period Start",
            "type": "string"
          },
          "quota": {
            "title": "Quota",
            "type": "integer"
          },
          "remaining": {
            "title": "Remaining",
            "type": "integer"
          },
          "used": {
            "title": "Used",
            "type": "integer"
          }
        },
        "required": [
          "period_start",
          "period_end",
          "quota",
          "used",
          "remaining"
        ],
        "title": "QuotaStatus",
        "type": "object"
      },
      "RecordData": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "locked_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Locked Bundles",
            "type": "array"
          },
          "merged_from": {
            "items": {
              "type": "string"
            },
            "title": "Merged From",
            "type": "array"
          },
          "owned_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Owned Bundles",
            "type": "array"
          },
          "record": {
            "additionalProperties": true,
            "title": "Record",
            "type": "object"
          }
        },
        "required": [
          "id",
          "merged_from",
          "record",
          "owned_bundles",
          "locked_bundles"
        ],
        "title": "RecordData",
        "type": "object"
      },
      "RecordResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/RecordData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "RecordResponse",
        "type": "object"
      },
      "RejectedItem": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "id",
          "reason"
        ],
        "title": "RejectedItem",
        "type": "object"
      },
      "RoleItem": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "decision_maker": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decision Maker"
          },
          "function": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "rank": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rank"
          }
        },
        "required": [
          "code",
          "label",
          "rank",
          "function",
          "decision_maker"
        ],
        "title": "RoleItem",
        "type": "object"
      },
      "RolesOut": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/RoleItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "RolesOut",
        "type": "object"
      },
      "SearchData": {
        "properties": {
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "results": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "total_relation": {
            "title": "Total Relation",
            "type": "string"
          }
        },
        "required": [
          "results",
          "next_cursor",
          "total",
          "total_relation"
        ],
        "title": "SearchData",
        "type": "object"
      },
      "SearchIn": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cursor"
          },
          "exclude_owned": {
            "default": false,
            "title": "Exclude Owned",
            "type": "boolean"
          },
          "filter": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Filter"
          },
          "product": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product"
          },
          "size": {
            "default": 25,
            "maximum": 100,
            "minimum": 1,
            "title": "Size",
            "type": "integer"
          },
          "sort": {
            "items": {
              "$ref": "#/components/schemas/SortItem"
            },
            "maxItems": 5,
            "title": "Sort",
            "type": "array"
          },
          "sql": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sql"
          }
        },
        "title": "SearchIn",
        "type": "object"
      },
      "SearchResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/SearchData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "SearchResponse",
        "type": "object"
      },
      "SortItem": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "title": "Field",
            "type": "string"
          },
          "order": {
            "default": "asc",
            "enum": [
              "asc",
              "desc"
            ],
            "title": "Order",
            "type": "string"
          }
        },
        "required": [
          "field"
        ],
        "title": "SortItem",
        "type": "object"
      },
      "UnlockData": {
        "properties": {
          "already_owned": {
            "items": {
              "type": "string"
            },
            "title": "Already Owned",
            "type": "array"
          },
          "charged": {
            "title": "Charged",
            "type": "integer"
          },
          "records": {
            "items": {
              "$ref": "#/components/schemas/UnlockedRecord"
            },
            "title": "Records",
            "type": "array"
          },
          "rejected": {
            "items": {
              "$ref": "#/components/schemas/RejectedItem"
            },
            "title": "Rejected",
            "type": "array"
          }
        },
        "required": [
          "records",
          "charged",
          "already_owned",
          "rejected"
        ],
        "title": "UnlockData",
        "type": "object"
      },
      "UnlockIn": {
        "additionalProperties": false,
        "properties": {
          "bundles": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "minItems": 1,
            "title": "Bundles",
            "type": "array"
          },
          "entity": {
            "enum": [
              "person",
              "company"
            ],
            "title": "Entity",
            "type": "string"
          },
          "ids": {
            "items": {
              "type": "string"
            },
            "maxItems": 100,
            "minItems": 1,
            "title": "Ids",
            "type": "array"
          },
          "max_credits": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Credits"
          },
          "product": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product"
          },
          "required": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Required",
            "type": "array"
          }
        },
        "required": [
          "entity",
          "ids",
          "bundles"
        ],
        "title": "UnlockIn",
        "type": "object"
      },
      "UnlockResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/UnlockData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "UnlockResponse",
        "type": "object"
      },
      "UnlockedRecord": {
        "properties": {
          "already_owned_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Already Owned Bundles",
            "type": "array"
          },
          "charged_bundles": {
            "items": {
              "type": "string"
            },
            "title": "Charged Bundles",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "merged_from": {
            "items": {
              "type": "string"
            },
            "title": "Merged From",
            "type": "array"
          },
          "record": {
            "additionalProperties": true,
            "title": "Record",
            "type": "object"
          }
        },
        "required": [
          "id",
          "merged_from",
          "charged_bundles",
          "already_owned_bundles",
          "record"
        ],
        "title": "UnlockedRecord",
        "type": "object"
      },
      "UsageItem": {
        "properties": {
          "credits": {
            "title": "Credits",
            "type": "integer"
          },
          "day": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Day"
          },
          "errors": {
            "title": "Errors",
            "type": "integer"
          },
          "key_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Key Id"
          },
          "p95_ms": {
            "title": "P95 Ms",
            "type": "integer"
          },
          "product": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Product"
          },
          "records": {
            "title": "Records",
            "type": "integer"
          },
          "requests": {
            "title": "Requests",
            "type": "integer"
          },
          "route": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route"
          }
        },
        "required": [
          "requests",
          "errors",
          "credits",
          "records",
          "p95_ms"
        ],
        "title": "UsageItem",
        "type": "object"
      },
      "UsageMeta": {
        "properties": {
          "date_from": {
            "format": "date",
            "title": "Date From",
            "type": "string"
          },
          "date_to": {
            "format": "date",
            "title": "Date To",
            "type": "string"
          },
          "group_by": {
            "items": {
              "type": "string"
            },
            "title": "Group By",
            "type": "array"
          },
          "release": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Release"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "totals": {
            "$ref": "#/components/schemas/UsageTotalsOut"
          },
          "truncated": {
            "title": "Truncated",
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "date_from",
          "date_to",
          "group_by",
          "totals",
          "truncated"
        ],
        "title": "UsageMeta",
        "type": "object"
      },
      "UsageOut": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/UsageItem"
            },
            "title": "Data",
            "type": "array"
          },
          "meta": {
            "$ref": "#/components/schemas/UsageMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "UsageOut",
        "type": "object"
      },
      "UsageTotalsOut": {
        "properties": {
          "credits": {
            "title": "Credits",
            "type": "integer"
          },
          "errors": {
            "title": "Errors",
            "type": "integer"
          },
          "p95_ms": {
            "title": "P95 Ms",
            "type": "integer"
          },
          "records": {
            "title": "Records",
            "type": "integer"
          },
          "requests": {
            "title": "Requests",
            "type": "integer"
          }
        },
        "required": [
          "requests",
          "errors",
          "credits",
          "records",
          "p95_ms"
        ],
        "title": "UsageTotalsOut",
        "type": "object"
      },
      "WebhookCreatedResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WebhookSecretOut"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "WebhookCreatedResponse",
        "type": "object"
      },
      "WebhookDeletedData": {
        "properties": {
          "deleted": {
            "title": "Deleted",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "deleted"
        ],
        "title": "WebhookDeletedData",
        "type": "object"
      },
      "WebhookDeletedResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WebhookDeletedData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "WebhookDeletedResponse",
        "type": "object"
      },
      "WebhookDeliveryOut": {
        "properties": {
          "attempt": {
            "title": "Attempt",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "endpoint_id": {
            "title": "Endpoint Id",
            "type": "string"
          },
          "event_id": {
            "title": "Event Id",
            "type": "string"
          },
          "event_type": {
            "title": "Event Type",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_test": {
            "title": "Is Test",
            "type": "boolean"
          },
          "last_attempt_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Attempt At"
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Error"
          },
          "max_attempts": {
            "title": "Max Attempts",
            "type": "integer"
          },
          "next_attempt_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Attempt At"
          },
          "payload": {
            "additionalProperties": true,
            "title": "Payload",
            "type": "object"
          },
          "response_ms": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Response Ms"
          },
          "response_status": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Response Status"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "endpoint_id",
          "event_type",
          "event_id",
          "payload",
          "attempt",
          "max_attempts",
          "status",
          "next_attempt_at",
          "last_attempt_at",
          "response_status",
          "response_ms",
          "last_error",
          "is_test",
          "created_at"
        ],
        "title": "WebhookDeliveryOut",
        "type": "object"
      },
      "WebhookEndpointOut": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "disabled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Disabled At"
          },
          "disabled_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Disabled Reason"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "title": "Events",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "org_id": {
            "title": "Org Id",
            "type": "string"
          },
          "previous_secret_valid_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Previous Secret Valid Until"
          },
          "secret_last4": {
            "title": "Secret Last4",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "id",
          "org_id",
          "url",
          "description",
          "events",
          "status",
          "disabled_reason",
          "disabled_at",
          "secret_last4",
          "previous_secret_valid_until",
          "created_at",
          "updated_at"
        ],
        "title": "WebhookEndpointOut",
        "type": "object"
      },
      "WebhookIn": {
        "properties": {
          "description": {
            "default": "",
            "maxLength": 200,
            "title": "Description",
            "type": "string"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "maxItems": 20,
            "title": "Events",
            "type": "array"
          },
          "url": {
            "maxLength": 2048,
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "events"
        ],
        "title": "WebhookIn",
        "type": "object"
      },
      "WebhookSecretOut": {
        "description": "An endpoint with its signing secret. The secret is in this answer only.",
        "properties": {
          "endpoint": {
            "$ref": "#/components/schemas/WebhookEndpointOut"
          },
          "secret": {
            "title": "Secret",
            "type": "string"
          }
        },
        "required": [
          "endpoint",
          "secret"
        ],
        "title": "WebhookSecretOut",
        "type": "object"
      },
      "WebhookTestResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WebhookDeliveryOut"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "WebhookTestResponse",
        "type": "object"
      },
      "WebhooksData": {
        "properties": {
          "endpoints": {
            "items": {
              "$ref": "#/components/schemas/WebhookEndpointOut"
            },
            "title": "Endpoints",
            "type": "array"
          },
          "max_endpoints": {
            "title": "Max Endpoints",
            "type": "integer"
          }
        },
        "required": [
          "endpoints",
          "max_endpoints"
        ],
        "title": "WebhooksData",
        "type": "object"
      },
      "WebhooksResponse": {
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WebhooksData"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "title": "WebhooksResponse",
        "type": "object"
      },
      "WhoAmI": {
        "properties": {
          "auth_mode": {
            "title": "Auth Mode",
            "type": "string"
          },
          "env": {
            "title": "Env",
            "type": "string"
          },
          "key_id": {
            "title": "Key Id",
            "type": "string"
          },
          "org_id": {
            "title": "Org Id",
            "type": "string"
          },
          "products": {
            "items": {
              "type": "string"
            },
            "title": "Products",
            "type": "array"
          },
          "public_id": {
            "title": "Public Id",
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "title": "Scopes",
            "type": "array"
          }
        },
        "required": [
          "org_id",
          "key_id",
          "public_id",
          "env",
          "auth_mode",
          "scopes",
          "products"
        ],
        "title": "WhoAmI",
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiCredentials": {
        "description": "`Authorization: Bearer zd_live_sk_\u2026`, an OAuth access token, or signed-request headers (`X-Zemo-Key-Id`, `X-Zemo-Timestamp`, `X-Zemo-Nonce`, `X-Zemo-Signature`).",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "Customer API. Authenticated with API credentials.",
    "title": "zemoData API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/autocomplete": {
      "get": {
        "description": "Values of a text or keyword field that start with `q`, among the records of a product\n(`?product=` or `Zemo-Product`; the field belongs to the product's entity). Free.",
        "operationId": "zemo_modules_public_api_data_routes_autocomplete",
        "parameters": [
          {
            "in": "query",
            "name": "field",
            "required": true,
            "schema": {
              "title": "Field",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "title": "Q",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Product"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "field": "company.name",
                    "values": [
                      "Brightline HVAC",
                      "Bright Smiles Dental"
                    ]
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/AutocompleteResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Suggest values of a field",
        "tags": [
          "data"
        ]
      }
    },
    "/bulk/jobs": {
      "get": {
        "description": "Newest first, `limit` at a time (at most 200); `meta.next_cursor` gets the next page.\nDownload links are only in `GET /v1/bulk/jobs/{id}`.",
        "operationId": "zemo_modules_public_api_bulk_routes_list_jobs",
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkJobsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Your bulk jobs",
        "tags": [
          "bulk"
        ]
      },
      "post": {
        "description": "Enrich jobs take a file (CSV or JSON lines; columns `email`, `phone`, `profile_url`,\n`first_name`, `last_name`, `company_domain`, `company_name`, `region`, `line1`, `postal`, and\n`client_ref`, echoed back; for companies `domain`, `name`, `region`, `place`). Unlock jobs\ntake a file with an `id` column, `ids`, or a `filter` (or `sql`) with a `limit` (at most\n`bulk.max_rows`). Test keys run against the test dataset and never spend.",
        "operationId": "zemo_modules_public_api_bulk_routes_create_job",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "bundles": [
                  "profile",
                  "work_email"
                ],
                "filename": "crm-export.csv",
                "input_format": "csv",
                "kind": "enrich_person",
                "min_likelihood": 7,
                "product": "fl-restaurant-owners",
                "required": []
              },
              "schema": {
                "$ref": "#/components/schemas/BulkJobIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "job": {
                      "charged_credits": null,
                      "confirmed_at": null,
                      "created_at": "2026-11-25T10:00:00Z",
                      "credits_would_charge": null,
                      "env": "live",
                      "error": null,
                      "estimate_credits": null,
                      "finished_at": null,
                      "id": "job_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                      "input_format": "csv",
                      "input_rows": null,
                      "kind": "enrich_person",
                      "matched": null,
                      "product": "fl-restaurant-owners",
                      "progress": {},
                      "result_expires_at": null,
                      "result_url": null,
                      "result_url_expires_at": null,
                      "started_at": null,
                      "status": "created"
                    },
                    "max_bytes": 524288000,
                    "upload_expires_at": "2026-11-25T10:15:00Z",
                    "upload_url": "https://zemo-bulk.s3.amazonaws.com/org_01JD\u2026/job_01JD\u2026/input.csv?X-Amz-Expires=900&\u2026"
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkJobCreatedResponse"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Start a bulk job",
        "tags": [
          "bulk"
        ]
      }
    },
    "/bulk/jobs/{job_id}": {
      "get": {
        "description": "Status, progress, the estimate, and once finished `result_url` (a signed link valid\n`bulk.result_url_ttl_hours`, 24 by default; ask again for a fresh one). The file is deleted\nat `result_expires_at` (`retention.bulk_files_days`).",
        "operationId": "zemo_modules_public_api_bulk_routes_get_job",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "title": "Job Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "charged_credits": 3540,
                    "confirmed_at": "2026-11-25T10:05:00Z",
                    "created_at": "2026-11-25T10:00:00Z",
                    "credits_would_charge": null,
                    "env": "live",
                    "error": null,
                    "estimate_credits": 3600,
                    "finished_at": "2026-11-25T10:12:00Z",
                    "id": "job_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "input_format": "csv",
                    "input_rows": 1200,
                    "kind": "enrich_person",
                    "matched": 1180,
                    "product": "fl-restaurant-owners",
                    "progress": {
                      "charged": 3540,
                      "chunks_done": 3,
                      "matched": 1180,
                      "rows_done": 1200
                    },
                    "result_expires_at": "2026-12-25T10:12:00Z",
                    "result_url": "https://zemo-bulk.s3.amazonaws.com/org_01JD\u2026/job_01JD\u2026/result.csv?X-Amz-Expires=86400&\u2026",
                    "result_url_expires_at": "2026-11-26T10:12:00Z",
                    "started_at": "2026-11-25T10:05:02Z",
                    "status": "completed"
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/BulkJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "A bulk job, with its result link",
        "tags": [
          "bulk"
        ]
      }
    },
    "/bulk/jobs/{job_id}/cancel": {
      "post": {
        "description": "Before it runs only (`409 bulk.state` after); the hold is given back.",
        "operationId": "zemo_modules_public_api_bulk_routes_cancel_job",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "title": "Job Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Cancel a bulk job",
        "tags": [
          "bulk"
        ]
      }
    },
    "/bulk/jobs/{job_id}/confirm": {
      "post": {
        "description": "Places a hold for `estimate_credits` (`402 credits.insufficient` when they aren't\navailable) and queues the job. The same Idempotency-Key again returns the job; nothing is\nheld twice. If the real cost would pass the hold, the job stops with `bulk.hold_exhausted`.",
        "operationId": "zemo_modules_public_api_bulk_routes_confirm_job",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "title": "Job Id",
              "type": "string"
            }
          },
          {
            "description": "Required. A repeat with the same key and body is never charged twice.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Hold the credits and run the job",
        "tags": [
          "bulk"
        ]
      }
    },
    "/bulk/jobs/{job_id}/submit": {
      "post": {
        "description": "Check the upload and start validating and estimating it. `409 bulk.state` before the\nupload or after a submit; `413 bulk.too_large` above `bulk.max_bytes`. A file that can't be\nread fails the job with `bulk.invalid_file` in `error`.",
        "operationId": "zemo_modules_public_api_bulk_routes_submit_job",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "title": "Job Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkJobResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "The file is uploaded",
        "tags": [
          "bulk"
        ]
      }
    },
    "/company/enrich": {
      "post": {
        "description": "Match by `domain` (likelihood 10) or `phone` (8). Name and region matching needs the search\nengine. Charged only on a match. Needs the `enrich` scope and an `Idempotency-Key`.",
        "operationId": "zemo_modules_public_api_data_routes_enrich_company",
        "parameters": [
          {
            "description": "Required. A repeat with the same key and body is never charged twice.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "bundles": [
                  "company_profile"
                ],
                "match": {
                  "domain": "brightline-hvac.example"
                },
                "product": "us-companies"
              },
              "schema": {
                "$ref": "#/components/schemas/EnrichIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "already_owned_bundles": [
                      "work_email"
                    ],
                    "charged_bundles": [
                      "profile"
                    ],
                    "likelihood": 10,
                    "matched": true,
                    "record": {
                      "emails": {
                        "work": [
                          {
                            "confidence": 0.9,
                            "first_seen": "2025-03-02",
                            "last_seen": "2026-10-01",
                            "rank": 1,
                            "source_count": 2,
                            "status": "unverified",
                            "type": "work",
                            "value": "dana.ruiz@brightline-hvac.example"
                          }
                        ]
                      },
                      "entity": "person",
                      "grade": "B",
                      "has_mobile": true,
                      "has_work_email": true,
                      "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                      "job": {
                        "company_id": "zc_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "is_best_contact": true,
                        "role": {
                          "code": "owner",
                          "decision_maker": true,
                          "function": "executive",
                          "rank": 95
                        },
                        "title_raw": "Owner"
                      },
                      "location": {
                        "city": "Tampa",
                        "country": "US",
                        "county": "12057",
                        "geo": {
                          "lat": 27.95,
                          "lon": -82.46
                        },
                        "metro": "45300",
                        "place": "1271000",
                        "postal": "33611",
                        "region": "US-FL"
                      },
                      "name": {
                        "first": "Dana",
                        "full": "Dana Ruiz",
                        "last": "Ruiz",
                        "middle": "M",
                        "suffix": null
                      },
                      "release_id": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001"
                    },
                    "record_id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  },
                  "meta": {
                    "credits_charged": 1,
                    "credits_remaining": 996,
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/EnrichResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Find a company and deliver the record",
        "tags": [
          "data"
        ]
      }
    },
    "/company/enrich/batch": {
      "post": {
        "description": "Company inputs in one request; the same rules as `POST /v1/person/enrich/batch`.",
        "operationId": "zemo_modules_public_api_data_routes_enrich_companies_batch",
        "parameters": [
          {
            "description": "Required. A repeat with the same key and body is never charged twice.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "bundles": [
                  "company_profile"
                ],
                "items": [
                  {
                    "match": {
                      "domain": "brightline-hvac.example"
                    }
                  }
                ],
                "product": "us-companies"
              },
              "schema": {
                "$ref": "#/components/schemas/EnrichBatchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "charged": 3,
                    "matched": 1,
                    "results": [
                      {
                        "already_owned_bundles": [],
                        "charged_bundles": [
                          "profile",
                          "work_email"
                        ],
                        "client_ref": "crm-1001",
                        "error": null,
                        "index": 0,
                        "likelihood": 10,
                        "matched": true,
                        "record": {
                          "emails": {
                            "work": [
                              {
                                "confidence": 0.9,
                                "first_seen": "2025-03-02",
                                "last_seen": "2026-10-01",
                                "rank": 1,
                                "source_count": 2,
                                "status": "unverified",
                                "type": "work",
                                "value": "dana.ruiz@brightline-hvac.example"
                              }
                            ]
                          },
                          "entity": "person",
                          "grade": "B",
                          "has_mobile": true,
                          "has_work_email": true,
                          "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                          "job": {
                            "company_id": "zc_01JD3K8ZQ4V6W9XG2M5N7P0001",
                            "is_best_contact": true,
                            "role": {
                              "code": "owner",
                              "decision_maker": true,
                              "function": "executive",
                              "rank": 95
                            },
                            "title_raw": "Owner"
                          },
                          "location": {
                            "city": "Tampa",
                            "country": "US",
                            "county": "12057",
                            "geo": {
                              "lat": 27.95,
                              "lon": -82.46
                            },
                            "metro": "45300",
                            "place": "1271000",
                            "postal": "33611",
                            "region": "US-FL"
                          },
                          "name": {
                            "first": "Dana",
                            "full": "Dana Ruiz",
                            "last": "Ruiz",
                            "middle": "M",
                            "suffix": null
                          },
                          "release_id": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001"
                        },
                        "record_id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001"
                      },
                      {
                        "already_owned_bundles": [],
                        "charged_bundles": [],
                        "client_ref": "crm-1002",
                        "error": null,
                        "index": 1,
                        "likelihood": null,
                        "matched": false,
                        "record": null,
                        "record_id": null
                      }
                    ]
                  },
                  "meta": {
                    "credits_charged": 3,
                    "credits_remaining": 994,
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/EnrichBatchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Enrich many companies in one request",
        "tags": [
          "data"
        ]
      }
    },
    "/company/search": {
      "post": {
        "description": "Masked companies of the product matching the filter (or `sql`), a page at a time. Free.",
        "operationId": "zemo_modules_public_api_data_routes_search_companies",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "cursor": null,
                "exclude_owned": false,
                "filter": {
                  "eq": true,
                  "field": "has_mobile"
                },
                "product": "fl-restaurant-owners",
                "size": 25,
                "sort": [
                  {
                    "field": "job.role.rank",
                    "order": "desc"
                  }
                ]
              },
              "schema": {
                "$ref": "#/components/schemas/SearchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "next_cursor": null,
                    "results": [
                      {
                        "has_mobile": true,
                        "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "name": {
                          "first": "Dana",
                          "last": "Ruiz"
                        },
                        "owned_bundles": []
                      }
                    ],
                    "total": 1,
                    "total_relation": "eq"
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SearchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Search companies",
        "tags": [
          "data"
        ]
      }
    },
    "/company/{record_id}": {
      "get": {
        "description": "A company record. Same rules as `GET /v1/person/{id}`.",
        "operationId": "zemo_modules_public_api_data_routes_get_company",
        "parameters": [
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "bundles",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Bundles"
            }
          },
          {
            "in": "query",
            "name": "preview",
            "required": false,
            "schema": {
              "default": false,
              "title": "Preview",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Product"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "locked_bundles": [
                      "mobile"
                    ],
                    "merged_from": [],
                    "owned_bundles": [
                      "profile",
                      "work_email"
                    ],
                    "record": {
                      "emails": {
                        "work": [
                          {
                            "confidence": 0.9,
                            "first_seen": "2025-03-02",
                            "last_seen": "2026-10-01",
                            "rank": 1,
                            "source_count": 2,
                            "status": "unverified",
                            "type": "work",
                            "value": "dana.ruiz@brightline-hvac.example"
                          }
                        ]
                      },
                      "entity": "person",
                      "grade": "B",
                      "has_mobile": true,
                      "has_work_email": true,
                      "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                      "job": {
                        "company_id": "zc_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "is_best_contact": true,
                        "role": {
                          "code": "owner",
                          "decision_maker": true,
                          "function": "executive",
                          "rank": 95
                        },
                        "title_raw": "Owner"
                      },
                      "location": {
                        "city": "Tampa",
                        "country": "US",
                        "county": "12057",
                        "geo": {
                          "lat": 27.95,
                          "lon": -82.46
                        },
                        "metro": "45300",
                        "place": "1271000",
                        "postal": "33611",
                        "region": "US-FL"
                      },
                      "name": {
                        "first": "Dana",
                        "full": "Dana Ruiz",
                        "last": "Ruiz",
                        "middle": "M",
                        "suffix": null
                      },
                      "release_id": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001"
                    }
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/RecordResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "One company by ID",
        "tags": [
          "data"
        ]
      }
    },
    "/count": {
      "post": {
        "description": "How many records of the product match the filter (or `sql`), with optional facets. Free.\n\nThe filter is ANDed with the product's segment. `422 filter.invalid` or `sql.invalid` for a\nfilter the registry doesn't accept; `503 unavailable` without a search engine.",
        "operationId": "zemo_modules_public_api_data_routes_count",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "entity": "person",
                "facets": [
                  "location.place"
                ],
                "filter": {
                  "all": [
                    {
                      "field": "job.role.rank",
                      "gte": 90
                    },
                    {
                      "eq": true,
                      "field": "has_mobile"
                    }
                  ]
                },
                "product": "fl-restaurant-owners"
              },
              "schema": {
                "$ref": "#/components/schemas/CountIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "count": 18422,
                    "facets": {
                      "location.place": [
                        {
                          "code": "1245000",
                          "count": 3120,
                          "label": "Miami"
                        }
                      ]
                    }
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/CountResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Count records matching a filter",
        "tags": [
          "data"
        ]
      }
    },
    "/credits": {
      "get": {
        "description": "The balance, what bulk jobs have reserved, what is available, and the lots with their expiry dates.",
        "operationId": "zemo_modules_public_api_api_credits_balance",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditsOut"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Credit balance",
        "tags": [
          "account"
        ]
      }
    },
    "/estimate": {
      "post": {
        "description": "The price of an unlock, record by record, without charging anything. Free.\n\nReturns an `estimate_token`, valid for 10 minutes, that bulk-job confirmation accepts.",
        "operationId": "zemo_modules_public_api_data_routes_estimate",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "bundles": [
                  "profile",
                  "work_email"
                ],
                "entity": "person",
                "ids": [
                  "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                  "zp_01JD3K8ZQ4V6W9XG2M5N7P0002"
                ],
                "max_credits": 500,
                "product": "fl-restaurant-owners",
                "required": []
              },
              "schema": {
                "$ref": "#/components/schemas/UnlockIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "already_owned": [],
                    "breakdown": [
                      {
                        "bundle": "profile",
                        "credits_each": 1,
                        "records": 2,
                        "subtotal": 2
                      },
                      {
                        "bundle": "work_email",
                        "credits_each": 2,
                        "records": 2,
                        "subtotal": 4
                      }
                    ],
                    "credits": 6,
                    "estimate_token": "eyJjcmVkaXRzIjo2fQ.5b2f\u2026",
                    "expires_at": "2026-11-24T10:10:00Z",
                    "quota_applied": 0,
                    "rejected": []
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/EstimateResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "What an unlock would cost",
        "tags": [
          "data"
        ]
      }
    },
    "/feedback/bounce": {
      "post": {
        "description": "An email you bought bounced. It must be one of the record's emails, in a bundle you own,\nbought within `credits.bounce_refund_days` (30 by default). The report is `pending` while the\naddress is checked; poll `GET /v1/feedback/bounce/{id}`. `confirmed` means the credits for\nthat bundle were refunded. Above `credits.bounce_refund_max_rate` of this month's email\npurchases, staff review the report first. Reporting the same address again returns the same\nreport. `422` with `bounce.not_owned`, `bounce.too_late`, `bounce.live_only` (test keys) or\n`email.invalid`; `404 record.not_found` when the email isn't on the record.",
        "operationId": "zemo_modules_public_api_feedback_routes_report_bounce",
        "parameters": [
          {
            "description": "Required. A repeat with the same key and body is never charged twice.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "email": "dana.ruiz@brightline-hvac.example",
                "record_id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001"
              },
              "schema": {
                "$ref": "#/components/schemas/BounceIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "bundle": "work_email",
                    "decided_at": null,
                    "id": "bnc_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "needs_review": false,
                    "outcome": "pending",
                    "record_id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "refunded_credits": 0,
                    "reported_at": "2026-11-25T10:00:00Z"
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                }
              }
            }
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BounceResponse"
                }
              }
            },
            "description": "Accepted"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Report a bounced email",
        "tags": [
          "account"
        ]
      }
    },
    "/feedback/bounce/{report_id}": {
      "get": {
        "operationId": "zemo_modules_public_api_feedback_routes_get_bounce",
        "parameters": [
          {
            "in": "path",
            "name": "report_id",
            "required": true,
            "schema": {
              "title": "Report Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BounceResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "A bounce report",
        "tags": [
          "account"
        ]
      }
    },
    "/fields": {
      "get": {
        "description": "Every filterable field of `person` or `company`, with its type and the operators it takes.",
        "operationId": "zemo_modules_public_api_api_fields",
        "parameters": [
          {
            "in": "query",
            "name": "entity",
            "required": false,
            "schema": {
              "default": "person",
              "title": "Entity",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FieldsOut"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Fields that can be used in filters",
        "tags": [
          "catalog"
        ]
      }
    },
    "/geo/places": {
      "get": {
        "description": "Places whose name starts with `q` (at least two characters), biggest first.\n\n`level` is one of country, region, county, place, metro, postal. `region` limits the search\nto one state, for example `US-FL`.",
        "operationId": "zemo_modules_public_api_api_geo_places",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "title": "Q",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "level",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Level"
            }
          },
          {
            "in": "query",
            "name": "region",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Region"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacesOut"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Find a place by name",
        "tags": [
          "catalog"
        ]
      }
    },
    "/health": {
      "get": {
        "description": "The API process is up. Does not check dependencies.",
        "operationId": "zemo_modules_public_api_api_health",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Health"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Liveness check",
        "tags": [
          "meta"
        ]
      }
    },
    "/ledger": {
      "get": {
        "description": "Every change to the balance, newest first. Send `Accept: text/csv` for a CSV export.\n\nFilter by `kind` (for example `spend`), `key_id`, `product`, and a time range with `from` and `to`.",
        "operationId": "zemo_modules_public_api_api_credits_ledger",
        "parameters": [
          {
            "in": "query",
            "name": "kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Kind"
            }
          },
          {
            "in": "query",
            "name": "key_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Key Id"
            }
          },
          {
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Product"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "From"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "To"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LedgerOut"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Credit history",
        "tags": [
          "account"
        ]
      }
    },
    "/lists": {
      "get": {
        "description": "The organization's lists, newest first.",
        "operationId": "zemo_modules_public_api_lists_routes_list_lists",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Your lists",
        "tags": [
          "lists"
        ]
      },
      "post": {
        "description": "A list of record IDs (`ids`), web domains (`domains`), ZIP codes (`postal`) or SHA-256 hashes\nof lower-cased emails (`emails_hashed`), up to 10,000 values per call and\n`api.lists.max_values` in all. Values are normalized (domains lower case without `www.`, ZIP\ncodes to five digits); a value that doesn't fit refuses the call (`422`, `values.invalid`).",
        "operationId": "zemo_modules_public_api_lists_routes_create_list",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "kind": "domains",
                "name": "Current customers",
                "values": [
                  "brightline-hvac.example",
                  "harbor.example"
                ]
              },
              "schema": {
                "$ref": "#/components/schemas/ListIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "created_at": "2026-11-25T10:00:00Z",
                    "filterable": true,
                    "id": "lst_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "kind": "domains",
                    "name": "Current customers",
                    "updated_at": "2026-11-25T10:00:00Z",
                    "value_count": 2
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                }
              }
            }
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListResponse"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Create a list",
        "tags": [
          "lists"
        ]
      }
    },
    "/lists/upload": {
      "post": {
        "description": "`multipart/form-data` with `name`, `kind` and `file`: UTF-8 text with one value per line, or\na CSV whose first column holds the values (a header line such as `domain` is skipped). The same\nrules as `POST /lists`, without the 10,000-values-per-call limit: up to `api.lists.max_values`\nand the request body limit (1 MiB). All or nothing: a value that doesn't fit refuses the file\n(`422 values.invalid`) and no list is made (ADR-0034).",
        "operationId": "zemo_modules_public_api_lists_routes_upload_list",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "title": "File",
                    "type": "string"
                  },
                  "kind": {
                    "enum": [
                      "ids",
                      "domains",
                      "postal",
                      "emails_hashed"
                    ],
                    "title": "Kind",
                    "type": "string"
                  },
                  "name": {
                    "title": "Name",
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "kind",
                  "file"
                ],
                "title": "MultiPartBodyParams",
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "created_at": "2026-11-25T10:00:00Z",
                    "filterable": true,
                    "id": "lst_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "kind": "domains",
                    "name": "Current customers",
                    "updated_at": "2026-11-25T10:00:00Z",
                    "value_count": 2
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ListResponse"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Create a list from a file",
        "tags": [
          "lists"
        ]
      }
    },
    "/lists/{list_id}": {
      "delete": {
        "description": "The list and its values are deleted; filters naming it answer `422 filter.list_not_found`.",
        "operationId": "zemo_modules_public_api_lists_routes_delete_list",
        "parameters": [
          {
            "in": "path",
            "name": "list_id",
            "required": true,
            "schema": {
              "title": "List Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Delete a list",
        "tags": [
          "lists"
        ]
      },
      "get": {
        "operationId": "zemo_modules_public_api_lists_routes_get_list",
        "parameters": [
          {
            "in": "path",
            "name": "list_id",
            "required": true,
            "schema": {
              "title": "List Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "One list",
        "tags": [
          "lists"
        ]
      }
    },
    "/lists/{list_id}/values": {
      "get": {
        "description": "Values in order, `limit` at a time (at most 10,000); pass `next_cursor` as `cursor` for more.",
        "operationId": "zemo_modules_public_api_lists_routes_list_values",
        "parameters": [
          {
            "in": "path",
            "name": "list_id",
            "required": true,
            "schema": {
              "title": "List Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 1000,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListValuesResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "The values of a list",
        "tags": [
          "lists"
        ]
      },
      "post": {
        "description": "Values already in the list are ignored; `changed` counts the new ones.",
        "operationId": "zemo_modules_public_api_lists_routes_add_values",
        "parameters": [
          {
            "in": "path",
            "name": "list_id",
            "required": true,
            "schema": {
              "title": "List Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "values": [
                  "coastal-roofing.example"
                ]
              },
              "schema": {
                "$ref": "#/components/schemas/ListValuesIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "changed": 1,
                    "list": {
                      "created_at": "2026-11-25T10:00:00Z",
                      "filterable": true,
                      "id": "lst_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                      "kind": "domains",
                      "name": "Current customers",
                      "updated_at": "2026-11-25T10:00:00Z",
                      "value_count": 2
                    }
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ListChangeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Add values to a list",
        "tags": [
          "lists"
        ]
      }
    },
    "/lists/{list_id}/values/remove": {
      "post": {
        "description": "Values not in the list are ignored; `changed` counts the ones removed.",
        "operationId": "zemo_modules_public_api_lists_routes_remove_values",
        "parameters": [
          {
            "in": "path",
            "name": "list_id",
            "required": true,
            "schema": {
              "title": "List Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "values": [
                  "harbor.example"
                ]
              },
              "schema": {
                "$ref": "#/components/schemas/ListValuesIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "changed": 1,
                    "list": {
                      "created_at": "2026-11-25T10:00:00Z",
                      "filterable": true,
                      "id": "lst_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                      "kind": "domains",
                      "name": "Current customers",
                      "updated_at": "2026-11-25T10:00:00Z",
                      "value_count": 2
                    }
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ListChangeResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Remove values from a list",
        "tags": [
          "lists"
        ]
      }
    },
    "/person/enrich": {
      "post": {
        "description": "Match by `email` (likelihood 10) or `phone` (8, or 9 when `first_name`/`last_name` agree),\nthen deliver the bundles. Charged only on a match at or above `min_likelihood`\n(default `api.enrich.min_likelihood_default`) with every `required` bundle present.\nName-based matching needs the search engine and answers `503` until it is available.\nNeeds the `enrich` scope and an `Idempotency-Key`.",
        "operationId": "zemo_modules_public_api_data_routes_enrich_person",
        "parameters": [
          {
            "description": "Required. A repeat with the same key and body is never charged twice.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "bundles": [
                  "profile",
                  "work_email"
                ],
                "match": {
                  "email": "dana.ruiz@brightline-hvac.example"
                },
                "min_likelihood": 7,
                "product": "us-decision-makers",
                "required": []
              },
              "schema": {
                "$ref": "#/components/schemas/EnrichIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "already_owned_bundles": [
                      "work_email"
                    ],
                    "charged_bundles": [
                      "profile"
                    ],
                    "likelihood": 10,
                    "matched": true,
                    "record": {
                      "emails": {
                        "work": [
                          {
                            "confidence": 0.9,
                            "first_seen": "2025-03-02",
                            "last_seen": "2026-10-01",
                            "rank": 1,
                            "source_count": 2,
                            "status": "unverified",
                            "type": "work",
                            "value": "dana.ruiz@brightline-hvac.example"
                          }
                        ]
                      },
                      "entity": "person",
                      "grade": "B",
                      "has_mobile": true,
                      "has_work_email": true,
                      "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                      "job": {
                        "company_id": "zc_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "is_best_contact": true,
                        "role": {
                          "code": "owner",
                          "decision_maker": true,
                          "function": "executive",
                          "rank": 95
                        },
                        "title_raw": "Owner"
                      },
                      "location": {
                        "city": "Tampa",
                        "country": "US",
                        "county": "12057",
                        "geo": {
                          "lat": 27.95,
                          "lon": -82.46
                        },
                        "metro": "45300",
                        "place": "1271000",
                        "postal": "33611",
                        "region": "US-FL"
                      },
                      "name": {
                        "first": "Dana",
                        "full": "Dana Ruiz",
                        "last": "Ruiz",
                        "middle": "M",
                        "suffix": null
                      },
                      "release_id": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001"
                    },
                    "record_id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  },
                  "meta": {
                    "credits_charged": 1,
                    "credits_remaining": 996,
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/EnrichResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Find a person and deliver the record",
        "tags": [
          "data"
        ]
      }
    },
    "/person/enrich/batch": {
      "post": {
        "description": "Up to your plan's `batch_max` items (100 by default), each matched like `POST /v1/person/enrich`\nand answered in `results` in the same order. One `Idempotency-Key` covers the batch; only\nmatches are charged, and a record two items find is charged once. A malformed item gets an\n`error` and costs nothing. The records-per-day limit applies to the whole batch. Needs the\n`enrich` scope.",
        "operationId": "zemo_modules_public_api_data_routes_enrich_people_batch",
        "parameters": [
          {
            "description": "Required. A repeat with the same key and body is never charged twice.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "bundles": [
                  "profile",
                  "work_email"
                ],
                "items": [
                  {
                    "client_ref": "crm-1001",
                    "match": {
                      "email": "dana.ruiz@brightline-hvac.example"
                    }
                  },
                  {
                    "client_ref": "crm-1002",
                    "match": {
                      "phone": "+18135550100"
                    }
                  }
                ],
                "product": "us-decision-makers"
              },
              "schema": {
                "$ref": "#/components/schemas/EnrichBatchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "charged": 3,
                    "matched": 1,
                    "results": [
                      {
                        "already_owned_bundles": [],
                        "charged_bundles": [
                          "profile",
                          "work_email"
                        ],
                        "client_ref": "crm-1001",
                        "error": null,
                        "index": 0,
                        "likelihood": 10,
                        "matched": true,
                        "record": {
                          "emails": {
                            "work": [
                              {
                                "confidence": 0.9,
                                "first_seen": "2025-03-02",
                                "last_seen": "2026-10-01",
                                "rank": 1,
                                "source_count": 2,
                                "status": "unverified",
                                "type": "work",
                                "value": "dana.ruiz@brightline-hvac.example"
                              }
                            ]
                          },
                          "entity": "person",
                          "grade": "B",
                          "has_mobile": true,
                          "has_work_email": true,
                          "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                          "job": {
                            "company_id": "zc_01JD3K8ZQ4V6W9XG2M5N7P0001",
                            "is_best_contact": true,
                            "role": {
                              "code": "owner",
                              "decision_maker": true,
                              "function": "executive",
                              "rank": 95
                            },
                            "title_raw": "Owner"
                          },
                          "location": {
                            "city": "Tampa",
                            "country": "US",
                            "county": "12057",
                            "geo": {
                              "lat": 27.95,
                              "lon": -82.46
                            },
                            "metro": "45300",
                            "place": "1271000",
                            "postal": "33611",
                            "region": "US-FL"
                          },
                          "name": {
                            "first": "Dana",
                            "full": "Dana Ruiz",
                            "last": "Ruiz",
                            "middle": "M",
                            "suffix": null
                          },
                          "release_id": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001"
                        },
                        "record_id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001"
                      },
                      {
                        "already_owned_bundles": [],
                        "charged_bundles": [],
                        "client_ref": "crm-1002",
                        "error": null,
                        "index": 1,
                        "likelihood": null,
                        "matched": false,
                        "record": null,
                        "record_id": null
                      }
                    ]
                  },
                  "meta": {
                    "credits_charged": 3,
                    "credits_remaining": 994,
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/EnrichBatchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Enrich many people in one request",
        "tags": [
          "data"
        ]
      }
    },
    "/person/search": {
      "post": {
        "description": "Masked people of the product matching the filter (or `sql`), a page at a time. Free.\n\nResults carry index fields and `has_*` flags only, never contact values, plus\n`owned_bundles`. `next_cursor` (signed, 10 minutes) fetches the next page with the same body;\n`422 cursor.invalid` for a changed, expired or foreign cursor, `422 search.depth_exceeded`\npast the plan's paging depth (use a bulk job).",
        "operationId": "zemo_modules_public_api_data_routes_search_people",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "cursor": null,
                "exclude_owned": false,
                "filter": {
                  "eq": true,
                  "field": "has_mobile"
                },
                "product": "fl-restaurant-owners",
                "size": 25,
                "sort": [
                  {
                    "field": "job.role.rank",
                    "order": "desc"
                  }
                ]
              },
              "schema": {
                "$ref": "#/components/schemas/SearchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "next_cursor": null,
                    "results": [
                      {
                        "has_mobile": true,
                        "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "name": {
                          "first": "Dana",
                          "last": "Ruiz"
                        },
                        "owned_bundles": []
                      }
                    ],
                    "total": 1,
                    "total_relation": "eq"
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/SearchResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Search people",
        "tags": [
          "data"
        ]
      }
    },
    "/person/{record_id}": {
      "get": {
        "description": "The record: bundles the organization owns come in full, free. The others are listed in\n`locked_bundles`, or shown masked with `preview=true`.\n\nA record you own none of is shown when `product` (or the `Zemo-Product` header) names a product\nthat holds it. Merged IDs answer with the surviving record and `merged_from`.\n`bundles` is a comma-separated list (default: all).",
        "operationId": "zemo_modules_public_api_data_routes_get_person",
        "parameters": [
          {
            "in": "path",
            "name": "record_id",
            "required": true,
            "schema": {
              "title": "Record Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "bundles",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Bundles"
            }
          },
          {
            "in": "query",
            "name": "preview",
            "required": false,
            "schema": {
              "default": false,
              "title": "Preview",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Product"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "locked_bundles": [
                      "mobile"
                    ],
                    "merged_from": [],
                    "owned_bundles": [
                      "profile",
                      "work_email"
                    ],
                    "record": {
                      "emails": {
                        "work": [
                          {
                            "confidence": 0.9,
                            "first_seen": "2025-03-02",
                            "last_seen": "2026-10-01",
                            "rank": 1,
                            "source_count": 2,
                            "status": "unverified",
                            "type": "work",
                            "value": "dana.ruiz@brightline-hvac.example"
                          }
                        ]
                      },
                      "entity": "person",
                      "grade": "B",
                      "has_mobile": true,
                      "has_work_email": true,
                      "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                      "job": {
                        "company_id": "zc_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "is_best_contact": true,
                        "role": {
                          "code": "owner",
                          "decision_maker": true,
                          "function": "executive",
                          "rank": 95
                        },
                        "title_raw": "Owner"
                      },
                      "location": {
                        "city": "Tampa",
                        "country": "US",
                        "county": "12057",
                        "geo": {
                          "lat": 27.95,
                          "lon": -82.46
                        },
                        "metro": "45300",
                        "place": "1271000",
                        "postal": "33611",
                        "region": "US-FL"
                      },
                      "name": {
                        "first": "Dana",
                        "full": "Dana Ruiz",
                        "last": "Ruiz",
                        "middle": "M",
                        "suffix": null
                      },
                      "release_id": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001"
                    }
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/RecordResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "One person by ID",
        "tags": [
          "data"
        ]
      }
    },
    "/products": {
      "get": {
        "description": "Each product with its bundles and their credit price for your organization, the pricing\nmodel, this period's quota for subscription products, and how many records it holds now.",
        "operationId": "zemo_modules_public_api_products_routes_list_products",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": [
                    {
                      "bundles": [
                        {
                          "bundle": "profile",
                          "credits": 1
                        },
                        {
                          "bundle": "work_email",
                          "credits": 2
                        }
                      ],
                      "description": "Owners and managers of restaurants in Florida.",
                      "entity": "person",
                      "name": "Florida restaurant owners",
                      "per_record_credits": null,
                      "pricing_model": "per_field",
                      "quota": null,
                      "record_count": 18422,
                      "slug": "fl-restaurant-owners",
                      "version": 3
                    }
                  ],
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ProductsResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Products this key can use",
        "tags": [
          "catalog"
        ]
      }
    },
    "/products/{slug}": {
      "get": {
        "description": "The product's fields (index fields and the contact values its bundles sell, which stay\nmasked until bought) and a few masked sample records. `404 product.not_found`,\n`410 product.retired` or `403 product.not_granted` as for data requests.",
        "operationId": "zemo_modules_public_api_products_routes_get_product",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "title": "Slug",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "bundles": [
                      {
                        "bundle": "profile",
                        "credits": 1
                      },
                      {
                        "bundle": "work_email",
                        "credits": 2
                      }
                    ],
                    "description": "Owners and managers of restaurants in Florida.",
                    "entity": "person",
                    "fields": [
                      {
                        "bundle": "profile",
                        "contact": false,
                        "description": "Full name.",
                        "filterable": true,
                        "is_list": false,
                        "key": "name.full",
                        "type": "text"
                      },
                      {
                        "bundle": "work_email",
                        "contact": true,
                        "description": "Work email addresses.",
                        "filterable": false,
                        "is_list": true,
                        "key": "emails.work",
                        "type": "object"
                      }
                    ],
                    "name": "Florida restaurant owners",
                    "per_record_credits": null,
                    "pricing_model": "per_field",
                    "quota": null,
                    "record_count": 18422,
                    "sample": [
                      {
                        "has_mobile": true,
                        "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "name": {
                          "full": "Dana Ruiz"
                        }
                      }
                    ],
                    "slug": "fl-restaurant-owners",
                    "version": 3
                  },
                  "meta": {
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ProductResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "One product, with its fields and sample records",
        "tags": [
          "catalog"
        ]
      }
    },
    "/taxonomy/categories": {
      "get": {
        "description": "The top-level categories, or the children of `parent`. Use the codes with the `under` operator.",
        "operationId": "zemo_modules_public_api_api_taxonomy_categories",
        "parameters": [
          {
            "in": "query",
            "name": "parent",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Parent"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoriesOut"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Business categories",
        "tags": [
          "catalog"
        ]
      }
    },
    "/taxonomy/roles": {
      "get": {
        "operationId": "zemo_modules_public_api_api_taxonomy_roles",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RolesOut"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Roles with rank and function",
        "tags": [
          "catalog"
        ]
      }
    },
    "/unlock": {
      "post": {
        "description": "Full values for up to 100 records. Every ID is re-checked against the product; IDs outside it\ncome back in `rejected` and cost nothing. Only bundles that have a value and that you don't\nalready own are charged. `max_credits` caps the charge (`402 credits.max_exceeded`, nothing\ncharged). Needs the `unlock` scope and an `Idempotency-Key`.",
        "operationId": "zemo_modules_public_api_data_routes_unlock",
        "parameters": [
          {
            "description": "Required. A repeat with the same key and body is never charged twice.",
            "in": "header",
            "name": "Idempotency-Key",
            "required": true,
            "schema": {
              "maxLength": 128,
              "minLength": 8,
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "bundles": [
                  "profile",
                  "work_email"
                ],
                "entity": "person",
                "ids": [
                  "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                  "zp_01JD3K8ZQ4V6W9XG2M5N7P0002"
                ],
                "max_credits": 500,
                "product": "fl-restaurant-owners",
                "required": []
              },
              "schema": {
                "$ref": "#/components/schemas/UnlockIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "already_owned": [],
                    "charged": 3,
                    "records": [
                      {
                        "already_owned_bundles": [],
                        "charged_bundles": [
                          "profile",
                          "work_email"
                        ],
                        "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                        "merged_from": [],
                        "record": {
                          "emails": {
                            "work": [
                              {
                                "confidence": 0.9,
                                "first_seen": "2025-03-02",
                                "last_seen": "2026-10-01",
                                "rank": 1,
                                "source_count": 2,
                                "status": "unverified",
                                "type": "work",
                                "value": "dana.ruiz@brightline-hvac.example"
                              }
                            ]
                          },
                          "entity": "person",
                          "grade": "B",
                          "has_mobile": true,
                          "has_work_email": true,
                          "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0001",
                          "job": {
                            "company_id": "zc_01JD3K8ZQ4V6W9XG2M5N7P0001",
                            "is_best_contact": true,
                            "role": {
                              "code": "owner",
                              "decision_maker": true,
                              "function": "executive",
                              "rank": 95
                            },
                            "title_raw": "Owner"
                          },
                          "location": {
                            "city": "Tampa",
                            "country": "US",
                            "county": "12057",
                            "geo": {
                              "lat": 27.95,
                              "lon": -82.46
                            },
                            "metro": "45300",
                            "place": "1271000",
                            "postal": "33611",
                            "region": "US-FL"
                          },
                          "name": {
                            "first": "Dana",
                            "full": "Dana Ruiz",
                            "last": "Ruiz",
                            "middle": "M",
                            "suffix": null
                          },
                          "release_id": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001"
                        }
                      }
                    ],
                    "rejected": [
                      {
                        "id": "zp_01JD3K8ZQ4V6W9XG2M5N7P0002",
                        "reason": "outside_product"
                      }
                    ]
                  },
                  "meta": {
                    "credits_charged": 3,
                    "credits_remaining": 997,
                    "release": "rel_01JD3K8ZQ4V6W9XG2M5N7P0001",
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0001"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/UnlockResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Unlock records by ID",
        "tags": [
          "data"
        ]
      }
    },
    "/usage": {
      "get": {
        "description": "Requests, errors, credits, records and latency from the daily rollups, grouped by any of\n`day`, `key`, `route` and `product` (comma separated; default `day`).\n\n`from` and `to` are UTC days, both included (default: the last 30 days; at most 400).\nFilter by `key_id`, `route` (`POST /v1/unlock`), `product` (a slug; empty for requests that\nnamed none) and `env` (`live` or `test`). Rollups are rebuilt every 15 minutes, so today's\nnumbers trail by up to that much. Send `Accept: text/csv` for the same rows as CSV.",
        "operationId": "zemo_modules_public_api_api_usage_report",
        "parameters": [
          {
            "in": "query",
            "name": "group_by",
            "required": false,
            "schema": {
              "default": "day",
              "title": "Group By",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "key_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Key Id"
            }
          },
          {
            "in": "query",
            "name": "route",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Route"
            }
          },
          {
            "in": "query",
            "name": "product",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Product"
            }
          },
          {
            "in": "query",
            "name": "env",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Env"
            }
          },
          {
            "in": "query",
            "name": "from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "From"
            }
          },
          {
            "in": "query",
            "name": "to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "To"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 1000,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": [
                    {
                      "credits": 2210,
                      "day": "2026-11-23",
                      "errors": 12,
                      "p95_ms": 182,
                      "records": 1795,
                      "requests": 1840
                    },
                    {
                      "credits": 1104,
                      "day": "2026-11-24",
                      "errors": 3,
                      "p95_ms": 171,
                      "records": 940,
                      "requests": 960
                    }
                  ],
                  "meta": {
                    "date_from": "2026-11-23",
                    "date_to": "2026-11-24",
                    "group_by": [
                      "day"
                    ],
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "totals": {
                      "credits": 3314,
                      "errors": 15,
                      "p95_ms": 182,
                      "records": 2735,
                      "requests": 2800
                    },
                    "truncated": false
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/UsageOut"
                }
              },
              "text/csv": {
                "example": "day,requests,errors,credits,records,p95_ms\n2026-11-23,1840,12,2210,1795,182\n",
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "API usage",
        "tags": [
          "account"
        ]
      }
    },
    "/webhooks": {
      "get": {
        "description": "Every endpoint of the organization, oldest first. The signing secret is never shown again\n(`secret_last4` tells secrets apart). Free.",
        "operationId": "zemo_modules_public_api_webhooks_routes_list_webhooks",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "endpoints": [
                      {
                        "created_at": "2026-11-26T10:00:00Z",
                        "description": "Bulk results",
                        "disabled_at": null,
                        "disabled_reason": null,
                        "events": [
                          "bulk_job.completed",
                          "bulk_job.failed"
                        ],
                        "id": "whk_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                        "org_id": "org_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                        "previous_secret_valid_until": null,
                        "secret_last4": "Q2x9",
                        "status": "active",
                        "updated_at": "2026-11-26T10:00:00Z",
                        "url": "https://example.com/hooks/zemodata"
                      }
                    ],
                    "max_endpoints": 5
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/WebhooksResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Your webhook endpoints",
        "tags": [
          "webhooks"
        ]
      },
      "post": {
        "description": "The URL must be public HTTPS (SEC-64: private, loopback, link-local and metadata addresses\nare refused, and the address is checked again before every delivery). `events` come from\n`GET /portal/api/webhooks/event-types`. The answer holds the signing secret (`whsec_\u2026`) once:\nstore it to check the `Zemo-Signature` header. Problems: `422 validation` (`url.https_required`,\n`url.invalid`, `url.unresolvable`, `url.private_address`, `events.required`, `events.unknown`),\n`409 webhooks.limit`.",
        "operationId": "zemo_modules_public_api_webhooks_routes_create_webhook",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "description": "Bulk results",
                "events": [
                  "bulk_job.completed",
                  "bulk_job.failed"
                ],
                "url": "https://example.com/hooks/zemodata"
              },
              "schema": {
                "$ref": "#/components/schemas/WebhookIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "endpoint": {
                      "created_at": "2026-11-26T10:00:00Z",
                      "description": "Bulk results",
                      "disabled_at": null,
                      "disabled_reason": null,
                      "events": [
                        "bulk_job.completed",
                        "bulk_job.failed"
                      ],
                      "id": "whk_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                      "org_id": "org_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                      "previous_secret_valid_until": null,
                      "secret_last4": "Q2x9",
                      "status": "active",
                      "updated_at": "2026-11-26T10:00:00Z",
                      "url": "https://example.com/hooks/zemodata"
                    },
                    "secret": "whsec_example_shown_once"
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/WebhookCreatedResponse"
                }
              }
            },
            "description": "Created"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Add a webhook endpoint",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/webhooks/{endpoint_id}": {
      "delete": {
        "description": "The endpoint and its delivery log go; deliveries still waiting are dropped.",
        "operationId": "zemo_modules_public_api_webhooks_routes_delete_webhook",
        "parameters": [
          {
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "title": "Endpoint Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "deleted": true,
                    "id": "whk_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeletedResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Delete a webhook endpoint",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/webhooks/{endpoint_id}/test": {
      "post": {
        "description": "Sends a signed `webhook.test` event now and returns the attempt (one try, no retries; it is\nin the delivery log and doesn't count towards turning the endpoint off).",
        "operationId": "zemo_modules_public_api_webhooks_routes_test_webhook",
        "parameters": [
          {
            "in": "path",
            "name": "endpoint_id",
            "required": true,
            "schema": {
              "title": "Endpoint Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "data": {
                    "attempt": 1,
                    "created_at": "2026-11-26T10:05:00Z",
                    "endpoint_id": "whk_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "event_id": "evt_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "event_type": "webhook.test",
                    "id": "whd_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                    "is_test": true,
                    "last_attempt_at": "2026-11-26T10:05:00Z",
                    "last_error": null,
                    "max_attempts": 1,
                    "next_attempt_at": null,
                    "payload": {
                      "created_at": "2026-11-26T10:05:00Z",
                      "data": {
                        "endpoint_id": "whk_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                      },
                      "id": "evt_01JD3K8ZQ4V6W9XG2M5N7P0R1S",
                      "type": "webhook.test"
                    },
                    "response_ms": 84,
                    "response_status": 200,
                    "status": "succeeded"
                  },
                  "meta": {
                    "release": null,
                    "request_id": "req_01JD3K8ZQ4V6W9XG2M5N7P0R1S"
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/WebhookTestResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "Send a test event",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/whoami": {
      "get": {
        "description": "Which organization and key the credentials belong to, and what they may do.\n\nUseful for checking that credentials work. Needs no scope and costs no credits.",
        "operationId": "zemo_modules_public_api_api_whoami",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WhoAmI"
                }
              }
            },
            "description": "OK"
          }
        },
        "security": [
          {
            "ApiCredentials": []
          }
        ],
        "summary": "The caller's key, scopes and products",
        "tags": [
          "meta"
        ]
      }
    }
  },
  "servers": []
}
