{
  "info": {
    "_postman_id": "4973ea1d-bde5-403d-9d59-8afbdd57bade",
    "name": "Mindee OCR API",
    "description": "Run full-page optical character recognition to obtain raw text and bounding polygons for any document.\n\nContact Support:\n Name: Mindee",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:12:46.000Z",
    "updatedAt": "2026-06-05T15:12:46.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-4973ea1d-bde5-403d-9d59-8afbdd57bade"
  },
  "item": [
    {
      "name": "v2",
      "item": [
        {
          "name": "products",
          "item": [
            {
              "name": "ocr",
              "item": [
                {
                  "name": "enqueue",
                  "item": [
                    {
                      "name": "Send A File For An Ocr Utility Inference",
                      "id": "d83f4673-c91e-46ab-a3c1-b5ff7dbb5548",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "apikey",
                          "apikey": [
                            {
                              "key": "key",
                              "value": "Authorization",
                              "type": "string"
                            },
                            {
                              "key": "value",
                              "value": "{{apiKey}}",
                              "type": "string"
                            },
                            {
                              "key": "in",
                              "value": "header",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/v2/products/ocr/enqueue",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "products",
                            "ocr",
                            "enqueue"
                          ]
                        },
                        "description": "Send a file to the asynchronous processing queue for an ocr utility inference.\n\nResults can be retrieved in two ways:\n* Loop on the `polling_url` endpoint in the response until the status\n  is `Processed` or `Failed` (polling).\n* Use a webhook to be notified when the inference is finished.\n  Webhooks can be configured on the platform on a per-model basis.\n\nInferences taking longer than 590 seconds will time out."
                      },
                      "response": [
                        {
                          "id": "855f7623-a172-43f4-8925-a2bbbad8fac6",
                          "name": "Successful Response",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/products/ocr/enqueue",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "ocr",
                                "enqueue"
                              ]
                            }
                          },
                          "status": "Accepted",
                          "code": 202,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"job\": {\n    \"id\": \"<string>\",\n    \"model_id\": \"<string>\",\n    \"filename\": \"<string>\",\n    \"created_at\": \"<dateTime>\",\n    \"status\": \"Processed\",\n    \"polling_url\": \"<uri>\",\n    \"alias\": \"<string>\",\n    \"completed_at\": \"<dateTime>\",\n    \"result_url\": \"<uri>\",\n    \"error\": {\n      \"status\": \"<integer>\",\n      \"detail\": \"<string>\",\n      \"title\": \"<string>\",\n      \"code\": \"<string>\"\n    }\n  }\n}",
                          "createdAt": "2026-06-05T15:12:47.000Z",
                          "updatedAt": "2026-06-05T15:12:47.000Z",
                          "uid": "35240-855f7623-a172-43f4-8925-a2bbbad8fac6"
                        },
                        {
                          "id": "8621bdf2-76e4-4dec-9222-8c9fd407a615",
                          "name": "Unprocessable Content",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/products/ocr/enqueue",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "ocr",
                                "enqueue"
                              ]
                            }
                          },
                          "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                          "code": 422,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"detail\": \"<string>\",\n  \"title\": \"<string>\",\n  \"code\": \"<string>\"\n}",
                          "createdAt": "2026-06-05T15:12:47.000Z",
                          "updatedAt": "2026-06-05T15:12:47.000Z",
                          "uid": "35240-8621bdf2-76e4-4dec-9222-8c9fd407a615"
                        },
                        {
                          "id": "468d2059-859c-4b5a-a40d-ea4843847bbd",
                          "name": "Too Many Requests",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: apikey",
                                "key": "Authorization",
                                "value": "<API Key>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/products/ocr/enqueue",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "ocr",
                                "enqueue"
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"status\": \"<integer>\",\n  \"detail\": \"<string>\",\n  \"title\": \"<string>\",\n  \"code\": \"<string>\"\n}",
                          "createdAt": "2026-06-05T15:12:47.000Z",
                          "updatedAt": "2026-06-05T15:12:47.000Z",
                          "uid": "35240-468d2059-859c-4b5a-a40d-ea4843847bbd"
                        }
                      ],
                      "createdAt": "2026-06-05T15:12:47.000Z",
                      "updatedAt": "2026-06-05T15:12:47.000Z",
                      "uid": "35240-d83f4673-c91e-46ab-a3c1-b5ff7dbb5548"
                    }
                  ],
                  "id": "8383f81c-ced9-4f82-9bcf-9576d3fd944d",
                  "createdAt": "2026-06-05T15:12:46.000Z",
                  "updatedAt": "2026-06-05T15:12:46.000Z",
                  "uid": "35240-8383f81c-ced9-4f82-9bcf-9576d3fd944d"
                },
                {
                  "name": "results",
                  "item": [
                    {
                      "name": "{inference_id}",
                      "item": [
                        {
                          "name": "Get The Result Of A Completed Ocr Product Inference",
                          "id": "fc3c0b05-58af-4d7a-ad60-3341d5bcc8ef",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "apikey",
                              "apikey": [
                                {
                                  "key": "key",
                                  "value": "Authorization",
                                  "type": "string"
                                },
                                {
                                  "key": "value",
                                  "value": "{{apiKey}}",
                                  "type": "string"
                                },
                                {
                                  "key": "in",
                                  "value": "header",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) Model ID to use for the inference.",
                                  "key": "model_id",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "key": "file",
                                  "type": "file",
                                  "value": null
                                },
                                {
                                  "key": "url",
                                  "value": "<uri>",
                                  "type": "text"
                                },
                                {
                                  "key": "file_base64",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Webhook IDs to call after all processing is finished. If empty, no webhooks will be used. Can be a list or comma-separated string.",
                                  "key": "webhook_ids",
                                  "value": "<string>,<string>",
                                  "type": "text"
                                },
                                {
                                  "key": "filename",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "key": "alias",
                                  "value": "<string>",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2/products/ocr/results/:inference_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "ocr",
                                "results",
                                ":inference_id"
                              ],
                              "variable": [
                                {
                                  "id": "4aabedc2-5ddc-4dc0-b704-780a31aa8e62",
                                  "key": "inference_id",
                                  "value": "<string>",
                                  "description": "(Required) UUID of the inference to retrieve"
                                }
                              ]
                            },
                            "description": "Get the result of an ocr utility inference that was previously enqueued.\n\nThe inference will only be available after it has finished processing.\n\nIf you are using webhooks there is no need to call this route.<br/>\nHowever, the JSON payload described here is what will be sent to each specified webhook's URL.\n\nIf you activated the \"Delete extracted data when fetched\" option for the model,\nthe inference will be deleted after this route completes.<br>\nAny further requests to the same inference ID will return a 404."
                          },
                          "response": [
                            {
                              "id": "89b03538-7822-4441-a8ff-4ab253e2a482",
                              "name": "Successful Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "multipart/form-data"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "Authorization",
                                    "value": "<API Key>"
                                  }
                                ],
                                "body": {
                                  "mode": "formdata",
                                  "formdata": [
                                    {
                                      "description": "(Required) Model ID to use for the inference.",
                                      "key": "model_id",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "file",
                                      "type": "file"
                                    },
                                    {
                                      "key": "url",
                                      "value": "<uri>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "file_base64",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "description": "Webhook IDs to call after all processing is finished. If empty, no webhooks will be used. Can be a list or comma-separated string.",
                                      "key": "webhook_ids",
                                      "value": "<string>,<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "filename",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "alias",
                                      "value": "<string>",
                                      "type": "text"
                                    }
                                  ]
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/v2/products/ocr/results/:inference_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "products",
                                    "ocr",
                                    "results",
                                    ":inference_id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "inference_id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"inference\": {\n    \"id\": \"<string>\",\n    \"job\": {\n      \"id\": \"<string>\"\n    },\n    \"model\": {\n      \"id\": \"<string>\"\n    },\n    \"file\": {\n      \"name\": \"<string>\",\n      \"page_count\": \"<integer>\",\n      \"mime_type\": \"<string>\",\n      \"alias\": \"<string>\"\n    },\n    \"result\": {\n      \"pages\": [\n        {\n          \"words\": [\n            {\n              \"content\": \"<string>\",\n              \"polygon\": [\n                \"<array>\",\n                \"<array>\",\n                \"<array>\"\n              ]\n            },\n            {\n              \"content\": \"<string>\",\n              \"polygon\": [\n                \"<array>\",\n                \"<array>\",\n                \"<array>\"\n              ]\n            }\n          ],\n          \"content\": \"<string>\"\n        },\n        {\n          \"words\": [\n            {\n              \"content\": \"<string>\",\n              \"polygon\": [\n                \"<array>\",\n                \"<array>\",\n                \"<array>\"\n              ]\n            },\n            {\n              \"content\": \"<string>\",\n              \"polygon\": [\n                \"<array>\",\n                \"<array>\",\n                \"<array>\"\n              ]\n            }\n          ],\n          \"content\": \"<string>\"\n        }\n      ]\n    }\n  }\n}",
                              "createdAt": "2026-06-05T15:12:47.000Z",
                              "updatedAt": "2026-06-05T15:12:47.000Z",
                              "uid": "35240-89b03538-7822-4441-a8ff-4ab253e2a482"
                            },
                            {
                              "id": "4a20f551-b9fa-4d01-a006-0d2517106476",
                              "name": "Not Found",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "multipart/form-data"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "Authorization",
                                    "value": "<API Key>"
                                  }
                                ],
                                "body": {
                                  "mode": "formdata",
                                  "formdata": [
                                    {
                                      "description": "(Required) Model ID to use for the inference.",
                                      "key": "model_id",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "file",
                                      "type": "file"
                                    },
                                    {
                                      "key": "url",
                                      "value": "<uri>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "file_base64",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "description": "Webhook IDs to call after all processing is finished. If empty, no webhooks will be used. Can be a list or comma-separated string.",
                                      "key": "webhook_ids",
                                      "value": "<string>,<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "filename",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "alias",
                                      "value": "<string>",
                                      "type": "text"
                                    }
                                  ]
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/v2/products/ocr/results/:inference_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "products",
                                    "ocr",
                                    "results",
                                    ":inference_id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "inference_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"status\": \"<integer>\",\n  \"detail\": \"<string>\",\n  \"title\": \"<string>\",\n  \"code\": \"<string>\"\n}",
                              "createdAt": "2026-06-05T15:12:47.000Z",
                              "updatedAt": "2026-06-05T15:12:47.000Z",
                              "uid": "35240-4a20f551-b9fa-4d01-a006-0d2517106476"
                            },
                            {
                              "id": "42dd65b9-48ec-49db-b32d-b41f37cf5170",
                              "name": "Unprocessable Content",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "multipart/form-data"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "Authorization",
                                    "value": "<API Key>"
                                  }
                                ],
                                "body": {
                                  "mode": "formdata",
                                  "formdata": [
                                    {
                                      "description": "(Required) Model ID to use for the inference.",
                                      "key": "model_id",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "file",
                                      "type": "file"
                                    },
                                    {
                                      "key": "url",
                                      "value": "<uri>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "file_base64",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "description": "Webhook IDs to call after all processing is finished. If empty, no webhooks will be used. Can be a list or comma-separated string.",
                                      "key": "webhook_ids",
                                      "value": "<string>,<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "filename",
                                      "value": "<string>",
                                      "type": "text"
                                    },
                                    {
                                      "key": "alias",
                                      "value": "<string>",
                                      "type": "text"
                                    }
                                  ]
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/v2/products/ocr/results/:inference_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "products",
                                    "ocr",
                                    "results",
                                    ":inference_id"
                                  ],
                                  "variable": [
                                    {
                                      "key": "inference_id"
                                    }
                                  ]
                                }
                              },
                              "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                              "code": 422,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"status\": \"<integer>\",\n  \"detail\": \"<string>\",\n  \"title\": \"<string>\",\n  \"code\": \"<string>\"\n}",
                              "createdAt": "2026-06-05T15:12:47.000Z",
                              "updatedAt": "2026-06-05T15:12:47.000Z",
                              "uid": "35240-42dd65b9-48ec-49db-b32d-b41f37cf5170"
                            }
                          ],
                          "createdAt": "2026-06-05T15:12:47.000Z",
                          "updatedAt": "2026-06-05T15:12:47.000Z",
                          "uid": "35240-fc3c0b05-58af-4d7a-ad60-3341d5bcc8ef"
                        }
                      ],
                      "id": "f02ace55-0359-4469-a83f-fc5fa9800e25",
                      "createdAt": "2026-06-05T15:12:46.000Z",
                      "updatedAt": "2026-06-05T15:12:46.000Z",
                      "uid": "35240-f02ace55-0359-4469-a83f-fc5fa9800e25"
                    }
                  ],
                  "id": "8ea03334-c499-487b-be33-70173c12668b",
                  "createdAt": "2026-06-05T15:12:46.000Z",
                  "updatedAt": "2026-06-05T15:12:46.000Z",
                  "uid": "35240-8ea03334-c499-487b-be33-70173c12668b"
                }
              ],
              "id": "dd30f340-734f-474c-ab86-2ade35b4c8d0",
              "createdAt": "2026-06-05T15:12:46.000Z",
              "updatedAt": "2026-06-05T15:12:46.000Z",
              "uid": "35240-dd30f340-734f-474c-ab86-2ade35b4c8d0"
            }
          ],
          "id": "238f0b28-5e53-492f-a285-dbbc7181b16d",
          "createdAt": "2026-06-05T15:12:46.000Z",
          "updatedAt": "2026-06-05T15:12:46.000Z",
          "uid": "35240-238f0b28-5e53-492f-a285-dbbc7181b16d"
        }
      ],
      "id": "c10062cf-0b47-41ee-b87d-ff5e601e33f1",
      "createdAt": "2026-06-05T15:12:46.000Z",
      "updatedAt": "2026-06-05T15:12:46.000Z",
      "uid": "35240-c10062cf-0b47-41ee-b87d-ff5e601e33f1"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api-v2.mindee.net"
    }
  ]
}