{"openapi":"3.1.0","info":{"title":"TakedownCoop","description":"TakedownCoop API — key-authenticated brand scans and usage.","version":"1.0.0"},"paths":{"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/pricing":{"get":{"summary":"Pricing","operationId":"pricing_pricing_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/buy":{"get":{"summary":"Buy","operationId":"buy_buy_get","parameters":[{"name":"plan","in":"query","required":false,"schema":{"type":"string","default":"pro","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/paypal-manual-info":{"get":{"summary":"Paypal Manual Info","operationId":"paypal_manual_info_api_paypal_manual_info_get","parameters":[{"name":"plan","in":"query","required":false,"schema":{"type":"string","default":"","title":"Plan"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/paypal-manual-confirm":{"post":{"summary":"Paypal Manual Confirm","operationId":"paypal_manual_confirm_api_paypal_manual_confirm_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/crypto-checkout":{"post":{"summary":"Crypto Checkout","description":"Start a BTCPay invoice for {plan, buyer_email} via rail-relay.\n\nThe amount ALWAYS comes from config.CRYPTO_PLAN_AMOUNTS_USD\n(server side, matching the relay catalog) — any client-sent\namount is ignored. Accountless by design: buyer_email comes from\nthe checkout body. Relay 502 (BTCPay wallet not configured yet)\nand any other relay failure map to a graceful 200 \"opens soon\"\nstate, never an error page: the PayPal door keeps working.","operationId":"crypto_checkout_api_crypto_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/scan":{"post":{"summary":"Scan Submit","operationId":"scan_submit_scan_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_scan_submit_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"}}}}}}},"/scan/{scan_id}":{"get":{"summary":"Scan View","operationId":"scan_view_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"}}}}}}},"/scan/{scan_id}/packet/{hit_id}":{"post":{"summary":"Packet Generate","operationId":"packet_generate_scan__scan_id__packet__hit_id__post","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}},{"name":"hit_id","in":"path","required":true,"schema":{"type":"integer","title":"Hit Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_packet_generate_scan__scan_id__packet__hit_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/packets/{packet_id}/download":{"get":{"summary":"Packet Download","operationId":"packet_download_packets__packet_id__download_get","parameters":[{"name":"packet_id","in":"path","required":true,"schema":{"type":"integer","title":"Packet Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/dashboard":{"get":{"summary":"Dashboard","operationId":"dashboard_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/redeem":{"get":{"summary":"Dashboard","operationId":"dashboard_redeem_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Redeem","operationId":"redeem_redeem_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_redeem_redeem_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monitors":{"post":{"summary":"Monitor Create","operationId":"monitor_create_monitors_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_monitor_create_monitors_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/monitors/{monitor_id}/rescan":{"post":{"summary":"Monitor Rescan","operationId":"monitor_rescan_monitors__monitor_id__rescan_post","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"integer","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verified":{"post":{"summary":"Verified Create","operationId":"verified_create_verified_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_verified_create_verified_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v/{slug}":{"get":{"summary":"Verified View","operationId":"verified_view_v__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scan/{scan_id}/timeline.json":{"get":{"summary":"Timeline Json","operationId":"timeline_json_scan__scan_id__timeline_json_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"}}}}}}},"/scan/{scan_id}/timeline.csv":{"get":{"summary":"Timeline Csv","operationId":"timeline_csv_scan__scan_id__timeline_csv_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"}}}}}}},"/api/keys":{"get":{"summary":"List Api Keys","operationId":"list_api_keys_api_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"ApiKeyAuth":[]}]},"post":{"summary":"Create Api Key","description":"Customer surface: a valid license holder (tc_key cookie or\nX-License-Key header, the existing current_license gate) creates a\nkey bound only to their own license binding.","operationId":"create_api_key_api_keys_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"ApiKeyAuth":[]}]}},"/api/keys/{key_id}/revoke":{"post":{"summary":"Revoke Api Key","operationId":"revoke_api_key_api_keys__key_id__revoke_post","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"integer","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"ApiKeyAuth":[]}]}},"/api/v1/me":{"get":{"summary":"Api Key Me","description":"Key-auth path: the resolver turns a presented API key into its\nlicense-holder binding. Revoked/unknown keys refuse with 401.","operationId":"api_key_me_api_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"ApiKeyAuth":[]}]}},"/api/v1/scan":{"post":{"summary":"Api V1 Scan","operationId":"api_v1_scan_api_v1_scan_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"ApiKeyAuth":[]}]}},"/api/v1/usage":{"get":{"summary":"Api V1 Usage","operationId":"api_v1_usage_api_v1_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"ApiKeyAuth":[]}]}},"/contact":{"get":{"summary":"Contact","operationId":"contact_contact_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/terms":{"get":{"summary":"Terms","operationId":"terms_terms_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/privacy":{"get":{"summary":"Privacy","operationId":"privacy_privacy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/robots.txt":{"get":{"summary":"Robots","operationId":"robots_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/guides":{"get":{"summary":"Guides Index","operationId":"guides_index_guides_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/guides/{guide_slug}":{"get":{"summary":"Guide Page","operationId":"guide_page_guides__guide_slug__get","parameters":[{"name":"guide_slug","in":"path","required":true,"schema":{"type":"string","title":"Guide Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap","operationId":"sitemap_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/c0ce97bcb117f87d1277cc2ee3af47ef.txt":{"get":{"summary":"Indexnow Key File","operationId":"indexnow_key_file_c0ce97bcb117f87d1277cc2ee3af47ef_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/cases":{"get":{"summary":"Cases Home","operationId":"cases_home_cases_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Case Report","operationId":"case_report_cases_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_case_report_cases_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scan/{scan_id}/hits/{hit_id}/case":{"post":{"summary":"Case From Hit","operationId":"case_from_hit_scan__scan_id__hits__hit_id__case_post","parameters":[{"name":"scan_id","in":"path","required":true,"schema":{"type":"integer","title":"Scan Id"}},{"name":"hit_id","in":"path","required":true,"schema":{"type":"integer","title":"Hit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/case/{case_id}":{"get":{"summary":"Case View","operationId":"case_view_case__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"}}}}}}},"/case/{case_id}/submitted":{"post":{"summary":"Case Submitted","operationId":"case_submitted_case__case_id__submitted_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_case_submitted_case__case_id__submitted_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/case/{case_id}/provider-response":{"post":{"summary":"Case Provider Response","operationId":"case_provider_response_case__case_id__provider_response_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_case_provider_response_case__case_id__provider_response_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/case/{case_id}/resolve":{"post":{"summary":"Case Resolve","operationId":"case_resolve_case__case_id__resolve_post","parameters":[{"name":"case_id","in":"path","required":true,"schema":{"type":"integer","title":"Case Id"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_case_resolve_case__case_id__resolve_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/case/{case_id}/recheck":{"post":{"summary":"Case Recheck","operationId":"case_recheck_case__case_id__recheck_post","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"}}}}}}},"/api/second-visit/activity":{"get":{"summary":"Second Visit Activity","operationId":"second_visit_activity_api_second_visit_activity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_case_provider_response_case__case_id__provider_response_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_case_provider_response_case__case_id__provider_response_post"},"Body_case_report_cases_post":{"properties":{"target":{"type":"string","title":"Target"},"target_type":{"type":"string","title":"Target Type","default":"domain"},"brand":{"type":"string","title":"Brand","default":""},"note":{"type":"string","title":"Note","default":""}},"type":"object","required":["target"],"title":"Body_case_report_cases_post"},"Body_case_resolve_case__case_id__resolve_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_case_resolve_case__case_id__resolve_post"},"Body_case_submitted_case__case_id__submitted_post":{"properties":{"note":{"type":"string","title":"Note","default":""}},"type":"object","title":"Body_case_submitted_case__case_id__submitted_post"},"Body_monitor_create_monitors_post":{"properties":{"domain":{"type":"string","title":"Domain"}},"type":"object","required":["domain"],"title":"Body_monitor_create_monitors_post"},"Body_owner_license_keys_page_owner_license_keys_post":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"Body_owner_license_keys_page_owner_license_keys_post"},"Body_owner_login_owner_login_post":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"Body_owner_login_owner_login_post"},"Body_owner_mint_owner_mint_post":{"properties":{"password":{"type":"string","title":"Password"},"plan":{"type":"string","title":"Plan","default":"pro"},"email":{"type":"string","title":"Email","default":""}},"type":"object","required":["password"],"title":"Body_owner_mint_owner_mint_post"},"Body_owner_revoke_owner_revoke_post":{"properties":{"password":{"type":"string","title":"Password"},"key":{"type":"string","title":"Key"}},"type":"object","required":["password","key"],"title":"Body_owner_revoke_owner_revoke_post"},"Body_packet_generate_scan__scan_id__packet__hit_id__post":{"properties":{"channel":{"type":"string","title":"Channel","default":"registrar"}},"type":"object","title":"Body_packet_generate_scan__scan_id__packet__hit_id__post"},"Body_redeem_redeem_post":{"properties":{"key":{"type":"string","title":"Key"},"email":{"type":"string","title":"Email","default":""}},"type":"object","required":["key"],"title":"Body_redeem_redeem_post"},"Body_scan_submit_scan_post":{"properties":{"domain":{"type":"string","title":"Domain"}},"type":"object","required":["domain"],"title":"Body_scan_submit_scan_post"},"Body_verified_create_verified_post":{"properties":{"brand":{"type":"string","title":"Brand"},"domain":{"type":"string","title":"Domain"}},"type":"object","required":["brand","domain"],"title":"Body_verified_create_verified_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"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"}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key (tckey_…); Authorization: Bearer <key> is also accepted."}}}}