{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:microsoft-cognitiveservices-ocr/batch-read-file":{"post":{"operationId":"dev_tools_microsoft_cognitiveservices_ocr_batch_read_file","summary":"Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character…","description":"POST /read/core/asyncBatchAnalyze","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"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/dev-tools:microsoft-cognitiveservices-ocr/get-read-operation-result":{"get":{"operationId":"dev_tools_microsoft_cognitiveservices_ocr_get_read_operation_result","summary":"This interface is used for getting OCR results of Read operation. The URL to this interface should be…","description":"GET /read/operations/{operationId}","tags":["dev-tools"],"parameters":[{"name":"operationId","in":"query","required":true,"description":"Id of read operation returned in the response of the 'Batch Read File' interface.","schema":{"type":"string","description":"Id of read operation returned in the response of the 'Batch Read File' interface."}}],"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":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:microsoft-cognitiveservices-ocr/recognize-text":{"post":{"operationId":"dev_tools_microsoft_cognitiveservices_ocr_recognize_text","summary":"Recognize Text operation. When you use the Recognize Text interface, the response contains a field called…","description":"POST /recognizeText","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["mode","body"],"properties":{"mode":{"type":"string","enum":["Handwritten","Printed"],"description":"Type of text to recognize."},"body":{"type":"object","description":"JSON request body"}}}}}},"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/dev-tools:microsoft-cognitiveservices-ocr/get-text-operation-result":{"get":{"operationId":"dev_tools_microsoft_cognitiveservices_ocr_get_text_operation_result","summary":"This interface is used for getting text operation result. The URL to this interface should be retrieved from…","description":"GET /textOperations/{operationId}","tags":["dev-tools"],"parameters":[{"name":"operationId","in":"query","required":true,"description":"Id of the text operation returned in the response of the 'Recognize Text'","schema":{"type":"string","description":"Id of the text operation returned in the response of the 'Recognize Text'"}}],"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":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:microsoft-cognitiveservices-ocr/batch-read-file-in-stream":{"post":{"operationId":"dev_tools_microsoft_cognitiveservices_ocr_batch_read_file_in_stream","summary":"Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical…","description":"POST /read/core/asyncBatchAnalyze","tags":["dev-tools"],"parameters":[],"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/dev-tools:microsoft-cognitiveservices-ocr/recognize-text-in-stream":{"post":{"operationId":"dev_tools_microsoft_cognitiveservices_ocr_recognize_text_in_stream","summary":"Recognize Text operation. When you use the Recognize Text interface, the response contains a field called…","description":"POST /recognizeText","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","enum":["Handwritten","Printed"],"description":"Type of text to recognize."}}}}}},"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"}}}}}}}