{"openapi":"3.1.0","info":{"title":"Wanmi.AI API 中心","version":"1.0.0","description":"七个查询接口仅支持 GET，参数放在查询字符串，不兼容 POST。tlds 用逗号分隔，最多10个，不接受重复参数。Bearer key 调用。北京时间自然日，每用户每 API 初始免费 100 次，跨 key 共享；每 key 容量 5、每 200ms 恢复 1 次。仅成功交付计次，失败/取消/超时不计次。主动开通按量付费后，免费次数用完按接口当前单价扣余额；未开通、余额不足或日扣费上限已满时拒绝。云 API 使用 POST、零免费额度，创建时预留余额，成功交付时按准入快照结算；异步 PDF 在领取时结算，详见各接口规范。额度初值可由运营调整。所有响应 no-store。"},"servers":[{"url":"https://api.wanmi.net"}],"x-usage-policy":{"burst":5,"recoveryMs":200,"timezone":"Asia/Shanghai","description":"每个 key 最多连续发 5 次，之后每 200 毫秒恢复 1 次，平均每秒 5 次。限流时按 Retry-After 等待；日额度耗尽不保证自动恢复时间。","freeDescription":"免费次数按北京时间自然日计算，同一账号的多个 key 共用。只有成功交付才计次，参数错误、上游故障、取消和超时不计次。","billingDescription":"用多少付多少。云工具 API 无免费次数，创建时预留余额，成功交付才结算（异步 PDF 在领取时结算）；失败释放或补偿。主动开通按量付费后，免费次数用完按接口单价从钱包扣费；余额不足或每日扣费上限已到时拒绝，不欠费。仅成功交付收费，符合接口契约的降级成功照常收费；失败和未交付不收费。每次扣费及补偿可在控制台账单查看，单价以各接口当前配置及调用准入快照为准。"},"components":{"schemas":{"Problem":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","minLength":1},"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"dataSource":{"type":"string","minLength":1},"detail":{"type":"string","minLength":1},"disabledReason":{"type":"string","minLength":1},"field":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"message":{"type":"string","minLength":1},"operationStatus":{"type":"string","enum":["failed","unknown","submitted","prepared"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"integer","minimum":400,"maximum":599},"title":{"type":"string","minLength":1},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"},"type":{"type":"string","pattern":"^urn:wanmi:problem:[A-Z][A-Z0-9_]*$"}},"required":["action","code","detail","message","retryable","status","title","traceId","type"],"additionalProperties":false}},"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"在用户控制台创建的 wmk_ API key；不能使用 Cookie 或主站会话代替。"}}},"paths":{"/open/v1/whois":{"get":{"operationId":"whois","summary":"WHOIS 查询","description":"公开 RDAP/WHOIS 注册信息，公开源失败时使用既有兜底。联系人沿用站内隐私规则；不返回上游服务商标识和原文。无公开记录是成功的 empty 结果。","x-catalog":{"category":"domain","title":"WHOIS 查询","description":"查询域名的注册商、注册与到期时间、状态和域名服务器，覆盖主流后缀。"},"security":[{"apiKey":[]}],"tags":["tools"],"x-free-daily-limit-initial":100,"x-site-daily-limit-initial":5000,"x-timeout-ms":60000,"x-max-response-bytes":65536,"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":253},"example":"example.com"}],"responses":{"200":{"description":"完整结果已交付，计入日额度；empty、有效降级、诊断警告同样是成功。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","enum":["ready","empty","degraded"]},"data":{"type":"object","properties":{"calendarDates":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["created","expires","updated","transferred"]},"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"timeZone":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]}},"required":["field","date","timeZone"],"additionalProperties":false}},"dates":{"type":"object","properties":{"created":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expires":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"updated":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"transferred":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["created","expires","updated"],"additionalProperties":false},"warnings":{"maxItems":2,"type":"array","items":{"type":"string","enum":["WHOIS_REGISTRAR_UNAVAILABLE","WHOIS_DATE_TIMEZONE_UNKNOWN"]}},"details":{"type":"object","properties":{"contacts":{"type":"object","properties":{"registrant":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"organization":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"email":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"phone":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"street":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"city":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"state":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"postalCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"country":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]}},"required":["name","organization","email","phone","street","city","state","postalCode","country"],"additionalProperties":false},"admin":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"organization":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"email":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"phone":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"street":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"city":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"state":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"postalCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"country":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]}},"required":["name","organization","email","phone","street","city","state","postalCode","country"],"additionalProperties":false},"tech":{"type":"object","properties":{"name":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"organization":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"email":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"phone":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"street":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"city":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"state":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"postalCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"country":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]}},"required":["name","organization","email","phone","street","city","state","postalCode","country"],"additionalProperties":false}},"required":["registrant","admin","tech"],"additionalProperties":false},"registryDomainId":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"registrarIanaId":{"anyOf":[{"type":"string","pattern":"^\\d{1,16}$"},{"type":"null"}]},"registrarUrl":{"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"registrarWhoisServer":{"anyOf":[{"type":"string","maxLength":253,"pattern":"^[a-z0-9.-]+$"},{"type":"null"}]},"reseller":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"abuseEmail":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"abusePhone":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]},"nameServers":{"maxItems":64,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":253},"ipv4":{"maxItems":32,"type":"array","items":{"type":"string","format":"ipv4","pattern":"^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$"}},"ipv6":{"maxItems":32,"type":"array","items":{"type":"string","format":"ipv6","pattern":"^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$"}}},"required":["name","ipv4","ipv6"],"additionalProperties":false}},"dnssec":{"anyOf":[{"type":"object","properties":{"signed":{"type":"boolean"},"dsData":{"maxItems":64,"type":"array","items":{"type":"object","properties":{"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[a-f0-9]+$"}},"required":["keyTag","algorithm","digestType","digest"],"additionalProperties":false}}},"required":["signed","dsData"],"additionalProperties":false},{"type":"null"}]}},"required":["registryDomainId","registrarIanaId","registrarUrl","registrarWhoisServer","reseller","nameServers","dnssec"],"additionalProperties":false},"domainAscii":{"type":"string","minLength":1,"maxLength":253},"domainUnicode":{"type":"string","minLength":1,"maxLength":253},"nameServers":{"maxItems":64,"type":"array","items":{"type":"string","minLength":1,"maxLength":253}},"normalizedQueryAscii":{"type":"string","minLength":1,"maxLength":253},"normalizedQueryUnicode":{"type":"string","minLength":1,"maxLength":253},"recordStatus":{"type":"string","enum":["record_found","no_public_record"]},"registrar":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"risks":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","const":"DOMAIN_MIXED_SCRIPT_RISK"},"labelAscii":{"type":"string","minLength":1},"message":{"type":"string","minLength":1},"scripts":{"type":"array","items":{"type":"string","minLength":1}}},"required":["code","labelAscii","message","scripts"],"additionalProperties":false}},"statuses":{"maxItems":64,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"source":{"type":"object","properties":{"protocol":{"type":"string","enum":["rdap","whois"]}},"required":["protocol"],"additionalProperties":false}},"required":["dates","domainAscii","domainUnicode","nameServers","normalizedQueryAscii","normalizedQueryUnicode","recordStatus","registrar","risks","statuses","source"],"additionalProperties":false},"meta":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"stale":{"type":"boolean"},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"}},"additionalProperties":false}},"required":["state","data"],"additionalProperties":false},"example":{"state":"ready","data":{"normalizedQueryAscii":"example.com","normalizedQueryUnicode":"example.com","risks":[],"domainAscii":"example.com","domainUnicode":"example.com","dates":{"created":null,"expires":null,"updated":null},"registrar":"Example Registrar","nameServers":[],"statuses":[],"recordStatus":"record_found","source":{"protocol":"rdap"}}}}}},"400":{"description":"INVALID_REQUEST、API_INPUT_INVALID、API_TARGET_BLOCKED","x-error-codes":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"],"x-error-help":{"INVALID_REQUEST":"请检查请求；保留响应中的 traceId 以便排查。","API_INPUT_INVALID":"请按参数表检查输入；参数错误不计入免费次数。","API_TARGET_BLOCKED":"目标不符合公网查询规则，请检查域名或网址。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"]}}}]},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"x-error-help":{"API_KEY_REQUIRED":"在 Authorization 请求头中添加 Bearer key。","API_KEY_INVALID":"检查 key 是否正确；轮换后请更新程序中的 key。","API_KEY_REVOKED":"key 已吊销，请在控制台创建新的 key。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"]}}}]},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"x-error-help":{"API_BALANCE_INSUFFICIENT":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BALANCE_INSUFFICIENT"]}}}]},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"x-error-help":{"API_SPEND_REACTIVATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_BALANCE_SPEND_DISABLED":"请检查账户状态和权限后再试。","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE":"请检查账户状态和权限后再试。","API_KEY_BANNED":"key 已封禁，请联系支持。","API_SCOPE_FORBIDDEN":"此 key 无权调用该接口，请在控制台检查权限。","API_KEY_CHANGED":"key 已发生变化，请使用最新的 key。","REALNAME_VERIFICATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_API_ACCESS_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_LOGIN_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSING":"请检查账户状态和权限后再试。","ACCOUNT_PENDING_REGISTRATION":"请检查账户状态和权限后再试。","ACCOUNT_SUSPENDED":"请检查账户状态和权限后再试。","ACCOUNT_STATE_INVALID":"请检查账户状态和权限后再试。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND","x-error-codes":["API_NOT_FOUND"],"x-error-help":{"API_NOT_FOUND":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_NOT_FOUND"]}}}]},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"x-error-help":{"API_METHOD_NOT_ALLOWED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_METHOD_NOT_ALLOWED"]}}}]},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED","x-error-codes":["API_REQUEST_ABORTED"],"x-error-help":{"API_REQUEST_ABORTED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_REQUEST_ABORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RESERVATION_EXPIRED":"请检查请求；保留响应中的 traceId 以便排查。","API_SPEND_VERSION_CHANGED":"请检查请求；保留响应中的 traceId 以便排查。","WALLET_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE","x-error-codes":["API_UNAVAILABLE"],"x-error-help":{"API_UNAVAILABLE":"接口已下架，请查看目录中的已开放接口。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"x-error-help":{"API_HOST_INVALID":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_HOST_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"422":{"description":"API_QUERY_UNSUPPORTED","x-error-codes":["API_QUERY_UNSUPPORTED"],"x-error-help":{"API_QUERY_UNSUPPORTED":"暂不支持查询此目标。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_QUERY_UNSUPPORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_QUERY_UNSUPPORTED","title":"调用未能完成","status":422,"code":"API_QUERY_UNSUPPORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、API_UPSTREAM_RATE_LIMITED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"],"x-error-help":{"API_RATE_LIMITED":"请求过于频繁，请按 Retry-After 等待后重试。","API_FREE_QUOTA_EXHAUSTED":"今日免费次数已用完；可在控制台主动开通按量付费，或等待次日免费次数恢复。","API_SITE_QUOTA_EXHAUSTED":"接口的全站日容量已满，请稍后再试。","API_DAILY_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。","API_UPSTREAM_RATE_LIMITED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}},"Retry-After":{"description":"限流时可选的等待秒数；日额度耗尽不保证自动恢复时间。","schema":{"type":"integer","minimum":1}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"x-error-help":{"INTERNAL_ERROR":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_TELEMETRY_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","ACCOUNT_RESTRICTIONS_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"x-error-help":{"API_EXECUTION_FAILED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_INVALID_RESPONSE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_RESPONSE_TOO_LARGE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_UPSTREAM_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"],"x-error-help":{"API_BILLING_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_BILLING_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_POLICY_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_LEDGER_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","OPEN_API_DISABLED":"服务尚未开放或暂时停用，请稍后再试。","API_LIMIT_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"]}}}]},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"x-error-help":{"API_EXECUTION_TIMEOUT":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_TIMEOUT"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/domain-availability":{"get":{"operationId":"domain-availability","summary":"域名可注册查询","description":"每次查询一个完整域名，沿用站内服务商路由、只读开关、限流与缓存。available 附本站标准注册价与续费价的展示快照；价格无法完整取得则整次失败、不计次。premium 仅表示溢价，不返回价格；unsupported/restricted/registered 均为明确查询结果。","x-catalog":{"category":"domain","title":"域名可注册查询","description":"实时查询域名能否注册，可注册时返回本站注册价与续费价。"},"security":[{"apiKey":[]}],"tags":["tools"],"x-free-daily-limit-initial":100,"x-site-daily-limit-initial":2000,"x-timeout-ms":90000,"x-max-response-bytes":65536,"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":253,"pattern":"[.\\u3002\\uFF0E\\uFF61].+","description":"完整域名，支持 Unicode/IDN；每次只查询一个域名"},"example":"example.com"}],"responses":{"200":{"description":"完整结果已交付，计入日额度；empty、有效降级、诊断警告同样是成功。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","enum":["ready","empty","degraded"]},"data":{"type":"object","properties":{"mode":{"type":"string","enum":["full_domain","keyword"]},"normalizedQueryAscii":{"type":"string","minLength":1,"maxLength":253},"normalizedQueryUnicode":{"type":"string","minLength":1},"risks":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","const":"DOMAIN_MIXED_SCRIPT_RISK"},"labelAscii":{"type":"string","minLength":1},"message":{"type":"string","minLength":1},"scripts":{"type":"array","items":{"type":"string","minLength":1}}},"required":["code","labelAscii","message","scripts"],"additionalProperties":false}},"tlds":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":253}},"items":{"minItems":1,"maxItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"domainAscii":{"type":"string"},"domainUnicode":{"type":"string"},"tld":{"type":"string"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","const":"available"},"price":{"oneOf":[{"type":"object","properties":{"providerNotices":{"type":"array","items":{"type":"string","enum":["icp_filing_unavailable","local_presence_required","premium_unsupported","purchase_unavailable"]}},"cache":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["hit","miss","not_used"]}},"required":["status"],"additionalProperties":false},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseEligible":{"type":"boolean","const":false},"tld":{"type":"string","minLength":1,"maxLength":253},"calculationFormula":{"type":"string","const":"registration_price_plus_annual_renewal_price"},"currency":{"type":"string","const":"CNY"},"markupConfigured":{"type":"boolean","const":true},"minimumRegistrationYears":{"type":"integer","minimum":1,"maximum":10},"oneYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"priceClass":{"type":"string","const":"standard"},"registrationPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"renewalPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"snapshotRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"threeYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"purchaseBlockCode":{"type":"string","const":"PURCHASE_NOT_IMPLEMENTED"},"status":{"type":"string","const":"priced"}},"required":["cache","dataSource","observedAt","purchaseEligible","tld","calculationFormula","currency","markupConfigured","minimumRegistrationYears","priceClass","registrationPriceFen","renewalPriceFen","snapshotRef","purchaseBlockCode","status"],"additionalProperties":false},{"type":"object","properties":{"providerNotices":{"type":"array","items":{"type":"string","enum":["icp_filing_unavailable","local_presence_required","premium_unsupported","purchase_unavailable"]}},"cache":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["hit","miss","not_used"]}},"required":["status"],"additionalProperties":false},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseEligible":{"type":"boolean","const":false},"tld":{"type":"string","minLength":1,"maxLength":253},"calculationFormula":{"type":"string","const":"registration_price_plus_annual_renewal_price"},"currency":{"type":"string","const":"CNY"},"markupConfigured":{"type":"boolean","const":true},"minimumRegistrationYears":{"type":"integer","minimum":1,"maximum":10},"oneYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"priceClass":{"type":"string","const":"standard"},"registrationPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"renewalPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"snapshotRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"threeYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseBlockCode":{"type":"string","const":"PRICE_STALE"},"status":{"type":"string","const":"stale"}},"required":["cache","dataSource","observedAt","purchaseEligible","tld","calculationFormula","currency","markupConfigured","minimumRegistrationYears","priceClass","registrationPriceFen","renewalPriceFen","snapshotRef","lastSuccessfulAt","purchaseBlockCode","status"],"additionalProperties":false}]}},"required":["domainAscii","domainUnicode","tld","observedAt","status","price"],"additionalProperties":false},{"type":"object","properties":{"domainAscii":{"type":"string"},"domainUnicode":{"type":"string"},"tld":{"type":"string"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["premium","registered","restricted","unsupported"]}},"required":["domainAscii","domainUnicode","tld","observedAt","status"],"additionalProperties":false}]}}},"required":["mode","normalizedQueryAscii","normalizedQueryUnicode","risks","tlds","items"],"additionalProperties":false},"meta":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"stale":{"type":"boolean"},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"}},"additionalProperties":false}},"required":["state","data"],"additionalProperties":false},"example":{"state":"ready","data":{"normalizedQueryAscii":"example.com","normalizedQueryUnicode":"example.com","risks":[],"mode":"full_domain","tlds":["com"],"items":[{"domainAscii":"example.com","domainUnicode":"example.com","tld":"com","status":"available","price":{"status":"priced","cache":{"status":"hit"},"dataSource":"展示价快照","observedAt":"2026-10-22T00:00:00.000Z","purchaseEligible":false,"purchaseBlockCode":"PURCHASE_NOT_IMPLEMENTED","currency":"CNY","markupConfigured":true,"minimumRegistrationYears":1,"priceClass":"standard","calculationFormula":"registration_price_plus_annual_renewal_price","registrationPriceFen":8000,"renewalPriceFen":9000,"oneYearTotalFen":8000,"threeYearTotalFen":26000,"snapshotRef":"00000000-0000-4000-8000-000000000001","tld":"com"},"observedAt":"2026-10-22T00:00:00.000Z"}]}}}}},"400":{"description":"INVALID_REQUEST、API_INPUT_INVALID、API_TARGET_BLOCKED","x-error-codes":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"],"x-error-help":{"INVALID_REQUEST":"请检查请求；保留响应中的 traceId 以便排查。","API_INPUT_INVALID":"请按参数表检查输入；参数错误不计入免费次数。","API_TARGET_BLOCKED":"目标不符合公网查询规则，请检查域名或网址。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"]}}}]},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"x-error-help":{"API_KEY_REQUIRED":"在 Authorization 请求头中添加 Bearer key。","API_KEY_INVALID":"检查 key 是否正确；轮换后请更新程序中的 key。","API_KEY_REVOKED":"key 已吊销，请在控制台创建新的 key。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"]}}}]},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"x-error-help":{"API_BALANCE_INSUFFICIENT":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BALANCE_INSUFFICIENT"]}}}]},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"x-error-help":{"API_SPEND_REACTIVATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_BALANCE_SPEND_DISABLED":"请检查账户状态和权限后再试。","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE":"请检查账户状态和权限后再试。","API_KEY_BANNED":"key 已封禁，请联系支持。","API_SCOPE_FORBIDDEN":"此 key 无权调用该接口，请在控制台检查权限。","API_KEY_CHANGED":"key 已发生变化，请使用最新的 key。","REALNAME_VERIFICATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_API_ACCESS_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_LOGIN_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSING":"请检查账户状态和权限后再试。","ACCOUNT_PENDING_REGISTRATION":"请检查账户状态和权限后再试。","ACCOUNT_SUSPENDED":"请检查账户状态和权限后再试。","ACCOUNT_STATE_INVALID":"请检查账户状态和权限后再试。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND","x-error-codes":["API_NOT_FOUND"],"x-error-help":{"API_NOT_FOUND":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_NOT_FOUND"]}}}]},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"x-error-help":{"API_METHOD_NOT_ALLOWED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_METHOD_NOT_ALLOWED"]}}}]},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED","x-error-codes":["API_REQUEST_ABORTED"],"x-error-help":{"API_REQUEST_ABORTED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_REQUEST_ABORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RESERVATION_EXPIRED":"请检查请求；保留响应中的 traceId 以便排查。","API_SPEND_VERSION_CHANGED":"请检查请求；保留响应中的 traceId 以便排查。","WALLET_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE","x-error-codes":["API_UNAVAILABLE"],"x-error-help":{"API_UNAVAILABLE":"接口已下架，请查看目录中的已开放接口。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"x-error-help":{"API_HOST_INVALID":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_HOST_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、API_UPSTREAM_RATE_LIMITED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"],"x-error-help":{"API_RATE_LIMITED":"请求过于频繁，请按 Retry-After 等待后重试。","API_FREE_QUOTA_EXHAUSTED":"今日免费次数已用完；可在控制台主动开通按量付费，或等待次日免费次数恢复。","API_SITE_QUOTA_EXHAUSTED":"接口的全站日容量已满，请稍后再试。","API_DAILY_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。","API_UPSTREAM_RATE_LIMITED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}},"Retry-After":{"description":"限流时可选的等待秒数；日额度耗尽不保证自动恢复时间。","schema":{"type":"integer","minimum":1}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"x-error-help":{"INTERNAL_ERROR":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_TELEMETRY_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","ACCOUNT_RESTRICTIONS_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"x-error-help":{"API_EXECUTION_FAILED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_INVALID_RESPONSE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_RESPONSE_TOO_LARGE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_UPSTREAM_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"],"x-error-help":{"API_BILLING_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_BILLING_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_POLICY_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_LEDGER_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","OPEN_API_DISABLED":"服务尚未开放或暂时停用，请稍后再试。","API_LIMIT_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"]}}}]},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"x-error-help":{"API_EXECUTION_TIMEOUT":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_TIMEOUT"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/domain-pricing":{"get":{"operationId":"domain-pricing","summary":"域名展示价格","description":"1～10 个后缀的标准域名展示价，显式使用 display_snapshot。金额为整数人民币分，不构成交易报价；不提供溢价域名价格。stale 保留历史价格与时间，purchaseEligible 始终 false。","x-catalog":{"category":"domain","title":"域名价格","description":"按后缀查询本站的标准域名展示价格。"},"security":[{"apiKey":[]}],"tags":["tools"],"x-free-daily-limit-initial":100,"x-site-daily-limit-initial":20000,"x-timeout-ms":90000,"x-max-response-bytes":65536,"parameters":[{"name":"tlds","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2549,"pattern":"^[^,\\s]{1,253}(?:\\s*,\\s*[^,\\s]{1,253}){0,9}$","description":"1～10 个后缀；仅标准域名展示价，不查询溢价域名价格"},"example":"com,net","style":"form","explode":false}],"responses":{"200":{"description":"完整结果已交付，计入日额度；empty、有效降级、诊断警告同样是成功。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","enum":["ready","empty","degraded"]},"data":{"type":"object","properties":{"items":{"maxItems":10,"type":"array","items":{"oneOf":[{"type":"object","properties":{"providerNotices":{"type":"array","items":{"type":"string","enum":["icp_filing_unavailable","local_presence_required","premium_unsupported","purchase_unavailable"]}},"cache":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["hit","miss","not_used"]}},"required":["status"],"additionalProperties":false},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseEligible":{"type":"boolean","const":false},"tld":{"type":"string","minLength":1,"maxLength":253},"calculationFormula":{"type":"string","const":"registration_price_plus_annual_renewal_price"},"currency":{"type":"string","const":"CNY"},"markupConfigured":{"type":"boolean","const":true},"minimumRegistrationYears":{"type":"integer","minimum":1,"maximum":10},"oneYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"priceClass":{"type":"string","const":"standard"},"registrationPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"renewalPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"snapshotRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"threeYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"purchaseBlockCode":{"type":"string","const":"PURCHASE_NOT_IMPLEMENTED"},"status":{"type":"string","const":"priced"}},"required":["cache","dataSource","observedAt","purchaseEligible","tld","calculationFormula","currency","markupConfigured","minimumRegistrationYears","priceClass","registrationPriceFen","snapshotRef","purchaseBlockCode","status"],"additionalProperties":false},{"type":"object","properties":{"providerNotices":{"type":"array","items":{"type":"string","enum":["icp_filing_unavailable","local_presence_required","premium_unsupported","purchase_unavailable"]}},"cache":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["hit","miss","not_used"]}},"required":["status"],"additionalProperties":false},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseEligible":{"type":"boolean","const":false},"tld":{"type":"string","minLength":1,"maxLength":253},"calculationFormula":{"type":"string","const":"registration_price_plus_annual_renewal_price"},"currency":{"type":"string","const":"CNY"},"markupConfigured":{"type":"boolean","const":true},"minimumRegistrationYears":{"type":"integer","minimum":1,"maximum":10},"oneYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"priceClass":{"type":"string","const":"standard"},"registrationPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"renewalPriceFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"snapshotRef":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"threeYearTotalFen":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseBlockCode":{"type":"string","const":"PRICE_STALE"},"status":{"type":"string","const":"stale"}},"required":["cache","dataSource","observedAt","purchaseEligible","tld","calculationFormula","currency","markupConfigured","minimumRegistrationYears","priceClass","registrationPriceFen","snapshotRef","lastSuccessfulAt","purchaseBlockCode","status"],"additionalProperties":false},{"type":"object","properties":{"providerNotices":{"type":"array","items":{"type":"string","enum":["icp_filing_unavailable","local_presence_required","premium_unsupported","purchase_unavailable"]}},"cache":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["hit","miss","not_used"]}},"required":["status"],"additionalProperties":false},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseEligible":{"type":"boolean","const":false},"tld":{"type":"string","minLength":1,"maxLength":253},"markupConfigured":{"type":"boolean","const":false},"purchaseBlockCode":{"type":"string","const":"PRICE_RULE_UNCONFIGURED"},"status":{"type":"string","const":"unconfigured"}},"required":["cache","dataSource","observedAt","purchaseEligible","tld","markupConfigured","purchaseBlockCode","status"],"additionalProperties":false},{"type":"object","properties":{"providerNotices":{"type":"array","items":{"type":"string","enum":["icp_filing_unavailable","local_presence_required","premium_unsupported","purchase_unavailable"]}},"cache":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["hit","miss","not_used"]}},"required":["status"],"additionalProperties":false},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseEligible":{"type":"boolean","const":false},"tld":{"type":"string","minLength":1,"maxLength":253},"purchaseBlockCode":{"type":"string","enum":["TLD_UNSUPPORTED","PRICE_NOT_OFFERED"]},"status":{"type":"string","const":"unsupported"}},"required":["cache","dataSource","observedAt","purchaseEligible","tld","purchaseBlockCode","status"],"additionalProperties":false},{"type":"object","properties":{"providerNotices":{"type":"array","items":{"type":"string","enum":["icp_filing_unavailable","local_presence_required","premium_unsupported","purchase_unavailable"]}},"cache":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"status":{"type":"string","enum":["hit","miss","not_used"]}},"required":["status"],"additionalProperties":false},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"purchaseEligible":{"type":"boolean","const":false},"tld":{"type":"string","minLength":1,"maxLength":253},"problem":{"type":"object","properties":{"action":{"type":"string","minLength":1},"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"dataSource":{"type":"string","minLength":1},"detail":{"type":"string","minLength":1},"disabledReason":{"type":"string","minLength":1},"field":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"message":{"type":"string","minLength":1},"operationStatus":{"type":"string","enum":["failed","unknown","submitted","prepared"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"retryable":{"type":"boolean"},"retryAfterSeconds":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"integer","minimum":400,"maximum":599},"title":{"type":"string","minLength":1},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"},"type":{"type":"string","pattern":"^urn:wanmi:problem:[A-Z][A-Z0-9_]*$"}},"required":["action","code","detail","message","retryable","status","title","traceId","type"],"additionalProperties":false},"purchaseBlockCode":{"type":"string","const":"PRICE_QUERY_FAILED"},"status":{"type":"string","const":"query_failed"}},"required":["cache","dataSource","observedAt","purchaseEligible","tld","problem","purchaseBlockCode","status"],"additionalProperties":false}]}},"priceClass":{"type":"string","const":"standard"},"tlds":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":253}}},"required":["items","priceClass","tlds"],"additionalProperties":false},"meta":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"stale":{"type":"boolean"},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"}},"additionalProperties":false}},"required":["state","data"],"additionalProperties":false},"example":{"state":"ready","data":{"priceClass":"standard","tlds":["com","net"],"items":[{"tld":"com","status":"priced","cache":{"status":"hit"},"dataSource":"展示价快照","observedAt":"2026-10-22T00:00:00.000Z","purchaseEligible":false,"purchaseBlockCode":"PURCHASE_NOT_IMPLEMENTED","currency":"CNY","markupConfigured":true,"minimumRegistrationYears":1,"priceClass":"standard","calculationFormula":"registration_price_plus_annual_renewal_price","registrationPriceFen":8000,"renewalPriceFen":9000,"oneYearTotalFen":8000,"threeYearTotalFen":26000,"snapshotRef":"00000000-0000-4000-8000-000000000001"},{"tld":"net","status":"priced","cache":{"status":"hit"},"dataSource":"展示价快照","observedAt":"2026-10-22T00:00:00.000Z","purchaseEligible":false,"purchaseBlockCode":"PURCHASE_NOT_IMPLEMENTED","currency":"CNY","markupConfigured":true,"minimumRegistrationYears":1,"priceClass":"standard","calculationFormula":"registration_price_plus_annual_renewal_price","registrationPriceFen":8000,"renewalPriceFen":9000,"oneYearTotalFen":8000,"threeYearTotalFen":26000,"snapshotRef":"00000000-0000-4000-8000-000000000001"}]}}}}},"400":{"description":"INVALID_REQUEST、API_INPUT_INVALID、API_TARGET_BLOCKED","x-error-codes":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"],"x-error-help":{"INVALID_REQUEST":"请检查请求；保留响应中的 traceId 以便排查。","API_INPUT_INVALID":"请按参数表检查输入；参数错误不计入免费次数。","API_TARGET_BLOCKED":"目标不符合公网查询规则，请检查域名或网址。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"]}}}]},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"x-error-help":{"API_KEY_REQUIRED":"在 Authorization 请求头中添加 Bearer key。","API_KEY_INVALID":"检查 key 是否正确；轮换后请更新程序中的 key。","API_KEY_REVOKED":"key 已吊销，请在控制台创建新的 key。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"]}}}]},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"x-error-help":{"API_BALANCE_INSUFFICIENT":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BALANCE_INSUFFICIENT"]}}}]},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"x-error-help":{"API_SPEND_REACTIVATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_BALANCE_SPEND_DISABLED":"请检查账户状态和权限后再试。","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE":"请检查账户状态和权限后再试。","API_KEY_BANNED":"key 已封禁，请联系支持。","API_SCOPE_FORBIDDEN":"此 key 无权调用该接口，请在控制台检查权限。","API_KEY_CHANGED":"key 已发生变化，请使用最新的 key。","REALNAME_VERIFICATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_API_ACCESS_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_LOGIN_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSING":"请检查账户状态和权限后再试。","ACCOUNT_PENDING_REGISTRATION":"请检查账户状态和权限后再试。","ACCOUNT_SUSPENDED":"请检查账户状态和权限后再试。","ACCOUNT_STATE_INVALID":"请检查账户状态和权限后再试。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND","x-error-codes":["API_NOT_FOUND"],"x-error-help":{"API_NOT_FOUND":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_NOT_FOUND"]}}}]},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"x-error-help":{"API_METHOD_NOT_ALLOWED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_METHOD_NOT_ALLOWED"]}}}]},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED","x-error-codes":["API_REQUEST_ABORTED"],"x-error-help":{"API_REQUEST_ABORTED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_REQUEST_ABORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RESERVATION_EXPIRED":"请检查请求；保留响应中的 traceId 以便排查。","API_SPEND_VERSION_CHANGED":"请检查请求；保留响应中的 traceId 以便排查。","WALLET_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE","x-error-codes":["API_UNAVAILABLE"],"x-error-help":{"API_UNAVAILABLE":"接口已下架，请查看目录中的已开放接口。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"x-error-help":{"API_HOST_INVALID":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_HOST_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、API_UPSTREAM_RATE_LIMITED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"],"x-error-help":{"API_RATE_LIMITED":"请求过于频繁，请按 Retry-After 等待后重试。","API_FREE_QUOTA_EXHAUSTED":"今日免费次数已用完；可在控制台主动开通按量付费，或等待次日免费次数恢复。","API_SITE_QUOTA_EXHAUSTED":"接口的全站日容量已满，请稍后再试。","API_DAILY_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。","API_UPSTREAM_RATE_LIMITED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}},"Retry-After":{"description":"限流时可选的等待秒数；日额度耗尽不保证自动恢复时间。","schema":{"type":"integer","minimum":1}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"x-error-help":{"INTERNAL_ERROR":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_TELEMETRY_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","ACCOUNT_RESTRICTIONS_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"x-error-help":{"API_EXECUTION_FAILED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_INVALID_RESPONSE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_RESPONSE_TOO_LARGE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_UPSTREAM_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"],"x-error-help":{"API_BILLING_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_BILLING_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_POLICY_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_LEDGER_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","OPEN_API_DISABLED":"服务尚未开放或暂时停用，请稍后再试。","API_LIMIT_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"]}}}]},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"x-error-help":{"API_EXECUTION_TIMEOUT":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_TIMEOUT"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/dns-lookup":{"get":{"operationId":"dns-lookup","summary":"DNS 查询","description":"沿用站内 DNS 服务，type 可选 A/AAAA/CNAME/MX/TXT/NS/SOA/CAA；省略返回全部八类，指定时仅返回该类。只访问公网；NXDOMAIN/无记录是 empty 成功结果。部分类型查询失败时整次返回错误且不计次。","x-catalog":{"category":"dns","title":"DNS 查询","description":"查询 A、AAAA、CNAME、MX、TXT、NS 等解析记录。"},"security":[{"apiKey":[]}],"tags":["tools"],"x-free-daily-limit-initial":100,"x-site-daily-limit-initial":10000,"x-timeout-ms":60000,"x-max-response-bytes":65536,"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":253},"example":"example.com"},{"name":"type","in":"query","required":false,"schema":{"description":"记录类型；省略时返回全部八类，指定时仅返回该类","type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA"]}}],"responses":{"200":{"description":"完整结果已交付，计入日额度；empty、有效降级、诊断警告同样是成功。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","enum":["ready","empty","degraded"]},"data":{"type":"object","properties":{"normalizedQueryAscii":{"type":"string","minLength":1,"maxLength":253},"normalizedQueryUnicode":{"type":"string","minLength":1,"maxLength":253},"recordSets":{"minItems":1,"maxItems":8,"type":"array","items":{"oneOf":[{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":1,"maxItems":32,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"status":{"type":"string","const":"records"}},"required":["cacheStatus","observedAt","records","resolverNode","type","status"],"additionalProperties":false},{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":0,"maxItems":0,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"status":{"type":"string","const":"no_record"}},"required":["cacheStatus","observedAt","records","resolverNode","type","status"],"additionalProperties":false},{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":0,"maxItems":0,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"status":{"type":"string","const":"nxdomain"}},"required":["cacheStatus","observedAt","records","resolverNode","type","status"],"additionalProperties":false},{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":0,"maxItems":0,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"issue":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"status":{"type":"string","const":"servfail"}},"required":["cacheStatus","observedAt","records","resolverNode","type","issue","status"],"additionalProperties":false},{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":0,"maxItems":0,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"issue":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"status":{"type":"string","const":"timeout"}},"required":["cacheStatus","observedAt","records","resolverNode","type","issue","status"],"additionalProperties":false},{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":0,"maxItems":0,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"issue":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"status":{"type":"string","const":"blocked"}},"required":["cacheStatus","observedAt","records","resolverNode","type","issue","status"],"additionalProperties":false},{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":0,"maxItems":0,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"issue":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"status":{"type":"string","const":"failed"}},"required":["cacheStatus","observedAt","records","resolverNode","type","issue","status"],"additionalProperties":false},{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"records":{"minItems":0,"maxItems":0,"type":"array","items":{"oneOf":[{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"A"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"address":{"type":"string","minLength":1,"maxLength":64},"type":{"type":"string","const":"AAAA"}},"required":["ownerName","ttl","address","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"target":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"CNAME"}},"required":["ownerName","ttl","target","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"exchange":{"type":"string","minLength":1,"maxLength":253},"priority":{"type":"integer","minimum":0,"maximum":65535},"type":{"type":"string","const":"MX"}},"required":["ownerName","ttl","exchange","priority","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"TXT"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"host":{"type":"string","minLength":1,"maxLength":253},"type":{"type":"string","const":"NS"}},"required":["ownerName","ttl","host","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"expire":{"type":"integer","minimum":0,"maximum":4294967295},"minimum":{"type":"integer","minimum":0,"maximum":4294967295},"primaryNameServer":{"type":"string","minLength":1,"maxLength":253},"refresh":{"type":"integer","minimum":0,"maximum":4294967295},"responsibleMailbox":{"type":"string","minLength":1,"maxLength":253},"retry":{"type":"integer","minimum":0,"maximum":4294967295},"serial":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"SOA"}},"required":["ownerName","ttl","expire","minimum","primaryNameServer","refresh","responsibleMailbox","retry","serial","type"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"flags":{"type":"integer","minimum":0,"maximum":255},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"type":{"type":"string","const":"CAA"},"value":{"type":"string","maxLength":4096}},"required":["ownerName","ttl","flags","tag","type","value"],"additionalProperties":false},{"type":"object","properties":{"ownerName":{"type":"string","minLength":1,"maxLength":253},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"type":{"type":"string","const":"DS"},"keyTag":{"type":"integer","minimum":0,"maximum":65535},"algorithm":{"type":"integer","minimum":0,"maximum":255},"digestType":{"type":"integer","minimum":0,"maximum":255},"digest":{"type":"string","maxLength":512}},"required":["ownerName","ttl","type","keyTag","algorithm","digestType","digest"],"additionalProperties":false}]}},"resolverNode":{"type":"string","enum":["alidns_primary","alidns_secondary"]},"type":{"type":"string","enum":["A","AAAA","CNAME","MX","TXT","NS","SOA","CAA","DS"]},"issue":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"status":{"type":"string","const":"rate_limited"}},"required":["cacheStatus","observedAt","records","resolverNode","type","issue","status"],"additionalProperties":false}]}},"risks":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","const":"DOMAIN_MIXED_SCRIPT_RISK"},"labelAscii":{"type":"string","minLength":1},"message":{"type":"string","minLength":1},"scripts":{"type":"array","items":{"type":"string","minLength":1}}},"required":["code","labelAscii","message","scripts"],"additionalProperties":false}}},"required":["normalizedQueryAscii","normalizedQueryUnicode","recordSets","risks"],"additionalProperties":false},"meta":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"stale":{"type":"boolean"},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"}},"additionalProperties":false}},"required":["state","data"],"additionalProperties":false},"example":{"state":"empty","data":{"normalizedQueryAscii":"example.com","normalizedQueryUnicode":"example.com","risks":[],"recordSets":[{"type":"A","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"},{"type":"AAAA","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"},{"type":"CNAME","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"},{"type":"MX","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"},{"type":"TXT","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"},{"type":"NS","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"},{"type":"SOA","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"},{"type":"CAA","records":[],"status":"no_record","cacheStatus":"miss","observedAt":"2026-10-22T00:00:00.000Z","resolverNode":"alidns_primary"}]}}}}},"400":{"description":"INVALID_REQUEST、API_INPUT_INVALID、API_TARGET_BLOCKED","x-error-codes":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"],"x-error-help":{"INVALID_REQUEST":"请检查请求；保留响应中的 traceId 以便排查。","API_INPUT_INVALID":"请按参数表检查输入；参数错误不计入免费次数。","API_TARGET_BLOCKED":"目标不符合公网查询规则，请检查域名或网址。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"]}}}]},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"x-error-help":{"API_KEY_REQUIRED":"在 Authorization 请求头中添加 Bearer key。","API_KEY_INVALID":"检查 key 是否正确；轮换后请更新程序中的 key。","API_KEY_REVOKED":"key 已吊销，请在控制台创建新的 key。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"]}}}]},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"x-error-help":{"API_BALANCE_INSUFFICIENT":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BALANCE_INSUFFICIENT"]}}}]},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"x-error-help":{"API_SPEND_REACTIVATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_BALANCE_SPEND_DISABLED":"请检查账户状态和权限后再试。","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE":"请检查账户状态和权限后再试。","API_KEY_BANNED":"key 已封禁，请联系支持。","API_SCOPE_FORBIDDEN":"此 key 无权调用该接口，请在控制台检查权限。","API_KEY_CHANGED":"key 已发生变化，请使用最新的 key。","REALNAME_VERIFICATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_API_ACCESS_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_LOGIN_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSING":"请检查账户状态和权限后再试。","ACCOUNT_PENDING_REGISTRATION":"请检查账户状态和权限后再试。","ACCOUNT_SUSPENDED":"请检查账户状态和权限后再试。","ACCOUNT_STATE_INVALID":"请检查账户状态和权限后再试。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND","x-error-codes":["API_NOT_FOUND"],"x-error-help":{"API_NOT_FOUND":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_NOT_FOUND"]}}}]},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"x-error-help":{"API_METHOD_NOT_ALLOWED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_METHOD_NOT_ALLOWED"]}}}]},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED","x-error-codes":["API_REQUEST_ABORTED"],"x-error-help":{"API_REQUEST_ABORTED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_REQUEST_ABORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RESERVATION_EXPIRED":"请检查请求；保留响应中的 traceId 以便排查。","API_SPEND_VERSION_CHANGED":"请检查请求；保留响应中的 traceId 以便排查。","WALLET_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE","x-error-codes":["API_UNAVAILABLE"],"x-error-help":{"API_UNAVAILABLE":"接口已下架，请查看目录中的已开放接口。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"x-error-help":{"API_HOST_INVALID":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_HOST_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、API_UPSTREAM_RATE_LIMITED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"],"x-error-help":{"API_RATE_LIMITED":"请求过于频繁，请按 Retry-After 等待后重试。","API_FREE_QUOTA_EXHAUSTED":"今日免费次数已用完；可在控制台主动开通按量付费，或等待次日免费次数恢复。","API_SITE_QUOTA_EXHAUSTED":"接口的全站日容量已满，请稍后再试。","API_DAILY_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。","API_UPSTREAM_RATE_LIMITED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}},"Retry-After":{"description":"限流时可选的等待秒数；日额度耗尽不保证自动恢复时间。","schema":{"type":"integer","minimum":1}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"x-error-help":{"INTERNAL_ERROR":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_TELEMETRY_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","ACCOUNT_RESTRICTIONS_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"x-error-help":{"API_EXECUTION_FAILED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_INVALID_RESPONSE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_RESPONSE_TOO_LARGE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_UPSTREAM_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"],"x-error-help":{"API_BILLING_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_BILLING_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_POLICY_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_LEDGER_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","OPEN_API_DISABLED":"服务尚未开放或暂时停用，请稍后再试。","API_LIMIT_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"]}}}]},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"x-error-help":{"API_EXECUTION_TIMEOUT":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_TIMEOUT"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/ssl-check":{"get":{"operationId":"ssl-check","summary":"SSL 证书检查","description":"沿用站内公网 DNS、安全 TLS 握手与 CAA 检查，仅连接 443。过期、自签名等证书发现仍是成功诊断；上游失败、限流或不完整检查不计次。","x-catalog":{"category":"dns","title":"SSL 证书检查","description":"检查证书颁发机构、有效期、域名匹配与证书链。"},"security":[{"apiKey":[]}],"tags":["tools"],"x-free-daily-limit-initial":100,"x-site-daily-limit-initial":5000,"x-timeout-ms":60000,"x-max-response-bytes":65536,"parameters":[{"name":"host","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":253},"example":"example.com"}],"responses":{"200":{"description":"完整结果已交付，计入日额度；empty、有效降级、诊断警告同样是成功。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","enum":["ready","empty","degraded"]},"data":{"type":"object","properties":{"caa":{"type":"object","properties":{"effectiveOwnerName":{"anyOf":[{"type":"string","minLength":1,"maxLength":253},{"type":"null"}]},"inherited":{"type":"boolean"},"issue":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"records":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"critical":{"type":"boolean"},"explanation":{"type":"string","minLength":1},"flags":{"type":"integer","minimum":0,"maximum":255},"ownerName":{"type":"string","minLength":1,"maxLength":253},"tag":{"type":"string","enum":["issue","issuewild","iodef"]},"ttl":{"type":"integer","minimum":0,"maximum":4294967295},"value":{"type":"string","maxLength":4096}},"required":["critical","explanation","flags","ownerName","tag","ttl","value"],"additionalProperties":false}},"source":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["cacheStatus","dataSource","observedAt"],"additionalProperties":false},"status":{"type":"string","enum":["records","no_record","nxdomain","servfail","timeout","failed","rate_limited","limit_exceeded"]}},"required":["effectiveOwnerName","inherited","records","source","status"],"additionalProperties":false},"normalizedQueryAscii":{"type":"string","minLength":1,"maxLength":253},"normalizedQueryUnicode":{"type":"string","minLength":1,"maxLength":253},"risks":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","const":"DOMAIN_MIXED_SCRIPT_RISK"},"labelAscii":{"type":"string","minLength":1},"message":{"type":"string","minLength":1},"scripts":{"type":"array","items":{"type":"string","minLength":1}}},"required":["code","labelAscii","message","scripts"],"additionalProperties":false}},"tls":{"type":"object","properties":{"certificate":{"anyOf":[{"type":"object","properties":{"chain":{"type":"object","properties":{"certificates":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"fingerprint256":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}]},"issuer":{"type":"object","properties":{"commonName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]},"organization":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]}},"required":["commonName","organization"],"additionalProperties":false},"subject":{"type":"object","properties":{"commonName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]},"organization":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]}},"required":["commonName","organization"],"additionalProperties":false},"validFrom":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]},"validTo":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},{"type":"null"}]}},"required":["fingerprint256","issuer","subject","validFrom","validTo"],"additionalProperties":false}},"depth":{"type":"integer","exclusiveMinimum":0,"maximum":64},"status":{"type":"string","enum":["trusted","self_signed","invalid"]},"truncated":{"type":"boolean"}},"required":["certificates","depth","status","truncated"],"additionalProperties":false},"daysRemaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"hostnameMatch":{"type":"boolean"},"issuer":{"type":"object","properties":{"commonName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]},"organization":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]}},"required":["commonName","organization"],"additionalProperties":false},"sanCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"sanTruncated":{"type":"boolean"},"subject":{"type":"object","properties":{"commonName":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]},"organization":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}]}},"required":["commonName","organization"],"additionalProperties":false},"subjectAlternativeNames":{"maxItems":128,"type":"array","items":{"type":"string","minLength":1,"maxLength":1024}},"validFrom":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"validityStatus":{"type":"string","enum":["valid","expired","not_yet_valid"]},"validTo":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["chain","daysRemaining","hostnameMatch","issuer","sanCount","sanTruncated","subject","subjectAlternativeNames","validFrom","validityStatus","validTo"],"additionalProperties":false},{"type":"null"}]},"cipherSuite":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"findings":{"maxItems":8,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["TLS_CERT_EXPIRED","TLS_CERT_NOT_YET_VALID","TLS_HOSTNAME_MISMATCH","TLS_CERT_SELF_SIGNED","TLS_CERT_CHAIN_INVALID"]},"message":{"type":"string","minLength":1},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}},"issue":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"port":{"type":"number","const":443},"protocol":{"anyOf":[{"type":"string","minLength":1,"maxLength":64},{"type":"null"}]},"source":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["cacheStatus","dataSource","observedAt"],"additionalProperties":false},"status":{"type":"string","enum":["connected","no_address","connection_failed","timeout","handshake_failed","handshake_too_large","rate_limited"]}},"required":["certificate","cipherSuite","findings","port","protocol","source","status"],"additionalProperties":false}},"required":["caa","normalizedQueryAscii","normalizedQueryUnicode","risks","tls"],"additionalProperties":false},"meta":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"stale":{"type":"boolean"},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"}},"additionalProperties":false}},"required":["state","data"],"additionalProperties":false},"example":{"state":"empty","data":{"normalizedQueryAscii":"example.com","normalizedQueryUnicode":"example.com","risks":[],"caa":{"effectiveOwnerName":null,"inherited":false,"records":[],"source":{"cacheStatus":"miss","dataSource":"公开查询","observedAt":"2026-10-22T00:00:00.000Z"},"status":"no_record"},"tls":{"certificate":null,"cipherSuite":null,"findings":[],"port":443,"protocol":null,"source":{"cacheStatus":"miss","dataSource":"公开查询","observedAt":"2026-10-22T00:00:00.000Z"},"status":"no_address"}}}}}},"400":{"description":"INVALID_REQUEST、API_INPUT_INVALID、API_TARGET_BLOCKED","x-error-codes":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"],"x-error-help":{"INVALID_REQUEST":"请检查请求；保留响应中的 traceId 以便排查。","API_INPUT_INVALID":"请按参数表检查输入；参数错误不计入免费次数。","API_TARGET_BLOCKED":"目标不符合公网查询规则，请检查域名或网址。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"]}}}]},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"x-error-help":{"API_KEY_REQUIRED":"在 Authorization 请求头中添加 Bearer key。","API_KEY_INVALID":"检查 key 是否正确；轮换后请更新程序中的 key。","API_KEY_REVOKED":"key 已吊销，请在控制台创建新的 key。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"]}}}]},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"x-error-help":{"API_BALANCE_INSUFFICIENT":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BALANCE_INSUFFICIENT"]}}}]},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"x-error-help":{"API_SPEND_REACTIVATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_BALANCE_SPEND_DISABLED":"请检查账户状态和权限后再试。","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE":"请检查账户状态和权限后再试。","API_KEY_BANNED":"key 已封禁，请联系支持。","API_SCOPE_FORBIDDEN":"此 key 无权调用该接口，请在控制台检查权限。","API_KEY_CHANGED":"key 已发生变化，请使用最新的 key。","REALNAME_VERIFICATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_API_ACCESS_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_LOGIN_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSING":"请检查账户状态和权限后再试。","ACCOUNT_PENDING_REGISTRATION":"请检查账户状态和权限后再试。","ACCOUNT_SUSPENDED":"请检查账户状态和权限后再试。","ACCOUNT_STATE_INVALID":"请检查账户状态和权限后再试。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND","x-error-codes":["API_NOT_FOUND"],"x-error-help":{"API_NOT_FOUND":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_NOT_FOUND"]}}}]},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"x-error-help":{"API_METHOD_NOT_ALLOWED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_METHOD_NOT_ALLOWED"]}}}]},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED","x-error-codes":["API_REQUEST_ABORTED"],"x-error-help":{"API_REQUEST_ABORTED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_REQUEST_ABORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RESERVATION_EXPIRED":"请检查请求；保留响应中的 traceId 以便排查。","API_SPEND_VERSION_CHANGED":"请检查请求；保留响应中的 traceId 以便排查。","WALLET_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE","x-error-codes":["API_UNAVAILABLE"],"x-error-help":{"API_UNAVAILABLE":"接口已下架，请查看目录中的已开放接口。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"x-error-help":{"API_HOST_INVALID":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_HOST_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、API_UPSTREAM_RATE_LIMITED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"],"x-error-help":{"API_RATE_LIMITED":"请求过于频繁，请按 Retry-After 等待后重试。","API_FREE_QUOTA_EXHAUSTED":"今日免费次数已用完；可在控制台主动开通按量付费，或等待次日免费次数恢复。","API_SITE_QUOTA_EXHAUSTED":"接口的全站日容量已满，请稍后再试。","API_DAILY_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。","API_UPSTREAM_RATE_LIMITED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}},"Retry-After":{"description":"限流时可选的等待秒数；日额度耗尽不保证自动恢复时间。","schema":{"type":"integer","minimum":1}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"x-error-help":{"INTERNAL_ERROR":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_TELEMETRY_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","ACCOUNT_RESTRICTIONS_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"x-error-help":{"API_EXECUTION_FAILED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_INVALID_RESPONSE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_RESPONSE_TOO_LARGE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_UPSTREAM_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"],"x-error-help":{"API_BILLING_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_BILLING_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_POLICY_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_LEDGER_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","OPEN_API_DISABLED":"服务尚未开放或暂时停用，请稍后再试。","API_LIMIT_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"]}}}]},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"x-error-help":{"API_EXECUTION_TIMEOUT":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_TIMEOUT"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/idn-convert":{"get":{"operationId":"idn-convert","summary":"IDN 转换","description":"沿用站内域名规范化，返回 ASCII、Unicode、展示形式与混合文字风险提示。纯本地计算，不访问上游。","x-catalog":{"category":"domain","title":"中文域名转码","description":"中文域名与 Punycode 互相转换。"},"security":[{"apiKey":[]}],"tags":["tools"],"x-free-daily-limit-initial":100,"x-site-daily-limit-initial":50000,"x-timeout-ms":1000,"x-max-response-bytes":8192,"parameters":[{"name":"domain","in":"query","required":true,"schema":{"type":"string","maxLength":1024},"example":"例子.com"}],"responses":{"200":{"description":"完整结果已交付，计入日额度；empty、有效降级、诊断警告同样是成功。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"state":{"type":"string","enum":["ready","empty","degraded"]},"data":{"type":"object","properties":{"ascii":{"type":"string","minLength":1,"maxLength":253},"display":{"type":"string","minLength":1,"maxLength":253},"risks":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","const":"DOMAIN_MIXED_SCRIPT_RISK"},"labelAscii":{"type":"string","minLength":1,"maxLength":63},"message":{"type":"string","minLength":1},"scripts":{"minItems":2,"type":"array","items":{"type":"string","minLength":1}}},"required":["code","labelAscii","message","scripts"],"additionalProperties":false}},"unicode":{"type":"string","minLength":1}},"required":["ascii","display","risks","unicode"],"additionalProperties":false},"meta":{"type":"object","properties":{"cacheStatus":{"type":"string","enum":["hit","miss","mixed","not_used"]},"dataSource":{"type":"string","minLength":1},"lastSuccessfulAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"observedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"stale":{"type":"boolean"},"traceId":{"type":"string","pattern":"^[a-zA-Z0-9._:-]{8,128}$"}},"additionalProperties":false}},"required":["state","data"],"additionalProperties":false},"example":{"state":"ready","data":{"ascii":"xn--fsqu00a.com","unicode":"例子.com","display":"例子.com","risks":[]}}}}},"400":{"description":"INVALID_REQUEST、API_INPUT_INVALID","x-error-codes":["INVALID_REQUEST","API_INPUT_INVALID"],"x-error-help":{"INVALID_REQUEST":"请检查请求；保留响应中的 traceId 以便排查。","API_INPUT_INVALID":"请按参数表检查输入；参数错误不计入免费次数。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_REQUEST","API_INPUT_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"x-error-help":{"API_KEY_REQUIRED":"在 Authorization 请求头中添加 Bearer key。","API_KEY_INVALID":"检查 key 是否正确；轮换后请更新程序中的 key。","API_KEY_REVOKED":"key 已吊销，请在控制台创建新的 key。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"]}}}]},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"x-error-help":{"API_BALANCE_INSUFFICIENT":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BALANCE_INSUFFICIENT"]}}}]},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"x-error-help":{"API_SPEND_REACTIVATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_BALANCE_SPEND_DISABLED":"请检查账户状态和权限后再试。","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE":"请检查账户状态和权限后再试。","API_KEY_BANNED":"key 已封禁，请联系支持。","API_SCOPE_FORBIDDEN":"此 key 无权调用该接口，请在控制台检查权限。","API_KEY_CHANGED":"key 已发生变化，请使用最新的 key。","REALNAME_VERIFICATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_API_ACCESS_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_LOGIN_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSING":"请检查账户状态和权限后再试。","ACCOUNT_PENDING_REGISTRATION":"请检查账户状态和权限后再试。","ACCOUNT_SUSPENDED":"请检查账户状态和权限后再试。","ACCOUNT_STATE_INVALID":"请检查账户状态和权限后再试。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND","x-error-codes":["API_NOT_FOUND"],"x-error-help":{"API_NOT_FOUND":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_NOT_FOUND"]}}}]},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"x-error-help":{"API_METHOD_NOT_ALLOWED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_METHOD_NOT_ALLOWED"]}}}]},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED","x-error-codes":["API_REQUEST_ABORTED"],"x-error-help":{"API_REQUEST_ABORTED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_REQUEST_ABORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RESERVATION_EXPIRED":"请检查请求；保留响应中的 traceId 以便排查。","API_SPEND_VERSION_CHANGED":"请检查请求；保留响应中的 traceId 以便排查。","WALLET_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE","x-error-codes":["API_UNAVAILABLE"],"x-error-help":{"API_UNAVAILABLE":"接口已下架，请查看目录中的已开放接口。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"x-error-help":{"API_HOST_INVALID":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_HOST_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RATE_LIMITED":"请求过于频繁，请按 Retry-After 等待后重试。","API_FREE_QUOTA_EXHAUSTED":"今日免费次数已用完；可在控制台主动开通按量付费，或等待次日免费次数恢复。","API_SITE_QUOTA_EXHAUSTED":"接口的全站日容量已满，请稍后再试。","API_DAILY_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}},"Retry-After":{"description":"限流时可选的等待秒数；日额度耗尽不保证自动恢复时间。","schema":{"type":"integer","minimum":1}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"x-error-help":{"INTERNAL_ERROR":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_TELEMETRY_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","ACCOUNT_RESTRICTIONS_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"x-error-help":{"API_EXECUTION_FAILED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_INVALID_RESPONSE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_RESPONSE_TOO_LARGE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_UPSTREAM_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"],"x-error-help":{"API_BILLING_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_BILLING_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_POLICY_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_LEDGER_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","OPEN_API_DISABLED":"服务尚未开放或暂时停用，请稍后再试。","API_LIMIT_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"]}}}]},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"x-error-help":{"API_EXECUTION_TIMEOUT":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_TIMEOUT"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/website-check":{"get":{"operationId":"website-check","summary":"网站检测","description":"同步返回站内网站检测报告。mode=check 为完整检测，http 仅检查 HTTP。复用 guarded-http 的公网/端口/重定向防护、目标限流和请求预算；不需要游客验证码。警告是有效诊断；检查项执行失败时不计次。响应超过 64 KiB 返回错误且不计次。","x-catalog":{"category":"web","title":"网站检测","description":"检测网站能否访问、HTTPS 与基础 SEO 信息。"},"security":[{"apiKey":[]}],"tags":["tools"],"x-free-daily-limit-initial":100,"x-site-daily-limit-initial":2000,"x-timeout-ms":60000,"x-max-response-bytes":65536,"parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2048},"example":"https://example.com/"},{"name":"mode","in":"query","required":false,"schema":{"type":"string","enum":["check","http"]},"example":"http"}],"responses":{"200":{"description":"完整结果已交付，计入日额度；empty、有效降级、诊断警告同样是成功。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestedUrl":{"type":"string"},"finalUrl":{"type":"string"},"checkedAt":{"type":"string"},"checks":{"type":"object","properties":{"status":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"redirects":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"headers":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"securityHeaders":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"hsts":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"cookies":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"robots":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"sitemap":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"securityTxt":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"social":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"links":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"firewall":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"carbon":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"ip":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"location":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"dnsServers":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"txt":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"mail":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"tls":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false},"dnssec":{"type":"object","properties":{"status":{"type":"string","enum":["ok","warning","error"]},"summary":{"type":"string"},"details":{"type":"array","items":{"type":"string"}},"facts":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"status"},"code":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"responseTimeMs":{"type":"number","minimum":0}},"required":["kind","code","responseTimeMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"redirects"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"finalHttps":{"type":"boolean"},"hops":{"type":"array","items":{"type":"object","properties":{"status":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"url":{"type":"string"}},"required":["status","url"],"additionalProperties":false}}},"required":["kind","count","finalHttps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"securityHeaders"},"configured":{"type":"integer","minimum":0,"maximum":5},"missing":{"type":"array","items":{"type":"string","enum":["content-security-policy","x-content-type-options","referrer-policy","permissions-policy","x-frame-options"]}}},"required":["kind","configured","missing"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"hsts"},"state":{"type":"string","enum":["valid","missing","invalid","notHttps"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"cookies"},"insecureLogin":{"type":"boolean"},"missingSameSiteLogin":{"type":"boolean"},"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"affectedLogin":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","insecureLogin","missingSameSiteLogin","count","affectedLogin"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"tls"},"state":{"type":"string","enum":["modern","old","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"robots"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sitemap"},"state":{"type":"string","enum":["present","missing","httpError","partial"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"social"},"state":{"type":"string","enum":["present","missing","notApplicable"]}},"required":["kind","state"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"mail"},"mxCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"spfCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"dmarcCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kind","mxCount","spfCount","dmarcCount"],"additionalProperties":false}]}},"required":["status","summary","details"],"additionalProperties":false}},"required":["status","redirects","headers","securityHeaders","hsts","cookies"],"additionalProperties":false}},"required":["requestedUrl","checkedAt","checks"],"additionalProperties":false},"example":{"requestedUrl":"https://example.com/","finalUrl":"https://example.com/","checkedAt":"2026-10-22T00:00:00.000Z","checks":{"status":{"status":"ok","summary":"检测完成","details":[]},"redirects":{"status":"ok","summary":"检测完成","details":[]},"headers":{"status":"ok","summary":"检测完成","details":[]},"securityHeaders":{"status":"ok","summary":"检测完成","details":[]},"hsts":{"status":"ok","summary":"检测完成","details":[]},"cookies":{"status":"ok","summary":"检测完成","details":[]}}}}}},"400":{"description":"INVALID_REQUEST、API_INPUT_INVALID、API_TARGET_BLOCKED","x-error-codes":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"],"x-error-help":{"INVALID_REQUEST":"请检查请求；保留响应中的 traceId 以便排查。","API_INPUT_INVALID":"请按参数表检查输入；参数错误不计入免费次数。","API_TARGET_BLOCKED":"目标不符合公网查询规则，请检查域名或网址。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INVALID_REQUEST","API_INPUT_INVALID","API_TARGET_BLOCKED"]}}}]},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"x-error-help":{"API_KEY_REQUIRED":"在 Authorization 请求头中添加 Bearer key。","API_KEY_INVALID":"检查 key 是否正确；轮换后请更新程序中的 key。","API_KEY_REVOKED":"key 已吊销，请在控制台创建新的 key。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"]}}}]},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"x-error-help":{"API_BALANCE_INSUFFICIENT":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BALANCE_INSUFFICIENT"]}}}]},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"x-error-help":{"API_SPEND_REACTIVATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_BALANCE_SPEND_DISABLED":"请检查账户状态和权限后再试。","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE":"请检查账户状态和权限后再试。","API_KEY_BANNED":"key 已封禁，请联系支持。","API_SCOPE_FORBIDDEN":"此 key 无权调用该接口，请在控制台检查权限。","API_KEY_CHANGED":"key 已发生变化，请使用最新的 key。","REALNAME_VERIFICATION_REQUIRED":"请检查账户状态和权限后再试。","ACCOUNT_API_ACCESS_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_LOGIN_DISABLED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSED":"请检查账户状态和权限后再试。","ACCOUNT_CLOSING":"请检查账户状态和权限后再试。","ACCOUNT_PENDING_REGISTRATION":"请检查账户状态和权限后再试。","ACCOUNT_SUSPENDED":"请检查账户状态和权限后再试。","ACCOUNT_STATE_INVALID":"请检查账户状态和权限后再试。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND","x-error-codes":["API_NOT_FOUND"],"x-error-help":{"API_NOT_FOUND":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_NOT_FOUND"]}}}]},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"x-error-help":{"API_METHOD_NOT_ALLOWED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_METHOD_NOT_ALLOWED"]}}}]},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED","x-error-codes":["API_REQUEST_ABORTED"],"x-error-help":{"API_REQUEST_ABORTED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_REQUEST_ABORTED"]}}}]},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"],"x-error-help":{"API_RESERVATION_EXPIRED":"请检查请求；保留响应中的 traceId 以便排查。","API_SPEND_VERSION_CHANGED":"请检查请求；保留响应中的 traceId 以便排查。","WALLET_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE","x-error-codes":["API_UNAVAILABLE"],"x-error-help":{"API_UNAVAILABLE":"接口已下架，请查看目录中的已开放接口。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"x-error-help":{"API_HOST_INVALID":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_HOST_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、API_UPSTREAM_RATE_LIMITED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"],"x-error-help":{"API_RATE_LIMITED":"请求过于频繁，请按 Retry-After 等待后重试。","API_FREE_QUOTA_EXHAUSTED":"今日免费次数已用完；可在控制台主动开通按量付费，或等待次日免费次数恢复。","API_SITE_QUOTA_EXHAUSTED":"接口的全站日容量已满，请稍后再试。","API_DAILY_SPEND_LIMIT_EXCEEDED":"请检查请求；保留响应中的 traceId 以便排查。","API_UPSTREAM_RATE_LIMITED":"请检查请求；保留响应中的 traceId 以便排查。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}},"Retry-After":{"description":"限流时可选的等待秒数；日额度耗尽不保证自动恢复时间。","schema":{"type":"integer","minimum":1}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","API_UPSTREAM_RATE_LIMITED"]}}}]},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"x-error-help":{"INTERNAL_ERROR":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_TELEMETRY_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","ACCOUNT_RESTRICTIONS_INVALID":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"]}}}]},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"x-error-help":{"API_EXECUTION_FAILED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_INVALID_RESPONSE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_RESPONSE_TOO_LARGE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_UPSTREAM_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"],"x-error-help":{"API_BILLING_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_BILLING_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_POLICY_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","WALLET_LEDGER_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","OPEN_API_DISABLED":"服务尚未开放或暂时停用，请稍后再试。","API_LIMIT_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_UNAVAILABLE":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。","API_QUOTA_NOT_CONFIGURED":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED"]}}}]},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"x-error-help":{"API_EXECUTION_TIMEOUT":"服务暂时未能完成调用；失败不计次，请保留 X-Request-Id 联系支持。"},"headers":{"X-Request-Id":{"schema":{"type":"string"}}},"content":{"application/problem+json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Problem"},{"type":"object","properties":{"code":{"type":"string","enum":["API_EXECUTION_TIMEOUT"]}}}]},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"请检查请求或稍后重试","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/pdf-to-word":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"单页 PDF 转 Word","description":"仅单页 PDF 转 DOCX，最大 8 MiB；服务端独立解析，拒绝加密、损坏、超时和过度复杂文件。上传后 202，仅后台按现有退避与查询上限处理，跨上海零点停止上游查询。GET 状态不执行上游。ready 表示可领取，POST result 领取时才结算原调用；并发领取只扣一次。到期未领取、失败或取消释放资金，迟到成功不会重新扣款或开放结果。供应商签名链接按真实到期时间（通常约 12 小时），本站不能提前删除或撤销。"},"x-timeout-ms":55000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":30,"x-site-daily-limit-initial":50,"operationId":"pdf-to-word","summary":"单页 PDF 转 Word","description":"仅按次收费，无免费额度。创建时预留钱包和全站容量，成功交付时结算；失败/取消释放或补偿。requestId 在同用户云任务间唯一，绑定原 key 及其版本和规范化输入；重复请求不重新执行、不重复扣费。上传窗口 5 分钟，总预留最多 20 分钟，归原准入日；查询不续期。上游成本未知时仍退客户预留，上游预算继续保留，不自动重发。 创建只接收文件摘要和元数据，202 不算成功交付。仅单页 PDF 转 DOCX，最大 8 MiB；服务端独立解析，拒绝加密、损坏、超时和过度复杂文件。上传后 202，仅后台按现有退避与查询上限处理，跨上海零点停止上游查询。GET 状态不执行上游。ready 表示可领取，POST result 领取时才结算原调用；并发领取只扣一次。到期未领取、失败或取消释放资金，迟到成功不会重新扣款或开放结果。供应商签名链接按真实到期时间（通常约 12 小时），本站不能提前删除或撤销。本站仅在有界内存处理，不保留源文件副本；上游临时文件沿用站内留存政策。","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"input":{"type":"object","properties":{"mime":{"type":"string","const":"application/pdf"},"bytes":{"type":"integer","minimum":1,"maximum":8388608},"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"format":{"type":"string","const":"docx"}},"required":["mime","bytes","sha256","format"],"additionalProperties":false}},"required":["requestId","input"],"additionalProperties":false},"example":{"requestId":"00000000-0000-4000-8000-000000000001","input":{"mime":"application/pdf","bytes":2048,"sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","format":"docx"}}}}},"responses":{"202":{"description":"任务已准入，钱包冻结；上传后异步处理，领取才结算。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/pdf-to-word/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/pdf-to-word/tasks/{taskId}":{"get":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"单页 PDF 转 Word","description":"仅单页 PDF 转 DOCX，最大 8 MiB；服务端独立解析，拒绝加密、损坏、超时和过度复杂文件。上传后 202，仅后台按现有退避与查询上限处理，跨上海零点停止上游查询。GET 状态不执行上游。ready 表示可领取，POST result 领取时才结算原调用；并发领取只扣一次。到期未领取、失败或取消释放资金，迟到成功不会重新扣款或开放结果。供应商签名链接按真实到期时间（通常约 12 小时），本站不能提前删除或撤销。"},"x-timeout-ms":55000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":30,"x-site-daily-limit-initial":50,"operationId":"pdf-to-word-status","summary":"查询任务状态","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"仅原 key 和原版本可读。查询不执行上游、不续期、不计次、不泄露结果；失败或未知不能自动重发。","responses":{"200":{"description":"仅返回生命周期状态和原始期限。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/pdf-to-word/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/pdf-to-word/tasks/{taskId}/upload":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"单页 PDF 转 Word","description":"仅单页 PDF 转 DOCX，最大 8 MiB；服务端独立解析，拒绝加密、损坏、超时和过度复杂文件。上传后 202，仅后台按现有退避与查询上限处理，跨上海零点停止上游查询。GET 状态不执行上游。ready 表示可领取，POST result 领取时才结算原调用；并发领取只扣一次。到期未领取、失败或取消释放资金，迟到成功不会重新扣款或开放结果。供应商签名链接按真实到期时间（通常约 12 小时），本站不能提前删除或撤销。"},"x-timeout-ms":55000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":30,"x-site-daily-limit-initial":50,"operationId":"pdf-to-word-upload","summary":"上传 PDF 并异步提交","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"原 key 上传原始 PDF 二进制，Content-Type 为 application/pdf；实际页数/字节数/摘要全部复核，只接收单页 DOCX 转换。并发提交只执行一次。仅单页 PDF 转 DOCX，最大 8 MiB；服务端独立解析，拒绝加密、损坏、超时和过度复杂文件。上传后 202，仅后台按现有退避与查询上限处理，跨上海零点停止上游查询。GET 状态不执行上游。ready 表示可领取，POST result 领取时才结算原调用；并发领取只扣一次。到期未领取、失败或取消释放资金，迟到成功不会重新扣款或开放结果。供应商签名链接按真实到期时间（通常约 12 小时），本站不能提前删除或撤销。","requestBody":{"required":true,"content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"responses":{"202":{"description":"已提交异步处理，尚未结算。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"processing","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/pdf-to-word/tasks/{taskId}/result":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"单页 PDF 转 Word","description":"仅单页 PDF 转 DOCX，最大 8 MiB；服务端独立解析，拒绝加密、损坏、超时和过度复杂文件。上传后 202，仅后台按现有退避与查询上限处理，跨上海零点停止上游查询。GET 状态不执行上游。ready 表示可领取，POST result 领取时才结算原调用；并发领取只扣一次。到期未领取、失败或取消释放资金，迟到成功不会重新扣款或开放结果。供应商签名链接按真实到期时间（通常约 12 小时），本站不能提前删除或撤销。"},"x-timeout-ms":55000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":30,"x-site-daily-limit-initial":50,"operationId":"pdf-to-word-result","summary":"领取 DOCX 结果并结算","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"处理未完成返回 202，不扣费。首次有效领取在同一事务内 capture、consume 并确认交付。再次读取已成功结果不收费，读取中断不撤销原成功消费。原资金预留失效后不开放迟到结果。链接由供应商托管，不能提前删除或撤销；expiresAt 取真实签名与保存期限的较早者，不能续签。","responses":{"200":{"description":"原调用已结算，返回签名 DOCX 链接。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"result":{"type":"object","properties":{"kind":{"type":"string","const":"document"},"url":{"type":"string","maxLength":8192},"format":{"type":"string","const":"docx"},"bytes":{"type":"integer","exclusiveMinimum":0,"maximum":20000000}},"required":["kind","url","format","bytes"],"additionalProperties":false},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","result","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","result":{"kind":"document","format":"docx","bytes":4096,"url":"https://example.invalid/signed-document.docx?Expires=1792800000"},"expiresAt":"2026-10-24T00:00:00.000Z"}}}},"202":{"description":"尚未就绪，不结算。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/pdf-to-word/tasks/{taskId}/cancel":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"单页 PDF 转 Word","description":"仅单页 PDF 转 DOCX，最大 8 MiB；服务端独立解析，拒绝加密、损坏、超时和过度复杂文件。上传后 202，仅后台按现有退避与查询上限处理，跨上海零点停止上游查询。GET 状态不执行上游。ready 表示可领取，POST result 领取时才结算原调用；并发领取只扣一次。到期未领取、失败或取消释放资金，迟到成功不会重新扣款或开放结果。供应商签名链接按真实到期时间（通常约 12 小时），本站不能提前删除或撤销。"},"x-timeout-ms":55000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":30,"x-site-daily-limit-initial":50,"operationId":"pdf-to-word-cancel","summary":"取消未领取任务","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"释放客户资金与容量，已发生或未知的上游成本保留；不调用上游撤销，不自动重发。已成功领取返回 409，不能撤销消费。","responses":{"200":{"description":"已取消；重复取消幂等。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/remove-bg":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"普通抠图","description":"JPEG/PNG/WebP，每边 33–1999 像素，最大 3,000,000 字节；不会自动升级高清。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":1,"x-site-daily-limit-initial":5000,"operationId":"remove-bg","summary":"普通抠图","description":"仅按次收费，无免费额度。创建时预留钱包和全站容量，成功交付时结算；失败/取消释放或补偿。requestId 在同用户云任务间唯一，绑定原 key 及其版本和规范化输入；重复请求不重新执行、不重复扣费。上传窗口 5 分钟，总预留最多 20 分钟，归原准入日；查询不续期。上游成本未知时仍退客户预留，上游预算继续保留，不自动重发。 创建只接收文件摘要和元数据，202 不算成功交付。JPEG/PNG/WebP，每边 33–1999 像素，最大 3,000,000 字节；不会自动升级高清。本站仅在有界内存处理，不保留源文件副本；上游临时文件沿用站内留存政策。","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"input":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"mime":{"type":"string","enum":["image/jpeg","image/png","image/webp"]},"bytes":{"type":"integer","minimum":1,"maximum":3000000},"width":{"type":"integer","minimum":33,"maximum":1999},"height":{"type":"integer","minimum":33,"maximum":1999}},"required":["sha256","mime","bytes","width","height"],"additionalProperties":false}},"required":["requestId","input"],"additionalProperties":false},"example":{"requestId":"00000000-0000-4000-8000-000000000001","input":{"sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","bytes":2048,"mime":"image/png","width":512,"height":512}}}}},"responses":{"202":{"description":"任务已准入，钱包为冻结状态，尚未扣费；上传后同步交付。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/remove-bg/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/remove-bg/tasks/{taskId}":{"get":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"普通抠图","description":"JPEG/PNG/WebP，每边 33–1999 像素，最大 3,000,000 字节；不会自动升级高清。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":1,"x-site-daily-limit-initial":5000,"operationId":"remove-bg-status","summary":"查询任务状态","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"仅原 key 和原版本可读。查询不执行上游、不续期、不计次、不泄露结果；失败或未知不能自动重发。","responses":{"200":{"description":"仅返回生命周期状态和原始期限。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/remove-bg/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/remove-bg/tasks/{taskId}/upload":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"普通抠图","description":"JPEG/PNG/WebP，每边 33–1999 像素，最大 3,000,000 字节；不会自动升级高清。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":1,"x-site-daily-limit-initial":5000,"operationId":"remove-bg-upload","summary":"上传并同步交付普通抠图结果","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"原 key 上传原始二进制，Content-Type 与创建声明一致；实际格式/尺寸/字节数/摘要全部复核，声明尺寸不作为上游输入依据。并发提交只执行一次。成功交付签名链接后扣费；同任务重放有效链接不再次扣费。链接期限取上游签名实际到期与 30 分钟中较早者，以 expiresAt 为准；过期返回 410，不能续签或触发重新执行。","requestBody":{"required":true,"content":{"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}},"image/webp":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"完整结果已交付，原预留结算一次。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"result":{"type":"object","properties":{"kind":{"type":"string","const":"image"},"url":{"type":"string","maxLength":8192},"mime":{"type":"string","enum":["image/png","image/jpeg"]},"width":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"height":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","url","mime","width","height"],"additionalProperties":false},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","result","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","result":{"kind":"image","url":"https://example.invalid/signed-result.png?signature=example","mime":"image/png","width":512,"height":512},"expiresAt":"2026-10-23T12:30:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/tts":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"文字转语音","description":"文字合成 MP3，每次最多 100 个计费字符。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":2,"x-site-daily-limit-initial":1428,"operationId":"tts","summary":"文字转语音","description":"仅按次收费，无免费额度。创建时预留钱包和全站容量，成功交付时结算；失败/取消释放或补偿。requestId 在同用户云任务间唯一，绑定原 key 及其版本和规范化输入；重复请求不重新执行、不重复扣费。上传窗口 5 分钟，总预留最多 20 分钟，归原准入日；查询不续期。上游成本未知时仍退客户预留，上游预算继续保留，不自动重发。 JSON text 最多 100 个计费字符：汉字计 2，其他 Unicode 字符计 1；不接受 SSML。完整 MP3 经过验证后同步返回，最大 2,000,000 字节。本站不保存文字或音频；已成功请求重复领取返回 410。","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"text":{"type":"string","minLength":1,"maxLength":400},"voice":{"default":"xiaoyun","type":"string","enum":["xiaoyun","xiaogang"]},"speechRate":{"default":0,"type":"integer","minimum":-100,"maximum":100}},"required":["requestId","text"],"additionalProperties":false},"example":{"requestId":"00000000-0000-4000-8000-000000000001","text":"欢迎使用 Wanmi.AI","voice":"xiaoyun","speechRate":0}}}},"responses":{"200":{"description":"完整 MP3 已交付，扣费一次；此音频不保留可重放副本。","content":{"audio/mpeg":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/tts/tasks/{taskId}":{"get":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"文字转语音","description":"文字合成 MP3，每次最多 100 个计费字符。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":2,"x-site-daily-limit-initial":1428,"operationId":"tts-status","summary":"查询任务状态","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"仅原 key 和原版本可读。查询不执行上游、不续期、不计次、不泄露结果；失败或未知不能自动重发。","responses":{"200":{"description":"仅返回生命周期状态和原始期限。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/tts/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/ocr":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"图片转文字（高精版）","description":"OCR 高精版：JPEG/PNG/WebP，最大 8 MiB，每边 16–8191 像素，长宽比例小于 50，同时保留站内 6400 万像素安全上限。文字与表格仅在获胜上传响应中一次性交付，不持久化；UTF-8 JSON 响应最大 524,288 字节，超限整次失败不收费，已花费的上游成本仍保留。成功上传不可重放结果，返回 410。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":68,"x-site-daily-limit-initial":22,"x-max-response-bytes":524288,"operationId":"ocr","summary":"图片转文字（高精版）","description":"仅按次收费，无免费额度。创建时预留钱包和全站容量，成功交付时结算；失败/取消释放或补偿。requestId 在同用户云任务间唯一，绑定原 key 及其版本和规范化输入；重复请求不重新执行、不重复扣费。上传窗口 5 分钟，总预留最多 20 分钟，归原准入日；查询不续期。上游成本未知时仍退客户预留，上游预算继续保留，不自动重发。 创建只接收文件摘要和元数据，202 不算成功交付。OCR 高精版：JPEG/PNG/WebP，最大 8 MiB，每边 16–8191 像素，长宽比例小于 50，同时保留站内 6400 万像素安全上限。文字与表格仅在获胜上传响应中一次性交付，不持久化；UTF-8 JSON 响应最大 524,288 字节，超限整次失败不收费，已花费的上游成本仍保留。成功上传不可重放结果，返回 410。本站仅在有界内存处理，不保留源文件副本；上游临时文件沿用站内留存政策。","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"input":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"mime":{"type":"string","enum":["image/jpeg","image/png","image/webp"]},"bytes":{"type":"integer","minimum":1,"maximum":8388608},"width":{"type":"integer","minimum":16,"maximum":8191},"height":{"type":"integer","minimum":16,"maximum":8191}},"required":["sha256","mime","bytes","width","height"],"additionalProperties":false}},"required":["requestId","input"],"additionalProperties":false},"example":{"requestId":"00000000-0000-4000-8000-000000000001","input":{"sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","bytes":2048,"mime":"image/png","width":512,"height":512}}}}},"responses":{"202":{"description":"任务已准入，钱包为冻结状态，尚未扣费；上传后同步交付。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/ocr/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/ocr/tasks/{taskId}":{"get":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"图片转文字（高精版）","description":"OCR 高精版：JPEG/PNG/WebP，最大 8 MiB，每边 16–8191 像素，长宽比例小于 50，同时保留站内 6400 万像素安全上限。文字与表格仅在获胜上传响应中一次性交付，不持久化；UTF-8 JSON 响应最大 524,288 字节，超限整次失败不收费，已花费的上游成本仍保留。成功上传不可重放结果，返回 410。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":68,"x-site-daily-limit-initial":22,"x-max-response-bytes":524288,"operationId":"ocr-status","summary":"查询任务状态","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"仅原 key 和原版本可读。查询不执行上游、不续期、不计次、不泄露结果；失败或未知不能自动重发。","responses":{"200":{"description":"仅返回生命周期状态和原始期限。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/ocr/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/ocr/tasks/{taskId}/upload":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"图片转文字（高精版）","description":"OCR 高精版：JPEG/PNG/WebP，最大 8 MiB，每边 16–8191 像素，长宽比例小于 50，同时保留站内 6400 万像素安全上限。文字与表格仅在获胜上传响应中一次性交付，不持久化；UTF-8 JSON 响应最大 524,288 字节，超限整次失败不收费，已花费的上游成本仍保留。成功上传不可重放结果，返回 410。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":68,"x-site-daily-limit-initial":22,"x-max-response-bytes":524288,"operationId":"ocr-upload","summary":"上传并同步交付图片转文字（高精版）结果","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"原 key 上传原始二进制，Content-Type 与创建声明一致；实际格式/尺寸/字节数/摘要全部复核，声明尺寸不作为上游输入依据。并发提交只执行一次。OCR 高精版：JPEG/PNG/WebP，最大 8 MiB，每边 16–8191 像素，长宽比例小于 50，同时保留站内 6400 万像素安全上限。文字与表格仅在获胜上传响应中一次性交付，不持久化；UTF-8 JSON 响应最大 524,288 字节，超限整次失败不收费，已花费的上游成本仍保留。成功上传不可重放结果，返回 410。","requestBody":{"required":true,"content":{"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}},"image/webp":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"完整结果已交付，原预留结算一次。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"result":{"type":"object","properties":{"kind":{"type":"string","const":"text"},"text":{"type":"string","maxLength":200000},"tables":{"maxItems":20,"type":"array","items":{"maxItems":1000,"type":"array","items":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":10000}}}}},"required":["kind","text"],"additionalProperties":false},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","result","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","result":{"kind":"text","text":"识别文字","tables":[[["项目","数量"],["示例","2"]]]},"expiresAt":"2026-10-23T12:30:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/image-upscale":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"图片变清晰","description":"JPEG/PNG/WebP，最大 5,000,000 字节，长边最多 1920、短边 32–1080 像素，upscaleFactor 必须为 2、3 或 4。输出尺寸由原始图片与倍数确定，交付签名链接。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":6,"x-site-daily-limit-initial":500,"operationId":"image-upscale","summary":"图片变清晰","description":"仅按次收费，无免费额度。创建时预留钱包和全站容量，成功交付时结算；失败/取消释放或补偿。requestId 在同用户云任务间唯一，绑定原 key 及其版本和规范化输入；重复请求不重新执行、不重复扣费。上传窗口 5 分钟，总预留最多 20 分钟，归原准入日；查询不续期。上游成本未知时仍退客户预留，上游预算继续保留，不自动重发。 创建只接收文件摘要和元数据，202 不算成功交付。JPEG/PNG/WebP，最大 5,000,000 字节，长边最多 1920、短边 32–1080 像素，upscaleFactor 必须为 2、3 或 4。输出尺寸由原始图片与倍数确定，交付签名链接。本站仅在有界内存处理，不保留源文件副本；上游临时文件沿用站内留存政策。","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"requestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"input":{"type":"object","properties":{"sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"mime":{"type":"string","enum":["image/jpeg","image/png","image/webp"]},"bytes":{"type":"integer","minimum":1,"maximum":5000000},"width":{"type":"integer","minimum":32,"maximum":1920},"height":{"type":"integer","minimum":32,"maximum":1920},"upscaleFactor":{"anyOf":[{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}},"required":["sha256","mime","bytes","width","height","upscaleFactor"],"additionalProperties":false}},"required":["requestId","input"],"additionalProperties":false},"example":{"requestId":"00000000-0000-4000-8000-000000000001","input":{"sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","bytes":2048,"mime":"image/png","width":512,"height":512,"upscaleFactor":2}}}}},"responses":{"202":{"description":"任务已准入，钱包为冻结状态，尚未扣费；上传后同步交付。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/image-upscale/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/image-upscale/tasks/{taskId}":{"get":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"图片变清晰","description":"JPEG/PNG/WebP，最大 5,000,000 字节，长边最多 1920、短边 32–1080 像素，upscaleFactor 必须为 2、3 或 4。输出尺寸由原始图片与倍数确定，交付签名链接。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":6,"x-site-daily-limit-initial":500,"operationId":"image-upscale-status","summary":"查询任务状态","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"仅原 key 和原版本可读。查询不执行上游、不续期、不计次、不泄露结果；失败或未知不能自动重发。","responses":{"200":{"description":"仅返回生命周期状态和原始期限。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"state":{"type":"string","enum":["awaiting_upload","processing","ready","succeeded","failed","expired","unknown"]},"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","state","uploadExpiresAt","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","state":"awaiting_upload","uploadUrl":"https://api.wanmi.net/open/v1/image-upscale/tasks/00000000-0000-4000-8000-000000000001/upload","uploadExpiresAt":"2026-10-23T12:05:00.000Z","expiresAt":"2026-10-23T12:20:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}},"/open/v1/image-upscale/tasks/{taskId}/upload":{"post":{"security":[{"apiKey":[]}],"tags":["cloud-tools"],"x-catalog":{"category":"media","title":"图片变清晰","description":"JPEG/PNG/WebP，最大 5,000,000 字节，长边最多 1920、短边 32–1080 像素，upscaleFactor 必须为 2、3 或 4。输出尺寸由原始图片与倍数确定，交付签名链接。"},"x-timeout-ms":30000,"x-free-daily-limit-initial":0,"x-unit-price-fen-initial":6,"x-site-daily-limit-initial":500,"operationId":"image-upscale-upload","summary":"上传并同步交付图片变清晰结果","parameters":[{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"原 key 上传原始二进制，Content-Type 与创建声明一致；实际格式/尺寸/字节数/摘要全部复核，声明尺寸不作为上游输入依据。并发提交只执行一次。成功交付签名链接后扣费；同任务重放有效链接不再次扣费。链接期限取上游签名实际到期与 30 分钟中较早者，以 expiresAt 为准；过期返回 410，不能续签或触发重新执行。","requestBody":{"required":true,"content":{"image/png":{"schema":{"type":"string","format":"binary"}},"image/jpeg":{"schema":{"type":"string","format":"binary"}},"image/webp":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"完整结果已交付，原预留结算一次。","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"taskId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"result":{"type":"object","properties":{"kind":{"type":"string","const":"image"},"url":{"type":"string","maxLength":8192},"mime":{"type":"string","enum":["image/png","image/jpeg"]},"width":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"height":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["kind","url","mime","width","height"],"additionalProperties":false},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["taskId","result","expiresAt"],"additionalProperties":false},"example":{"taskId":"00000000-0000-4000-8000-000000000001","result":{"kind":"image","url":"https://example.invalid/signed-result.png?signature=example","mime":"image/png","width":1024,"height":1024},"expiresAt":"2026-10-23T12:30:00.000Z"}}}},"400":{"description":"INVALID_REQUEST、API_CLOUD_FREE_FORBIDDEN、CLOUD_IMAGE_INVALID、CLOUD_INPUT_INVALID、CLOUD_TEXT_INVALID、CLOUD_INPUT_LIMIT、CLOUD_PDF_INVALID、CLOUD_PDF_ENCRYPTED、CLOUD_PDF_COMPLEX、CLOUD_PDF_ENCODING","x-error-codes":["INVALID_REQUEST","API_CLOUD_FREE_FORBIDDEN","CLOUD_IMAGE_INVALID","CLOUD_INPUT_INVALID","CLOUD_TEXT_INVALID","CLOUD_INPUT_LIMIT","CLOUD_PDF_INVALID","CLOUD_PDF_ENCRYPTED","CLOUD_PDF_COMPLEX","CLOUD_PDF_ENCODING"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INVALID_REQUEST","title":"调用未能完成","status":400,"code":"INVALID_REQUEST","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"401":{"description":"API_KEY_REQUIRED、API_KEY_INVALID、API_KEY_REVOKED","x-error-codes":["API_KEY_REQUIRED","API_KEY_INVALID","API_KEY_REVOKED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_KEY_REQUIRED","title":"调用未能完成","status":401,"code":"API_KEY_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"402":{"description":"API_BALANCE_INSUFFICIENT","x-error-codes":["API_BALANCE_INSUFFICIENT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BALANCE_INSUFFICIENT","title":"调用未能完成","status":402,"code":"API_BALANCE_INSUFFICIENT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"403":{"description":"API_SPEND_REACTIVATION_REQUIRED、ACCOUNT_BALANCE_SPEND_DISABLED、STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE、API_KEY_BANNED、API_SCOPE_FORBIDDEN、API_KEY_CHANGED、REALNAME_VERIFICATION_REQUIRED、ACCOUNT_API_ACCESS_DISABLED、ACCOUNT_LOGIN_DISABLED、ACCOUNT_CLOSED、ACCOUNT_CLOSING、ACCOUNT_PENDING_REGISTRATION、ACCOUNT_SUSPENDED、ACCOUNT_STATE_INVALID","x-error-codes":["API_SPEND_REACTIVATION_REQUIRED","ACCOUNT_BALANCE_SPEND_DISABLED","STEP_UP_IDENTITY_RISK_COOLDOWN_ACTIVE","API_KEY_BANNED","API_SCOPE_FORBIDDEN","API_KEY_CHANGED","REALNAME_VERIFICATION_REQUIRED","ACCOUNT_API_ACCESS_DISABLED","ACCOUNT_LOGIN_DISABLED","ACCOUNT_CLOSED","ACCOUNT_CLOSING","ACCOUNT_PENDING_REGISTRATION","ACCOUNT_SUSPENDED","ACCOUNT_STATE_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_SPEND_REACTIVATION_REQUIRED","title":"调用未能完成","status":403,"code":"API_SPEND_REACTIVATION_REQUIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"404":{"description":"API_NOT_FOUND、API_TASK_UNAVAILABLE、CLOUD_TASK_UNAVAILABLE","x-error-codes":["API_NOT_FOUND","API_TASK_UNAVAILABLE","CLOUD_TASK_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_NOT_FOUND","title":"调用未能完成","status":404,"code":"API_NOT_FOUND","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"405":{"description":"API_METHOD_NOT_ALLOWED","x-error-codes":["API_METHOD_NOT_ALLOWED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_METHOD_NOT_ALLOWED","title":"调用未能完成","status":405,"code":"API_METHOD_NOT_ALLOWED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"408":{"description":"API_REQUEST_ABORTED、CLOUD_UPLOAD_TIMEOUT、AGENT_REQUEST_TIMEOUT","x-error-codes":["API_REQUEST_ABORTED","CLOUD_UPLOAD_TIMEOUT","AGENT_REQUEST_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_REQUEST_ABORTED","title":"调用未能完成","status":408,"code":"API_REQUEST_ABORTED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"409":{"description":"API_RESERVATION_EXPIRED、API_SPEND_VERSION_CHANGED、WALLET_SPEND_LIMIT_EXCEEDED、API_TASK_IN_PROGRESS、CLOUD_IDEMPOTENCY_CONFLICT","x-error-codes":["API_RESERVATION_EXPIRED","API_SPEND_VERSION_CHANGED","WALLET_SPEND_LIMIT_EXCEEDED","API_TASK_IN_PROGRESS","CLOUD_IDEMPOTENCY_CONFLICT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RESERVATION_EXPIRED","title":"调用未能完成","status":409,"code":"API_RESERVATION_EXPIRED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"410":{"description":"API_UNAVAILABLE、API_RESULT_EXPIRED","x-error-codes":["API_UNAVAILABLE","API_RESULT_EXPIRED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_UNAVAILABLE","title":"调用未能完成","status":410,"code":"API_UNAVAILABLE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"413":{"description":"CLOUD_UPLOAD_SIZE、AGENT_REQUEST_TOO_LARGE","x-error-codes":["CLOUD_UPLOAD_SIZE","AGENT_REQUEST_TOO_LARGE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:CLOUD_UPLOAD_SIZE","title":"调用未能完成","status":413,"code":"CLOUD_UPLOAD_SIZE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"415":{"description":"UNSUPPORTED_MEDIA_TYPE、CLOUD_UPLOAD_TYPE","x-error-codes":["UNSUPPORTED_MEDIA_TYPE","CLOUD_UPLOAD_TYPE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:UNSUPPORTED_MEDIA_TYPE","title":"调用未能完成","status":415,"code":"UNSUPPORTED_MEDIA_TYPE","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"421":{"description":"API_HOST_INVALID","x-error-codes":["API_HOST_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_HOST_INVALID","title":"调用未能完成","status":421,"code":"API_HOST_INVALID","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"429":{"description":"API_RATE_LIMITED、API_FREE_QUOTA_EXHAUSTED、API_SITE_QUOTA_EXHAUSTED、API_DAILY_SPEND_LIMIT_EXCEEDED、CLOUD_RATE_LIMITED、CLOUD_BUSY、CLOUD_BUDGET_EXHAUSTED、CLOUD_TOOL_BUDGET_EXHAUSTED、CLOUD_IDENTITY_BUDGET_EXHAUSTED","x-error-codes":["API_RATE_LIMITED","API_FREE_QUOTA_EXHAUSTED","API_SITE_QUOTA_EXHAUSTED","API_DAILY_SPEND_LIMIT_EXCEEDED","CLOUD_RATE_LIMITED","CLOUD_BUSY","CLOUD_BUDGET_EXHAUSTED","CLOUD_TOOL_BUDGET_EXHAUSTED","CLOUD_IDENTITY_BUDGET_EXHAUSTED"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_RATE_LIMITED","title":"调用未能完成","status":429,"code":"API_RATE_LIMITED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":false,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"500":{"description":"INTERNAL_ERROR、API_TELEMETRY_INVALID、ACCOUNT_RESTRICTIONS_INVALID","x-error-codes":["INTERNAL_ERROR","API_TELEMETRY_INVALID","ACCOUNT_RESTRICTIONS_INVALID"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:INTERNAL_ERROR","title":"调用未能完成","status":500,"code":"INTERNAL_ERROR","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"502":{"description":"API_EXECUTION_FAILED、API_INVALID_RESPONSE、API_RESPONSE_TOO_LARGE、API_UPSTREAM_UNAVAILABLE","x-error-codes":["API_EXECUTION_FAILED","API_INVALID_RESPONSE","API_RESPONSE_TOO_LARGE","API_UPSTREAM_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_FAILED","title":"调用未能完成","status":502,"code":"API_EXECUTION_FAILED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"503":{"description":"API_BILLING_NOT_CONFIGURED、API_BILLING_UNAVAILABLE、WALLET_POLICY_UNAVAILABLE、WALLET_LEDGER_UNAVAILABLE、OPEN_API_DISABLED、API_LIMIT_UNAVAILABLE、API_QUOTA_UNAVAILABLE、API_QUOTA_NOT_CONFIGURED、API_CLOUD_COST_CHANGED、CLOUD_TOOLS_UNAVAILABLE","x-error-codes":["API_BILLING_NOT_CONFIGURED","API_BILLING_UNAVAILABLE","WALLET_POLICY_UNAVAILABLE","WALLET_LEDGER_UNAVAILABLE","OPEN_API_DISABLED","API_LIMIT_UNAVAILABLE","API_QUOTA_UNAVAILABLE","API_QUOTA_NOT_CONFIGURED","API_CLOUD_COST_CHANGED","CLOUD_TOOLS_UNAVAILABLE"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_BILLING_NOT_CONFIGURED","title":"调用未能完成","status":503,"code":"API_BILLING_NOT_CONFIGURED","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}},"504":{"description":"API_EXECUTION_TIMEOUT","x-error-codes":["API_EXECUTION_TIMEOUT"],"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"type":"urn:wanmi:problem:API_EXECUTION_TIMEOUT","title":"调用未能完成","status":504,"code":"API_EXECUTION_TIMEOUT","detail":"请根据错误码处理","message":"请根据错误码处理","action":"查询任务状态，不要自动重发","retryable":true,"traceId":"00000000-0000-4000-8000-000000000001"}}}}}}}}}