# Count leaks Returns total count of leaks matching filters. Same query parameters as list (except page, per_page, sort). Endpoint: GET /leaks/count Version: 1.0.0 Security: ApiKeyAuth ## Query parameters: - `domain_id` (string) Domain UUID(s) to scope the request. Comma-separated for multiple. If omitted, all non-archived domains of the organization are used. Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890" - `status` (string) Enum: "new", "investigating", "resolved", "false_positive" - `risk_level` (string) - `login` (string) - `password` (string) - `url` (string) - `url_port` (integer) - `url_path` (string) - `user_id` (string) - `resource_id` (string) - `endpoint_id` (string) ## Response 200 fields (application/json): - `data` (object) - `data.count` (integer) Example: 92 ## Response 400 fields (application/json): - `type` (string) Example: "validation_error" - `status` (integer) Example: 400 - `detail` (string) Example: "Invalid sort field: \"foo\". Valid: [\"risk_level\", \"first_seen\", \"added_at\"]." ## Response 401 fields (application/json): - `type` (string) Example: "validation_error" - `status` (integer) Example: 400 - `detail` (string) Example: "Invalid sort field: \"foo\". Valid: [\"risk_level\", \"first_seen\", \"added_at\"]." ## Response 403 fields (application/json): - `type` (string) Example: "validation_error" - `status` (integer) Example: 400 - `detail` (string) Example: "Invalid sort field: \"foo\". Valid: [\"risk_level\", \"first_seen\", \"added_at\"]."