{"openapi":"3.1.0","info":{"title":"SubdomainRadar.io API","description":"\n    SubdomainRadar.io API allows you to interact programmatically with the SubdomainRadar.io platform, enabling subdomain enumeration, port enumeration, screenshots retrieval, technology identification, vulnerability scanning, and more.\n\n    - Get your API key: https://subdomainradar.io/profile  \n    - Python API Wrapper: https://github.com/SubdomainRadar/subdomainradar-python-wrapper) \n    - Simple Python Subdomain Enumeration Tool: https://github.com/SubdomainRadar/subdomainradar-python-subdomainfinder\n\n    Rate limit: **5 requests per second**. Contact us for higher limits.  \n    Register on https://subdomainradar.io for **100 free points**.\n    ","version":"1.0.0"},"paths":{"/enumerate":{"post":{"tags":["Enumerate"],"summary":"Launch Enumeration Task","description":"Initiates subdomain enumeration for the given domains using specified enumerators.\n    A separate Task is created for each valid domain, and each enumerator has a `cost_per_search` \n    multiplied by the number of domains. If the user does not have enough subscription points, \n    a 402 (Payment Required) error is returned. \n\n    Free users have access only to basic (Fast) enumerators, while paid users can specify \n    advanced (Deep) enumerators as well. The maximum number of domains per request is 100.","operationId":"enumerate_domain_enumerate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnumerateResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"example":{"detail":"One or more domains are invalid: ['invalid_domain']"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"example":{"detail":"Not authenticated"}}}},"402":{"description":"Payment Required","content":{"application/json":{"example":{"detail":"Insufficient subscription points to perform this search."}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/scan/subdomains/start":{"post":{"tags":["Scan"],"summary":"Start Vulnerability Scan on Subdomains","description":"Launches a vulnerability scan for each provided subdomain under the specified Recon Task.\n\n    - **task_id**: The ID of the Recon Task.\n    - **scan_type**: The type of scan to perform (must match one of /scan/types).\n    - **subdomains**: A list of subdomains to scan. Each subdomain costs `scan_type.price` subscription points.\n    \n    If the user has insufficient points, the request fails with 402.","operationId":"start_scan_scan_subdomains_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanSubdomainsRequest"}}},"required":true},"responses":{"200":{"description":"Scans started successfully for all subdomains.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanStartSuccessResponse"},"example":{"message":"Scans started successfully for all subdomains.","scan_ids":[{"subdomain":"example.com","scan_id":"uuid"},{"subdomain":"sub.example.com","scan_id":"uuid"}]}}}},"400":{"description":"Invalid scan type provided.","content":{"application/json":{"example":{"detail":"Invalid scan type provided."}}}},"402":{"description":"Insufficient subscription points to perform this scan.","content":{"application/json":{"example":{"detail":"Insufficient subscription points to perform this scan."}}}},"403":{"description":"Free users are not allowed to perform scans.","content":{"application/json":{"example":{"detail":"Free users are not allowed to perform scans."}}}},"404":{"description":"Recon task or scan type not found.","content":{"application/json":{"example":{"detail":"Recon task not found."}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/scan/urls/start":{"post":{"tags":["Scan"],"summary":"Start Vulnerability Scan on URLs","description":"Launches a vulnerability scan for each provided URL.\n    \n    - **scan_type**: The type of scan to perform (must match one from /scan/types).\n    - **urls**: A list of URLs to scan. Each URL is normalized (http://... if missing scheme), \n      and any local/private IP addresses are rejected. Duplicate URLs are removed.\n    \n    Each URL costs `scan_type.price` subscription points. If the user does not have enough points,\n    the request fails with a 402 error.","operationId":"start_scan_scan_urls_start_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanUrlsRequest"}}},"required":true},"responses":{"200":{"description":"Scans started successfully for all urls.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanStartSuccessResponse"},"example":{"message":"Scans started successfully for all urls.","scan_ids":[{"url":"http://example.com","scan_id":"uuid"},{"url":"http://sub.example.com","scan_id":"uuid"}]}}}},"400":{"description":"Invalid scan type provided.","content":{"application/json":{"example":{"detail":"Invalid scan type provided."}}}},"402":{"description":"Insufficient subscription points to perform this scan.","content":{"application/json":{"example":{"detail":"Insufficient subscription points to perform this scan."}}}},"403":{"description":"Free users are not allowed to perform scans.","content":{"application/json":{"example":{"detail":"Free users are not allowed to perform scans."}}}},"404":{"description":"Scan type not found.","content":{"application/json":{"example":{"detail":"Scan type not found."}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"BearerAuth":[]}]}},"/scan/types":{"get":{"tags":["Scan"],"summary":"List all Scan Types","description":"Retrieve a list of all available vulnerability scan types. Each type includes an internal 'name' for referencing in /scan/subdomains or /scan/urls, a 'display_name' for UI, a 'description' field explaining the scan's purpose, and a 'price' for the subscription cost per scanned item.","operationId":"get_scan_types_scan_types_get","responses":{"200":{"description":"Scan types retrieved successfully.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScanTypesResponse"},"example":{"scan_types":[{"id":1,"name":"example","display_name":"Example","description":"example","price":10}]}}}},"404":{"description":"Scan types not found.","content":{"application/json":{"example":{"detail":"Scan types not found."}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}}}}},"/tasks/{task_id}":{"get":{"tags":["Tasks"],"summary":"Get Recon Task Details","description":"Get the status (completed, in progress, etc.) of a Recon task by providing the task ID. \n    The response includes subdomain info, WHOIS data, enumerators, etc.","operationId":"get_task_status_tasks__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"example":{"detail":"Task not found"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/scans":{"get":{"tags":["Tasks"],"summary":"List Scans","description":"Lists vulnerability scans performed within the specified Recon Task. Supports filtering by status, searching, sorting, and pagination.","operationId":"get_scan_statuses_tasks__task_id__scans_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedScansWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/scans/export":{"get":{"tags":["Tasks"],"summary":"Export Scan","description":"Exports vulnerability scan results for a specified Recon Task in the chosen format (default: CSV). Supports filters and sorting options.","operationId":"export_data_tasks__task_id__scans_export_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/vulnerabilities":{"get":{"tags":["Tasks"],"summary":"List Vulnerabilities","description":"Retrieves paginated vulnerability findings associated with a specific Recon Task. Supports filtering by severity, host, search criteria, and sorting.","operationId":"get_vulnerabilities_for_task_tasks__task_id__vulnerabilities_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"host","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"false_positive","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"False Positive"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedVulnerabilitiesWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/vulnerabilities/{vulnerability_id}/false_positive":{"put":{"tags":["Tasks"],"summary":"Mark Vulnerability as False Positive","description":"Marks a specific vulnerability finding within a Recon Task as a false positive.","operationId":"set_false_positive_for_task_tasks__task_id__vulnerabilities__vulnerability_id__false_positive_put","security":[{"BearerAuth":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"vulnerability_id","in":"path","required":true,"schema":{"type":"string","title":"Vulnerability Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/vulnerabilities/{vulnerability_id}/response":{"get":{"tags":["Tasks"],"summary":"Get Vulnerability HTTP Response","description":"Retrieves the HTTP response associated with a specific vulnerability identified during a Recon Task.","operationId":"get_vulnerability_response_for_task_tasks__task_id__vulnerabilities__vulnerability_id__response_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"vulnerability_id","in":"path","required":true,"schema":{"type":"string","title":"Vulnerability Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Get Vulnerability Response For Task Tasks  Task Id  Vulnerabilities  Vulnerability Id  Response Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/vulnerabilities/export":{"get":{"tags":["Tasks"],"summary":"Export Vulnerabilities","description":"Exports vulnerability findings from a Recon Task in the desired format (default: CSV). Supports filtering and sorting.","operationId":"export_vulnerabilities_tasks__task_id__vulnerabilities_export_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"host","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"false_positive","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"False Positive"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/bruteforces":{"get":{"tags":["Tasks"],"summary":"List Bruteforce","description":"Retrieves bruteforce attempts associated with the specified Recon Task. Supports searching, sorting, and pagination.","operationId":"get_bruteforces_for_task_tasks__task_id__bruteforces_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBruteforcesWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/bruteforces/export":{"get":{"tags":["Tasks"],"summary":"Export Bruteforces","description":"Exports bruteforce data from a Recon Task in the desired format (default: CSV). Supports filtering and sorting options.","operationId":"export_data_tasks__task_id__bruteforces_export_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/bruteforces/estimate":{"get":{"tags":["Tasks"],"summary":"Estimate Bruteforce Points","description":"Estimate how many points would be needed to launch a bruteforce for this task.","operationId":"estimate_bruteforce_endpoint_tasks__task_id__bruteforces_estimate_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/bruteforces/launch":{"post":{"tags":["Tasks"],"summary":"Launch Bruteforce","description":"Launches a new bruteforce attempt for the specified Recon Task.","operationId":"launch_bruteforce_tasks__task_id__bruteforces_launch_post","security":[{"BearerAuth":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/leaks":{"get":{"tags":["Tasks"],"summary":"List Data Leaks","description":"Return every leak associated with *task_id* sorted by newest first.","operationId":"list_leaks_tasks__task_id__leaks_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeakResponseSchema"},"title":"Response List Leaks Tasks  Task Id  Leaks Get"}}}},"404":{"description":"Task not found","content":{"application/json":{"example":{"detail":"Task not found"}}}},"429":{"description":"Rate‑limit exceeded","content":{"application/json":{"example":{"detail":"Too Many Requests"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/leaks/check":{"post":{"tags":["Tasks"],"summary":"Check Data Leaks","description":"Trigger Snusbase & LeakRadar checks and persist new leaks.","operationId":"check_and_store_leaks_tasks__task_id__leaks_check_post","security":[{"BearerAuth":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"404":{"description":"Task not found","content":{"application/json":{"example":{"detail":"Task not found"}}}},"402":{"description":"Insufficient points","content":{"application/json":{"example":{"detail":"Insufficient balance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/structures":{"get":{"tags":["Tasks"],"summary":"List Scan Structures","description":"Retrieves hierarchical location structures for advanced scans performed within a specific Recon Task. Supports searching and pagination.","operationId":"get_structure_status_tasks__task_id__structures_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedStructuresResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/structures/export":{"get":{"tags":["Tasks"],"summary":"Export Scan Structures","description":"Exports advanced scan structures from a Recon Task in the desired format (default: CSV). Supports searching.","operationId":"export_data_tasks__task_id__structures_export_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/ports":{"get":{"tags":["Tasks"],"summary":"List Open Ports","description":"Retrieve the list of open ports discovered for the specified task. Each port entry includes host, port, protocol, service, etc.","operationId":"get_ports_tasks__task_id__ports_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PortsResponseSchema"},"title":"Response Get Ports Tasks  Task Id  Ports Get"}}}},"404":{"description":"Not Found","content":{"application/json":{"example":{"detail":"Task not found"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/stats":{"get":{"tags":["Tasks"],"summary":"Get Recon Task Statistics","description":"Provides a global overview of the specified task, including subdomains_count, bruteforces_count, leaks_count, ports_count, scans_count, structures_count, and vulnerabilities_count. If the task is 'COMPLETED', results may be cached.","operationId":"get_task_stats_tasks__task_id__stats_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskStatsResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"example":{"detail":"Task not found"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/{task_id}/exposed-services":{"get":{"tags":["Tasks"],"summary":"Get Exposed Services","description":"Returns a list of exposed services for a given task. This endpoint is used to retrieve potentially vulnerable services that were found during the task execution.","operationId":"get_exposed_services_tasks__task_id__exposed_services_get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExposedServicesResponse"},"title":"Response Get Exposed Services Tasks  Task Id  Exposed Services Get"}}}},"404":{"description":"Not Found","content":{"application/json":{"example":{"detail":"Task not found"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile":{"get":{"tags":["Profile"],"summary":"Get user profile","description":"Fetch the profile","operationId":"get_profile_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBase"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"example":{"detail":"Not authenticated"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}}},"security":[{"BearerAuth":[]}]}},"/profile/scans":{"get":{"tags":["Profile"],"summary":"List User Scans","description":"Lists all scans performed by the current user. Supports filtering by status, search, sorting, and pagination.","operationId":"get_scan_statuses_profile_scans_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedScansWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/scans/export":{"get":{"tags":["Profile"],"summary":"Export User Scans","description":"Exports all scans performed by the current user in the chosen format (default: CSV). Supports filters and sorting options.","operationId":"export_data_profile_scans_export_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/vulnerabilities":{"get":{"tags":["Profile"],"summary":"List User Vulnerabilities","description":"Retrieves all vulnerabilities identified for the current user across all tasks. Supports filtering, sorting, and pagination.","operationId":"get_vulnerabilities_for_profile_profile_vulnerabilities_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"host","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"false_positive","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"False Positive"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedVulnerabilitiesWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/vulnerabilities/export":{"get":{"tags":["Profile"],"summary":"Export User Vulnerabilities","description":"Exports all vulnerabilities identified for the current user in the chosen format (default: CSV). Supports filtering and sorting options.","operationId":"export_vulnerabilities_profile_vulnerabilities_export_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"host","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"}},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Severity"}},{"name":"false_positive","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"False Positive"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/bruteforces":{"get":{"tags":["Profile"],"summary":"List User Bruteforce","description":"Retrieves bruteforce results for the current user. Supports filtering, sorting, and pagination.","operationId":"get_bruteforces_for_profile_profile_bruteforces_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedBruteforcesWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/bruteforces/export":{"get":{"tags":["Profile"],"summary":"Export User Bruteforce","description":"Exports bruteforce data for the current user in the desired format (default: CSV). Supports filtering and sorting options.","operationId":"export_data_profile_bruteforces_export_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/structures":{"get":{"tags":["Profile"],"summary":"List User Scan Structures","description":"Lists advanced scan structures identified for the current user. Supports searching and pagination.","operationId":"get_user_structures_profile_structures_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Page Size"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedStructuresResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/structures/export":{"get":{"tags":["Profile"],"summary":"Export User Scan Structures","description":"Exports advanced scan structures identified for the current user in the desired format (default: CSV). Supports searching.","operationId":"export_data_profile_structures_export_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","default":"csv","title":"Format"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/profile/exports":{"get":{"tags":["Profile"],"summary":"List User Exports","description":"Retrieves a paginated list of export requests created by the user.","operationId":"get_all_exports_profile_exports_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Page Size"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"desc","title":"Sort Order"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedExportsWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Profile"],"summary":"Create Export Request","description":"Initiates a new export for all data associated with the current user.","operationId":"create_export_request_profile_exports_post","security":[{"BearerAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportsResponseSchema"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/enumerators":{"get":{"tags":["Enumerators"],"summary":"List all Enumerators","description":"Retrieve a list of all available (active) enumerators, including cost_per_search, for subdomain enumeration tasks.","operationId":"get_all_enumerators_enumerators_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EnumeratorResponse"},"type":"array","title":"Response Get All Enumerators Enumerators Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}}}}},"/enumerators/groups":{"get":{"tags":["Enumerators"],"summary":"List Enumerator Groups","description":"Retrieve a list of enumerator groups (e.g., Fast or Deep) and their associated enumerators, showing which enumerators belong to each group.","operationId":"list_enumerators_groups_enumerators_groups_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EnumeratorGroupBase"},"type":"array","title":"Response List Enumerators Groups Enumerators Groups Get"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}}}}},"/reverse_search":{"get":{"tags":["Reverse Search"],"summary":"Reverse Search Subdomains","description":"Perform a reverse search of subdomains based on the provided criteria (partial matches on subdomain, domain, or TLD). \n\n    - `exclude_generic_hosting_domains`: When True, omit generic hosting domains (e.g. 'wordpress.com').\n    - `exclude_gov_ed_domains`: When True, omit government or educational TLDs (e.g. '.gov', '.edu').","operationId":"reverse_search_subdomains_reverse_search_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"subdomain_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Part of the subdomain to search for.","title":"Subdomain Part"},"description":"Part of the subdomain to search for."},{"name":"domain_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Part of the domain to search for.","title":"Domain Part"},"description":"Part of the domain to search for."},{"name":"tld_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Top-level domain (TLD) to search for.","title":"Tld Part"},"description":"Top-level domain (TLD) to search for."},{"name":"exclude_generic_hosting_domains","in":"query","required":false,"schema":{"type":"boolean","description":"Exclude generic hosting domains from the results.","default":false,"title":"Exclude Generic Hosting Domains"},"description":"Exclude generic hosting domains from the results."},{"name":"exclude_gov_ed_domains","in":"query","required":false,"schema":{"type":"boolean","description":"Exclude government and educational domains from the results.","default":false,"title":"Exclude Gov Ed Domains"},"description":"Exclude government and educational domains from the results."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReverseSearchResponse"}}}},"401":{"description":"Unauthorized"},"402":{"description":"Payment Required"},"429":{"description":"Too Many Requests"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reverse_ports":{"get":{"tags":["Reverse Search"],"summary":"Reverse Search Open Ports","description":"Search the `ports` index by host, port, service, product, version, or extrainfo. You can also match text inside `http_info` if you have indexed it.","operationId":"reverse_search_ports_reverse_ports_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"host_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Part of the host to search for.","title":"Host Part"},"description":"Part of the host to search for."},{"name":"port","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Exact port number.","title":"Port"},"description":"Exact port number."},{"name":"service_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Part of the service name.","title":"Service Part"},"description":"Part of the service name."},{"name":"product_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Part of the product name.","title":"Product Part"},"description":"Part of the product name."},{"name":"version_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Part of the version name.","title":"Version Part"},"description":"Part of the version name."},{"name":"extrainfo_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Part of the extrainfo value.","title":"Extrainfo Part"},"description":"Part of the extrainfo value."},{"name":"http_info_part","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search within the http_info field (requires dedicated sub‑field).","title":"Http Info Part"},"description":"Search within the http_info field (requires dedicated sub‑field)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks":{"get":{"tags":["Tasks"],"summary":"List Tasks","description":"Get a list of tasks","operationId":"list_user_tasks_tasks_get","security":[{"BearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number, starting from 1","default":1,"title":"Page"},"description":"Page number, starting from 1"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of items per page","default":100,"title":"Page Size"},"description":"Number of items per page"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search query","title":"Search"},"description":"Search query"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by status","title":"Status"},"description":"Filter by status"},{"name":"sort_by","in":"query","required":false,"schema":{"type":"string","description":"Sort by field","default":"timestamp","title":"Sort By"},"description":"Sort by field"},{"name":"sort_order","in":"query","required":false,"schema":{"type":"string","description":"Sort order (asc/desc)","default":"desc","title":"Sort Order"},"description":"Sort order (asc/desc)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedTasksWithStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/excludes":{"get":{"tags":["Excludes"],"summary":"List Excluded Domains and TLDs","description":"Retrieve the lists of domains and TLDs that are excluded in reverse searches. (e.g., generic hosting domains, government and educational TLDs).","operationId":"excludes_excludes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExcludesResponse"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"example":{"detail":"Rate limit exceeded"}}}}}}},"/unsubscribe":{"get":{"summary":"Unsubscribe Newsletter","description":"Désabonne l'utilisateur (newsletter = False).\nParamètre \"email\" passé dans la query string en GET:\n/auth/unsubscribe?email=user@example.com","operationId":"unsubscribe_newsletter_unsubscribe_get","parameters":[{"name":"email","in":"query","required":true,"schema":{"type":"string","description":"User email to unsubscribe","title":"Email"},"description":"User email to unsubscribe"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BruteforceResponseSchema":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the bruteforce."},"target":{"type":"string","title":"Target","description":"The target of the bruteforce."},"username":{"type":"string","title":"Username","description":"The username used for the bruteforce."},"password":{"type":"string","title":"Password","description":"The password used for the bruteforce."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp of the bruteforce."}},"type":"object","required":["id","target","username","password","timestamp"],"title":"BruteforceResponseSchema"},"BruteforceStatusStats":{"properties":{"total":{"type":"integer","title":"Total","default":0}},"type":"object","title":"BruteforceStatusStats"},"DomainRequest":{"properties":{"domains":{"items":{"type":"string"},"type":"array","title":"Domains","description":"A list of domains to be processed."},"enumerators":{"items":{"type":"string"},"type":"array","title":"Enumerators","description":"A list of enumerators to be used."},"skip_processing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Skip Processing","description":"Indicates if the task should be skipped during processing."}},"type":"object","required":["domains","enumerators"],"title":"DomainRequest","example":{"domains":["example.com","test.com"],"enumerators":["Aquarius Enumerator","Pegasus Enumerator"],"skip_processing":false}},"EnumerateResponse":{"properties":{"tasks":{"additionalProperties":{"type":"string"},"type":"object","title":"Tasks","description":"A mapping from domains to task IDs."},"message":{"type":"string","title":"Message","description":"A message indicating the result."}},"type":"object","required":["tasks","message"],"title":"EnumerateResponse","example":{"message":"Tasks initiated","tasks":{"example.com":"123e4567-e89b-12d3-a456-426614174000","test.com":"223e4567-e89b-12d3-a456-426614174001"}}},"EnumeratorBase":{"properties":{"display_name":{"type":"string","title":"Display Name","description":"The display name of the enumerator."}},"type":"object","required":["display_name"],"title":"EnumeratorBase","example":{"display_name":"Aquarius Enumerator"}},"EnumeratorGroupBase":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the enumerator group."},"name":{"type":"string","title":"Name","description":"The name of the enumerator group."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"A description of the enumerator group."},"enumerators":{"items":{"$ref":"#/components/schemas/EnumeratorBase"},"type":"array","title":"Enumerators","description":"List of enumerators in this group."},"active":{"type":"boolean","title":"Active","description":"Indicates if the enumerator group is active."}},"type":"object","required":["id","name","enumerators","active"],"title":"EnumeratorGroupBase","example":{"active":true,"description":"Enumerators optimized for high-speed scanning and rapid data collection","enumerators":[{"display_name":"Beta Enumerator"},{"display_name":"Chi Enumerator"}],"id":"1","name":"Fast"}},"EnumeratorResponse":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the enumerator."},"display_name":{"type":"string","title":"Display Name","description":"The display name of the enumerator."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"A description of the enumerator."},"cost_per_search":{"type":"number","title":"Cost Per Search","description":"The cost per search for this enumerator."}},"type":"object","required":["id","display_name","cost_per_search"],"title":"EnumeratorResponse","example":{"cost_per_search":1,"description":"SSL certificate lookup.","display_name":"Aquarius Enumerator","id":"1"}},"ExcludesResponse":{"properties":{"generic_hosting_domains":{"items":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2},"type":"array","title":"Generic Hosting Domains","description":"List of generic hosting domains to exclude."},"gov_ed_tlds":{"items":{"type":"string"},"type":"array","title":"Gov Ed Tlds","description":"List of government and educational TLDs to exclude."}},"type":"object","required":["generic_hosting_domains","gov_ed_tlds"],"title":"ExcludesResponse","example":{"generic_hosting_domains":[["wordpress","com"],["blogspot","com"]],"gov_ed_tlds":["gov","edu","mil"]}},"ExportCreateRequest":{"properties":{"from_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From Date","description":"Optional starting date to filter tasks from that date until now."}},"type":"object","title":"ExportCreateRequest"},"ExportStatusStats":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"in_progress":{"type":"integer","title":"In Progress","default":0},"completed":{"type":"integer","title":"Completed","default":0},"failed":{"type":"integer","title":"Failed","default":0}},"type":"object","title":"ExportStatusStats"},"ExportsResponseSchema":{"properties":{"id":{"type":"integer","title":"Id","description":"The unique identifier of the export."},"user_id":{"type":"integer","title":"User Id","description":"The ID of the user who initiated the export."},"filename":{"type":"string","title":"Filename","description":"The filename of the export."},"type":{"type":"string","title":"Type","description":"The type of the export."},"status":{"type":"string","title":"Status","description":"The status of the export."},"from_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"From Date","description":"The starting date of the export."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp of the export."}},"type":"object","required":["id","user_id","filename","type","status","timestamp"],"title":"ExportsResponseSchema"},"ExposedServicesResponse":{"properties":{"url":{"type":"string","title":"Url","description":"The URL of the exposed service."},"informations":{"anyOf":[{"type":"object"},{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Informations"},"service_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Name","description":"The name of the service (e.g., 'HTTP', 'FTP')."},"service_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service Description","description":"A description of the service."}},"type":"object","required":["url"],"title":"ExposedServicesResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HttpInfoResponseSchema":{"properties":{"url":{"type":"string","title":"Url"},"status_code":{"type":"integer","title":"Status Code"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"body_preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body Preview"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot"},"cdn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cdn"},"tech":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tech"},"webserver":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webserver"},"favicon_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Favicon Hash"},"favicon_base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Favicon Base64"},"issuer_org":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issuer Org"},"subject_cn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Cn"},"subject_an":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Subject An"},"asn":{"anyOf":[{},{"type":"null"}],"title":"Asn"}},"type":"object","required":["url","status_code"],"title":"HttpInfoResponseSchema"},"InvoiceBase":{"properties":{"id":{"type":"integer","title":"Id","description":"The unique identifier of the invoice."},"amount":{"type":"number","title":"Amount","description":"The amount of the invoice."},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period","description":"The billing period of the invoice."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp when the invoice was created."},"paid":{"type":"boolean","title":"Paid","description":"Indicates if the invoice has been paid."},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At","description":"The timestamp when the invoice was paid."},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method","description":"The method used to pay the invoice."},"is_renewal":{"type":"boolean","title":"Is Renewal","description":"Indicates if this is a renewal invoice."},"discount_code_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Discount Code Id","description":"The ID of the discount code used."},"user_id":{"type":"integer","title":"User Id","description":"The ID of the user associated with this invoice."}},"type":"object","required":["id","amount","period","timestamp","paid","is_renewal","user_id"],"title":"InvoiceBase"},"LeakResponseSchema":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the leak."},"target":{"type":"string","title":"Target","description":"The target of the leak."},"source":{"type":"string","title":"Source","description":"The source of the leak."},"data":{"items":{},"type":"array","title":"Data","description":"A list of leaked data items, each represented as a dictionary."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp of the leak."}},"type":"object","required":["id","target","source","data","timestamp"],"title":"LeakResponseSchema"},"LocationNode":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Path"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"children":{"anyOf":[{"items":{"$ref":"#/components/schemas/LocationNode"},"type":"array"},{"type":"null"}],"title":"Children"}},"type":"object","required":["id","name"],"title":"LocationNode"},"PaginatedBruteforcesWithStatsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BruteforceResponseSchema"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"stats":{"$ref":"#/components/schemas/BruteforceStatusStats"}},"type":"object","required":["items","total","page","page_size","stats"],"title":"PaginatedBruteforcesWithStatsResponse"},"PaginatedExportsWithStatsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ExportsResponseSchema"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"stats":{"$ref":"#/components/schemas/ExportStatusStats"}},"type":"object","required":["items","total","page","page_size","stats"],"title":"PaginatedExportsWithStatsResponse"},"PaginatedScansWithStatsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ScanResponseSchema"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"stats":{"$ref":"#/components/schemas/ScanStatusStats"}},"type":"object","required":["items","total","page","page_size","stats"],"title":"PaginatedScansWithStatsResponse"},"PaginatedStructuresResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ScanStructureResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["items","total","page","page_size"],"title":"PaginatedStructuresResponse"},"PaginatedTasksWithStatsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TaskSummaryResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"stats":{"$ref":"#/components/schemas/TaskStatusStats"}},"type":"object","required":["items","total","page","page_size","stats"],"title":"PaginatedTasksWithStatsResponse"},"PaginatedVulnerabilitiesWithStatsResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/VulnerabilityResponse"},"type":"array","title":"Items"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"stats":{"$ref":"#/components/schemas/VulnerabilitySeverityStats"}},"type":"object","required":["items","total","page","page_size","stats"],"title":"PaginatedVulnerabilitiesWithStatsResponse"},"PlanBase":{"properties":{"id":{"type":"integer","title":"Id","description":"The unique identifier of the plan."},"plan_name":{"type":"string","title":"Plan Name","description":"The name of the plan."},"name":{"type":"string","title":"Name","description":"The display name of the plan."},"price":{"type":"number","title":"Price","description":"The price of the plan."},"default_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Price","description":"The default price of the plan before any discounts."},"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period","description":"The billing period of the plan."},"points":{"type":"integer","title":"Points","description":"The number of points associated with the plan."},"processors":{"type":"integer","title":"Processors","description":"The number of processors available in the plan."},"reverse_search":{"type":"integer","title":"Reverse Search","description":"The number of reverse searches allowed in the plan."},"vulnerability_timeout":{"type":"integer","title":"Vulnerability Timeout","description":"The timeout for vulnerability scans in the plan."},"scans":{"type":"integer","title":"Scans","description":"The number of concurrent scans allowed in the plan."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"A description of the plan."}},"type":"object","required":["id","plan_name","name","price","default_price","period","points","processors","reverse_search","vulnerability_timeout","scans"],"title":"PlanBase"},"PortsResponseSchema":{"properties":{"host":{"type":"string","title":"Host","description":"The host of the portscan."},"port":{"type":"integer","title":"Port","description":"The port of the portscan."},"protocol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Protocol","description":"The protocol of the portscan."},"service":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Service","description":"The service of the portscan."},"product":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product","description":"The product of the portscan."},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version","description":"The version of the portscan."},"extrainfo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extrainfo","description":"The extra information of the portscan."},"http_info":{"anyOf":[{"items":{"$ref":"#/components/schemas/HttpInfoResponseSchema"},"type":"array"},{"type":"null"}],"title":"Http Info","description":"Liste de résultats HTTP pour ce host/port (HTTP, HTTPS, etc.)."}},"type":"object","required":["host","port","protocol","service","product","version","extrainfo"],"title":"PortsResponseSchema"},"ReverseSearchResponse":{"properties":{"subdomains":{"items":{"$ref":"#/components/schemas/ReverseSearchSubdomainResponse"},"type":"array","title":"Subdomains","description":"A list of subdomains identified."}},"type":"object","required":["subdomains"],"title":"ReverseSearchResponse","example":{"subdomains":[{"domain":"example","subdomain":"mail","tld":"com"},{"domain":"example","subdomain":"admin","tld":"com"}]}},"ReverseSearchSubdomainResponse":{"properties":{"subdomain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdomain","description":"The subdomain identified."},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","description":"The domain associated with the subdomain."},"tld":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tld","description":"The top-level domain (TLD) of the subdomain."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp when the subdomain was identified."}},"type":"object","required":["timestamp"],"title":"ReverseSearchSubdomainResponse"},"ScanResponseSchema":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the scan."},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id","description":"The unique identifier of the task."},"target":{"type":"string","title":"Target","description":"The target of the scan."},"status":{"type":"string","title":"Status","description":"The status of the scan."},"start_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Time","description":"The start time of the scan."},"end_time":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Time","description":"The end time of the scan."},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message","description":"Error message if the scan failed."},"scan_type":{"type":"string","title":"Scan Type","description":"The type of the scan."},"vulnerability_stats":{"additionalProperties":{"type":"integer"},"type":"object","title":"Vulnerability Stats","description":"Statistics about the vulnerabilities."},"bruteforce_result":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bruteforce Result","description":"Indicates if a bruteforce was performed.","default":false},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp","description":"The timestamp of the scan."}},"type":"object","required":["id","target","status","scan_type","vulnerability_stats"],"title":"ScanResponseSchema","description":"Schéma pour un scan \"normal\" (sans user_email).","example":{"bruteforce_result":false,"end_time":"2024-11-03T16:00:00Z","id":"scan123","scan_type":"Full Scan","start_time":"2024-11-03T14:00:00Z","status":"completed","target":"example.com","task_id":"task123","timestamp":"2024-11-03T16:00:00Z","vulnerability_stats":{"critical_severity":1,"high_severity":2,"info_severity":0,"low_severity":1,"medium_severity":1,"total_vulnerabilities":5}}},"ScanStartSuccessResponse":{"properties":{"message":{"type":"string","title":"Message","description":"A message indicating the result."}},"type":"object","required":["message"],"title":"ScanStartSuccessResponse","example":{"message":"Scans started successfully for all subdomains."}},"ScanStatusStats":{"properties":{"completed":{"type":"integer","title":"Completed","default":0},"in_progress":{"type":"integer","title":"In Progress","default":0},"pending":{"type":"integer","title":"Pending","default":0},"failed":{"type":"integer","title":"Failed","default":0}},"type":"object","title":"ScanStatusStats"},"ScanStructureResponse":{"properties":{"scan_id":{"type":"string","title":"Scan Id"},"target":{"type":"string","title":"Target"},"structure":{"items":{"$ref":"#/components/schemas/LocationNode"},"type":"array","title":"Structure"}},"type":"object","required":["scan_id","target","structure"],"title":"ScanStructureResponse"},"ScanSubdomainsRequest":{"properties":{"task_id":{"type":"string","title":"Task Id","description":"The unique identifier of the task."},"scan_type":{"type":"string","title":"Scan Type","description":"The type of scan to perform."},"subdomains":{"items":{"type":"string"},"type":"array","title":"Subdomains","description":"A list of subdomains to scan. Max 100."}},"type":"object","required":["task_id","scan_type","subdomains"],"title":"ScanSubdomainsRequest"},"ScanTypeResponse":{"properties":{"id":{"type":"integer","title":"Id","description":"The unique identifier of the scan type."},"name":{"type":"string","title":"Name","description":"The internal name of the scan type."},"display_name":{"type":"string","title":"Display Name","description":"The display name of the scan type."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the scan type."},"price":{"type":"number","title":"Price","description":"The price of the scan type."}},"type":"object","required":["id","name","display_name","price"],"title":"ScanTypeResponse","example":{"description":"Quick scan with minimal checks.","display_name":"Fast Scan","id":1,"name":"FAST","price":10.0}},"ScanTypesResponse":{"properties":{"scan_types":{"items":{"$ref":"#/components/schemas/ScanTypeResponse"},"type":"array","title":"Scan Types","description":"List of available scan types."}},"type":"object","required":["scan_types"],"title":"ScanTypesResponse","example":{"scan_types":[{"description":"Quick scan with minimal checks.","display_name":"Fast Scan","id":1,"name":"FAST","price":10.0},{"description":"Comprehensive scan with extensive checks.","display_name":"Deep Scan","id":2,"name":"DEEP","price":20.0}]}},"ScanUrlsRequest":{"properties":{"scan_type":{"type":"string","title":"Scan Type","description":"The type of scan to perform."},"urls":{"items":{"type":"string"},"type":"array","title":"Urls","description":"A list of URLs to scan. Max 100."}},"type":"object","required":["scan_type","urls"],"title":"ScanUrlsRequest"},"StatusResponse":{"properties":{"task_id":{"type":"string","title":"Task Id","description":"The unique identifier of the task."},"status":{"type":"string","title":"Status","description":"The current status of the task."},"sub_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Status","description":"The current sub-status of the task."},"domain":{"type":"string","title":"Domain","description":"The domain associated with the task."},"subdomains":{"anyOf":[{"items":{"$ref":"#/components/schemas/SubdomainResponse"},"type":"array"},{"type":"null"}],"title":"Subdomains","description":"List of identified subdomains."},"total_subdomains":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Subdomains","description":"Total number of subdomains identified."},"whois":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Whois","description":"The WHOIS information of the domain."},"enumerators":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enumerators","description":"List of enumerators used."},"timestamp":{"type":"string","title":"Timestamp","description":"The timestamp when the task was last updated."},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if the task failed."},"is_notification":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Notification","description":"Indicates if this is a notification task."},"notification_domain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Notification Domain Id","description":"The ID of the notification domain."},"is_demo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Demo","description":"Indicates if this is a demo task."},"user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"User Id","description":"The ID of the user associated with this task."},"skip_processing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Skip Processing","description":"Indicates if the task should be skipped during processing."},"free_scan":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Free Scan","description":"Indicates if this is a free scan."},"time_to_finish":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Time To Finish","description":"The time taken to complete the task."},"security_txt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Security Txt","description":"The content of the security.txt file."},"meta_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meta Description","description":"The meta description of the domain."},"bug_bounty_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bug Bounty Platform","description":"The bug bounty platform associated with the domain."},"bug_bounty_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bug Bounty Name","description":"The name of the bug bounty program."},"bug_bounty_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bug Bounty Url","description":"The URL of the bug bounty program."},"bruteforce":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bruteforce","description":"Indicates if brute force was performed on the domain."},"leaks":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Leaks","description":"Indicates if data leaks were identified."}},"type":"object","required":["task_id","status","domain","timestamp"],"title":"StatusResponse","example":{"bruteforce":true,"bug_bounty_name":"Example Bug Bounty Program","bug_bounty_platform":"HackerOne","bug_bounty_url":"https://hackerone.com/example","domain":"example.it","enumerators":["Alpha Enumerator","Kappa Enumerator","Lambda Enumerator","Mu Enumerator"],"free_scan":true,"is_demo":false,"is_notification":false,"leaks":true,"meta_description":"The best domain in the world.","security_txt":"http://example.com/security.txt","skip_processing":false,"status":"completed","sub_status":"Completed","subdomains":[{"country":"France","ip":"127.0.0.1","reverse_dns":["dns.windows.net","dns2.windows.net"],"subdomain":"2fapp.example.it"},{"country":"United States","ip":"51.96.109.184","reverse_dns":["autodiscover.outlook.com","atod-g2.tm-4.office.com"],"subdomain":"autodiscover.example.it"}],"task_id":"65c52233-fde1-4ba9-ab41-8dcaa2c7391a","time_to_finish":9,"timestamp":"2024-09-22T23:34:08.713198","total_subdomains":20,"user_id":1,"whois":{"creation_date":"2019-07-26T13:15:06","domain_name":"example.it","expiration_date":"2025-07-26T00:00:00","last_updated":"2024-08-11T00:46:23","nameservers":"ns1-05.azure-dns.com\nns2-05.azure-dns.net\nns3-05.azure-dns.org\nns4-05.azure-dns.info","registrar":"Domeneshop AS","status":"ok"}}},"SubdomainResponse":{"properties":{"subdomain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subdomain","description":"The subdomain identified."},"ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip","description":"The IP address associated with the subdomain."},"reverse_dns":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reverse Dns","description":"The reverse DNS records associated with the subdomain."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"The country of the IP address."}},"type":"object","title":"SubdomainResponse"},"TaskStatsResponse":{"properties":{"subdomains_count":{"type":"integer","title":"Subdomains Count"},"bruteforces_count":{"type":"integer","title":"Bruteforces Count"},"leaks_count":{"type":"integer","title":"Leaks Count"},"ports_count":{"type":"integer","title":"Ports Count"},"scans_count":{"type":"integer","title":"Scans Count"},"structures_count":{"type":"integer","title":"Structures Count"},"vulnerabilities_count":{"type":"integer","title":"Vulnerabilities Count"},"exposed_services_count":{"type":"integer","title":"Exposed Services Count"}},"type":"object","required":["subdomains_count","bruteforces_count","leaks_count","ports_count","scans_count","structures_count","vulnerabilities_count","exposed_services_count"],"title":"TaskStatsResponse"},"TaskStatusStats":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"enumerating":{"type":"integer","title":"Enumerating","default":0},"processing":{"type":"integer","title":"Processing","default":0},"completed":{"type":"integer","title":"Completed","default":0},"failed":{"type":"integer","title":"Failed","default":0}},"type":"object","title":"TaskStatusStats"},"TaskSummaryResponse":{"properties":{"task_id":{"type":"string","title":"Task Id","description":"The unique identifier of the task."},"status":{"type":"string","title":"Status","description":"The current status of the task."},"sub_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub Status","description":"The current sub-status of the task."},"domain":{"type":"string","title":"Domain","description":"The domain associated with the task."},"total_subdomains":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Subdomains","description":"Total number of subdomains identified."},"enumerators":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Enumerators","description":"List of enumerators used."},"timestamp":{"type":"string","title":"Timestamp","description":"The timestamp when the task was last updated."},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if the task failed."},"is_notification":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Notification","description":"Indicates if this is a notification task."},"notification_domain_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Notification Domain Id","description":"The ID of the notification domain."},"time_to_finish":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Time To Finish","description":"The time taken to complete the task."},"is_demo":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Demo","description":"Indicates if this is a demo task."},"user_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"User Id","description":"The ID of the user associated with this task."},"skip_processing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Skip Processing","description":"Indicates if the task should be skipped during processing."},"free_scan":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Free Scan","description":"Indicates if this is a free scan."},"bruteforce":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Bruteforce","description":"Indicates if brute force was performed on the domain."}},"type":"object","required":["task_id","status","domain","timestamp"],"title":"TaskSummaryResponse","example":{"bruteforce":true,"domain":"example.it","enumerators":["Alpha Enumerator","Kappa Enumerator"],"free_scan":true,"is_demo":false,"is_notification":false,"skip_processing":false,"status":"completed","task_id":"65c52233-fde1-4ba9-ab41-8dcaa2c7391a","time_to_finish":9,"timestamp":"2024-09-22T23:34:08.713198","total_subdomains":20,"user_id":1}},"UserBase":{"properties":{"id":{"type":"integer","title":"Id","description":"The unique identifier of the user."},"first_name":{"type":"string","title":"First Name","description":"The first name of the user."},"last_name":{"type":"string","title":"Last Name","description":"The last name of the user."},"email":{"type":"string","title":"Email","description":"The email address of the user."},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"The address of the user."},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City","description":"The city where the user resides."},"zip_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Code","description":"The ZIP code of the user's location."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"The country of the user."},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"The phone number of the user."},"tva_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tva Number","description":"The VAT number for tax purposes."},"admin":{"type":"boolean","title":"Admin","description":"Indicates if the user is an administrator."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"The timestamp when the user was created."},"subscription_start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Subscription Start Date","description":"The start date of the user's subscription."},"subscription_end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Subscription End Date","description":"The end date of the user's subscription."},"subscription_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Subscription Active","description":"Indicates if the user's subscription is active."},"subscription_points":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subscription Points","description":"The number of points remaining in the user's subscription."},"stripe_subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Subscription Id","description":"The Stripe subscription ID."},"plan_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Plan Id","description":"The plan ID of the user."},"invoices":{"items":{"$ref":"#/components/schemas/InvoiceBase"},"type":"array","title":"Invoices","description":"List of invoices associated with the user."},"plan":{"$ref":"#/components/schemas/PlanBase","description":"The current subscription plan of the user."},"email_confirmed":{"type":"boolean","title":"Email Confirmed","description":"Indicates if the user's email is confirmed."},"last_login":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Login","description":"The timestamp of the user's last login."},"last_login_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Login Ip","description":"The IP address of the user's last login."},"registration_ip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Ip","description":"The IP address of the user's registration."},"campaign_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign Code","description":"The campaign code used during registration."},"register_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Register By","description":"The method used to register the user."},"banned":{"type":"boolean","title":"Banned","description":"Indicates if the user is banned."},"api":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Api","description":"The API key of the user."},"user_survey":{"anyOf":[{"$ref":"#/components/schemas/UserSurveyResponse"},{"type":"null"}]},"twofa_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Twofa Enabled","default":false}},"type":"object","required":["id","first_name","last_name","email","admin","timestamp","invoices","plan","email_confirmed","banned"],"title":"UserBase"},"UserSurveyResponse":{"properties":{"reason_for_signup":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason For Signup"},"interested_features":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interested Features"},"future_features_interested":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Future Features Interested"},"newsletter_opt_in":{"type":"boolean","title":"Newsletter Opt In","default":false},"level_security_knowledge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level Security Knowledge"}},"type":"object","title":"UserSurveyResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VulnerabilityResponse":{"properties":{"id":{"type":"string","title":"Id","description":"The unique identifier of the vulnerability."},"scan_id":{"type":"string","title":"Scan Id","description":"The unique identifier of the scan."},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"name":{"type":"string","title":"Name","description":"The name of the template."},"severity":{"type":"string","title":"Severity","description":"The severity level of the vulnerability."},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the vulnerability."},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"List of tags."},"matched_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matched At","description":"The URL or endpoint matched."},"extracted_results":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Extracted Results","description":"Results extracted."},"request":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Request","description":"HTTP request that triggered it."},"meta":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"},{"items":{"type":"string"},"type":"array"}]},"type":"object"},{"type":"null"}],"title":"Meta","description":"Additional metadata."},"matcher_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matcher Name","description":"Name of the matcher used."},"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host","description":"The host where found."},"curl_command":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Curl Command","description":"CURL command for reproduction."},"is_false_positive":{"type":"boolean","title":"Is False Positive","description":"Mark if it's a false positive.","default":false},"details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Details","description":"Additional details."},"find_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Find By","description":"Method used to find it."},"timestamp":{"type":"string","format":"date-time","title":"Timestamp","description":"Timestamp when detected."},"response":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Response","description":"User response to the vulnerability."}},"type":"object","required":["id","scan_id","name","severity","timestamp"],"title":"VulnerabilityResponse"},"VulnerabilitySeverityStats":{"properties":{"critical":{"type":"integer","title":"Critical","default":0},"high":{"type":"integer","title":"High","default":0},"medium":{"type":"integer","title":"Medium","default":0},"low":{"type":"integer","title":"Low","default":0},"info":{"type":"integer","title":"Info","default":0}},"type":"object","title":"VulnerabilitySeverityStats"}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"security":[{"BearerAuth":[]}]}