{
  "info": {
    "_postman_id": "f79b64a6-e5eb-4d6d-8ccd-27579859207d",
    "name": "Mindee Classification API",
    "description": "Classify documents by type so they can be routed to the appropriate downstream extraction model.\n\nContact Support:\n Name: Mindee",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:12:34.000Z",
    "updatedAt": "2026-06-05T15:12:35.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-f79b64a6-e5eb-4d6d-8ccd-27579859207d"
  },
  "item": [
    {
      "name": "v2",
      "item": [
        {
          "name": "products",
          "item": [
            {
              "name": "classification",
              "item": [
                {
                  "name": "enqueue",
                  "item": [
                    {
                      "name": "Send A File For A Classification Utility Inference",
                      "id": "4cc1afc1-d611-4ac8-90a8-c723c9bf937e",
                      "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": "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/classification/enqueue",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2",
                            "products",
                            "classification",
                            "enqueue"
                          ]
                        },
                        "description": "Send a file to the asynchronous processing queue for a classification 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": "2937e26c-3a73-4175-804b-7ca902346537",
                          "name": "Successful Response",
                          "originalRequest": {
                            "method": "POST",
                            "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/classification/enqueue",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "classification",
                                "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:35.000Z",
                          "updatedAt": "2026-06-05T15:12:35.000Z",
                          "uid": "35240-2937e26c-3a73-4175-804b-7ca902346537"
                        },
                        {
                          "id": "0a356c0f-d493-45e2-a8ef-6f7d928289fe",
                          "name": "Unprocessable Content",
                          "originalRequest": {
                            "method": "POST",
                            "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/classification/enqueue",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "classification",
                                "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:35.000Z",
                          "updatedAt": "2026-06-05T15:12:35.000Z",
                          "uid": "35240-0a356c0f-d493-45e2-a8ef-6f7d928289fe"
                        },
                        {
                          "id": "e2e62d26-a1d1-4174-b7bf-712b4675687a",
                          "name": "Too Many Requests",
                          "originalRequest": {
                            "method": "POST",
                            "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/classification/enqueue",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "classification",
                                "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:35.000Z",
                          "updatedAt": "2026-06-05T15:12:35.000Z",
                          "uid": "35240-e2e62d26-a1d1-4174-b7bf-712b4675687a"
                        }
                      ],
                      "createdAt": "2026-06-05T15:12:35.000Z",
                      "updatedAt": "2026-06-05T15:12:35.000Z",
                      "uid": "35240-4cc1afc1-d611-4ac8-90a8-c723c9bf937e"
                    }
                  ],
                  "id": "b483b9bd-2920-48df-be09-a2596dfea4af",
                  "createdAt": "2026-06-05T15:12:35.000Z",
                  "updatedAt": "2026-06-05T15:12:35.000Z",
                  "uid": "35240-b483b9bd-2920-48df-be09-a2596dfea4af"
                },
                {
                  "name": "results",
                  "item": [
                    {
                      "name": "{inference_id}",
                      "item": [
                        {
                          "name": "Get The Result Of A Completed Classification Product Inference",
                          "id": "2aadbc6f-e3bb-45f8-bb77-a58c39b92deb",
                          "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": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/v2/products/classification/results/:inference_id",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2",
                                "products",
                                "classification",
                                "results",
                                ":inference_id"
                              ],
                              "variable": [
                                {
                                  "id": "e7253acd-e43f-4e6b-9096-ac6f54e98299",
                                  "key": "inference_id",
                                  "value": "<string>",
                                  "description": "(Required) UUID of the inference to retrieve"
                                }
                              ]
                            },
                            "description": "Get the result of a classification 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": "61eb19f8-377b-4877-931b-8d9006a1d3a3",
                              "name": "Successful Response",
                              "originalRequest": {
                                "method": "GET",
                                "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/classification/results/:inference_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "products",
                                    "classification",
                                    "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      \"classification\": {\n        \"document_type\": \"<string>\",\n        \"extraction_response\": {\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              \"fields\": {\n                \"in_a79\": {\n                  \"value\": \"<boolean>\",\n                  \"confidence\": \"High\"\n                }\n              },\n              \"raw_text\": {\n                \"pages\": [\n                  {\n                    \"content\": \"<string>\"\n                  },\n                  {\n                    \"content\": \"<string>\"\n                  }\n                ]\n              },\n              \"rag\": {\n                \"retrieved_document_id\": \"<string>\"\n              }\n            },\n            \"active_options\": {\n              \"raw_text\": \"<boolean>\",\n              \"polygon\": \"<boolean>\",\n              \"confidence\": \"<boolean>\",\n              \"rag\": \"<boolean>\",\n              \"multipage_context\": \"<boolean>\",\n              \"text_context\": \"<boolean>\",\n              \"data_schema\": {\n                \"replace\": \"<boolean>\"\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}",
                              "createdAt": "2026-06-05T15:12:35.000Z",
                              "updatedAt": "2026-06-05T15:12:35.000Z",
                              "uid": "35240-61eb19f8-377b-4877-931b-8d9006a1d3a3"
                            },
                            {
                              "id": "b16a273b-74c4-497a-8ad4-395ac39a692a",
                              "name": "Not Found",
                              "originalRequest": {
                                "method": "GET",
                                "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/classification/results/:inference_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "products",
                                    "classification",
                                    "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:35.000Z",
                              "updatedAt": "2026-06-05T15:12:35.000Z",
                              "uid": "35240-b16a273b-74c4-497a-8ad4-395ac39a692a"
                            },
                            {
                              "id": "2944ad99-46a2-4ad2-ad74-e62c17cad447",
                              "name": "Unprocessable Content",
                              "originalRequest": {
                                "method": "GET",
                                "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/classification/results/:inference_id",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "v2",
                                    "products",
                                    "classification",
                                    "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:35.000Z",
                              "updatedAt": "2026-06-05T15:12:35.000Z",
                              "uid": "35240-2944ad99-46a2-4ad2-ad74-e62c17cad447"
                            }
                          ],
                          "createdAt": "2026-06-05T15:12:35.000Z",
                          "updatedAt": "2026-06-05T15:12:35.000Z",
                          "uid": "35240-2aadbc6f-e3bb-45f8-bb77-a58c39b92deb"
                        }
                      ],
                      "id": "2b62e02d-becb-4767-ab97-4b7db30c3f7b",
                      "createdAt": "2026-06-05T15:12:35.000Z",
                      "updatedAt": "2026-06-05T15:12:35.000Z",
                      "uid": "35240-2b62e02d-becb-4767-ab97-4b7db30c3f7b"
                    }
                  ],
                  "id": "27a636f8-62c9-4478-a577-52b9969086b7",
                  "createdAt": "2026-06-05T15:12:35.000Z",
                  "updatedAt": "2026-06-05T15:12:35.000Z",
                  "uid": "35240-27a636f8-62c9-4478-a577-52b9969086b7"
                }
              ],
              "id": "f86a91fa-05ef-4a5f-9b0b-30f70e5ea085",
              "createdAt": "2026-06-05T15:12:35.000Z",
              "updatedAt": "2026-06-05T15:12:35.000Z",
              "uid": "35240-f86a91fa-05ef-4a5f-9b0b-30f70e5ea085"
            }
          ],
          "id": "ba2ac68b-7233-48eb-b304-cbcb4c70bab4",
          "createdAt": "2026-06-05T15:12:35.000Z",
          "updatedAt": "2026-06-05T15:12:35.000Z",
          "uid": "35240-ba2ac68b-7233-48eb-b304-cbcb4c70bab4"
        }
      ],
      "id": "c8aa939f-e2e0-4f8b-b5bc-edd0d980a840",
      "createdAt": "2026-06-05T15:12:35.000Z",
      "updatedAt": "2026-06-05T15:12:35.000Z",
      "uid": "35240-c8aa939f-e2e0-4f8b-b5bc-edd0d980a840"
    }
  ],
  "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"
    }
  ]
}