{"openapi":"3.1.0","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"Alibaba agent operations","version":"1.0.0","description":"Closed supported-operation API. Grant evidence is checked per connection. Discovery does not grant access. Original legacy routes remain available separately."},"servers":[{"url":"https://api.ayzelify.com"}],"paths":{"/v1/alibaba/collections":{"post":{"operationId":"alibaba_collection_create","security":[{"ApiKey":[]}],"summary":"Persist a bounded owner-scoped collection job. No inline collection.","parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"mode":{"const":"search"},"query":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":200,"pattern":"\\S"},"product_type":{"type":"string","minLength":1,"maxLength":64,"enum":["US_CGS_48H","US_TOTAL_48H","US_GGS_POD","US_GGS_Branded","US_GGS_Trendy","MX_GGS_48H","US&MX_GGS_CBT","IN_GGS_Normal","VN_GGS_Normal","crossborder","alibaba_picks"]},"ship_to_country":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$"},"ship_from":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$","enum":["US","CN","IN","DE","ES","IT","VN","MX"]},"language":{"type":"string","minLength":1,"maxLength":16,"pattern":"^[a-z]{2,3}(?:-[A-Za-z]{2,4})?$"},"currency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"}},"required":["keyword"],"additionalProperties":false},"page_size":{"type":"integer","minimum":1,"maximum":50,"default":50},"max_pages":{"type":"integer","minimum":1,"maximum":10,"default":10},"max_records":{"type":"integer","minimum":1,"maximum":500,"default":500}},"required":["mode","query"],"additionalProperties":false},{"type":"object","properties":{"mode":{"const":"check"},"query":{"type":"object","properties":{"product_type":{"type":"string","minLength":1,"maxLength":64,"enum":["localregular","crossborder","mxlocal","in_accessory","vi_dropshipping","eu_local_fast","eu_local","US_GGS_48H","US_CGS_Normal","US_GGS_Hotselling","US_GGS_Seasonal","US_GGS_POD","US_GGS_Branded","US_GGS_Trendy","US_GGS_CBT","MX_GGS_48H","MX_GGS_Hotselling","MX_GGS_Seasonal","US&MX_GGS_CBT","IN_GGS_Normal","VN_GGS_Normal","EU_GGS_Normal","EU_GGS_48H","EU_CGS_Local","EU_TOTAL","US&EU_CGS_Local","TOP_DEALS","VERIFIED_WAREHOUSE","US_CGS_Local","EU_CGS_Local48h","US_CGS_Local48h","US_CGS_LocalVerifiedWH"]}},"required":["product_type"],"additionalProperties":false},"page_size":{"type":"integer","minimum":1,"maximum":50,"default":50},"max_pages":{"type":"integer","minimum":1,"maximum":10,"default":10},"max_records":{"type":"integer","minimum":1,"maximum":500,"default":500}},"required":["mode","query"],"additionalProperties":false}]}}}},"responses":{"200":{"description":"Idempotent replay of existing job","content":{"application/json":{"schema":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}}}},"202":{"description":"New persisted job","content":{"application/json":{"schema":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}}}},"400":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"401":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"403":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"404":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"409":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"413":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"415":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"429":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"503":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}}},"get":{"operationId":"alibaba_collection_list","security":[{"ApiKey":[]}],"summary":"List newest jobs for this API-key owner.","parameters":[{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},{"in":"query","name":"offset","schema":{"type":"integer","minimum":0,"maximum":10000,"default":0}}],"responses":{"200":{"description":"jobs and next_offset","content":{"application/json":{"schema":{"type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}},"next_offset":{"type":["integer","null"]}}}}}},"400":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"401":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"403":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"404":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"409":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"413":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"415":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"429":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"503":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}}}},"/v1/alibaba/collections/{id}":{"get":{"operationId":"alibaba_collection_get","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Current saved progress; no Alibaba call","content":{"application/json":{"schema":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}}}},"400":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"401":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"403":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"404":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"409":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"413":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"415":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"429":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"503":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}}}},"/v1/alibaba/collections/{id}/results":{"get":{"operationId":"alibaba_collection_results","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"cursor","schema":{"type":"integer","minimum":0,"maximum":500,"default":0}},{"in":"query","name":"limit","schema":{"type":"integer","minimum":1,"maximum":100,"default":100}}],"responses":{"200":{"description":"Saved unique records in first-seen order","content":{"application/json":{"schema":{"type":"object","required":["items","next_cursor","done","has_more","status","error","total_unique","snapshot_pages","job"],"properties":{"items":{"type":"array","items":{"type":"object","required":["product_id","source_page","position_in_page","captured_at"],"properties":{"product_id":{"type":"string"},"title":{"type":["string","null"]},"price":{"type":["string","null"],"description":"Vendor display string; not a normalized numeric price."},"permalink":{"type":["string","null"]},"main_image":{"type":["string","null"]},"image_urls":{"type":"array","items":{"type":"string"}},"source_page":{"type":"integer","minimum":0,"maximum":9007199254740991},"position_in_page":{"type":"integer","minimum":1,"maximum":9007199254740991},"captured_at":{"type":"integer","minimum":0,"maximum":9007199254740991}}}},"next_cursor":{"type":"integer","minimum":0,"maximum":500,"description":"Consumed unique-record offset. Reuse unchanged cursor if no new saved items; never null."},"done":{"type":"boolean","description":"Terminal job AND cursor exhausted; inspect status for success/failure."},"has_more":{"type":"boolean"},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"total_unique":{"type":"integer","minimum":0,"maximum":500},"snapshot_pages":{"type":"integer","minimum":0,"maximum":10},"job":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}}}}}},"400":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"401":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"403":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"404":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"409":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"413":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"415":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"429":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"503":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}}}},"/v1/alibaba/collections/{id}/export":{"get":{"operationId":"alibaba_collection_export","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"format","schema":{"type":"string","enum":["json","csv"],"default":"json"}}],"responses":{"200":{"description":"Authenticated snapshot export from saved data only. CSV product IDs use an apostrophe prefix to preserve spreadsheet precision.","content":{"application/json":{"schema":{"type":"object","properties":{"job":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}},"items":{"type":"array","items":{"type":"object","required":["product_id","source_page","position_in_page","captured_at"],"properties":{"product_id":{"type":"string"},"title":{"type":["string","null"]},"price":{"type":["string","null"],"description":"Vendor display string; not a normalized numeric price."},"permalink":{"type":["string","null"]},"main_image":{"type":["string","null"]},"image_urls":{"type":"array","items":{"type":"string"}},"source_page":{"type":"integer","minimum":0,"maximum":9007199254740991},"position_in_page":{"type":"integer","minimum":1,"maximum":9007199254740991},"captured_at":{"type":"integer","minimum":0,"maximum":9007199254740991}}}},"snapshot_pages":{"type":"integer","minimum":0,"maximum":10},"partial":{"type":"boolean"},"exported_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}},"text/csv":{"schema":{"type":"string"}}}},"400":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"401":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"403":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"404":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"409":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"413":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"415":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"429":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"503":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}}}},"/v1/alibaba/collections/{id}/cancel":{"post":{"operationId":"alibaba_collection_cancel","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Cancelled job; an in-flight read cannot be retracted","content":{"application/json":{"schema":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}}}},"400":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"401":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"403":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"404":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"409":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"413":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"415":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"429":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"503":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}}}},"/v1/alibaba/collections/{id}/resume":{"post":{"operationId":"alibaba_collection_resume","security":[{"ApiKey":[]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"required":[],"additionalProperties":false}}}},"responses":{"200":{"description":"Resume paused access only after revalidation; original key and connection required","content":{"application/json":{"schema":{"type":"object","required":["id","mode","query","page_size","max_pages","max_records","status","counters","next_page","next_attempt_at","error","completion_reason","created_at","updated_at","deadline_at","retention_until"],"properties":{"id":{"type":"string","pattern":"^col_[A-Za-z0-9_-]+$"},"mode":{"type":"string","enum":["search","check"]},"query":{"type":"object"},"page_size":{"type":"integer","minimum":1,"maximum":50},"max_pages":{"type":"integer","minimum":1,"maximum":10},"max_records":{"type":"integer","minimum":1,"maximum":500},"status":{"type":"string","enum":["queued","running","retry_wait","paused_access","succeeded","failed","cancelled"]},"counters":{"type":"object","required":["pages_completed","records_saved","attempt_slots_reserved"],"properties":{"pages_completed":{"type":"integer","minimum":0,"maximum":10},"records_saved":{"type":"integer","minimum":0,"maximum":500,"description":"Saved row occurrences, not unique products."},"attempt_slots_reserved":{"type":"integer","minimum":0,"maximum":90,"description":"Conservative transport-attempt reservation, not measured usage."}}},"next_page":{"type":["integer","null"]},"next_attempt_at":{"type":["integer","null"]},"error":{"anyOf":[{"type":"null"},{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"}}}]},"completion_reason":{"type":["string","null"]},"created_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"deadline_at":{"type":"integer","minimum":0,"maximum":9007199254740991},"retention_until":{"type":"integer","minimum":0,"maximum":9007199254740991},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}}}}}},"400":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"401":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"403":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"404":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"409":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"413":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"415":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"429":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}},"503":{"description":"Structured error; no credentials.","content":{"application/json":{"schema":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}}}},"/v1/alibaba/operations/connection.get":{"post":{"operationId":"alibaba_connection_get","summary":"Read this user's Alibaba connection and grant availability without returning credentials.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{},"required":[],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"connection":{"type":["object","null"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/connection.verify":{"post":{"operationId":"alibaba_connection_verify","summary":"Compare the saved signing app inside the backend. Optionally perform one bounded catalog read and record only that API's observed access; no Alibaba permission is requested or changed.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"expected_app_key":{"type":"string","minLength":1,"maxLength":32,"pattern":"^[0-9]+$","default":"502504"},"probe":{"type":"string","enum":["products.remote-list","photos.groups","photos.list","videos.query","buyer.products.search","buyer.products.check"]},"group_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[0-9]+$"},"buyer_keyword":{"type":"string","minLength":1,"maxLength":200,"pattern":"\\S"},"buyer_pool":{"type":"string","minLength":1,"maxLength":64,"enum":["localregular","crossborder","mxlocal","in_accessory","vi_dropshipping","eu_local_fast","eu_local","US_GGS_48H","US_CGS_Normal","US_GGS_Hotselling","US_GGS_Seasonal","US_GGS_POD","US_GGS_Branded","US_GGS_Trendy","US_GGS_CBT","MX_GGS_48H","MX_GGS_Hotselling","MX_GGS_Seasonal","US&MX_GGS_CBT","IN_GGS_Normal","VN_GGS_Normal","EU_GGS_Normal","EU_GGS_48H","EU_CGS_Local","EU_TOTAL","US&EU_CGS_Local","TOP_DEALS","VERIFIED_WAREHOUSE","US_CGS_Local","EU_CGS_Local48h","US_CGS_Local48h","US_CGS_LocalVerifiedWH"]},"buyer_ship_to_country":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$"}},"required":[],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"app_matches":{"type":"boolean"},"connection_id":{"type":"string"},"authorization_revision":{"type":"integer"},"verified_api_path":{"type":["string","null"]},"evidence_expires_at":{"type":["integer","null"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/listings.list":{"post":{"operationId":"alibaba_listings_list","summary":"Page through this user's locally tracked Alibaba listings; this is not a complete Alibaba store inventory.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":50},"offset":{"type":"integer","minimum":0,"maximum":10000,"default":0}},"required":[],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"next_offset":{"type":["integer","null"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/listing.get":{"post":{"operationId":"alibaba_listing_get","summary":"Read one owned local Alibaba listing without refreshing or submitting it.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["listing_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/product.get":{"post":{"operationId":"alibaba_product_get","summary":"Retrieve the live product behind an owned local listing.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/product/get/v2"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["listing_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"product_id":{"type":"string"},"title":{"type":["string","null"]},"attributes":{"type":"array"}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/product.status":{"post":{"operationId":"alibaba_product_status","summary":"Read Alibaba review status for an owned product.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/product/status/get/v2"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["listing_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"enum":["online","failed","draft","pending_review"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/product.score":{"post":{"operationId":"alibaba_product_score","summary":"Read Alibaba's quality score for an owned product; this is not buyer demand.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/icbu/product/score/get"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["listing_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"score":{}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/products.remote-list":{"post":{"operationId":"alibaba_products_remote-list","summary":"Page through the connected seller's remote products. This does not import products or authorize edits to untracked products.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/product/list"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"current_page":{"type":"integer","minimum":1,"maximum":10000,"default":1},"page_size":{"type":"integer","minimum":1,"maximum":30,"default":20},"subject":{"type":"string","minLength":1,"maxLength":128},"product_id":{"type":"integer","minimum":1,"maximum":9007199254740991},"category_id":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":[],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"current_page":{"type":"integer"},"page_size":{"type":"integer"},"total":{"type":["integer","null"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/photos.groups":{"post":{"operationId":"alibaba_photos_groups","summary":"Read Photo Bank groups under an optional parent for the connected seller.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/icbu/product/photobank/group/list"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"parent_id":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":[],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/photos.list":{"post":{"operationId":"alibaba_photos_list","summary":"Page through one group in the connected seller's Photo Bank. Remote images do not become owned local assets.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/icbu/product/photobank/list"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"group_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[0-9]+$"},"current_page":{"type":"integer","minimum":1,"maximum":10000,"default":1},"page_size":{"type":"integer","minimum":1,"maximum":50,"default":20}},"required":["group_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"current_page":{"type":"integer"},"page_size":{"type":"integer"},"total":{"type":["integer","null"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/videos.query":{"post":{"operationId":"alibaba_videos_query","summary":"Page through the connected seller's video assets, optionally filtering by video ID. This is seller media, not buyer demand.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/video/query"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"current_page":{"type":"integer","minimum":1,"maximum":10000,"default":1},"page_size":{"type":"integer","minimum":1,"maximum":50,"default":20},"video_id":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":[],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"current_page":{"type":"integer"},"page_size":{"type":"integer"},"total":{"type":["integer","null"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/buyer.products.search":{"post":{"operationId":"alibaba_buyer_products_search","summary":"Search the buyer product catalog by keyword and optional shipping filters. Provider result order is undocumented; no sales ranking or sales volumes are supplied. Pages start at 1.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/eco/buyer/product/search"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":200,"pattern":"\\S"},"size":{"type":"integer","minimum":1,"maximum":50,"default":20},"index":{"type":"integer","minimum":1,"maximum":10000,"default":1},"product_type":{"type":"string","minLength":1,"maxLength":64,"enum":["US_CGS_48H","US_TOTAL_48H","US_GGS_POD","US_GGS_Branded","US_GGS_Trendy","MX_GGS_48H","US&MX_GGS_CBT","IN_GGS_Normal","VN_GGS_Normal","crossborder","alibaba_picks"]},"ship_to_country":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$"},"ship_from":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Z]{2}$","enum":["US","CN","IN","DE","ES","IT","VN","MX"]},"language":{"type":"string","minLength":1,"maxLength":16,"pattern":"^[a-z]{2,3}(?:-[A-Za-z]{2,4})?$"},"currency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"}},"required":["keyword"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object"}},"index":{"type":"integer","minimum":1},"size":{"type":"integer","maximum":50},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/buyer.products.check":{"post":{"operationId":"alibaba_buyer_products_check","summary":"Read IDs from a provider-curated product pool, including US/Mexico hot-selling pools. Order is undocumented; this is not a ranked sales table. No keyword/category filter. Pages start at 0.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/eco/buyer/product/check"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"product_type":{"type":"string","minLength":1,"maxLength":64,"enum":["localregular","crossborder","mxlocal","in_accessory","vi_dropshipping","eu_local_fast","eu_local","US_GGS_48H","US_CGS_Normal","US_GGS_Hotselling","US_GGS_Seasonal","US_GGS_POD","US_GGS_Branded","US_GGS_Trendy","US_GGS_CBT","MX_GGS_48H","MX_GGS_Hotselling","MX_GGS_Seasonal","US&MX_GGS_CBT","IN_GGS_Normal","VN_GGS_Normal","EU_GGS_Normal","EU_GGS_48H","EU_CGS_Local","EU_TOTAL","US&EU_CGS_Local","TOP_DEALS","VERIFIED_WAREHOUSE","US_CGS_Local","EU_CGS_Local48h","US_CGS_Local48h","US_CGS_LocalVerifiedWH"]},"size":{"type":"integer","minimum":1,"maximum":300,"default":20},"index":{"type":"integer","minimum":0,"maximum":10000,"default":0}},"required":["product_type"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"product_ids":{"type":"array","items":{"type":"string"}},"index":{"type":"integer","minimum":0},"size":{"type":"integer","maximum":300},"order_semantics":{"const":"provider_order_undocumented"},"sales_ranking_provided":{"const":false}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/category.predict":{"post":{"operationId":"alibaba_category_predict","summary":"Predict a product category from a title and optional description.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/category/predict/v2"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"title":{"type":"string","minLength":3,"maxLength":128},"description":{"type":"string","minLength":0,"maxLength":20000}},"required":["title"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"category":{"type":["object","null"]}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/category.attributes":{"post":{"operationId":"alibaba_category_attributes","summary":"Read accepted and required attributes for a leaf category.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/category/attribute/get/v2"],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"category_id":{"type":"integer","minimum":1,"maximum":9007199254740991}},"required":["category_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"category_id":{"type":"integer"},"attributes":{"type":"array"},"sale_attributes":{"type":"array"}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/listing.validate":{"post":{"operationId":"alibaba_listing_validate","summary":"Validate input and image ownership locally; no upstream publishing or media upload.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":128},"description_html":{"type":"string","minLength":1,"maxLength":20000},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"minItems":0,"maxItems":20},"category":{"type":"string","minLength":1,"maxLength":200},"category_id":{"type":"integer","minimum":1,"maximum":9007199254740991},"brand_name":{"type":"string","minLength":1,"maxLength":70},"model_number":{"type":"string","minLength":1,"maxLength":70},"place_of_origin":{"type":"string","minLength":1,"maxLength":70},"attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":70},"value":{"type":"string","minLength":1,"maxLength":70}},"required":["name","value"],"additionalProperties":false},"minItems":0,"maxItems":100},"price_tiers":{"type":"array","items":{"type":"object","properties":{"min_qty":{"type":"integer","minimum":1,"maximum":9007199254740991},"price":{"type":"number","minimum":0.01,"maximum":1000000000}},"required":["min_qty","price"],"additionalProperties":false},"minItems":1,"maxItems":20},"price_range":{"type":"object","properties":{"min":{"type":"number","minimum":0.01,"maximum":1000000000},"max":{"type":"number","minimum":0.01,"maximum":1000000000}},"required":["min","max"],"additionalProperties":false},"currency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},"unit":{"type":"string","minLength":1,"maxLength":30},"ai_keywords":{"type":"boolean","enum":[false]}},"required":["title","description_html","category_id"],"additionalProperties":false},"images":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"minItems":1,"maxItems":6,"uniqueItems":true}},"required":["listing","images"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"valid":{"type":"boolean"},"errors":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/product.create":{"post":{"operationId":"alibaba_product_create","summary":"Preview, then submit an approved product for Alibaba review using owned assets.","description":"Applying uploads images to the seller's Photo Bank and submits the product for Alibaba review. It can subsequently become live after review.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/product/listing/v2","/alibaba/icbu/category/attribute/get/v2","/alibaba/icbu/photobank/upload"],"x-write":true,"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"},"description":"Required for apply; reuse the same key after timeout. Preview requires no key."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":128},"description_html":{"type":"string","minLength":1,"maxLength":20000},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"minItems":0,"maxItems":20},"category":{"type":"string","minLength":1,"maxLength":200},"category_id":{"type":"integer","minimum":1,"maximum":9007199254740991},"brand_name":{"type":"string","minLength":1,"maxLength":70},"model_number":{"type":"string","minLength":1,"maxLength":70},"place_of_origin":{"type":"string","minLength":1,"maxLength":70},"attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":70},"value":{"type":"string","minLength":1,"maxLength":70}},"required":["name","value"],"additionalProperties":false},"minItems":0,"maxItems":100},"price_tiers":{"type":"array","items":{"type":"object","properties":{"min_qty":{"type":"integer","minimum":1,"maximum":9007199254740991},"price":{"type":"number","minimum":0.01,"maximum":1000000000}},"required":["min_qty","price"],"additionalProperties":false},"minItems":1,"maxItems":20},"price_range":{"type":"object","properties":{"min":{"type":"number","minimum":0.01,"maximum":1000000000},"max":{"type":"number","minimum":0.01,"maximum":1000000000}},"required":["min","max"],"additionalProperties":false},"currency":{"type":"string","minLength":3,"maxLength":3,"pattern":"^[A-Z]{3}$"},"unit":{"type":"string","minLength":1,"maxLength":30},"ai_keywords":{"type":"boolean","enum":[false]}},"required":["title","description_html","category_id"],"additionalProperties":false},"images":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"minItems":1,"maxItems":6,"uniqueItems":true}},"required":["listing","images"],"additionalProperties":false},"dry_run":{"type":"boolean","default":true},"approved":{"type":"boolean"},"preview_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"enum":["preview","running","succeeded","failed","uncertain"]},"request_id":{"type":"string"},"result":{"type":"object","properties":{},"additionalProperties":true}}}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/product.edit":{"post":{"operationId":"alibaba_product_edit","summary":"Preview before/after fields, then apply an approved edit to an owned product.","description":"Applying an edit or undo can take a live Alibaba listing offline pending Alibaba reapproval. Review the preview and obtain the user's approval before applying.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/product/get/v2","/alibaba/icbu/product/update/v2"],"x-write":true,"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"},"description":"Required for apply; reuse the same key after timeout. Preview requires no key."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"changes":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":128},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":128},"minItems":0,"maxItems":20},"description_html":{"type":"string","minLength":1,"maxLength":20000},"attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":70},"value":{"type":"string","minLength":1,"maxLength":70}},"required":["name","value"],"additionalProperties":false},"minItems":0,"maxItems":100},"remove_attributes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":70},"minItems":0,"maxItems":100},"weight":{"type":"string","minLength":1,"maxLength":50},"tiered_lead_time":{"type":"array","items":{"type":"object","properties":{"quantity":{"type":"integer","minimum":1,"maximum":9007199254740991},"lead_time":{"type":"integer","minimum":1,"maximum":3650}},"required":["quantity","lead_time"],"additionalProperties":false},"minItems":0,"maxItems":20},"price_tiers":{"type":"array","items":{"type":"object","properties":{"min_qty":{"type":"integer","minimum":1,"maximum":9007199254740991},"price":{"type":"number","minimum":0.01,"maximum":1000000000}},"required":["min_qty","price"],"additionalProperties":false},"minItems":1,"maxItems":20}},"required":[],"additionalProperties":false,"minProperties":1}},"required":["listing_id","changes"],"additionalProperties":false},"dry_run":{"type":"boolean","default":true},"approved":{"type":"boolean"},"preview_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"enum":["preview","running","succeeded","failed","uncertain"]},"request_id":{"type":"string"},"result":{"type":"object","properties":{},"additionalProperties":true}}}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/product.edits":{"post":{"operationId":"alibaba_product_edits","summary":"Read the edit history of one owned listing.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["listing_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array"}},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/product.undo":{"post":{"operationId":"alibaba_product_undo","summary":"Preview and undo the latest applied edit only if the live values still match it.","description":"Applying an edit or undo can take a live Alibaba listing offline pending Alibaba reapproval. Review the preview and obtain the user's approval before applying.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/product/get/v2","/alibaba/icbu/product/update/v2"],"x-write":true,"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"},"description":"Required for apply; reuse the same key after timeout. Preview requires no key."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"listing_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"},"edit_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["listing_id","edit_id"],"additionalProperties":false},"dry_run":{"type":"boolean","default":true},"approved":{"type":"boolean"},"preview_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"enum":["preview","running","succeeded","failed","uncertain"]},"request_id":{"type":"string"},"result":{"type":"object","properties":{},"additionalProperties":true}}}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/photo.upload":{"post":{"operationId":"alibaba_photo_upload","summary":"Preview and copy one owned image asset to this seller's Photo Bank; no arbitrary URLs or file paths.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":["/alibaba/icbu/photobank/upload"],"x-write":true,"parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"},"description":"Required for apply; reuse the same key after timeout. Preview requires no key."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"asset_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["asset_id"],"additionalProperties":false},"dry_run":{"type":"boolean","default":true},"approved":{"type":"boolean"},"preview_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"enum":["preview","running","succeeded","failed","uncertain"]},"request_id":{"type":"string"},"result":{"type":"object","properties":{"asset_id":{"type":"string"},"photobank_url":{"type":"string"}},"additionalProperties":true}}}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/request.get":{"post":{"operationId":"alibaba_request_get","summary":"Read a scoped agent write receipt. Running or uncertain receipts must not be replayed with a new key.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"request_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["request_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations/request.reconcile":{"post":{"operationId":"alibaba_request_reconcile","summary":"Read available evidence for an uncertain write without retrying it or clearing its lock.","description":"All account data is scoped to the authenticated API-key owner.","security":[{"ApiKey":[]}],"x-required-alibaba-grants":[],"x-write":false,"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"request_id":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["request_id"],"additionalProperties":false}},"required":["input"],"additionalProperties":false}}}},"responses":{"200":{"description":"Read result, dry-run preview, or durable write receipt. Inspect status; uncertain is not success.","content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":true}}}},"400":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"415":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Structured error; no upstream secrets.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/alibaba/operations":{"get":{"operationId":"alibaba_discover","summary":"Account-specific operation and grant availability","security":[{"ApiKey":[]}],"responses":{"200":{"description":"Operation registry","content":{"application/json":{"schema":{"type":"object","required":["operations"],"properties":{"operations":{"type":"array","items":{"type":"object"}}}}}}}}}},"/v1/assets":{"post":{"operationId":"upload_owned_image","summary":"Upload an image to owned asset storage; does not publish to Alibaba.","security":[{"ApiKey":[]}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary"},"name":{"type":"string"}}}}}},"responses":{"200":{"description":"Owned image asset","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}}}}}}}}}},"components":{"securitySchemes":{"ApiKey":{"type":"http","scheme":"bearer","bearerFormat":"sk- API key"}},"schemas":{"Error":{"type":"object","required":["code","error"],"properties":{"code":{"type":"string"},"error":{"type":"string"}}}}}}