{"info":{"_postman_id":"c5b58d18-8db0-45e5-8e73-c4967d53b124","name":"Metamaze API","description":"<html><head></head><body><h2 id=\"introduction\">Introduction</h2>\n<p>The Metamaze platform automates classifying and extracting information from different document types and e-mails. For more information, please visit the <a href=\"https://docs.app.metamaze.eu/\">user documentation</a> and specifically the <a href=\"https://docs.app.metamaze.eu/api-integration\">API integration tutorial</a>.</p>\n<h3 id=\"file-formats\">File formats</h3>\n<p>The following file formats are supported:</p>\n<ul>\n<li><p>JPEG</p>\n</li>\n<li><p>JPEG 2000</p>\n</li>\n<li><p>PNG</p>\n</li>\n<li><p>PDF</p>\n</li>\n<li><p>Microsoft Word</p>\n</li>\n<li><p>OpenOffice</p>\n</li>\n<li><p>plain text TXT</p>\n</li>\n<li><p>TIFF (incl. multipage)</p>\n</li>\n<li><p>RTF</p>\n</li>\n<li><p>EML</p>\n</li>\n<li><p>MSG</p>\n<h3 id=\"getting-started\">Getting started</h3>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>The following resources might be helpful to get started:\n\n</code></pre><ul>\n<li><p><a href=\"https://docs.app.metamaze.eu/project/project-settings/input/api-integration\">Metamaze API Integration tutorial</a> .</p>\n</li>\n<li><p><a href=\"https://github.com/metamaze/code-examples\">Code example</a> on the Metamaze Github page.</p>\n<h3 id=\"need-help\">Need help?</h3>\n</li>\n</ul>\n<p>If you still have questions after that, you can always ask help to the friendly people from Metamaze is something is unclear or if you want to suggest an improvement. Click <a href=\"https://docs.app.metamaze.eu/getting-support\">here</a> to see different ways of getting support.</p>\n<p>Contact Support:<br>Name: Metamaze<br>Email: <a href=\"https://mailto:support@metamaze.eu\">support@metamaze.eu</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18569278","collectionId":"c5b58d18-8db0-45e5-8e73-c4967d53b124","publishedId":"2s8YRnkr7k","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"1B35FF"},"publishDate":"2023-11-21T09:03:34.000Z"},"item":[{"name":"upload","item":[{"name":"Upload training documents to start labeling","id":"06d5ab41-1efb-42ab-b7c5-188b2d82d2f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": -60676729\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/organisations/<your-organisationId>/projects/<your-projectId>/upload","description":"<p>This API call be used to add a set of documents to Metamaze which then can be used to start annotating the document. The main purpose is to create a training set used to train the machine learning models.\nNotes:  </p>\n<ul>\n<li>if <code>files</code> is empty, the post request will fail with a 400 status code.</li>\n<li>if amount of files is larger than 20, the post request will fail with a 400 status code.</li>\n<li>if the amount of files per hour is above the organisation's limit, the post request will fail with a 429 status code. A 'Retry-After' header will be returned with the time in seconds until the next allowed upload. This header is only returned if the rate limit is exceeded. The rate limit is also returned in the response header 'X-RateLimit-Limit' and the remaining quota in 'X-RateLimit-Remaining'.</li>\n</ul>\n","urlObject":{"path":["organisations","<your-organisationId>","projects","<your-projectId>","upload"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[]}},"response":[{"id":"580256f7-214d-4a34-8bf6-6b68a7447819","name":"Upload successfully received","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": {}\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"uploadId\": \"<string>\",\n  \"success\": [\n    {\n      \"id\": \"<string>\",\n      \"fileName\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"fileName\": \"<string>\"\n    }\n  ],\n  \"errors\": [\n    {\n      \"fileName\": \"<string>\",\n      \"errorType\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"fileName\": \"<string>\",\n      \"errorType\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"},{"id":"dfff3589-43b0-40de-a2b5-6c62ec90b348","name":"Bad request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": {}\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""},{"id":"c3d28542-9d6c-4cc5-a367-74be7ede8faa","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": {}\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""},{"id":"ed2ee91d-6a6c-4a5f-9e59-b84ece4f1994","name":"Project not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": {}\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""},{"id":"e2598ad2-0694-4f5d-9809-b2d929828f0e","name":"Too many file uploads (per hour)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": {}\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""}],"_postman_id":"06d5ab41-1efb-42ab-b7c5-188b2d82d2f5"},{"name":"Move finished upload back to human validation","id":"f462f3f9-6a90-4466-a8ff-1141cdac6da2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reasons\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"documents\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/organisations/<your-organisationId>/projects/<your-projectId>/upload/{{uploadId}}/move-to-human-validation'","description":"<p>This endpoint moves an upload that is already finished back to human validation. You need to specify which documents will be moved to human validation in the body of your request. When the validation has been completed by marking the document as done or failed, the output will be sent again with the same <code>uploadId</code>.</p>\n","urlObject":{"path":["organisations","<your-organisationId>","projects","<your-projectId>","upload","{{uploadId}}","move-to-human-validation'"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[]}},"response":[{"id":"084ab17a-5d14-43a1-90dc-b43b8947a8a5","name":"Successfully retrieved the status and results (if processed)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"reasons\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"documents\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload/:uploadId/move-to-human-validation'","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload",":uploadId","move-to-human-validation'"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"},{"key":"uploadId","value":"<string>","description":"(Required) ID of your upload"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"<string>\"\n}"},{"id":"751ecf4e-17a9-4f97-83b3-4f90904ed153","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"reasons\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"documents\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload/:uploadId/move-to-human-validation'","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload",":uploadId","move-to-human-validation'"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"},{"key":"uploadId","value":"<string>","description":"(Required) ID of your upload"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"<string>\"\n}"},{"id":"18f4e871-1da6-4c8b-9b4e-66dc2ecf8911","name":"Project or uploadId not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"reasons\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"documents\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/upload/:uploadId/move-to-human-validation'","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","upload",":uploadId","move-to-human-validation'"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"},{"key":"uploadId","value":"<string>","description":"(Required) ID of your upload"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"<string>\"\n}"}],"_postman_id":"f462f3f9-6a90-4466-a8ff-1141cdac6da2"}],"id":"25367b0a-62a2-44de-9c59-ad5018ba412c","_postman_id":"25367b0a-62a2-44de-9c59-ad5018ba412c","description":""},{"name":"process","item":[{"name":"Upload new files to your pipeline","id":"39d4c3a3-27c2-4f5f-8718-623ae0bc0770","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"metadata\": \"<object>\",\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": \"nostrud deserunt ex adipisicing ut\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process","description":"<p>Using this API call, you can upload a set of new files for predicting. The files will be processed according to your project settings, including steps like </p>\n<ul>\n<li>OCR, </li>\n<li>classification</li>\n<li>extract entities</li>\n<li>enrichments</li>\n<li>business rules</li>\n</ul>\n<p>Since this is a long-lasting process, the processing is done asynchronously. The response of this API call contains a unique <code>uploadId</code>, which can be used to track progress and later on retrieve results.</p>\n","urlObject":{"path":["organisations",":organisationId","projects",":projectId","process"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[{"id":"b446c314-f6c4-4c8d-a584-0505d6411071","description":{"content":"<p>(Required) Your <code>organisationId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"organisationId"},{"id":"c260fa0c-79d6-4386-8480-33aa632cdc3a","description":{"content":"<p>(Required) Your <code>projectId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/projects/&lt;projectId/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"}]}},"response":[{"id":"26c4bd2c-09bb-4ba2-8de2-fd0772788939","name":"Upload successfully received","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"metadata\": \"<object>\",\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": 7093366\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"uploadId\": \"<string>\",\n  \"success\": [\n    {\n      \"id\": \"<string>\",\n      \"fileName\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"fileName\": \"<string>\"\n    }\n  ],\n  \"errors\": [\n    {\n      \"fileName\": \"<string>\",\n      \"errorType\": \"<string>\",\n      \"type\": \"<string>\"\n    },\n    {\n      \"fileName\": \"<string>\",\n      \"errorType\": \"<string>\",\n      \"type\": \"<string>\"\n    }\n  ]\n}"},{"id":"ffe2e05a-5260-42d3-a203-ccdb61927cdb","name":"Invalid metadata (if the metadata is not a proper json object or parsing failed) or no files provided in the body","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"metadata\": \"<object>\",\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": 7093366\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""},{"id":"8736f01a-fbd4-4409-91f0-4956ea244041","name":"Unauthorized","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"metadata\": \"<object>\",\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": 7093366\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""},{"id":"8d8e6e34-3b23-42b7-b690-7f0174e705c2","name":"Project not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"metadata\": \"<object>\",\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": 7093366\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""},{"id":"ecf37964-5fe1-46be-808f-1d3d77548369","name":"General exception occured","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"files\": [\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"file\": \"<string>\",\n      \"id\": \"<string>\"\n    }\n  ],\n  \"metadata\": \"<object>\",\n  \"options\": {\n    \"eachFileIsADocument\": \"<boolean>\",\n    \"default\": {\n      \"language\": \"<string>\",\n      \"documentType\": \"<string>\",\n      \"documentTypeId\": \"<string>\"\n    },\n    \"filter\": 7093366\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""}],"_postman_id":"39d4c3a3-27c2-4f5f-8718-623ae0bc0770"},{"name":"Results and status - request","id":"504c47f2-dc81-496b-aa1d-dcd34dd4f575","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process/:uploadId","description":"<p>This API call checks the status of an upload, using the <code>uploadId</code> provided during the upload API call. If the document is successfully processed it also return the results.</p>\n","urlObject":{"path":["organisations",":organisationId","projects",":projectId","process",":uploadId"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[{"id":"21f3faec-9a96-4618-b3b6-677344a69107","description":{"content":"<p>(Required) Your <code>organisationId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"organisationId"},{"id":"fbc743ac-94dc-47e6-b94c-dee98ffebd74","description":{"content":"<p>(Required) Your <code>projectId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/projects/&lt;projectId/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"},{"id":"d5bed7e8-07df-464d-88b5-6c6a5f58bec7","description":{"content":"<p>(Required) the uploadId for which the consumer wants to check the status and retrieve results</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"uploadId"}]}},"response":[{"id":"a1178d72-9d14-45c9-96f1-6968fe785971","name":"Successfully retrieved the status and results (if processed)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process/:uploadId","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process",":uploadId"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"},{"key":"uploadId","value":"<string>","description":"(Required) the uploadId for which the consumer wants to check the status and retrieve results"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"organisationId\": \"<string>\",\n  \"projectId\": \"<string>\",\n  \"uploadId\": \"<string>\",\n  \"status\": \"<string>\",\n  \"metadata\": \"<object>\",\n  \"reason\": {\n    \"code\": \"<number>\",\n    \"message\": \"<string>\"\n  },\n  \"documents\": [\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}"},{"id":"ce6844b3-7b0a-4a44-8318-e403f15da546","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process/:uploadId","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process",":uploadId"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"},{"key":"uploadId","value":"<string>","description":"(Required) the uploadId for which the consumer wants to check the status and retrieve results"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""},{"id":"6bc71df9-ddef-4c99-86d8-27e9b2b68b14","name":"Project or uploadId not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/process/:uploadId","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","process",":uploadId"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"},{"key":"uploadId","value":"<string>","description":"(Required) the uploadId for which the consumer wants to check the status and retrieve results"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"\"<string>\""}],"_postman_id":"504c47f2-dc81-496b-aa1d-dcd34dd4f575"}],"id":"ddfabf9c-8fba-411c-9a00-92447e2720b4","_postman_id":"ddfabf9c-8fba-411c-9a00-92447e2720b4","description":""},{"name":"documents","item":[{"name":"Delete uploads","id":"6cbaae4f-19c7-4fe3-b7e5-1a22cf20708b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n  \"uploadId\": \"<string>\",\n  \"filter\": {\n    \"language\": \"<string>\",\n    \"documentType\": \"<string>\",\n    \"status\": \"<string>\",\n    \"pipelineType\": \"<string>\",\n    \"customFields\": \"<object>\",\n    \"metadata\": \"<object>\",\n    \"entity\": \"<object>\",\n    \"documentCreationDate\": {\n      \"gt\": \"<string>\",\n      \"gte\": \"<string>\",\n      \"lt\": \"<string>\",\n      \"lte\": \"<string>\"\n    },\n    \"entityValues\": [\n      {\n        \"entity\": \"<string>\",\n        \"value\": \"<string>\"\n      },\n      {\n        \"entity\": \"<string>\",\n        \"value\": \"<string>\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/documents","description":"<p>This API call is used to delete one or multiple uploads.</p>\n","urlObject":{"path":["organisations",":organisationId","projects",":projectId","documents"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[{"id":"97f14ebc-74b6-4027-b815-1d3627ba193f","description":{"content":"<p>(Required) Your <code>organisationId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"organisationId"},{"id":"85bcf311-bc93-41ba-a65e-38525f157ffc","description":{"content":"<p>(Required) Your <code>projectId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/projects/&lt;projectId/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"}]}},"response":[{"id":"f0df68b3-e31f-4cea-80cd-1bc2f423ec0a","name":"Successfully deleted documents","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n  \"uploadId\": \"<string>\",\n  \"filter\": {\n    \"language\": \"<string>\",\n    \"documentType\": \"<string>\",\n    \"status\": \"<string>\",\n    \"pipelineType\": \"<string>\",\n    \"customFields\": \"<object>\",\n    \"metadata\": \"<object>\",\n    \"entity\": \"<object>\",\n    \"documentCreationDate\": {\n      \"gt\": \"<string>\",\n      \"gte\": \"<string>\",\n      \"lt\": \"<string>\",\n      \"lte\": \"<string>\"\n    },\n    \"entityValues\": [\n      {\n        \"entity\": \"<string>\",\n        \"value\": \"<string>\"\n      },\n      {\n        \"entity\": \"<string>\",\n        \"value\": \"<string>\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/documents","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","documents"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6cbaae4f-19c7-4fe3-b7e5-1a22cf20708b"},{"name":"Get documents","id":"ce037bb6-3fa7-440d-aa92-682103e48cef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n  \"uploadId\": \"<string>\",\n  \"filter\": {\n    \"language\": \"<string>\",\n    \"documentType\": \"<string>\",\n    \"status\": \"<string>\",\n    \"pipelineType\": \"<string>\",\n    \"customFields\": \"<object>\",\n    \"metadata\": \"<object>\",\n    \"entity\": \"<object>\",\n    \"documentCreationDate\": {\n      \"gt\": \"<string>\",\n      \"gte\": \"<string>\",\n      \"lt\": \"<string>\",\n      \"lte\": \"<string>\"\n    },\n    \"entityValues\": [\n      {\n        \"entity\": \"<string>\",\n        \"value\": \"<string>\"\n      },\n      {\n        \"entity\": \"<string>\",\n        \"value\": \"<string>\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/documents","description":"<p>This API call can be used to get documents matching a specific criterium.</p>\n","urlObject":{"path":["organisations",":organisationId","projects",":projectId","documents"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[{"id":"39f51f98-3a8f-4e2c-8b4e-f16e18e769ed","description":{"content":"<p>(Required) Your <code>organisationId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"organisationId"},{"id":"61da042e-0811-475f-bda1-0f6aa9ac265a","description":{"content":"<p>(Required) Your <code>projectId</code> can be found in the url of your project which follows the pattern <code>app.metamaze.eu/&lt;organisationId&gt;/projects/&lt;projectId/...</code></p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"}]}},"response":[{"id":"df0223eb-b484-418e-b5fb-d9e027a9f622","name":"Successfully received documents","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/documents","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","documents"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) Your `organisationId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/...```"},{"key":"projectId","value":"<string>","description":"(Required) Your `projectId` can be found in the url of your project which follows the pattern ```app.metamaze.eu/<organisationId>/projects/<projectId/...```"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ce037bb6-3fa7-440d-aa92-682103e48cef"},{"name":"Update the metadata on a document.","id":"3ef87df5-870d-4861-a174-63674a971187","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"custom_field\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/documents/:documentId/metadata","description":"<p>Update the metadata on a document. Can be used in combination with custom filters to make a powerful UI where you can easily filter on custom documents and/or uploads in your project.</p>\n","urlObject":{"path":["organisations",":organisationId","projects",":projectId","documents",":documentId","metadata"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[{"id":"494bb874-dafb-418b-8a5f-fb2414f27261","description":{"content":"<p>(Required) the organisationId assigned to the consumer</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"organisationId"},{"id":"d5eeff02-20ba-4ff8-a911-25d46b8cbea6","description":{"content":"<p>(Required) the projectId coupled to the processing pipelines and machine learning models</p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"projectId"},{"id":"0883fb9c-a10f-43a4-bd0e-4cb40608a863","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"documentId"}]}},"response":[{"id":"55743f2a-a756-4046-9d12-0a85371d978c","name":"Successfully updated metadata","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"custom_field\": \"<string>\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://app.metamaze.eu/gql/api/organisations/:organisationId/projects/:projectId/documents/:documentId/metadata","host":["https://app.metamaze.eu/gql/api"],"path":["organisations",":organisationId","projects",":projectId","documents",":documentId","metadata"],"variable":[{"key":"organisationId","value":"<string>","description":"(Required) the organisationId assigned to the consumer"},{"key":"projectId","value":"<string>","description":"(Required) the projectId coupled to the processing pipelines and machine learning models"},{"key":"documentId","value":"<string>","description":"(Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"3ef87df5-870d-4861-a174-63674a971187"}],"id":"1af47a9a-b276-4b68-938f-d8b9101299b0","_postman_id":"1af47a9a-b276-4b68-938f-d8b9101299b0","description":""},{"name":"Results and status - subscription webhook","id":"28798d7c-34a4-4990-b295-723917bae40a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"organisationId\": \"<string>\",\n  \"projectId\": \"<string>\",\n  \"uploadId\": \"<string>\",\n  \"status\": \"<string>\",\n  \"metadata\": \"<object>\",\n  \"reason\": {\n    \"code\": \"<number>\",\n    \"message\": \"<string>\"\n  },\n  \"documents\": [\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/results-endpoint-configured-by-the-user-in-the-application","description":"<p>You can define a custom URL of a webservice to receive results or status updates when they occur. This URL can be defined in the <em>Project Settings &gt; Output</em>. For more documentation, see the <a href=\"https://docs.app.metamaze.eu/project/project-settings/output\">user documentation</a></p>\n<h3 id=\"authentication\">Authentication</h3>\n<p>There are multiple authenticaiton options you can configure:</p>\n<ul>\n<li><b>Token authentication</b>: You van configure the token, we will use this token to authorize our requests to your server.</li>\n<li><b>Basic authentication</b>: username and password are provided by you, we will use this to authorize our requests to your server.</li>\n<li><b>SSL/TLS</b>: Certificate-based Mutual SSL authentication.</li>\n</ul>\n","urlObject":{"path":["results-endpoint-configured-by-the-user-in-the-application"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[]}},"response":[{"id":"d3e7a427-a339-4003-83c8-072f6f885dba","name":"Successfully received the status update","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"organisationId\": \"<string>\",\n  \"projectId\": \"<string>\",\n  \"uploadId\": \"<string>\",\n  \"status\": \"<string>\",\n  \"metadata\": \"<object>\",\n  \"reason\": {\n    \"code\": \"<number>\",\n    \"message\": \"<string>\"\n  },\n  \"documents\": [\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/results-endpoint-configured-by-the-user-in-the-application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"organisationId\": \"<string>\",\n  \"projectId\": \"<string>\",\n  \"uploadId\": \"<string>\",\n  \"status\": \"<string>\",\n  \"metadata\": \"<object>\",\n  \"reason\": {\n    \"code\": \"<number>\",\n    \"message\": \"<string>\"\n  },\n  \"documents\": [\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    },\n    {\n      \"id\": \"<string>\",\n      \"files\": [\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        },\n        {\n          \"name\": \"<string>\",\n          \"url\": \"<string>\",\n          \"id\": \"<string>\"\n        }\n      ],\n      \"status\": \"<string>\",\n      \"reason\": {\n        \"code\": \"<number>\",\n        \"message\": \"<string>\"\n      },\n      \"documentType\": {\n        \"id\": \"<string>\",\n        \"name\": \"<string>\",\n        \"confidence\": \"<number>\",\n        \"threshold\": \"<number>\"\n      },\n      \"language\": \"<string>\",\n      \"processedPDF\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"values\": [\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            },\n            {\n              \"entityType\": {\n                \"id\": \"<string>\",\n                \"name\": \"<string>\"\n              },\n              \"parsedValues\": [\n                \"<string>\",\n                \"<string>\"\n              ],\n              \"confidence\": \"<number>\"\n            }\n          ]\n        }\n      ],\n      \"entities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"aggregatedEntities\": [\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"entityType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"value\": \"<string>\",\n          \"parsedValues\": [\n            \"<string>\",\n            \"<string>\"\n          ],\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"images\": [\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        },\n        {\n          \"imageType\": {\n            \"id\": \"<string>\",\n            \"name\": \"<string>\"\n          },\n          \"confidence\": \"<number>\"\n        }\n      ],\n      \"businessRules\": \"<object>\",\n      \"softBusinessRules\": \"<object>\",\n      \"hardBusinessRules\": \"<object>\",\n      \"enrichments\": [\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        },\n        {\n          \"value\": \"<object>\",\n          \"name\": \"<string>\",\n          \"error\": \"<string>\",\n          \"status\": \"<string>\",\n          \"type\": \"<string>\"\n        }\n      ]\n    }\n  ]\n}"}],"_postman_id":"28798d7c-34a4-4990-b295-723917bae40a"},{"name":"Enrichments webhook","id":"047b005d-5489-4d12-b77c-586560fa92af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"documentId\": \"<string>\",\n  \"documentTypeId\": \"<string>\",\n  \"metadata\": \"<object>\",\n  \"language\": \"<string>\",\n  \"text\": \"<string>\",\n  \"entities\": [\n    {\n      \"entityId\": \"<string>\",\n      \"entityName\": \"<string>\",\n      \"parsedValue\": \"<string>\",\n      \"text\": \"<string>\",\n      \"userId\": \"<string>\",\n      \"isApproved\": \"<boolean>\",\n      \"labeledByAIModel\": \"<boolean>\",\n      \"link\": \"<string>\",\n      \"indices\": [\n        {\n          \"pageIndex\": \"<number>\",\n          \"pageId\": \"<string>\",\n          \"startIndex\": \"<number>\",\n          \"endIndex\": \"<number>\"\n        },\n        {\n          \"pageIndex\": \"<number>\",\n          \"pageId\": \"<string>\",\n          \"startIndex\": \"<number>\",\n          \"endIndex\": \"<number>\"\n        }\n      ]\n    },\n    {\n      \"entityId\": \"<string>\",\n      \"entityName\": \"<string>\",\n      \"parsedValue\": \"<string>\",\n      \"text\": \"<string>\",\n      \"userId\": \"<string>\",\n      \"isApproved\": \"<boolean>\",\n      \"labeledByAIModel\": \"<boolean>\",\n      \"link\": \"<string>\",\n      \"indices\": [\n        {\n          \"pageIndex\": \"<number>\",\n          \"pageId\": \"<string>\",\n          \"startIndex\": \"<number>\",\n          \"endIndex\": \"<number>\"\n        },\n        {\n          \"pageIndex\": \"<number>\",\n          \"pageId\": \"<string>\",\n          \"startIndex\": \"<number>\",\n          \"endIndex\": \"<number>\"\n        }\n      ]\n    }\n  ],\n  \"composites\": [\n    {\n      \"entityId\": \"<string>\",\n      \"entityName\": \"<string>\",\n      \"userId\": \"<string>\",\n      \"isApproved\": \"<boolean>\",\n      \"labeledByAIModel\": \"<boolean>\",\n      \"link\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityId\": \"<string>\",\n          \"entityName\": \"<string>\",\n          \"parsedValue\": \"<string>\",\n          \"text\": \"<string>\",\n          \"userId\": \"<string>\",\n          \"isApproved\": \"<boolean>\",\n          \"labeledByAIModel\": \"<boolean>\",\n          \"link\": \"<string>\",\n          \"compositeGroupId\": \"<string>\",\n          \"indices\": [\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            },\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityId\": \"<string>\",\n          \"entityName\": \"<string>\",\n          \"parsedValue\": \"<string>\",\n          \"text\": \"<string>\",\n          \"userId\": \"<string>\",\n          \"isApproved\": \"<boolean>\",\n          \"labeledByAIModel\": \"<boolean>\",\n          \"link\": \"<string>\",\n          \"compositeGroupId\": \"<string>\",\n          \"indices\": [\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            },\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"entityId\": \"<string>\",\n      \"entityName\": \"<string>\",\n      \"userId\": \"<string>\",\n      \"isApproved\": \"<boolean>\",\n      \"labeledByAIModel\": \"<boolean>\",\n      \"link\": \"<string>\",\n      \"composites\": [\n        {\n          \"entityId\": \"<string>\",\n          \"entityName\": \"<string>\",\n          \"parsedValue\": \"<string>\",\n          \"text\": \"<string>\",\n          \"userId\": \"<string>\",\n          \"isApproved\": \"<boolean>\",\n          \"labeledByAIModel\": \"<boolean>\",\n          \"link\": \"<string>\",\n          \"compositeGroupId\": \"<string>\",\n          \"indices\": [\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            },\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            }\n          ]\n        },\n        {\n          \"entityId\": \"<string>\",\n          \"entityName\": \"<string>\",\n          \"parsedValue\": \"<string>\",\n          \"text\": \"<string>\",\n          \"userId\": \"<string>\",\n          \"isApproved\": \"<boolean>\",\n          \"labeledByAIModel\": \"<boolean>\",\n          \"link\": \"<string>\",\n          \"compositeGroupId\": \"<string>\",\n          \"indices\": [\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            },\n            {\n              \"pageIndex\": \"<number>\",\n              \"pageId\": \"<string>\",\n              \"startIndex\": \"<number>\",\n              \"endIndex\": \"<number>\"\n            }\n          ]\n        }\n      ]\n    }\n  ],\n  \"linkedEnrichments\": {\n    \"id\": \"<string>\",\n    \"enrichment\": {\n      \"id\": \"<string>\",\n      \"name\": \"<string>\"\n    },\n    \"link\": \"<string>\",\n    \"value\": \"<string>\",\n    \"exception\": \"<string>\",\n    \"statusCode\": \"<number>\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/enrichment-endpoint-configured-by-the-user-in-the-application","description":"<p>This is the webhook for enrichments. You can find example implementations on the <a href=\"https://github.com/metamaze/public_enrichments\">Metamaze Github page</a>.</p>\n<p>The HTTP method (<code>GET</code>, <code>POST</code> or `PUT``) can be changed in <em>Project Settings &gt; Enrichments</em>.</p>\n<p>The webhook endpoints need to support HTTPS and CORS.</p>\n<p>This webhook will be executed in the production pipeline, and every time a validator adds an annotation. The webhook should therefor not have side effects as it might be executed multiple times for the same document.</p>\n","urlObject":{"path":["enrichment-endpoint-configured-by-the-user-in-the-application"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[]}},"response":[{"id":"0ce4f239-819a-4a4e-ab23-54807569f904","name":"Successfully received the linked enrichments","originalRequest":{"method":"GET","header":[],"url":"https://app.metamaze.eu/gql/api/enrichment-endpoint-configured-by-the-user-in-the-application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"enrichments\": [\n    {\n      \"name\": \"<string>\",\n      \"value\": \"<string>\",\n      \"link\": \"<string>\",\n      \"exception\": \"<string>\"\n    },\n    {\n      \"name\": \"<string>\",\n      \"value\": \"<string>\",\n      \"link\": \"<string>\",\n      \"exception\": \"<string>\"\n    }\n  ]\n}"}],"_postman_id":"047b005d-5489-4d12-b77c-586560fa92af"},{"name":"Enrichments - options for human validation","id":"d8c36480-009c-4bb0-8baf-daca8cf120b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://app.metamaze.eu/gql/api/options-endpoint-configured-by-the-user-in-the-application","description":"<p>Return a list of possible values for enrichments, to be displayed in the human validation screen.</p>\n<p>Authentication is optional and can be configured in the Project Settings. </p>\n","urlObject":{"path":["options-endpoint-configured-by-the-user-in-the-application"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[]}},"response":[{"id":"189f5f8b-f775-46fb-8b9f-c30aa6459fdc","name":"Success","originalRequest":{"method":"GET","header":[],"url":"https://app.metamaze.eu/gql/api/options-endpoint-configured-by-the-user-in-the-application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"value\": \"<string | object>\",\n    \"label\": \"<string>\"\n  },\n  {\n    \"value\": \"<string | object>\",\n    \"label\": \"<string>\"\n  }\n]"}],"_postman_id":"d8c36480-009c-4bb0-8baf-daca8cf120b5"},{"name":"/business-rule-endpoint-configured-by-the-user-in-the-application","id":"1c94f25a-e3d3-449f-bae3-d37601f6e8f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"*/*"}],"body":{"mode":"raw","raw":"{\n  \"document\": {\n    \"name\": \"<string>\",\n    \"language\": \"<string>\",\n    \"matchedEntityValues\": [\n      {\n        \"entityId\": \"<string>\",\n        \"entityName\": \"<string>\",\n        \"text\": \"<string>\",\n        \"isApproved\": \"<boolean>\",\n        \"isManuallyAdded\": \"<boolean>\",\n        \"coords\": {\n          \"x0\": \"<number>\",\n          \"x1\": \"<number>\",\n          \"y0\": \"<number>\",\n          \"y1\": \"<number>\"\n        }\n      },\n      {\n        \"entityId\": \"<string>\",\n        \"entityName\": \"<string>\",\n        \"text\": \"<string>\",\n        \"isApproved\": \"<boolean>\",\n        \"isManuallyAdded\": \"<boolean>\",\n        \"coords\": {\n          \"x0\": \"<number>\",\n          \"x1\": \"<number>\",\n          \"y0\": \"<number>\",\n          \"y1\": \"<number>\"\n        }\n      }\n    ]\n  },\n  \"metadata\": \"<object>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/business-rule-endpoint-configured-by-the-user-in-the-application","description":"<p>Business rules configuration</p>\n","urlObject":{"path":["business-rule-endpoint-configured-by-the-user-in-the-application"],"host":["https://app.metamaze.eu/gql/api"],"query":[],"variable":[]}},"response":[{"id":"d644a05a-0f26-4f0e-9a40-20511b348b45","name":"Successfully received result","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"document\": {\n    \"name\": \"<string>\",\n    \"language\": \"<string>\",\n    \"matchedEntityValues\": [\n      {\n        \"entityId\": \"<string>\",\n        \"entityName\": \"<string>\",\n        \"text\": \"<string>\",\n        \"isApproved\": \"<boolean>\",\n        \"isManuallyAdded\": \"<boolean>\",\n        \"coords\": {\n          \"x0\": \"<number>\",\n          \"x1\": \"<number>\",\n          \"y0\": \"<number>\",\n          \"y1\": \"<number>\"\n        }\n      },\n      {\n        \"entityId\": \"<string>\",\n        \"entityName\": \"<string>\",\n        \"text\": \"<string>\",\n        \"isApproved\": \"<boolean>\",\n        \"isManuallyAdded\": \"<boolean>\",\n        \"coords\": {\n          \"x0\": \"<number>\",\n          \"x1\": \"<number>\",\n          \"y0\": \"<number>\",\n          \"y1\": \"<number>\"\n        }\n      }\n    ]\n  },\n  \"metadata\": \"<object>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.metamaze.eu/gql/api/business-rule-endpoint-configured-by-the-user-in-the-application"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"*/*"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"1c94f25a-e3d3-449f-bae3-d37601f6e8f4"}],"event":[{"listen":"prerequest","script":{"id":"e4119fa9-21e2-4a20-b580-beb1a97cd1c4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c1eb32f4-9557-43f8-b7bb-4e52efce74d1","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://app.metamaze.eu/gql/api","type":"string"},{"key":"organisationId","value":"<your-organisationId>"},{"key":"projectId","value":"<your-projectId>"}]}