{"openapi":"3.1.0","info":{"title":"ShopSafe","version":"0.1.0"},"paths":{"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/protect":{"get":{"summary":"Protect Product","operationId":"protect_product_protect_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/methodology":{"get":{"summary":"Methodology","description":"Different product suites have explicitly different evidence and rules.","operationId":"methodology_methodology_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/showcase/{showcase_id}/image":{"get":{"summary":"Showcase Image","description":"Public: serve a showcase clone screenshot for the landing carousel.","operationId":"showcase_image_showcase__showcase_id__image_get","parameters":[{"name":"showcase_id","in":"path","required":true,"schema":{"type":"integer","title":"Showcase Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/check":{"post":{"summary":"Api Check","description":"JSON checker endpoint. Body: {\"url\": \"...\"} -> hedged VerdictResult.","operationId":"api_check_api_check_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/check":{"get":{"summary":"Check Page","description":"HTML verdict card. Also serves HTMX fragment posts from the landing form.","operationId":"check_page_check_get","parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string","default":"","title":"Url"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Check Fragment","description":"HTMX target for the landing checker box — returns just the verdict card.\n\nThis is the no-JavaScript fallback; the enhanced path streams progress via\n``/check/stream`` below.","operationId":"check_fragment_check_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_check_fragment_check_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/check/authorize":{"post":{"summary":"Authorize Check","operationId":"authorize_check_check_authorize_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_authorize_check_check_authorize_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/check/stream":{"get":{"summary":"Check Stream","description":"Server-Sent Events: stream every live check event, then the verdict card.\n\nEmits ``event: check`` per granular determination, ``event: step`` per\nstage, and a final ``event: verdict`` with the rendered HTML card. The\nblocking checker runs in a worker thread feeding a queue; this async\ngenerator forwards events, emits keep-alive comments during silent stages\n(capture / LLM can be byte-silent for 30s+), and stops forwarding the\nmoment the client disconnects.","operationId":"check_stream_check_stream_get","parameters":[{"name":"url","in":"query","required":false,"schema":{"type":"string","default":"","title":"Url"}},{"name":"ticket","in":"query","required":false,"schema":{"type":"string","default":"","title":"Ticket"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/appeal":{"get":{"summary":"Appeal Form","operationId":"appeal_form_appeal_get","parameters":[{"name":"domain","in":"query","required":false,"schema":{"type":"string","default":"","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Appeal Submit","operationId":"appeal_submit_appeal_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_appeal_submit_appeal_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/login":{"get":{"summary":"Login","operationId":"login_auth_login_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/dashboard","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/callback":{"get":{"summary":"Callback","operationId":"callback_auth_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/logout":{"get":{"summary":"Logout","operationId":"logout_auth_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/login":{"get":{"summary":"Login Page","operationId":"login_page_portal_login_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/portal","title":"Next"}},{"name":"email","in":"query","required":false,"schema":{"type":"string","default":"","title":"Email"}},{"name":"sent","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Sent"}},{"name":"error","in":"query","required":false,"schema":{"type":"string","default":"","title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/login/code":{"post":{"summary":"Send Code","operationId":"send_code_portal_login_code_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_send_code_portal_login_code_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/login/verify":{"post":{"summary":"Verify Code","operationId":"verify_code_portal_login_verify_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verify_code_portal_login_verify_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/logout":{"get":{"summary":"Logout Page","operationId":"logout_page_portal_logout_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Logout Post","operationId":"logout_post_portal_logout_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_logout_post_portal_logout_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/claim":{"post":{"summary":"Claim","description":"Checker lead capture: a brand owner claims a domain from a verdict page.\n\nRecords the lead, then opens sign-in. Only an explicit request on the\nsign-in form sends a code, so automated claim probing cannot send mail.","operationId":"claim_portal_claim_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_claim_portal_claim_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/m365/login":{"get":{"summary":"M365 Login","operationId":"m365_login_portal_m365_login_get","parameters":[{"name":"next","in":"query","required":false,"schema":{"type":"string","default":"/portal","title":"Next"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/m365/callback":{"get":{"summary":"M365 Callback","operationId":"m365_callback_portal_m365_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal":{"get":{"summary":"Portal Home","operationId":"portal_home_portal_get","parameters":[{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"overview","title":"View"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/account":{"post":{"summary":"Update Account","operationId":"update_account_portal_account_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_account_portal_account_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/domains/add":{"post":{"summary":"Add Domain","operationId":"add_domain_portal_domains_add_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_add_domain_portal_domains_add_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/domains/{domain_id}/verify/txt":{"post":{"summary":"Verify Txt","operationId":"verify_txt_portal_domains__domain_id__verify_txt_post","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/domains/{domain_id}/verify/email":{"post":{"summary":"Verify Email Send","operationId":"verify_email_send_portal_domains__domain_id__verify_email_post","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verify_email_send_portal_domains__domain_id__verify_email_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/domains/{domain_id}/verify/email/confirm":{"post":{"summary":"Verify Email Confirm","operationId":"verify_email_confirm_portal_domains__domain_id__verify_email_confirm_post","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verify_email_confirm_portal_domains__domain_id__verify_email_confirm_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/domains/{domain_id}/monitor":{"post":{"summary":"Toggle Monitor","operationId":"toggle_monitor_portal_domains__domain_id__monitor_post","parameters":[{"name":"domain_id","in":"path","required":true,"schema":{"type":"integer","title":"Domain Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_toggle_monitor_portal_domains__domain_id__monitor_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/scan":{"post":{"summary":"Start Scan","operationId":"start_scan_portal_scan_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_start_scan_portal_scan_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/scan/{scan_id}":{"get":{"summary":"Scan Detail","operationId":"scan_detail_portal_scan__scan_id__get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/scan/{scan_id}/stream":{"get":{"summary":"Scan Stream","operationId":"scan_stream_portal_scan__scan_id__stream_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/scan/{scan_id}/status":{"get":{"summary":"Scan Status","operationId":"scan_status_portal_scan__scan_id__status_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/scan/{scan_id}/download":{"get":{"summary":"Download Report","operationId":"download_report_portal_scan__scan_id__download_get","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/darkweb/{domain}":{"get":{"summary":"Darkweb Report","operationId":"darkweb_report_portal_darkweb__domain__get","parameters":[{"name":"domain","in":"path","required":true,"schema":{"type":"string","title":"Domain"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/services/{service_key}/request":{"post":{"summary":"Request Service","operationId":"request_service_portal_services__service_key__request_post","parameters":[{"name":"service_key","in":"path","required":true,"schema":{"type":"string","title":"Service Key"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_request_service_portal_services__service_key__request_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/upgrade":{"get":{"summary":"Upgrade","operationId":"upgrade_portal_upgrade_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/evidence-storage":{"get":{"summary":"Evidence Storage","operationId":"evidence_storage_dashboard_evidence_storage_get","parameters":[{"name":"audit","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audit"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/evidence-storage/{audit_id}/download":{"get":{"summary":"Evidence Storage Download","operationId":"evidence_storage_download_dashboard_evidence_storage__audit_id__download_get","parameters":[{"name":"audit_id","in":"path","required":true,"schema":{"type":"string","title":"Audit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/customers":{"get":{"summary":"Customer Requests","operationId":"customer_requests_dashboard_customers_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/customers/requests/{order_id}":{"post":{"summary":"Update Customer Request","operationId":"update_customer_request_dashboard_customers_requests__order_id__post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"integer","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_customer_request_dashboard_customers_requests__order_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/payments":{"get":{"summary":"Payments Queue","operationId":"payments_queue_dashboard_payments_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard":{"get":{"summary":"Dashboard","operationId":"dashboard_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/watchlist":{"get":{"summary":"Watchlist","description":"Detections whose disposition is ``watchlist`` — registered lookalikes we\nmonitor but do NOT (yet) accuse: parked/for-sale/error clones, or live-store\nimpersonations below the actionable threshold.","operationId":"watchlist_dashboard_watchlist_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/dashboard/approvals":{"get":{"summary":"Approvals","operationId":"approvals_dashboard_approvals_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/filings/{filing_id}/approve":{"post":{"summary":"Approve","operationId":"approve_filings__filing_id__approve_post","parameters":[{"name":"filing_id","in":"path","required":true,"schema":{"type":"integer","title":"Filing Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/filings/{filing_id}/reject":{"post":{"summary":"Reject","operationId":"reject_filings__filing_id__reject_post","parameters":[{"name":"filing_id","in":"path","required":true,"schema":{"type":"integer","title":"Filing Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}":{"get":{"summary":"Case Detail","operationId":"case_detail_cases__case_id__get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/detections/{detection_id}/shot":{"get":{"summary":"Detection Shot","description":"Serve the captured clone screenshot for a detection.","operationId":"detection_shot_detections__detection_id__shot_get","parameters":[{"name":"detection_id","in":"path","required":true,"schema":{"type":"integer","title":"Detection Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brands/{brand_id}/reference":{"get":{"summary":"Brand Reference","description":"Serve the genuine-brand reference screenshot.","operationId":"brand_reference_brands__brand_id__reference_get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Upload Reference","description":"Store an uploaded reference screenshot and record it on the brand.\n\nMultipart form field ``file``. The bytes are persisted under\n``references/<brand_id>/screenshot.<ext>`` and the resulting blob ref is set\non ``Brand.reference_assets[\"screenshot\"]``. Never raises: on any failure we\nre-render the brand page with an error message.","operationId":"upload_reference_brands__brand_id__reference_post","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_reference_brands__brand_id__reference_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cases/{case_id}/evidence":{"get":{"summary":"Case Evidence","description":"Serve the stored HTML evidence pack for a case (linked from filings).","operationId":"case_evidence_cases__case_id__evidence_get","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brands/{brand_id}":{"get":{"summary":"Brand Detail","description":"Brand protection control panel — buyer-facing value dashboard + reference upload.","operationId":"brand_detail_brands__brand_id__get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brands/{brand_id}/reference/image":{"get":{"summary":"Reference Image","description":"Serve the stored reference screenshot for preview on the brand page.","operationId":"reference_image_brands__brand_id__reference_image_get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"integer","title":"Brand Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/checkout":{"get":{"summary":"Checkout","operationId":"checkout_checkout_get","parameters":[{"name":"plan","in":"query","required":false,"schema":{"type":"string","default":"monitoring","title":"Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Start Checkout","operationId":"start_checkout_checkout_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_start_checkout_checkout_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/stripe":{"post":{"summary":"Stripe Webhook","operationId":"stripe_webhook_webhooks_stripe_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/checkout/success":{"get":{"summary":"Checkout Success","operationId":"checkout_success_checkout_success_get","parameters":[{"name":"session_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/billing":{"post":{"summary":"Billing Portal","operationId":"billing_portal_portal_billing_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_billing_portal_portal_billing_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/checkout/unavailable":{"get":{"summary":"Checkout Unavailable","operationId":"checkout_unavailable_checkout_unavailable_get","parameters":[{"name":"plan","in":"query","required":false,"schema":{"type":"string","default":"monitoring","title":"Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/verification-batches":{"post":{"tags":["Agent verification"],"summary":"Verify Batch","description":"Check up to ten URLs within one total cost ceiling. Defaults to zero paid spend.","operationId":"verify_batch_api_v1_verification_batches_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/verification-batches/{batch_id}":{"get":{"tags":["Agent verification"],"summary":"Verification Batch","description":"Retrieve this credential's original batch. Never resumes or starts checks.","operationId":"verification_batch_api_v1_verification_batches__batch_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"batch_id","in":"path","required":true,"schema":{"type":"string","title":"Batch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResponse"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Not Found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/capabilities":{"get":{"tags":["Agent verification"],"summary":"Service Capabilities","description":"Public price, connection and coverage metadata. Contains no account data.","operationId":"service_capabilities_api_v1_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/verifications":{"post":{"tags":["Agent verification"],"summary":"Verify","operationId":"verify_api_v1_verifications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"402":{"description":"Payment Required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/verifications/{verification_id}":{"get":{"tags":["Agent verification"],"summary":"Verification Status","operationId":"verification_status_api_v1_verifications__verification_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"verification_id","in":"path","required":true,"schema":{"type":"string","title":"Verification Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationResponse"}}}},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Forbidden"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Not Found"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/account":{"get":{"tags":["Agent verification"],"summary":"Verification Account","operationId":"verification_account_api_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationAccount"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/usage":{"get":{"tags":["Agent verification"],"summary":"Verification Usage","description":"Read this credential's dated receipts, charges and released reservations.","operationId":"verification_usage_api_v1_usage_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageResponse"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Bad Request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Unauthorized"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Forbidden"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Too Many Requests"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFailure"}}},"description":"Service Unavailable"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/lookup":{"post":{"tags":["Agent beta"],"summary":"Lookup","operationId":"lookup_api_v1_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/checks":{"post":{"tags":["Agent beta"],"summary":"Check","operationId":"check_api_v1_checks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/checks/{check_id}":{"get":{"tags":["Agent beta"],"summary":"Status","operationId":"status_api_v1_checks__check_id__get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"check_id","in":"path","required":true,"schema":{"type":"string","title":"Check Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/batches":{"get":{"summary":"Batch History","operationId":"batch_history_portal_agents_batches_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/batches/{identifier}":{"get":{"summary":"Batch Detail","operationId":"batch_detail_portal_agents_batches__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/batches/{identifier}/download":{"get":{"summary":"Batch Download","operationId":"batch_download_portal_agents_batches__identifier__download_get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents":{"get":{"summary":"Home","operationId":"home_portal_agents_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/portal/agents/usage":{"get":{"summary":"Usage History","operationId":"usage_history_portal_agents_usage_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/usage/download":{"get":{"summary":"Usage Download","operationId":"usage_download_portal_agents_usage_download_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End Date"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/verifications/{identifier}":{"get":{"summary":"Verification Record","operationId":"verification_record_portal_agents_verifications__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/verifications/{identifier}/download":{"get":{"summary":"Verification Download","operationId":"verification_download_portal_agents_verifications__identifier__download_get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/keys":{"post":{"summary":"Create Key","operationId":"create_key_portal_agents_keys_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_create_key_portal_agents_keys_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/keys/{key_id}/revoke":{"post":{"summary":"Revoke Key","operationId":"revoke_key_portal_agents_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_revoke_key_portal_agents_keys__key_id__revoke_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/budget":{"post":{"summary":"Spending Limit","operationId":"spending_limit_portal_agents_budget_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_spending_limit_portal_agents_budget_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/oauth-protected-resource/mcp":{"get":{"summary":"Protected Metadata","operationId":"protected_metadata__well_known_oauth_protected_resource_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"options":{"summary":"Options","operationId":"options__well_known_oauth_protected_resource_mcp_options","parameters":[{"name":"endpoint","in":"query","required":false,"schema":{"type":"string","default":"","title":"Endpoint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/oauth-protected-resource":{"get":{"summary":"Protected Metadata","operationId":"protected_metadata__well_known_oauth_protected_resource_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"options":{"summary":"Options","operationId":"options__well_known_oauth_protected_resource_options","parameters":[{"name":"endpoint","in":"query","required":false,"schema":{"type":"string","default":"","title":"Endpoint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/oauth-authorization-server":{"get":{"summary":"Authorization Metadata","operationId":"authorization_metadata__well_known_oauth_authorization_server_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"options":{"summary":"Options","operationId":"options__well_known_oauth_authorization_server_options","parameters":[{"name":"endpoint","in":"query","required":false,"schema":{"type":"string","default":"","title":"Endpoint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/{endpoint}":{"options":{"summary":"Options","operationId":"options_oauth__endpoint__options","parameters":[{"name":"endpoint","in":"path","required":true,"schema":{"type":"string","title":"Endpoint"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/register":{"post":{"summary":"Registration","operationId":"registration_oauth_register_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/authorize":{"get":{"summary":"Authorize","operationId":"authorize_oauth_authorize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Authorize","operationId":"authorize_oauth_authorize_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/token":{"post":{"summary":"Token","operationId":"token_oauth_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/oauth/revoke":{"post":{"summary":"Revocation","operationId":"revocation_oauth_revoke_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/portal/agents/connect/{identifier}":{"get":{"summary":"Consent Page","operationId":"consent_page_portal_agents_connect__identifier__get","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Consent Save","operationId":"consent_save_portal_agents_connect__identifier__post","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_consent_save_portal_agents_connect__identifier__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/agents/connections/{identifier}/revoke":{"post":{"summary":"Disconnect","operationId":"disconnect_portal_agents_connections__identifier__revoke_post","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_disconnect_portal_agents_connections__identifier__revoke_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect":{"get":{"summary":"Protect Home","operationId":"protect_home_portal_protect_get","parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Profile"}},{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"all","title":"View"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1,"title":"Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/{profile_id}/references":{"post":{"summary":"Reference Pages","operationId":"reference_pages_portal_protect__profile_id__references_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_reference_pages_portal_protect__profile_id__references_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/setup":{"post":{"summary":"Setup","operationId":"setup_portal_protect_setup_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_setup_portal_protect_setup_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/incidents/{order_id}":{"get":{"summary":"Incident Intake","operationId":"incident_intake_portal_incidents__order_id__get","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"integer","title":"Order Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Start Paid Incident","operationId":"start_paid_incident_portal_incidents__order_id__post","parameters":[{"name":"order_id","in":"path","required":true,"schema":{"type":"integer","title":"Order Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_start_paid_incident_portal_incidents__order_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/{profile_id}/report":{"post":{"summary":"Report","operationId":"report_portal_protect__profile_id__report_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_report_portal_protect__profile_id__report_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/{profile_id}/partners":{"post":{"summary":"Partners","operationId":"partners_portal_protect__profile_id__partners_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_partners_portal_protect__profile_id__partners_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/{profile_id}/state":{"post":{"summary":"Monitoring State","operationId":"monitoring_state_portal_protect__profile_id__state_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_monitoring_state_portal_protect__profile_id__state_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/findings/{candidate_id}":{"get":{"summary":"Customer Finding","operationId":"customer_finding_portal_protect_findings__candidate_id__get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/{profile_id}/reference-images":{"get":{"summary":"Reference Images","operationId":"reference_images_portal_protect__profile_id__reference_images_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}},{"name":"page_id","in":"query","required":false,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":0,"default":0,"title":"Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Select Reference Image","operationId":"select_reference_image_portal_protect__profile_id__reference_images_post","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_select_reference_image_portal_protect__profile_id__reference_images_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/{profile_id}/reference-images/preview":{"get":{"summary":"Reference Image Preview","operationId":"reference_image_preview_portal_protect__profile_id__reference_images_preview_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}},{"name":"digest","in":"query","required":true,"schema":{"type":"string","title":"Digest"}},{"name":"source_hash","in":"query","required":true,"schema":{"type":"string","title":"Source Hash"}},{"name":"page_id","in":"query","required":false,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":0,"default":0,"title":"Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/findings/{candidate_id}/notes":{"post":{"summary":"Customer Note","operationId":"customer_note_portal_protect_findings__candidate_id__notes_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_customer_note_portal_protect_findings__candidate_id__notes_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/findings/{candidate_id}/evidence":{"get":{"summary":"Customer Evidence","operationId":"customer_evidence_portal_protect_findings__candidate_id__evidence_get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"observation","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"Observation"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/findings/{candidate_id}/image/{observation_id}":{"get":{"summary":"Customer Image","operationId":"customer_image_portal_protect_findings__candidate_id__image__observation_id__get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"observation_id","in":"path","required":true,"schema":{"type":"integer","title":"Observation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/findings/{candidate_id}/history":{"get":{"summary":"Customer History","operationId":"customer_history_portal_protect_findings__candidate_id__history_get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["observations","activity"],"type":"string","default":"observations","title":"Kind"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"Before"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/findings/{candidate_id}/authority":{"post":{"summary":"Customer Authority","operationId":"customer_authority_portal_protect_findings__candidate_id__authority_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_customer_authority_portal_protect_findings__candidate_id__authority_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/findings/{candidate_id}/pack":{"get":{"summary":"Customer Pack","operationId":"customer_pack_portal_protect_findings__candidate_id__pack_get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"observation","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"Observation"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/{profile_id}/reference-images":{"get":{"summary":"Staff Reference Images","operationId":"staff_reference_images_dashboard_protect__profile_id__reference_images_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}},{"name":"page_id","in":"query","required":false,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":0,"default":0,"title":"Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/{profile_id}/reference-images/preview":{"get":{"summary":"Staff Reference Image Preview","operationId":"staff_reference_image_preview_dashboard_protect__profile_id__reference_images_preview_get","parameters":[{"name":"profile_id","in":"path","required":true,"schema":{"type":"integer","title":"Profile Id"}},{"name":"digest","in":"query","required":true,"schema":{"type":"string","title":"Digest"}},{"name":"source_hash","in":"query","required":true,"schema":{"type":"string","title":"Source Hash"}},{"name":"page_id","in":"query","required":false,"schema":{"type":"integer","maximum":9223372036854775807,"minimum":0,"default":0,"title":"Page Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect":{"get":{"summary":"Staff Queue","operationId":"staff_queue_dashboard_protect_get","parameters":[{"name":"profile","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"Profile"}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120,"default":"","title":"Q"}},{"name":"case_view","in":"query","required":false,"schema":{"enum":["open","due","upcoming","authority","provider","closed"],"type":"string","default":"open","title":"Case View"}},{"name":"finding_view","in":"query","required":false,"schema":{"enum":["all","review","unseen","refresh","current","incomplete"],"type":"string","default":"all","title":"Finding View"}},{"name":"case_page","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":1,"default":1,"title":"Case Page"}},{"name":"findings_page","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":1,"default":1,"title":"Findings Page"}},{"name":"workspace_page","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":1,"default":1,"title":"Workspace Page"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/service-health":{"get":{"summary":"Service Health","operationId":"service_health_dashboard_service_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/dashboard/protect/findings/{candidate_id}":{"get":{"summary":"Staff Finding","operationId":"staff_finding_dashboard_protect_findings__candidate_id__get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"contact","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Contact"}},{"name":"contact_index","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Contact Index"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/image/{observation_id}":{"get":{"summary":"Staff Image","operationId":"staff_image_dashboard_protect_findings__candidate_id__image__observation_id__get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"observation_id","in":"path","required":true,"schema":{"type":"integer","title":"Observation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/evidence":{"get":{"summary":"Staff Evidence","operationId":"staff_evidence_dashboard_protect_findings__candidate_id__evidence_get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"observation","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"Observation"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/history":{"get":{"summary":"Staff History","operationId":"staff_history_dashboard_protect_findings__candidate_id__history_get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"kind","in":"query","required":false,"schema":{"enum":["observations","activity"],"type":"string","default":"observations","title":"Kind"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"Before"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/review":{"post":{"summary":"Review","operationId":"review_dashboard_protect_findings__candidate_id__review_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_review_dashboard_protect_findings__candidate_id__review_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/pilot":{"post":{"summary":"Grant Pilot","operationId":"grant_pilot_dashboard_protect_pilot_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_grant_pilot_dashboard_protect_pilot_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/contacts":{"post":{"summary":"Research Reporting Contact","operationId":"research_reporting_contact_dashboard_protect_findings__candidate_id__contacts_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_research_reporting_contact_dashboard_protect_findings__candidate_id__contacts_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/reports":{"post":{"summary":"Prepare Report","operationId":"prepare_report_dashboard_protect_findings__candidate_id__reports_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_prepare_report_dashboard_protect_findings__candidate_id__reports_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/reports/{report_id}":{"post":{"summary":"Report Action","operationId":"report_action_dashboard_protect_findings__candidate_id__reports__report_id__post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_report_action_dashboard_protect_findings__candidate_id__reports__report_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/case":{"post":{"summary":"Update Case","operationId":"update_case_dashboard_protect_findings__candidate_id__case_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_update_case_dashboard_protect_findings__candidate_id__case_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/complete-assessment":{"post":{"summary":"Complete Assessment","operationId":"complete_assessment_dashboard_protect_findings__candidate_id__complete_assessment_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_complete_assessment_dashboard_protect_findings__candidate_id__complete_assessment_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/pack":{"get":{"summary":"Staff Pack","operationId":"staff_pack_dashboard_protect_findings__candidate_id__pack_get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"observation","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":9223372036854775807,"minimum":1},{"type":"null"}],"title":"Observation"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/protect/findings/{candidate_id}/reports/{report_id}/download":{"get":{"summary":"Download Report","operationId":"download_report_dashboard_protect_findings__candidate_id__reports__report_id__download_get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"integer","title":"Candidate Id"}},{"name":"report_id","in":"path","required":true,"schema":{"type":"integer","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/portal/protect/updates":{"post":{"summary":"Save","operationId":"save_portal_protect_updates_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_save_portal_protect_updates_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/protect/unsubscribe":{"post":{"summary":"Unsubscribe","operationId":"unsubscribe_notifications_protect_unsubscribe_post","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","maxLength":160,"default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Unsubscribe","operationId":"unsubscribe_notifications_protect_unsubscribe_post","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","maxLength":160,"default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/evidence-storage/preservation":{"get":{"summary":"Instructions","operationId":"instructions_dashboard_evidence_storage_preservation_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"active","title":"State"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":10000,"minimum":1,"default":1,"title":"Page"}},{"name":"saved","in":"query","required":false,"schema":{"type":"string","default":"","title":"Saved"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Preserve","operationId":"preserve_dashboard_evidence_storage_preservation_post","requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_preserve_dashboard_evidence_storage_preservation_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard/evidence-storage/preservation/{identifier}/release":{"post":{"summary":"Release","operationId":"release_dashboard_evidence_storage_preservation__identifier__release_post","parameters":[{"name":"identifier","in":"path","required":true,"schema":{"type":"string","title":"Identifier"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_release_dashboard_evidence_storage_preservation__identifier__release_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AgentFailure":{"properties":{"error":{"type":"string","title":"Error"},"message":{"type":"string","title":"Message"},"http_status":{"type":"integer","title":"Http Status"},"retryable":{"type":"boolean","title":"Retryable","default":false},"retry_after_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Retry After Seconds"},"next_action":{"type":"string","enum":["check_credential","request_scope","owner_authorisation","fund_account","wait_and_retry","correct_request","retrieve_original_request","new_request_if_authorised","contact_support"],"title":"Next Action"},"owner_action_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Action Url"},"quick_price_aud_cents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quick Price Aud Cents"},"charge_status":{"type":"string","enum":["not_charged","check_original_request"],"title":"Charge Status","default":"not_charged"},"retry_instruction":{"type":"string","title":"Retry Instruction","default":"Reuse the original idempotency key and identical parameters after the stated condition changes."}},"type":"object","required":["error","message","http_status","next_action"],"title":"AgentFailure"},"BatchItem":{"properties":{"input_indexes":{"items":{"type":"integer"},"type":"array","maxItems":10,"minItems":1,"title":"Input Indexes"},"target_url":{"type":"string","title":"Target Url"},"verification_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Id"},"status":{"type":"string","enum":["running","complete","failed","not_started"],"title":"Status"},"billing_mode":{"anyOf":[{"type":"string","enum":["trial","prepaid","cache"]},{"type":"null"}],"title":"Billing Mode"},"cost_aud_cents":{"type":"integer","title":"Cost Aud Cents","default":0},"reserved_aud_cents":{"type":"integer","title":"Reserved Aud Cents","default":0},"released_aud_cents":{"type":"integer","title":"Released Aud Cents","default":0},"freshness":{"type":"string","enum":["fresh","stale","unavailable"],"title":"Freshness","default":"unavailable"},"verdict":{"anyOf":[{"$ref":"#/components/schemas/BatchVerdict"},{"type":"null"}]},"recovery":{"anyOf":[{"$ref":"#/components/schemas/AgentFailure"},{"type":"null"}]},"coverage_guidance":{"anyOf":[{"$ref":"#/components/schemas/CoverageGuidance"},{"type":"null"}]}},"type":"object","required":["input_indexes","target_url","status"],"title":"BatchItem"},"BatchRequest":{"properties":{"urls":{"items":{"type":"string","maxLength":2048,"minLength":1},"type":"array","maxItems":10,"minItems":1,"title":"Urls"},"idempotency_key":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9._-]+$","title":"Idempotency Key"},"max_age_seconds":{"type":"integer","maximum":300.0,"minimum":0.0,"title":"Max Age Seconds","default":300},"max_total_cost_aud_cents":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Max Total Cost Aud Cents","default":0}},"type":"object","required":["urls","idempotency_key"],"title":"BatchRequest"},"BatchResponse":{"properties":{"batch_id":{"type":"string","title":"Batch Id"},"status":{"type":"string","enum":["running","complete"],"title":"Status"},"currency":{"type":"string","const":"AUD","title":"Currency","default":"AUD"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"input_count":{"type":"integer","title":"Input Count"},"unique_url_count":{"type":"integer","title":"Unique Url Count"},"max_total_cost_aud_cents":{"type":"integer","title":"Max Total Cost Aud Cents"},"unit_price_at_admission_aud_cents":{"type":"integer","title":"Unit Price At Admission Aud Cents"},"cost_aud_cents":{"type":"integer","title":"Cost Aud Cents"},"reserved_aud_cents":{"type":"integer","title":"Reserved Aud Cents"},"released_aud_cents":{"type":"integer","title":"Released Aud Cents"},"items":{"items":{"$ref":"#/components/schemas/BatchItem"},"type":"array","maxItems":10,"title":"Items"},"interpretation":{"type":"string","title":"Interpretation","default":"Complete means batch processing has ended. Inspect each item's risk, coverage and freshness. Null verdicts are not safety findings. Full evidence is available through each verification ID."},"retry_instruction":{"type":"string","title":"Retry Instruction","default":"Repeat the identical batch request after a transport failure. Existing batches never start additional work. Not-started or failed items require a new request within the owner-authorised budget; do not raise the original ceiling without owner authority."},"advisory":{"type":"string","title":"Advisory","default":"Google Web Risk provides URL reputation evidence. Some unsafe sites may be missed and some safe sites may be flagged in error. Neither this evidence nor ShopSafe guarantees the safety of a site or transaction."}},"type":"object","required":["batch_id","status","created_at","input_count","unique_url_count","max_total_cost_aud_cents","unit_price_at_admission_aud_cents","cost_aud_cents","reserved_aud_cents","released_aud_cents","items"],"title":"BatchResponse"},"BatchVerdict":{"properties":{"risk_level":{"type":"string","enum":["high_risk","elevated_risk","no_known_threats","unknown"],"title":"Risk Level"},"risk_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Risk Score"},"score_is_probability":{"type":"boolean","const":false,"title":"Score Is Probability","default":false},"coverage":{"type":"string","enum":["complete","partial","incomplete"],"title":"Coverage"},"observed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observed Url"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"rules_version":{"type":"string","title":"Rules Version"},"attention_checks":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Attention Checks"},"unavailable_checks":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Unavailable Checks"}},"type":"object","required":["risk_level","risk_score","coverage","observed_url","checked_at","expires_at","rules_version","attention_checks","unavailable_checks"],"title":"BatchVerdict"},"Body_add_domain_portal_domains_add_post":{"properties":{"domain":{"type":"string","title":"Domain"}},"type":"object","required":["domain"],"title":"Body_add_domain_portal_domains_add_post"},"Body_appeal_submit_appeal_post":{"properties":{"domain":{"type":"string","title":"Domain"},"contact_email":{"type":"string","title":"Contact Email"},"message":{"type":"string","title":"Message","default":""},"csrf":{"type":"string","title":"Csrf","default":""},"cf-turnstile-response":{"type":"string","title":"Cf-Turnstile-Response","default":""},"website":{"type":"string","title":"Website","default":""}},"type":"object","required":["domain","contact_email"],"title":"Body_appeal_submit_appeal_post"},"Body_authorize_check_check_authorize_post":{"properties":{"url":{"type":"string","title":"Url"},"csrf":{"type":"string","title":"Csrf","default":""},"cf-turnstile-response":{"type":"string","title":"Cf-Turnstile-Response","default":""},"website":{"type":"string","title":"Website","default":""}},"type":"object","required":["url"],"title":"Body_authorize_check_check_authorize_post"},"Body_billing_portal_portal_billing_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_billing_portal_portal_billing_post"},"Body_check_fragment_check_post":{"properties":{"url":{"type":"string","title":"Url","default":""},"csrf":{"type":"string","title":"Csrf","default":""},"cf-turnstile-response":{"type":"string","title":"Cf-Turnstile-Response","default":""},"website":{"type":"string","title":"Website","default":""}},"type":"object","title":"Body_check_fragment_check_post"},"Body_claim_portal_claim_post":{"properties":{"domain":{"type":"string","title":"Domain"},"email":{"type":"string","title":"Email"},"vuln_scan":{"type":"string","title":"Vuln Scan","default":""},"clone_alerts":{"type":"string","title":"Clone Alerts","default":""},"csrf":{"type":"string","title":"Csrf","default":""},"cf-turnstile-response":{"type":"string","title":"Cf-Turnstile-Response","default":""},"website":{"type":"string","title":"Website","default":""}},"type":"object","required":["domain","email"],"title":"Body_claim_portal_claim_post"},"Body_complete_assessment_dashboard_protect_findings__candidate_id__complete_assessment_post":{"properties":{"note":{"type":"string","title":"Note"},"confirm":{"type":"string","title":"Confirm","default":""}},"type":"object","required":["note"],"title":"Body_complete_assessment_dashboard_protect_findings__candidate_id__complete_assessment_post"},"Body_consent_save_portal_agents_connect__identifier__post":{"properties":{"decision":{"type":"string","title":"Decision"},"allow_paid":{"type":"string","title":"Allow Paid","default":""},"days":{"type":"integer","title":"Days","default":7},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["decision"],"title":"Body_consent_save_portal_agents_connect__identifier__post"},"Body_create_key_portal_agents_keys_post":{"properties":{"name":{"type":"string","title":"Name"},"days":{"type":"integer","title":"Days","default":30},"access":{"type":"string","title":"Access","default":"lookup"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["name"],"title":"Body_create_key_portal_agents_keys_post"},"Body_customer_authority_portal_protect_findings__candidate_id__authority_post":{"properties":{"action":{"type":"string","title":"Action"},"representative":{"type":"string","title":"Representative","default":""},"organisation":{"type":"string","title":"Organisation","default":""},"consent":{"type":"string","title":"Consent","default":""}},"type":"object","required":["action"],"title":"Body_customer_authority_portal_protect_findings__candidate_id__authority_post"},"Body_customer_note_portal_protect_findings__candidate_id__notes_post":{"properties":{"note":{"type":"string","title":"Note"}},"type":"object","required":["note"],"title":"Body_customer_note_portal_protect_findings__candidate_id__notes_post"},"Body_disconnect_portal_agents_connections__identifier__revoke_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_disconnect_portal_agents_connections__identifier__revoke_post"},"Body_grant_pilot_dashboard_protect_pilot_post":{"properties":{"email":{"type":"string","title":"Email"},"days":{"type":"integer","title":"Days","default":7},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["email","reason"],"title":"Body_grant_pilot_dashboard_protect_pilot_post"},"Body_logout_post_portal_logout_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_logout_post_portal_logout_post"},"Body_monitoring_state_portal_protect__profile_id__state_post":{"properties":{"action":{"type":"string","title":"Action"}},"type":"object","required":["action"],"title":"Body_monitoring_state_portal_protect__profile_id__state_post"},"Body_partners_portal_protect__profile_id__partners_post":{"properties":{"action":{"type":"string","title":"Action"},"hostname":{"type":"string","title":"Hostname"},"reason":{"type":"string","title":"Reason"},"confirmed":{"type":"boolean","title":"Confirmed","default":false}},"type":"object","required":["action","hostname","reason"],"title":"Body_partners_portal_protect__profile_id__partners_post"},"Body_prepare_report_dashboard_protect_findings__candidate_id__reports_post":{"properties":{"provider":{"type":"string","title":"Provider"},"target":{"type":"string","title":"Target"},"contact_source":{"type":"string","title":"Contact Source"}},"type":"object","required":["provider","target","contact_source"],"title":"Body_prepare_report_dashboard_protect_findings__candidate_id__reports_post"},"Body_preserve_dashboard_evidence_storage_preservation_post":{"properties":{"audit_id":{"type":"string","title":"Audit Id"},"name":{"type":"string","title":"Name"},"reason":{"type":"string","title":"Reason"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["audit_id","name","reason"],"title":"Body_preserve_dashboard_evidence_storage_preservation_post"},"Body_reference_pages_portal_protect__profile_id__references_post":{"properties":{"action":{"type":"string","title":"Action"},"url":{"type":"string","title":"Url","default":""},"page_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Id"}},"type":"object","required":["action"],"title":"Body_reference_pages_portal_protect__profile_id__references_post"},"Body_release_dashboard_evidence_storage_preservation__identifier__release_post":{"properties":{"reason":{"type":"string","title":"Reason"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["reason"],"title":"Body_release_dashboard_evidence_storage_preservation__identifier__release_post"},"Body_report_action_dashboard_protect_findings__candidate_id__reports__report_id__post":{"properties":{"action":{"type":"string","title":"Action"},"note":{"type":"string","title":"Note"},"reference":{"type":"string","title":"Reference","default":""},"confirm":{"type":"string","title":"Confirm","default":""}},"type":"object","required":["action","note"],"title":"Body_report_action_dashboard_protect_findings__candidate_id__reports__report_id__post"},"Body_report_portal_protect__profile_id__report_post":{"properties":{"url":{"type":"string","title":"Url"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["url"],"title":"Body_report_portal_protect__profile_id__report_post"},"Body_request_service_portal_services__service_key__request_post":{"properties":{"domain":{"type":"string","title":"Domain","default":""}},"type":"object","title":"Body_request_service_portal_services__service_key__request_post"},"Body_research_reporting_contact_dashboard_protect_findings__candidate_id__contacts_post":{"properties":{"kind":{"type":"string","title":"Kind","default":"registrar"}},"type":"object","title":"Body_research_reporting_contact_dashboard_protect_findings__candidate_id__contacts_post"},"Body_review_dashboard_protect_findings__candidate_id__review_post":{"properties":{"decision":{"type":"string","title":"Decision"},"previous":{"type":"string","title":"Previous"},"note":{"type":"string","title":"Note"},"observed_hash":{"type":"string","title":"Observed Hash","default":""}},"type":"object","required":["decision","previous","note"],"title":"Body_review_dashboard_protect_findings__candidate_id__review_post"},"Body_revoke_key_portal_agents_keys__key_id__revoke_post":{"properties":{"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_revoke_key_portal_agents_keys__key_id__revoke_post"},"Body_save_portal_protect_updates_post":{"properties":{"action":{"type":"string","title":"Action"},"consent":{"type":"boolean","title":"Consent","default":false}},"type":"object","required":["action"],"title":"Body_save_portal_protect_updates_post"},"Body_select_reference_image_portal_protect__profile_id__reference_images_post":{"properties":{"action":{"type":"string","title":"Action"},"page_id":{"type":"integer","title":"Page Id","default":0},"source_hash":{"type":"string","title":"Source Hash","default":""},"digest":{"type":"string","title":"Digest","default":""},"label":{"type":"string","title":"Label","default":""},"confirmed":{"type":"boolean","title":"Confirmed","default":false},"image_id":{"type":"integer","title":"Image Id","default":0}},"type":"object","required":["action"],"title":"Body_select_reference_image_portal_protect__profile_id__reference_images_post"},"Body_send_code_portal_login_code_post":{"properties":{"email":{"type":"string","title":"Email"},"next":{"type":"string","title":"Next","default":"/portal"},"csrf":{"type":"string","title":"Csrf","default":""},"cf-turnstile-response":{"type":"string","title":"Cf-Turnstile-Response","default":""},"website":{"type":"string","title":"Website","default":""}},"type":"object","required":["email"],"title":"Body_send_code_portal_login_code_post"},"Body_setup_portal_protect_setup_post":{"properties":{"domain_id":{"type":"integer","title":"Domain Id"},"brand_name":{"type":"string","title":"Brand Name"},"aliases":{"type":"string","title":"Aliases","default":""}},"type":"object","required":["domain_id","brand_name"],"title":"Body_setup_portal_protect_setup_post"},"Body_spending_limit_portal_agents_budget_post":{"properties":{"daily_limit_cents":{"type":"integer","title":"Daily Limit Cents"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["daily_limit_cents"],"title":"Body_spending_limit_portal_agents_budget_post"},"Body_start_checkout_checkout_post":{"properties":{"checkout_token":{"type":"string","title":"Checkout Token"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["checkout_token"],"title":"Body_start_checkout_checkout_post"},"Body_start_paid_incident_portal_incidents__order_id__post":{"properties":{"domain_id":{"type":"integer","title":"Domain Id"},"brand_name":{"type":"string","title":"Brand Name"},"url":{"type":"string","title":"Url"},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["domain_id","brand_name","url"],"title":"Body_start_paid_incident_portal_incidents__order_id__post"},"Body_start_scan_portal_scan_post":{"properties":{"domain":{"type":"string","title":"Domain"}},"type":"object","required":["domain"],"title":"Body_start_scan_portal_scan_post"},"Body_toggle_monitor_portal_domains__domain_id__monitor_post":{"properties":{"clones":{"type":"string","title":"Clones","default":""},"darkweb":{"type":"string","title":"Darkweb","default":""}},"type":"object","title":"Body_toggle_monitor_portal_domains__domain_id__monitor_post"},"Body_update_account_portal_account_post":{"properties":{"display_name":{"type":"string","title":"Display Name","default":""},"org_name":{"type":"string","title":"Org Name","default":""}},"type":"object","title":"Body_update_account_portal_account_post"},"Body_update_case_dashboard_protect_findings__candidate_id__case_post":{"properties":{"action":{"type":"string","title":"Action"},"note":{"type":"string","title":"Note"},"assigned_to":{"type":"string","title":"Assigned To","default":""},"due_days":{"type":"integer","title":"Due Days","default":3}},"type":"object","required":["action","note"],"title":"Body_update_case_dashboard_protect_findings__candidate_id__case_post"},"Body_update_customer_request_dashboard_customers_requests__order_id__post":{"properties":{"status":{"type":"string","title":"Status"},"previous":{"type":"string","title":"Previous"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["status","previous"],"title":"Body_update_customer_request_dashboard_customers_requests__order_id__post"},"Body_upload_reference_brands__brand_id__reference_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_reference_brands__brand_id__reference_post"},"Body_verify_code_portal_login_verify_post":{"properties":{"email":{"type":"string","title":"Email"},"code":{"type":"string","title":"Code"},"next":{"type":"string","title":"Next","default":"/portal"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","required":["email","code"],"title":"Body_verify_code_portal_login_verify_post"},"Body_verify_email_confirm_portal_domains__domain_id__verify_email_confirm_post":{"properties":{"role":{"type":"string","title":"Role","default":"admin"},"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"Body_verify_email_confirm_portal_domains__domain_id__verify_email_confirm_post"},"Body_verify_email_send_portal_domains__domain_id__verify_email_post":{"properties":{"role":{"type":"string","title":"Role","default":"admin"},"csrf":{"type":"string","title":"Csrf","default":""}},"type":"object","title":"Body_verify_email_send_portal_domains__domain_id__verify_email_post"},"CheckRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"max_age_seconds":{"type":"integer","maximum":86400.0,"minimum":1.0,"title":"Max Age Seconds","default":3600},"idempotency_key":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9._-]+$","title":"Idempotency Key"},"max_cost_aud_cents":{"type":"integer","maximum":0.0,"minimum":0.0,"title":"Max Cost Aud Cents","default":0}},"type":"object","required":["url","idempotency_key"],"title":"CheckRequest"},"CheckResponse":{"properties":{"check_id":{"type":"string","title":"Check Id"},"status":{"type":"string","enum":["pending","running","complete","failed"],"title":"Status"},"verdict":{"anyOf":[{"$ref":"#/components/schemas/MachineVerdict"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"cost_aud_cents":{"type":"integer","const":0,"title":"Cost Aud Cents","default":0}},"type":"object","required":["check_id","status"],"title":"CheckResponse"},"CoverageGap":{"properties":{"check":{"type":"string","maxLength":48,"title":"Check"},"affected_checks":{"items":{"type":"string"},"type":"array","maxItems":5,"title":"Affected Checks"},"reason":{"type":"string","maxLength":64,"title":"Reason"},"target_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Target Url"},"message":{"type":"string","maxLength":250,"title":"Message"},"next_action":{"type":"string","enum":["review_manually","review_destination","wait_for_allowance","contact_service_owner","new_check_if_authorised"],"title":"Next Action"},"action_label":{"type":"string","maxLength":80,"title":"Action Label"},"instruction":{"type":"string","maxLength":300,"title":"Instruction"}},"type":"object","required":["check","reason","message","next_action","action_label","instruction"],"title":"CoverageGap"},"CoverageGuidance":{"properties":{"schema_version":{"type":"string","const":"1.0","title":"Schema Version","default":"1.0"},"based_on":{"type":"string","const":"recorded_observations","title":"Based On","default":"recorded_observations"},"gaps":{"items":{"$ref":"#/components/schemas/CoverageGap"},"type":"array","maxItems":10,"minItems":1,"title":"Gaps"},"grants_spending_authority":{"type":"boolean","const":false,"title":"Grants Spending Authority","default":false},"retry_instruction":{"type":"string","title":"Retry Instruction","default":"Retrieving this result or repeating its original request ID returns the saved outcome. It does not fill these gaps. A fresh check needs a new request ID within existing owner authority and limits."}},"type":"object","required":["gaps"],"title":"CoverageGuidance"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HttpObservation":{"properties":{"status":{"type":"string","enum":["observed","blocked","unavailable","unsafe_destination","redirect_limit","invalid_redirect"],"title":"Status"},"observed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observed Url"},"status_code":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Status Code"},"redirects":{"items":{"type":"string"},"type":"array","maxItems":3,"title":"Redirects"},"response_urls":{"items":{"type":"string"},"type":"array","maxItems":4,"title":"Response Urls"},"dns_status":{"type":"string","enum":["public","unavailable","unsafe"],"title":"Dns Status","default":"unavailable"},"tls_status":{"type":"string","enum":["verified","not_https","unavailable"],"title":"Tls Status","default":"unavailable"},"content_status":{"type":"string","enum":["html","non_html","unavailable"],"title":"Content Status","default":"unavailable"},"content_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Sha256"},"form_status":{"type":"string","enum":["observed","not_applicable","unavailable"],"title":"Form Status","default":"unavailable"},"form_status_reason":{"type":"string","enum":["not_inspected","static_html","non_html","xml_response","unsupported_html","limit_exceeded"],"title":"Form Status Reason","default":"not_inspected"},"sensitive_forms":{"type":"integer","title":"Sensitive Forms","default":0},"insecure_sensitive_forms":{"type":"integer","title":"Insecure Sensitive Forms","default":0},"cross_origin_sensitive_forms":{"type":"integer","title":"Cross Origin Sensitive Forms","default":0},"https_downgrade":{"type":"boolean","title":"Https Downgrade","default":false},"strict_transport_security":{"type":"boolean","title":"Strict Transport Security","default":false}},"type":"object","required":["status"],"title":"HttpObservation"},"LookupRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"max_age_seconds":{"type":"integer","maximum":86400.0,"minimum":1.0,"title":"Max Age Seconds","default":3600}},"type":"object","required":["url"],"title":"LookupRequest"},"LookupResponse":{"properties":{"status":{"type":"string","enum":["found","stale","missing"],"title":"Status"},"verdict":{"anyOf":[{"$ref":"#/components/schemas/MachineVerdict"},{"type":"null"}]},"cost_aud_cents":{"type":"integer","const":0,"title":"Cost Aud Cents","default":0}},"type":"object","required":["status"],"title":"LookupResponse"},"MachineVerdict":{"properties":{"target_url":{"type":"string","maxLength":2048,"title":"Target Url"},"scope":{"type":"string","const":"submitted_url","title":"Scope","default":"submitted_url"},"observed_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Observed Url"},"level":{"type":"string","enum":["low_risk","unclear","elevated_risk","high_risk"],"title":"Level"},"risk_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Risk Score"},"score_is_probability":{"type":"boolean","const":false,"title":"Score Is Probability","default":false},"coverage":{"type":"string","enum":["complete","partial","incomplete"],"title":"Coverage"},"checked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Checked At"},"schema_version":{"type":"string","const":"1.0","title":"Schema Version","default":"1.0"},"scoring_version":{"type":"string","title":"Scoring Version","default":"2026-10-18-url-scope-v2"},"sources":{"items":{"$ref":"#/components/schemas/SourceObservation"},"type":"array","maxItems":10,"title":"Sources"},"interpretation":{"type":"string","const":"Evidence only; apply your own transaction policy.","title":"Interpretation","default":"Evidence only; apply your own transaction policy."}},"type":"object","required":["target_url","level","risk_score","coverage","checked_at","sources"],"title":"MachineVerdict"},"QuickCheck":{"properties":{"code":{"type":"string","enum":["url_syntax","public_dns","http_response","https_transport","redirect_transport","sensitive_forms","url_reputation","redirect_reputation"],"title":"Code"},"status":{"type":"string","enum":["observed","warning","matched","no_match","unavailable","not_applicable","budget_exhausted","not_configured","stale"],"title":"Status"},"scope":{"type":"string","enum":["submitted_url","observed_url","observed_redirects"],"title":"Scope"},"reason":{"type":"string","title":"Reason"},"target_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Url"}},"type":"object","required":["code","status","scope","reason"],"title":"QuickCheck"},"QuickVerdict":{"properties":{"schema_version":{"type":"string","enum":["1.1","1.2"],"title":"Schema Version","default":"1.2"},"rules_version":{"type":"string","title":"Rules Version","default":"quick-2026-10-19-v4"},"target_url":{"type":"string","title":"Target Url"},"observed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Observed Url"},"scope":{"type":"string","const":"submitted_url","title":"Scope","default":"submitted_url"},"risk_level":{"type":"string","enum":["high_risk","elevated_risk","no_known_threats","unknown"],"title":"Risk Level"},"risk_score":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Risk Score"},"score_is_probability":{"type":"boolean","const":false,"title":"Score Is Probability","default":false},"coverage":{"type":"string","enum":["complete","partial","incomplete"],"title":"Coverage"},"checked_at":{"type":"string","format":"date-time","title":"Checked At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"elapsed_ms":{"type":"integer","minimum":0.0,"title":"Elapsed Ms"},"checks":{"items":{"$ref":"#/components/schemas/QuickCheck"},"type":"array","title":"Checks"},"observations":{"$ref":"#/components/schemas/HttpObservation"},"reputation":{"$ref":"#/components/schemas/ReputationEvidence"},"redirect_reputation":{"items":{"$ref":"#/components/schemas/ReputationEvidence"},"type":"array","maxItems":3,"title":"Redirect Reputation"},"limitations":{"items":{"type":"string"},"type":"array","title":"Limitations"},"advisory":{"type":"string","title":"Advisory","default":"Google Web Risk provides URL reputation evidence. Some unsafe sites may be missed and some safe sites may be flagged in error. Neither this evidence nor ShopSafe guarantees the safety of a site or transaction."}},"type":"object","required":["target_url","observed_url","risk_level","risk_score","coverage","checked_at","expires_at","elapsed_ms","checks","observations","reputation"],"title":"QuickVerdict"},"ReputationEvidence":{"properties":{"provider":{"type":"string","title":"Provider"},"status":{"type":"string","title":"Status"},"target_url":{"type":"string","title":"Target Url"},"match_scope":{"type":"string","title":"Match Scope","default":"exact_url"},"matched_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Matched Url"},"threat_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Threat Type"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["provider","status","target_url"],"title":"ReputationEvidence","description":"One source observation, scoped to the submitted URL, with explicit gaps."},"SourceObservation":{"properties":{"provider":{"type":"string","enum":["urlhaus","openphish","phishtank","google_web_risk","urlscan"],"title":"Provider"},"status":{"type":"string","enum":["matched","no_match","unavailable","not_configured","stale","budget_exhausted"],"title":"Status"},"match_scope":{"type":"string","enum":["exact_url","provider_url_lookup"],"title":"Match Scope"},"target_url":{"type":"string","maxLength":2048,"title":"Target Url"},"observed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Observed At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["provider","status","match_scope","target_url"],"title":"SourceObservation"},"UsageReceipt":{"properties":{"verification_id":{"type":"string","title":"Verification Id"},"target_url":{"type":"string","maxLength":2048,"title":"Target Url"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"status":{"type":"string","enum":["running","complete","failed"],"title":"Status"},"billing_mode":{"type":"string","enum":["trial","prepaid","cache"],"title":"Billing Mode"},"coverage":{"anyOf":[{"type":"string","enum":["complete","partial","incomplete"]},{"type":"null"}],"title":"Coverage"},"cost_aud_cents":{"type":"integer","minimum":0.0,"title":"Cost Aud Cents"},"reserved_aud_cents":{"type":"integer","minimum":0.0,"title":"Reserved Aud Cents"},"released_aud_cents":{"type":"integer","minimum":0.0,"title":"Released Aud Cents"}},"type":"object","required":["verification_id","target_url","requested_at","completed_at","status","billing_mode","coverage","cost_aud_cents","reserved_aud_cents","released_aud_cents"],"title":"UsageReceipt"},"UsageResponse":{"properties":{"schema_version":{"type":"string","const":"1.0","title":"Schema Version","default":"1.0"},"currency":{"type":"string","const":"AUD","title":"Currency","default":"AUD"},"scope":{"type":"string","enum":["credential","account"],"title":"Scope"},"start_date":{"type":"string","format":"date","title":"Start Date"},"end_date":{"type":"string","format":"date","title":"End Date"},"timezone":{"type":"string","const":"UTC","title":"Timezone","default":"UTC"},"request_cutoff_at":{"type":"string","format":"date-time","title":"Request Cutoff At"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"totals":{"$ref":"#/components/schemas/UsageTotals"},"receipts":{"items":{"$ref":"#/components/schemas/UsageReceipt"},"type":"array","title":"Receipts"},"limit":{"type":"integer","title":"Limit"},"page_cursor":{"type":"string","title":"Page Cursor"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"reading_cost_aud_cents":{"type":"integer","const":0,"title":"Reading Cost Aud Cents","default":0},"interpretation":{"type":"string","title":"Interpretation","default":"Requests are selected by creation date, including both UTC dates. Totals cover the entire selected period and scope. Existing running requests can change after reading. Released amounts are recorded refunds of verification reservations, not credit-pack refunds. This read does not start work, settle, refund or recover reservations. It excludes credit purchases, credit-pack refunds and browser-beta checks. Follow next_cursor for more receipts."}},"type":"object","required":["scope","start_date","end_date","request_cutoff_at","generated_at","totals","receipts","limit","page_cursor","next_cursor"],"title":"UsageResponse"},"UsageTotals":{"properties":{"requests":{"type":"integer","title":"Requests"},"completed":{"type":"integer","title":"Completed"},"failed":{"type":"integer","title":"Failed"},"running":{"type":"integer","title":"Running"},"cache_hits":{"type":"integer","title":"Cache Hits"},"trial_attempts":{"type":"integer","title":"Trial Attempts"},"charged_requests":{"type":"integer","title":"Charged Requests"},"incomplete_results":{"type":"integer","title":"Incomplete Results"},"charged_aud_cents":{"type":"integer","title":"Charged Aud Cents"},"reserved_aud_cents":{"type":"integer","title":"Reserved Aud Cents"},"released_aud_cents":{"type":"integer","title":"Released Aud Cents"}},"type":"object","required":["requests","completed","failed","running","cache_hits","trial_attempts","charged_requests","incomplete_results","charged_aud_cents","reserved_aud_cents","released_aud_cents"],"title":"UsageTotals"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerificationAccount":{"properties":{"currency":{"type":"string","const":"AUD","title":"Currency","default":"AUD"},"balance_cents":{"type":"integer","title":"Balance Cents"},"daily_limit_cents":{"type":"integer","title":"Daily Limit Cents"},"reserved_or_spent_today_cents":{"type":"integer","title":"Reserved Or Spent Today Cents"},"quick_price_cents":{"type":"integer","title":"Quick Price Cents"},"trial_requests_per_day":{"type":"integer","title":"Trial Requests Per Day"},"trial_requests_remaining_today":{"type":"integer","title":"Trial Requests Remaining Today"},"remaining_daily_spend_cents":{"type":"integer","title":"Remaining Daily Spend Cents"},"utc_day_resets_at":{"type":"string","format":"date-time","title":"Utc Day Resets At"},"paid_enabled":{"type":"boolean","title":"Paid Enabled"},"credential_paid_allowed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Credential Paid Allowed"},"funding_url":{"type":"string","title":"Funding Url"}},"type":"object","required":["balance_cents","daily_limit_cents","reserved_or_spent_today_cents","quick_price_cents","trial_requests_per_day","trial_requests_remaining_today","remaining_daily_spend_cents","utc_day_resets_at","paid_enabled","funding_url"],"title":"VerificationAccount"},"VerificationRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":1,"title":"Url"},"idempotency_key":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9._-]+$","title":"Idempotency Key"},"max_age_seconds":{"type":"integer","maximum":300.0,"minimum":0.0,"title":"Max Age Seconds","default":300},"max_cost_aud_cents":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Max Cost Aud Cents","default":0}},"type":"object","required":["url","idempotency_key"],"title":"VerificationRequest"},"VerificationResponse":{"properties":{"verification_id":{"type":"string","title":"Verification Id"},"status":{"type":"string","enum":["running","complete","failed"],"title":"Status"},"verdict":{"anyOf":[{"$ref":"#/components/schemas/QuickVerdict"},{"type":"null"}]},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"billing_mode":{"type":"string","enum":["trial","prepaid","cache"],"title":"Billing Mode"},"cost_aud_cents":{"type":"integer","title":"Cost Aud Cents","default":0},"reserved_aud_cents":{"type":"integer","title":"Reserved Aud Cents","default":0},"cached":{"type":"boolean","title":"Cached","default":false},"freshness":{"type":"string","enum":["fresh","stale","unavailable"],"title":"Freshness","default":"unavailable"},"recovery":{"anyOf":[{"$ref":"#/components/schemas/AgentFailure"},{"type":"null"}]},"coverage_guidance":{"anyOf":[{"$ref":"#/components/schemas/CoverageGuidance"},{"type":"null"}]}},"type":"object","required":["verification_id","status","billing_mode"],"title":"VerificationResponse"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}