{"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:tencent-soe/init-oral-process":{"post":{"operationId":"cloud_tencent_soe_init_oral_process","summary":"Init Oral Process","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SessionId","RefText","WorkMode","EvalMode","ScoreCoeff"],"properties":{"X-TC-Region":{"type":"string","description":"Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley"},"SessionId":{"type":"string"},"RefText":{"type":"string"},"WorkMode":{"type":"integer"},"EvalMode":{"type":"integer"},"ScoreCoeff":{"type":"number"},"SoeAppId":{"type":"string"},"IsLongLifeSession":{"type":"integer"},"StorageMode":{"type":"integer"},"SentenceInfoEnabled":{"type":"integer"},"ServerType":{"type":"integer"},"IsAsync":{"type":"integer"},"TextMode":{"type":"integer"},"Keyword":{"type":"string"}}}}}},"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:tencent-soe/keyword-evaluate":{"post":{"operationId":"cloud_tencent_soe_keyword_evaluate","summary":"Keyword Evaluate","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SeqId","IsEnd","VoiceFileType","VoiceEncodeType","UserVoiceData","SessionId","Keywords"],"properties":{"X-TC-Region":{"type":"string","description":"Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley"},"SeqId":{"type":"integer"},"IsEnd":{"type":"integer"},"VoiceFileType":{"type":"integer"},"VoiceEncodeType":{"type":"integer"},"UserVoiceData":{"type":"string"},"SessionId":{"type":"string"},"Keywords":{"type":"array"},"SoeAppId":{"type":"string"},"IsQuery":{"type":"integer"}}}}}},"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:tencent-soe/transmit-oral-process":{"post":{"operationId":"cloud_tencent_soe_transmit_oral_process","summary":"Transmit Oral Process","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SeqId","IsEnd","VoiceFileType","VoiceEncodeType","UserVoiceData","SessionId"],"properties":{"X-TC-Region":{"type":"string","description":"Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley"},"SeqId":{"type":"integer"},"IsEnd":{"type":"integer"},"VoiceFileType":{"type":"integer"},"VoiceEncodeType":{"type":"integer"},"UserVoiceData":{"type":"string"},"SessionId":{"type":"string"},"SoeAppId":{"type":"string"},"IsLongLifeSession":{"type":"integer"},"IsQuery":{"type":"integer"}}}}}},"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:tencent-soe/transmit-oral-process-with-init":{"post":{"operationId":"cloud_tencent_soe_transmit_oral_process_with_init","summary":"Transmit Oral Process With Init","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["SeqId","IsEnd","VoiceFileType","VoiceEncodeType","UserVoiceData","SessionId","RefText","WorkMode","EvalMode","ScoreCoeff"],"properties":{"X-TC-Region":{"type":"string","description":"Region for regional products, for example ap-singapore, ap-guangzhou, na-siliconvalley"},"SeqId":{"type":"integer"},"IsEnd":{"type":"integer"},"VoiceFileType":{"type":"integer"},"VoiceEncodeType":{"type":"integer"},"UserVoiceData":{"type":"string"},"SessionId":{"type":"string"},"RefText":{"type":"string"},"WorkMode":{"type":"integer"},"EvalMode":{"type":"integer"},"ScoreCoeff":{"type":"number"},"SoeAppId":{"type":"string"},"SentenceInfoEnabled":{"type":"integer"},"ServerType":{"type":"integer"},"IsAsync":{"type":"integer"},"IsQuery":{"type":"integer"},"TextMode":{"type":"integer"},"Keyword":{"type":"string"},"COSBucketURL":{"type":"string"}}}}}},"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"}}}}}}}