{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-nls-filetrans/get-task-result":{"post":{"operationId":"cloud_aliyun_nls_filetrans_get_task_result","summary":"Queries the result of a file transcription task (international edition)","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["TaskId"],"properties":{"endpoint":{"type":"string","enum":["https://nls-filetrans.cn-beijing.aliyuncs.com","https://nls-filetrans.cn-shanghai.aliyuncs.com","https://nls-filetrans.cn-shenzhen.aliyuncs.com"],"default":"https://nls-filetrans.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://nls-filetrans.cn-beijing.aliyuncs.com"},"TaskId":{"type":"string","description":"The task ID"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-nls-filetrans/submit-task":{"post":{"operationId":"cloud_aliyun_nls_filetrans_submit_task","summary":"Submits a file transcription task (international edition)","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Task"],"properties":{"endpoint":{"type":"string","enum":["https://nls-filetrans.cn-beijing.aliyuncs.com","https://nls-filetrans.cn-shanghai.aliyuncs.com","https://nls-filetrans.cn-shenzhen.aliyuncs.com"],"default":"https://nls-filetrans.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://nls-filetrans.cn-beijing.aliyuncs.com"},"Task":{"type":"string","description":"The task information"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-nls-filetrans/version":{"post":{"operationId":"cloud_aliyun_nls_filetrans_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://nls-filetrans.cn-beijing.aliyuncs.com","https://nls-filetrans.cn-shanghai.aliyuncs.com","https://nls-filetrans.cn-shenzhen.aliyuncs.com"],"default":"https://nls-filetrans.cn-beijing.aliyuncs.com","description":"Regional endpoint, for example https://nls-filetrans.cn-beijing.aliyuncs.com"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}