{"info":{"_postman_id":"d7f35db2-e0cb-4747-af32-fa5e37bf3847","name":"Parsel Enterprise API","description":"<html><head></head><body><p>This is the GraphQL Enterprise API documentation for Parsel. The areas of the Parsel API documented here are all those which underpin the <a href=\"https://parsel.ai\">Parsel application</a>, and which are necessary for automated document processing and analysis. This API is accessible for all Parsel users on an Enterprise plan, or for users on their Enterprise plan trial.</p>\n<p>If you do not have trial or full access to an Enterprise plan, please <a href=\"https://page.parsel.ai/enterprise/demo\">contact us</a>. For more information about the product and use cases, see our <a href=\"https://parsel.ai/blog\">blog posts</a>.</p>\n<p>For any questions about our API, customisable extraction algorithm and integrations, or any other questions, please feel free to <a href=\"https://page.parsel.ai/contact-us\">reach out to us</a>.</p>\n<h1 id=\"processing-documents-workflow\">Processing documents workflow</h1>\n<p>To process a document, the following three stages must be completed. More detail on each stage can be found in the upcoming sections.</p>\n<img src=\"https://content.pstmn.io/696a18f5-4a5e-448b-84ae-e7a1e97665ee/Zmxvd192MS5wbmc=\">\n\n<h2 id=\"authentication\">Authentication</h2>\n<p>Document related API requests require a valid authentication token, which you can obtain via the <a href=\"#db44ae09-a37b-4b9a-9462-67454cd6b131\">Sign In</a> mutation. The authentication token is present in the return type's <code>token</code> field.</p>\n<img src=\"https://content.pstmn.io/3a6d2bda-4afd-4797-abfc-ae5fa6ba77e9/YXV0aGVudGljYXRpb25fdjEucG5n\">\n\n<h2 id=\"process-a-document\">Process a document</h2>\n<p>Once authenticated, you're ready to process your document. The follow workflow is required to analyse a document and extract all required data automatically.</p>\n<h3 id=\"upload-a-document\">Upload a document</h3>\n<p>To upload a PDF document and extract data, the following steps are required:</p>\n<ol>\n<li>Obtain a URL by executing the <a href=\"#1195fa56-2c3e-41bb-a806-d575676d3de7\">generatePresignedUrl</a> mutation, to which the document will then be uploaded in step 2.</li>\n<li>Upload the PDF document with a <code>PUT</code> request against the URL obtained from step 1. See <a href=\"#acacc44b-fdee-4df2-b743-9c6c0f41c989\">Upload file</a> for an example.</li>\n<li>After the PDF document is uploaded, initiate the document process by executing the <a href=\"#b0a25516-cd76-4a8b-914d-7f10340590a5\">createDataset</a> mutation.</li>\n</ol>\n<img src=\"https://content.pstmn.io/edb52fba-4ae0-4449-9b3e-bc48bbb7794c/dXBsb2FkX3YxLnBuZw==\">\n\n<h3 id=\"retrieve-outputs\">Retrieve Outputs</h3>\n<p>At any time, you can find out about the progress of a document by executing the <a href=\"#b20aec04-c38c-4f01-8214-c9cf65ed762d\">Get dataset</a> query.</p>\n<p>When progress is 100% and the document is processed, the <a href=\"#1b43e49f-0051-45b6-ae7f-8a65b7eb770b\">Get dataset</a> query will return the extracted data in the form of a URL field, named <code>presignedUrl</code>, within the <code>outputList</code> parent type, which you can access.</p>\n<img src=\"https://content.pstmn.io/963e44d4-f801-42a8-bd22-cc96724e0cb1/cmV0cmlldmVfdjEucG5n\">\n\n<h3 id=\"manage-dataset\">Manage Dataset</h3>\n<p>Once a dataset was created, a few endpoints are available to manage the dataset. You can <a href=\"#87034fa2-c1d4-46a1-995f-a6a9f46e7e8d\">reprocess</a> the dataset if the resulting dataset status is ERROR, <a href=\"#8517628e-6cc0-42b5-9232-9a11ea151d14\">change</a> the dataset name, <a href=\"#f25d9eca-2ffa-4aae-8996-ad1195d6d7b2\">delete</a> the dataset permanently and <a href=\"#bfe812ac-0d46-421f-bfff-9da2caedfc4f\">search</a> through the complete list of datasets.</p>\n<h1 id=\"default-and-us-api-versions\">Default and US API versions</h1>\n<p><strong>If you have a Parsel Enterprise account on Parsel US, please read this section.</strong></p>\n<p>The code samples and attached environment has all values pre-filled for our default non-us deployment. To make these work with your US account, please follow these steps.</p>\n<h3 id=\"postman-editor\">Postman editor</h3>\n<p>When using Postman, please select and edit the following <code>Parsel - Documentation Environment</code> environment variables.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Key</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>public_api_key</td>\n<td>da2-h6dkfcbvhzcdzal2cypxkm7rea</td>\n</tr>\n<tr>\n<td>api_endpoint</td>\n<td><a href=\"https://api.us.parsel.ai/graphql\">https://api.us.parsel.ai/graphql</a></td>\n</tr>\n</tbody>\n</table>\n</div><p>Now all requests and code samples generated from Postman will work seamlessly with your US account.</p>\n<h2 id=\"curl-and-programming-languages\">cURL and programming languages</h2>\n<p>When utilising any of the code samples from this documentation page directly, please ensure to replace any occurrence of the x-api-key value with <code>da2-h6dkfcbvhzcdzal2cypxkm7rea</code> and the api endpoint with <code>https://api.us.parsel.ai/graphql</code>.</p>\n<h1 id=\"how-to-interact-with-the-api\">How to interact with the API?</h1>\n<p>Below you will find detailed a number of ways you can go about testing out the Parsel API. If you are unfamiliar with API querying, we recommend following the Postman Editor instructions.</p>\n<h3 id=\"postman-editor-1\">Postman editor</h3>\n<p>If not already downloaded and installed you can download the <a href=\"https://www.postman.com/downloads/\">Postman editor</a>.</p>\n<p>Executing API queries through postman is very simple. First you need a local copy of the API collection, which you can obtain by clicking the <code>Run in Postman</code> button at the top right of your screen.</p>\n<p>Once you have the postman collection imported, select the supplied environment at the top right of your Postman editor. The name of the environment is: <code>Parsel - Documentation Environment</code>.</p>\n<p>Your imported collection (which can be selected at the <code>Collections</code> tab) is now ready for use. Please see the <a href=\"#processing-documents-workflow\">Processing documents workflow</a> section above for guidance on the order of requests to be sent.</p>\n<p><strong>Note:</strong> For your convenience all variables you may want to alter for the API GraphQL queries have been split off into the Graphql Variables column, as seen below.</p>\n<p><strong>Note:</strong> When interacting with the authentication requests in Postman, please note that you should set the correct values in the aforementioned Postman environment (<code>Parsel - Documentation Environment)</code>. They will then be automatically loaded from your environment into the request's body.</p>\n<h3 id=\"performing-curl-requests\">Performing cURL requests</h3>\n<p>You can submit cURL requests from your terminal, the example code you need to alter can be found in the examples column to the right of the detailed API queries below.</p>\n<p>Here is a simple run-through of how you would go about modifying the sign-in cURL request.</p>\n<img src=\"https://content.pstmn.io/dd563b15-c4b1-4688-8b25-e7dc67a99797/c2lnbl9pbl9leGFtcC5wbmc=\" alt=\"Sign%20in%20example,%20you%20can%20click%20the%20copy%20button%20to%20easily%20copy%20the%20whole%20request\">\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location --request POST 'https://api.parsel.ai/graphql' \\\n--header 'x-api-key: da2-g4vjqusfzzcrvlgligh5owb2rq' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"query\":\"mutation ($email: String!, $password: String!){\\n  signIn(input: {    email: $email,   password: $password  }){\\n    token\\n    refreshToken\\n    firstSignIn\\n  }\\n}\",\"variables\":{\"email\":\"&lt;&gt;\",\"password\":\"&lt;&gt;\"}}'\n\n</code></pre>\n<p>Having located the example code relating to the Sign in API call, copied above, we then modify the final section where it says variables to reflect our personal log in details. The above request becomes:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-shell\">curl --location --request POST 'https://api.parsel.ai/graphql' \\\n--header 'x-api-key: da2-g4vjqusfzzcrvlgligh5owb2rq' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\"query\":\"mutation ($email: String!, $password: String!){\\n  signIn(input: {    email: $email,   password: $password  }){\\n    token\\n    refreshToken\\n    firstSignIn\\n  }\\n}\",\"variables\":{\"email\":\"myEmail\",\"password\":\"myPassword\"}}'\n\n</code></pre>\n<p>This can then be copied and run directly from the terminal.</p>\n<p>If you are successful a response dict will appear in your terminal. The response format can be found under the <a href=\"#db44ae09-a37b-4b9a-9462-67454cd6b131\">Sign in</a> section.</p>\n<h3 id=\"programming-languages\">Programming languages</h3>\n<p>For any other languages you can find auto-generated example requests, similar to the cURL ones, by changing the drop-down box at the top of the page.</p>\n<img src=\"https://content.pstmn.io/72e3c4d5-87ae-43ac-81a0-f6c6a60b5456/ZG9jc19kcm9wZG93bi5wbmc=\">\n\n<h2 id=\"response-status-codes\">Response Status Codes</h2>\n<p>For your convenience we have included a short description of all possible status codes that will be seen during API usage.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Response Code</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>Request Response OK</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Request unauthorised, you will need to sign in or make sure your authentication token is present</td>\n</tr>\n<tr>\n<td>403</td>\n<td>Forbidden, check if the request body is valid</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Processing documents workflow","slug":"processing-documents-workflow"},{"content":"Default and US API versions","slug":"default-and-us-api-versions"},{"content":"How to interact with the API?","slug":"how-to-interact-with-the-api"}],"owner":"8451015","collectionId":"d7f35db2-e0cb-4747-af32-fa5e37bf3847","publishedId":"TWDakuiH","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"0E2331","highlight":"4D2F9B"},"publishDate":"2022-10-31T16:44:44.000Z"},"item":[{"name":"Authentication","item":[{"name":"SignIn","event":[{"listen":"test","script":{"id":"60d9bdfe-93da-43cb-98d9-6d8e72ab21f1","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);","    let response = pm.response.json();","    pm.collectionVariables.set(\"auth_token\", response.data.signIn.token);","    pm .collectionVariables.set(\"refresh_token\", response.data.signIn.refreshToken);","});"],"type":"text/javascript"}}],"id":"db44ae09-a37b-4b9a-9462-67454cd6b131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($email: String!, $password: String!){\n  signIn(input: {    email: $email,   password: $password  }){\n    token\n    refreshToken\n    firstSignIn\n  }\n}","variables":"{\n    \"email\": \"\",\n    \"password\": \"\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>Access to all <strong>Document</strong> functions is only allowed to authenticated users by way of the Authentication Token, which is returned by a successful authentication with <em>user</em> and <em>password</em> or by using a refresh token.</p>\n<p>A <strong>token</strong> expires after 60 minutes.</p>\n<p>A <strong>refresh token</strong> expires after 30 days.</p>\n<p><em>If you're running this request from Postman, please fill in the correct</em> <em><code>password</code></em> <em>and</em> <em><code>email</code></em> <em>credentials in the selected Environment above. These credentials should be identical to your current Enterprise plan user credentials.</em></p>\n","auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""},"isInherited":true,"source":{"_postman_id":"d7f35db2-e0cb-4747-af32-fa5e37bf3847","id":"d7f35db2-e0cb-4747-af32-fa5e37bf3847","name":"Parsel Enterprise API","type":"collection"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"68ba3e21-8476-41bf-b0a0-b8c58c38bbad","name":"SignIn with email and password","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"da2-g4vjqusfzzcrvlgligh5owb2rq"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($email: String!, $password: String!){\n  signIn(input: {    email: $email,   password: $password  }){\n    token\n    refreshToken\n    firstSignIn\n  }\n}","variables":"{\n    \"email\": \"<<Placeholder user email>>\",\n    \"password\": \"<<Placeholder user password>>\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Wed, 22 Jul 2020 17:56:05 GMT"},{"key":"x-amzn-RequestId","value":"1d7b0c6c-6c0c-4a02-bc0d-d9a5260f9278"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 e11502649b2fdd9cb3960f027c8c1ea2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"EvpHPnVVPIcErFFvz8IhjeiTs6qsxf1dGgPB8dSRR__kgd8Me23TeA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"signIn\": {\n            \"token\": \"eyJraWQiOiI2Um8yQ09OMnIzOXhxOHgyaW9IYUQ4cCtWaXZobkVJOTBjejVxbVNLbmdNPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiIwZTFjNTY4Yi0zNTE2LTRlNjYtYThlNi05YTE0MDI2NGUxMWYiLCJjb2duaXRvOmdyb3VwcyI6WyJndWVzdC11c2VycyIsInJlZ2lzdGVyZWQtdXNlcnMiXSwiZXZlbnRfaWQiOiIxYWYwMDU4Ny05Yzc1LTQ3NmEtYWVmNS1mNzJiMjcyNjk4MGIiLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6ImF3cy5jb2duaXRvLnNpZ25pbi51c2VyLmFkbWluIiwiYXV0aF90aW1lIjoxNjE0MjYyNjAzLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuZXUtd2VzdC0xLmFtYXpvbmF3cy5jb21cL2V1LXdlc3QtMV9YWTZnZFd3SUYiLCJleHAiOjE2MTQyNjYyMDMsImlhdCI6MTYxNDI2MjYwMywianRpIjoiNzBmMDM1NDEtMjk2ZS00NjBlLTgwMTMtNjJkNjA4YTQwNzlhIiwiY2xpZW50X2lkIjoiMzJwdDNtODUybXZzaWphbDdkcDNlMzVmMHAiLCJ1c2VybmFtZSI6IjBlMWM1NjhiLTM1MTYtNGU2Ni1hOGU2LTlhMTQwMjY0ZTExZiJ9.NsLUYP5KZFlZGphkis61iR31TsN4ixImSRxrVai1NDLLUQnhMOu_SDHHxfcy_IU88ti1sy5uI_LII5ciIfaxUo6wmJj8bVIHosmaX-1A9hCrA2z-wwsmwa8GNHvm7cKdIFs6W9rvZlBR3a4X3-CFlqo0hf4K0vQjHNdqJDbpXa_wCB0MEvh3PO-RldZMHR6dxdmvTnzE5XfNjZ7zmH7BCXCToJFGvo9c5WBP66F5AbG7_MilyasHG3IfS-kPJNi6lsM_jxTUFnb9cKtM6_94aHgG9tLuiQiCoM1Z2lnpvhSCY0HaQE6dMzyGl8vZVgmEwmMZSUJ7hLVHjHI-bOwGXw\",\n            \"refreshToken\": \"eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.YmvaiVMqgteVaqD38AyAKieNaNaqg5Iw7lB-qzvDqni7YWaPRzsuwoggPO5ZVJeqlTlGK5Xt2AEbHZRrEJRjuJCd9N1dfG_Moni8bHfM5Q3SDo9_Sx3D4zj7rIfwXji3WqBRvCwMPlvQ4iUKQlXiLmSS2f8dbHrKEq2N29ZPno_w5voxxiaI4Oz5Hdh12PZK6LHh_eRAeNuX3NLuO72TQzQ8Vo7W7FBJIOf_roi686yw9s4mRHsvJxgncicQrlqmJSsayUJGhvT6-W9vvE7iN-OZxPDgH7nmifROeeWvmmKLIGxMDGz8MP0fblSL4dNbfr6EsDI1dubjCSnehGBWHg.3o75KoHAd9BrTkS2.V23xvsoNRKGTKmve61S0csLpZ4pZS5-J61TmhJNz8fjg1MlQGqRFtCVMFOkrD0Wwj80Iu3drHHeV53UN1ZpnPu27RXr6j_DNk7P4CrX5gjgGQrEbGHBi2QTlSPBRTb6-PIGGppPZNOePCAr6BhbQPrHScigexWTUtONndh3HN_p9awys3Ls44YpVaEfxXJGEEifTsWRDl_RdYL9n3TSNaALvG3eFDR0JewF56P3yX7sVEjq3L20hsyWRhis9G9BSa8D3D088fGOcG8__92T716sK7qCC7F2uXseQADh0EPgmnbPt59KAkC9qJgdKJR6RD6C7fdjdtDY5VtFPE-TcA3xBTZezGatQf5Kf6EEuhRVazeiwH9L2dIiX-JuJlbON-0GV0zZMQ_RTtFx8xoCf9wQCT-AhisjdkChZdw1m6snRjMASpKBahX5UDnEdrHs25LVbI4RTVkzXygC2N_jw5LiuYoUkJ5LQNVD2jxWbjhJM9IDtFwOJuAt-enuMKv6PTac--qLkw9q2cduW8_EUAgz9sq63or5_Kqvk9cCaCOtXA49p555HOMfXAGRUM2Y68juz78riwiIudcBi6dU4qf00Il_Zk1mYJBiKNRJPLTLtUaWJYp73AR9ZLB8lDam1j2KvkZa0uR9LuOnYAbN8e7uvn9xArDZO9bpn6Z1oL6ItCNOrkgkEddj6N5aOau928IJtp3hwQUYex6xEyADTCYScPFA_3wnVnIqsEz-5x1FeJJu99vwpLK3l7zwY4ldaXWLvYdIhW9BXVDTm12ams2QYefAfZ0sDFjvA5NzbexhvlSjDuy9Fwn_oYFVa02YJGT0vQEGQM2KmkItTs-WvgJ7TzWgkFovWb_XDwYpNytcirieyLVxKdpuuXrPVISn0KElX0VYk01m1bo-kwM6nxJwUOhk25uMXHhj7g7wZJLYPkPK-npiOZABhuKcllxRKGWI18IQv1snz9761yhdTwF8i0IHeL2qP8oR1Zw-IQaNisA4JJtCRwK6GDDh14yUiXf3dluWqxRRuvB_R-ev_N6ZBNEhk1ksxcSlEAhD4zW_jqzez7LhZlr1z3f2mLR_8xvIljYVVMJPc0pim-JEy6BRNsnxfkvCKRHdPjQbuk0vJK9qyk9wKCbjNTogVEm8UOEGs9Q9oOw_mkf-v1Nii_MjZZQwRQGSFNabe13zuYMd-WsXA9AIOxtkLRMLAyEm0oY1P2a9UMO7z9ZFbSpCGgWayncPpEqZHcQJEwgJCj78P3acNWUn-kcMN_TIoKO6AS7swPBApLfs2cwCp6qBdEEswHAOEkhodxQu-RKwCpTseJGIMRsy_aPwj-w.s1Czdb7WlZcKBIoBtUmbZg\",\n            \"firstSignIn\": false\n        }\n    }\n}"},{"id":"94da2473-0c43-4a02-a8d9-488ff4568d55","name":"SignIn - Not Authorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"","description":"Public Api Key"},{"key":"Content-Type","value":"application/json","description":"The api uses json content only."}],"body":{"mode":"graphql","graphql":{"query":"mutation ($email: String!, $password: String!){\n  signIn(input: {    email: $email,   password: $password  }){\n    token\n    refreshToken\n    firstSignIn\n  }\n}","variables":"{\n    \"email\": \"notarealuser@didntsignup.com\",\n    \"password\": \"shouldrequestademo\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 25 Feb 2021 16:09:37 GMT"},{"key":"x-amzn-RequestId","value":"2f346e9b-3258-4bd8-b55c-2b16a0a6a432"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"Via","value":"1.1 4f9e9e3e8a2a5cea2848aac8473267f2.cloudfront.net (CloudFront), 1.1 64287378cade03feddd2042bfe0ee6a5.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD89-C2"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C3"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"X-Amz-Cf-Id","value":"0NRCBz_h09Ov7T8TpWHnvNR8i3NW7Lk8ZELK1w_Ldt_od8FCOoq07g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"errorType\": \"UnauthorizedException\",\n            \"message\": \"Valid authorization header not provided.\"\n        }\n    ]\n}"}],"_postman_id":"db44ae09-a37b-4b9a-9462-67454cd6b131"},{"name":"SignIn with refresh token","event":[{"listen":"test","script":{"id":"6b7735a4-a3c2-4ee0-8a7c-7379f4d0d8e7","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);","    let response = pm.response.json();","    pm.collectionVariables.set(\"auth_token\", response.data.signIn.token);","    pm .collectionVariables.set(\"refresh_token\", response.data.signIn.refreshToken);","});"],"type":"text/javascript"}}],"id":"aa3a968c-a660-41aa-904d-493ade33f058","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":false},"method":"POST","header":[{"key":"x-api-key","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($refreshToken: String!){\n  signIn(input: { refreshToken: $refreshToken}){\n    token\n    refreshToken\n  }\n}","variables":"{\n    \"refreshToken\": \"<<Refresh token, provided once signed in>>\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>This method is useful for clients who need a connection open past the expiration time of the access token, which expires after 60 minutes.</p>\n<p>Instead of user and password, this method requires a valid refresh_token obtained by initially <a href=\"#db44ae09-a37b-4b9a-9462-67454cd6b131\">signing in with user and password</a>.</p>\n","urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"455ee1c6-f376-4ca7-b06d-a59b2d557404","name":"Successful SignIn with refresh token","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"da2-g4vjqusfzzcrvlgligh5owb2rq"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($refreshToken: String!){\n  signIn(input: { refreshToken: $refreshToken}){\n    token\n    refreshToken\n  }\n}","variables":"{\n    \"refreshToken\": \"<<Refresh token, provided once signed in>>\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Wed, 22 Jul 2020 17:56:05 GMT"},{"key":"x-amzn-RequestId","value":"1d7b0c6c-6c0c-4a02-bc0d-d9a5260f9278"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 e11502649b2fdd9cb3960f027c8c1ea2.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"EvpHPnVVPIcErFFvz8IhjeiTs6qsxf1dGgPB8dSRR__kgd8Me23TeA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"signIn\": {\n            \"token\": \"eyJraWQiOiI2Um8yQ09OMnIzOXhxOHgyaW9IYUQ4cCtWaXZobkVJOTBjejVxbVNLbmdNPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiIwZTFjNTY4Yi0zNTE2LTRlNjYtYThlNi05YTE0MDI2NGUxMWYiLCJjb2duaXRvOmdyb3VwcyI6WyJndWVzdC11c2VycyIsInJlZ2lzdGVyZWQtdXNlcnMiXSwiZXZlbnRfaWQiOiIxYWYwMDU4Ny05Yzc1LTQ3NmEtYWVmNS1mNzJiMjcyNjk4MGIiLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6ImF3cy5jb2duaXRvLnNpZ25pbi51c2VyLmFkbWluIiwiYXV0aF90aW1lIjoxNjE0MjYyNjAzLCJpc3MiOiJodHRwczpcL1wvY29nbml0by1pZHAuZXUtd2VzdC0xLmFtYXpvbmF3cy5jb21cL2V1LXdlc3QtMV9YWTZnZFd3SUYiLCJleHAiOjE2MTQyNjYyNTQsImlhdCI6MTYxNDI2MjY1NCwianRpIjoiNTM1YTA1MzQtMWIwMC00ZDBlLWFmNDMtZTRhOGQ4YmJhYWFhIiwiY2xpZW50X2lkIjoiMzJwdDNtODUybXZzaWphbDdkcDNlMzVmMHAiLCJ1c2VybmFtZSI6IjBlMWM1NjhiLTM1MTYtNGU2Ni1hOGU2LTlhMTQwMjY0ZTExZiJ9.fR1emmF-wCmgld0lF1AplKUtG2A408JQalJXtgHR4NTVlhzaLq1W_d_SB1VC6AkfsjvM_LL7xg2l-v_WW78bakWnqGDs-YbzABYxQoU9UKxH64r5wjDTBbpMiXt0lfZWSWsBAKweqgPKshqGS4lgsm_DBUIAR8Yd5k3EPmNMSHM3LkfGaf_5BjWE5tPmwSOKBj1D-dQ1K6gm1LB4BGh_b_36QzuSe_Zy12LIRY0QIgFG52gmTDM77P0TsYjsnTtkFVle2J_zdxQn1K7qytGgJY0NV9ks4wSDSeqYxyoZAzqM8AMO3Q3eKkUp64TUn9kAbiWS2zFuWserTy2CRXg7vw\",\n            \"refreshToken\": \"eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.YmvaiVMqgteVaqD38AyAKieNaNaqg5Iw7lB-qzvDqni7YWaPRzsuwoggPO5ZVJeqlTlGK5Xt2AEbHZRrEJRjuJCd9N1dfG_Moni8bHfM5Q3SDo9_Sx3D4zj7rIfwXji3WqBRvCwMPlvQ4iUKQlXiLmSS2f8dbHrKEq2N29ZPno_w5voxxiaI4Oz5Hdh12PZK6LHh_eRAeNuX3NLuO72TQzQ8Vo7W7FBJIOf_roi686yw9s4mRHsvJxgncicQrlqmJSsayUJGhvT6-W9vvE7iN-OZxPDgH7nmifROeeWvmmKLIGxMDGz8MP0fblSL4dNbfr6EsDI1dubjCSnehGBWHg.3o75KoHAd9BrTkS2.V23xvsoNRKGTKmve61S0csLpZ4pZS5-J61TmhJNz8fjg1MlQGqRFtCVMFOkrD0Wwj80Iu3drHHeV53UN1ZpnPu27RXr6j_DNk7P4CrX5gjgGQrEbGHBi2QTlSPBRTb6-PIGGppPZNOePCAr6BhbQPrHScigexWTUtONndh3HN_p9awys3Ls44YpVaEfxXJGEEifTsWRDl_RdYL9n3TSNaALvG3eFDR0JewF56P3yX7sVEjq3L20hsyWRhis9G9BSa8D3D088fGOcG8__92T716sK7qCC7F2uXseQADh0EPgmnbPt59KAkC9qJgdKJR6RD6C7fdjdtDY5VtFPE-TcA3xBTZezGatQf5Kf6EEuhRVazeiwH9L2dIiX-JuJlbON-0GV0zZMQ_RTtFx8xoCf9wQCT-AhisjdkChZdw1m6snRjMASpKBahX5UDnEdrHs25LVbI4RTVkzXygC2N_jw5LiuYoUkJ5LQNVD2jxWbjhJM9IDtFwOJuAt-enuMKv6PTac--qLkw9q2cduW8_EUAgz9sq63or5_Kqvk9cCaCOtXA49p555HOMfXAGRUM2Y68juz78riwiIudcBi6dU4qf00Il_Zk1mYJBiKNRJPLTLtUaWJYp73AR9ZLB8lDam1j2KvkZa0uR9LuOnYAbN8e7uvn9xArDZO9bpn6Z1oL6ItCNOrkgkEddj6N5aOau928IJtp3hwQUYex6xEyADTCYScPFA_3wnVnIqsEz-5x1FeJJu99vwpLK3l7zwY4ldaXWLvYdIhW9BXVDTm12ams2QYefAfZ0sDFjvA5NzbexhvlSjDuy9Fwn_oYFVa02YJGT0vQEGQM2KmkItTs-WvgJ7TzWgkFovWb_XDwYpNytcirieyLVxKdpuuXrPVISn0KElX0VYk01m1bo-kwM6nxJwUOhk25uMXHhj7g7wZJLYPkPK-npiOZABhuKcllxRKGWI18IQv1snz9761yhdTwF8i0IHeL2qP8oR1Zw-IQaNisA4JJtCRwK6GDDh14yUiXf3dluWqxRRuvB_R-ev_N6ZBNEhk1ksxcSlEAhD4zW_jqzez7LhZlr1z3f2mLR_8xvIljYVVMJPc0pim-JEy6BRNsnxfkvCKRHdPjQbuk0vJK9qyk9wKCbjNTogVEm8UOEGs9Q9oOw_mkf-v1Nii_MjZZQwRQGSFNabe13zuYMd-WsXA9AIOxtkLRMLAyEm0oY1P2a9UMO7z9ZFbSpCGgWayncPpEqZHcQJEwgJCj78P3acNWUn-kcMN_TIoKO6AS7swPBApLfs2cwCp6qBdEEswHAOEkhodxQu-RKwCpTseJGIMRsy_aPwj-w.s1Czdb7WlZcKBIoBtUmbZg\"\n        }\n    }\n}"},{"id":"ed200aff-3fe5-4ef3-aba0-f610119c9527","name":"SignIn with refresh token - Not Authorized","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($refreshToken: String!){\n  signIn(input: { refreshToken: $refreshToken}){\n    token\n    refreshToken\n  }\n}","variables":"{\n    \"refreshToken\": \"<<Refresh token, provided once signed in>>\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"128"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 25 Feb 2021 16:10:12 GMT"},{"key":"x-amzn-RequestId","value":"aa6d8245-0e52-4a13-9115-8738d55db6b1"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"Via","value":"1.1 03c6bb07a0ba5f6bce71fe21ae4e3d78.cloudfront.net (CloudFront), 1.1 a0042b5b0abdf83ac753e9d8be59e4e5.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD89-C2"},{"key":"X-Amz-Cf-Pop","value":"IAD79-C3"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"X-Amz-Cf-Id","value":"1_IYZyA3tzd2gVY5UE7cxknD5skl8vu-yRSpaFTrEzyiLSwb1MaU5w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [\n        {\n            \"errorType\": \"UnauthorizedException\",\n            \"message\": \"Valid authorization header not provided.\"\n        }\n    ]\n}"}],"_postman_id":"aa3a968c-a660-41aa-904d-493ade33f058"},{"name":"Change password","id":"d60ccbfe-9898-45aa-aa8d-55743cc6a9fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"}],"body":{"mode":"graphql","graphql":{"query":"mutation($INPUT_OLD_PASSWORD: String!, $INPUT_NEW_PASSWORD: String!) {\n  changePassword(input: { oldPassword: $INPUT_OLD_PASSWORD, newPassword: $INPUT_NEW_PASSWORD })  {\n    user {\n        customerId\n        firstName\n        lastName\n        email\n        id\n        pageConsumption {\n            monthlyUsage\n            monthlyQuota\n        }\n        currentPlan {\n            isRecommended\n            isDefault\n            name\n        }\n        availableFormats\n    }\n  }\n}","variables":"{\n    \"INPUT_OLD_PASSWORD\": \"<<Placeholder old password>>\",\n    \"INPUT_NEW_PASSWORD\": \"<<Placeholder new password>>\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>You can use this mutation to change your current user's password.</p>\n<p><strong>Note:</strong> We strongly recommend to use the Parsel web platform to change your password at <a href=\"https://parsel.ai/forgot-password.\">https://parsel.ai/forgot-password.</a> If you have a US account and wish to change your password with this mutation, please ensure that the new password meets these requirements:</p>\n<ul>\n<li>At least 8 characters</li>\n<li>At least one number </li>\n<li>At least one uppercase character </li>\n<li>At least one lowercase character </li>\n<li>At least one special character</li>\n</ul>\n","urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"e7d6cc0a-3be8-4e14-bc9e-4cfe66e842b9","name":"Change password - Example Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation($INPUT_OLD_PASSWORD: String!, $INPUT_NEW_PASSWORD: String!) {\n  changePassword(input: { oldPassword: $INPUT_OLD_PASSWORD, newPassword: $INPUT_NEW_PASSWORD })  {\n    user {\n        customerId\n        firstName\n        lastName\n        email\n        id\n        pageConsumption {\n            monthlyUsage\n            monthlyQuota\n        }\n        currentPlan {\n            isRecommended\n            isDefault\n            name\n        }\n        availableFormats\n    }\n  }\n}","variables":"{\n    \"INPUT_OLD_PASSWORD\": \"ExamplePasswordOld123$\",\n    \"INPUT_NEW_PASSWORD\": \"ExamplePasswordNew123$\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"411"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 15 Sep 2022 15:54:08 GMT"},{"key":"x-amzn-RequestId","value":"4a4a3e0f-dca2-4037-a6e9-44f2b1a4d428"},{"key":"x-amzn-appsync-TokensConsumed","value":"2"},{"key":"Via","value":"1.1 f6486ebc6b1047af524348c38ba450e4.cloudfront.net (CloudFront), 1.1 bf4a364e1dd23fe6634f1bf013457c5c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C1"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"ua-3YuhfXGwGaaGD_V1YXs0qBac6xpC2pZz-lDIKW_xcMfe6sLElYg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"changePassword\": {\n            \"user\": {\n                \"customerId\": \"cus_LsHpYtCjCEFuMT\",\n                \"firstName\": \"Adam\",\n                \"lastName\": \"Borringer\",\n                \"email\": \"aRealCustomer@tellimer.com\",\n                \"id\": \"3b053901-7001-4287-8a87-06861b87aba4\",\n                \"pageConsumption\": {\n                    \"monthlyUsage\": 50,\n                    \"monthlyQuota\": null\n                },\n                \"currentPlan\": {\n                    \"isRecommended\": true,\n                    \"isDefault\": false,\n                    \"name\": \"Enterprise\"\n                },\n                \"availableFormats\": [\n                    \"ZIP\",\n                    \"PDF\",\n                    \"CSV\",\n                    \"JSON\",\n                    \"XLSX\",\n                    \"JPG\",\n                    \"RAW_TEXT_JSON\",\n                    \"RAW_TEXT_TXT\"\n                ]\n            }\n        }\n    }\n}"}],"_postman_id":"d60ccbfe-9898-45aa-aa8d-55743cc6a9fd"}],"id":"92e0b94d-cfae-4bff-9173-8e05898e321b","_postman_id":"92e0b94d-cfae-4bff-9173-8e05898e321b","description":"","auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""},"isInherited":true,"source":{"_postman_id":"d7f35db2-e0cb-4747-af32-fa5e37bf3847","id":"d7f35db2-e0cb-4747-af32-fa5e37bf3847","name":"Parsel Enterprise API","type":"collection"}}},{"name":"Process a document","item":[{"name":"Upload a document","item":[{"name":"Get Presigned Url","event":[{"listen":"test","script":{"id":"371a8365-b060-459c-a829-9f16e3726fac","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);","    let response = pm.response.json();","    pm.collectionVariables.set(\"presigned_url\", response.data.generatePresignedUrl);","});"],"type":"text/javascript"}}],"id":"1195fa56-2c3e-41bb-a806-d575676d3de7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($file_name: String!){\n    generatePresignedUrl(input: { fileName: $file_name })\n}","variables":"{\n    \"file_name\" : \"<<Placeholder file name>>\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<h2 id=\"generate-a-presigned-url\">Generate a presigned URL</h2>\n<p>A <code>Presigned URL</code> acts as a verified location to upload your input documen to. The URL generated by this request is used in the following step to <a href=\"#acacc44b-fdee-4df2-b743-9c6c0f41c989\">Upload your file</a>, and subsequently referenced when creating your dataset. Each dataset maps to a singular <code>Presigned URL</code>, thus for every document that you wish to process, a new <code>Presigned URL</code> should be generated.</p>\n<p><strong>NOTE:</strong> The <code>Presigned URL</code> has an expiry date.</p>\n<h3 id=\"input-parameters\">Input Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>file_name</td>\n<td>The filename by which the contents of the <code>Presigned URL</code> will be referred to. This does not need to be the exact name of the uploaded file and does not need to be unique.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"89a82ce1-a0f2-40a4-9b5e-3c9db6a369e0","name":"Get Presigned Url","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($file_name: String!){\n    generatePresignedUrl(input: { fileName: $file_name })\n}","variables":"{\n    \"file_name\" : \"<<Placeholder file name>>\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Wed, 22 Jul 2020 20:16:33 GMT"},{"key":"x-amzn-RequestId","value":"63df6283-0784-4942-a68a-406a144462ea"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 812340d4e76cb03e2d09a3ae9f9fd8b8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"FTyKCMUtA5w6u4sEy0JYJjKJgj8ztpdE4LM8m39I7BxeveqSNC2B5g=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"generatePresignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/0e1c568b-3516-4e66-a8e6-9a140264e11f/3739929d-0f4d-4c1e-b660-56b0da339f02/test.pdf?AWSAccessKeyId=ASIAYY3UINZC7KVJVM76&Content-Type=application%2Fpdf&Expires=1614869933&Signature=rFEQm4HhZz0Mo4oP1Dwz2KEKIp8%3D&x-amz-security-token=IQoJb3JpZ2luX2VjEBcaCWV1LXdlc3QtMSJHMEUCIHnaNv674AM4hi91OYbEU0B%2FIhF%2BwObPb8dy6zsU0IXyAiEA6JM4vGr96%2FdXkfJl5bf5%2FcNaIkGIPPvd%2B070IN4NFFoq1gEIMBACGgw2MDMxNDk4NTYzMjUiDKgZeaeEvX8yulxvxSqzAZJeNqy4vrUfBy06Hv%2Bh5LCJ483JVNfF0YlEWpodCAWAZCnGVjns%2BBA0qo34OdFhQcm9iw4swKwBg0xyGf6HRfGHPWCd8it2Kkqie4mqdrtEduOTYp1qd1pkyijv2gyXzEEHNzEVyx09Zj74Thg0QXxfkSP4REqTK%2Bmi7VeLjOYg41uTTmhJHvuv8%2Bj%2FBRyhJp%2BLuF%2BTtNeyTSVybaY8TxuPi9OKbA0LE4rI29ZasLhnKwiSMPjn3oEGOuABkJJkdeyVkDO5ZAmrP%2BbUU3ep4vGNEgKEQys%2FdoAYPOJxshPXe7Tf0IwCaT1zfPdnAGx2dQuZgfygrnHgFi372CGoyGMW6OfBSvtqPQDuKESGyElrmk9heMFY%2FZnmuQLIPuDrbGVs8EcWGghG3tVnISxN1%2BArGEL24YZXQgh6RTSjsS5HfXyouwvdE5q1S6H%2Bn9G%2F3KUPmsD03zTZTfhEgD7BRN81DPNzZYwGj5%2FSfNALCLw1oYkEYX8zhK%2BdzEwfkk%2BV5NSZMwC%2FFU%2F%2B7N0733HVW04K2pmC9NZlFT3UpO0%3D\"\n    }\n}"}],"_postman_id":"1195fa56-2c3e-41bb-a806-d575676d3de7"},{"name":"Upload file","event":[{"listen":"test","script":{"id":"433487c6-76fd-4a61-99c1-c55be4cc2b73","exec":["pm.test(\"Successfully Uploaded File\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);","});"],"type":"text/javascript"}}],"id":"acacc44b-fdee-4df2-b743-9c6c0f41c989","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/pdf","type":"text"}],"body":{"mode":"file","file":{"src":""}},"url":"<<Presigned URL Placeholder, generated using Get Presigned URL>>","description":"<h2 id=\"upload-file\">Upload File</h2>\n<p>Using a <code>Presigned URL</code> from the previous step, submit a <code>PUT</code> request to upload your chosen input file to the <code>Presigned URL</code> location.</p>\n<p>Please note that a successful request has an empty response body, but has status code <code>200 OK</code>. As long as the status code is <code>200 OK</code>, you can be sure that the file was successfully uploaded.</p>\n<p><em><strong>WARNING</strong></em> <em>: The Postman request documentation does not include a default example file, due to file restrictions implemented by Postman. If you're using Postman, please include your own file using Postman's interactive file selector in the</em> <em><code>binary</code></em> <em>Body. If using the code examples, please set the binary content according to the programming language and placeholder present.</em></p>\n","urlObject":{"host":["<<Presigned URL Placeholder, generated using Get Presigned URL>>"],"query":[],"variable":[]}},"response":[{"id":"4dc40043-b745-4d87-85f1-885cfec064c2","name":"Upload file - Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/pdf","type":"text"}],"body":{"mode":"file","file":{"src":"HqaqMCLoI/test.pdf"}},"url":"<<Presigned URL Placeholder, generated using Get Presigned URL>>"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"x-amz-id-2","value":"FcqKO4PsQ00S6cX1Ij3it1R7AYlSji788o1EVkH7tFJpXlABafbpXAdPXoZDxDzzadCk2eCwv8Q="},{"key":"x-amz-request-id","value":"C9BA2C273F491300"},{"key":"Date","value":"Thu, 25 Feb 2021 16:24:24 GMT"},{"key":"ETag","value":"\"331e8397807e65be4f838ccd95787880\""},{"key":"Content-Length","value":"0"},{"key":"Server","value":"AmazonS3"}],"cookie":[],"responseTime":null,"body":null},{"id":"da847c0e-7dfb-4ed2-a67f-5fdcb3b9c5d5","name":"Upload file - No File Selected","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/pdf","type":"text"}],"body":{"mode":"file","file":{"src":""}},"url":"<<Presigned URL Placeholder, generated using Get Presigned URL>>"},"status":"Forbidden","code":403,"_postman_previewlanguage":"xml","header":[{"key":"x-amz-request-id","value":"CGG9FFT20SX00CM4"},{"key":"x-amz-id-2","value":"1GeuTZbqIafp3y/5EXPQqioNFe6k8hUfOH6xxbYtF+3yh9z9iOpLzycWhBEuyAitaSyFXHV5AGQ="},{"key":"Content-Type","value":"application/xml"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Fri, 16 Sep 2022 16:14:10 GMT"},{"key":"Server","value":"AmazonS3"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>\n    <Code>SignatureDoesNotMatch</Code>\n    <Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>\n    <AWSAccessKeyId>ASIAYY3UINZCWG7MQJS7</AWSAccessKeyId>\n    <StringToSign>PUT\n\n\n1663949648\nx-amz-security-token:IQoJb3JpZ2luX2VjEFgaCWV1LXdlc3QtMSJIMEYCIQCjPaJR+kVCiT44K2J9CZLM5NeArDtILvyqa1kqVjEyeAIhAMnFWnDzkaNB8zruJv20wmfTFrUybxu1khsDpPzmw5xfKosDCPH//////////wEQAxoMNjAzMTQ5ODU2MzI1IgzROHS5sGpXdN/I4g4q3wKgEvISjxCXc/KTmGNh/3HX7F8hrxVPLJs5c6qTORzqijKAs+pU1n1rPV6vWKHbSifwQIjVQ/2UXdfF9iomVS+dw87g06zZhV8BH/MUy6+BZdcWj9GnpYpipxmRlghJtgF9kCVd8gBehlkLDox/k1XH1D/CuFmu/jySd4sqTi/Al/p/FWLUVrLTBp077YFMa17ncYUogBjNAoYAeIC3H0ZsE7GDnF7zEW4ZCcO2Oy17385ih7AjCVznfVSaIJbieAMZxbdX8X+hBHiUWgGCk6Jq0O2aWzmZpBK3zUWl439xWvX3GZ6DrP9V40pt//zM3cHCZLCyCjMosGT3glT5cCqCvDtQIPiJe4JeLMG3RtSbT8RxjCzv6gNfPofqO+b9T93MoA6CkZzv48ESgKpby4Mo60iQuNo1DpUd9KNSyGJyfgm4nN8da+DeGuI1oGnnvNBEQ0nge3Jhr44Zepm9BpAwurySmQY6nQGbs5cy5CDS80dvkli+l+DD/eoTUKHVj0xrgoyX9ebWpnv0rXWQts7C5avSKUSo6LVXo/j+ScfU2r6uqphICM8AcVJYMyVtBtrhj2CKt8/N+vYUDkJAFSO1N+IbSPiWMtaQQ/wXHw7LkivQqLVlDPwrGXTlEq+df4fitGGfl5IW1lKTNwf1AmpcnfL96+zBraZTt6ORsJaS+xOC3RB9\n/prod-parsel-backend-documents/3b053901-7001-4287-8a87-06861b87aba4/2b57189d-2c9b-4b9a-9022-f2cae12a53ed.pdf</StringToSign>\n    <SignatureProvided>A4tR+Wp/EX0U+kk1cwfTDqM5S2c=</SignatureProvided>\n    <StringToSignBytes>50 55 54 0a 0a 0a 31 36 36 33 39 34 39 36 34 38 0a 78 2d 61 6d 7a 2d 73 65 63 75 72 69 74 79 2d 74 6f 6b 65 6e 3a 49 51 6f 4a 62 33 4a 70 5a 32 6c 75 58 32 56 6a 45 46 67 61 43 57 56 31 4c 58 64 6c 63 33 51 74 4d 53 4a 49 4d 45 59 43 49 51 43 6a 50 61 4a 52 2b 6b 56 43 69 54 34 34 4b 32 4a 39 43 5a 4c 4d 35 4e 65 41 72 44 74 49 4c 76 79 71 61 31 6b 71 56 6a 45 79 65 41 49 68 41 4d 6e 46 57 6e 44 7a 6b 61 4e 42 38 7a 72 75 4a 76 32 30 77 6d 66 54 46 72 55 79 62 78 75 31 6b 68 73 44 70 50 7a 6d 77 35 78 66 4b 6f 73 44 43 50 48 2f 2f 2f 2f 2f 2f 2f 2f 2f 2f 77 45 51 41 78 6f 4d 4e 6a 41 7a 4d 54 51 35 4f 44 55 32 4d 7a 49 31 49 67 7a 52 4f 48 53 35 73 47 70 58 64 4e 2f 49 34 67 34 71 33 77 4b 67 45 76 49 53 6a 78 43 58 63 2f 4b 54 6d 47 4e 68 2f 33 48 58 37 46 38 68 72 78 56 50 4c 4a 73 35 63 36 71 54 4f 52 7a 71 69 6a 4b 41 73 2b 70 55 31 6e 31 72 50 56 36 76 57 4b 48 62 53 69 66 77 51 49 6a 56 51 2f 32 55 58 64 66 46 39 69 6f 6d 56 53 2b 64 77 38 37 67 30 36 7a 5a 68 56 38 42 48 2f 4d 55 79 36 2b 42 5a 64 63 57 6a 39 47 6e 70 59 70 69 70 78 6d 52 6c 67 68 4a 74 67 46 39 6b 43 56 64 38 67 42 65 68 6c 6b 4c 44 6f 78 2f 6b 31 58 48 31 44 2f 43 75 46 6d 75 2f 6a 79 53 64 34 73 71 54 69 2f 41 6c 2f 70 2f 46 57 4c 55 56 72 4c 54 42 70 30 37 37 59 46 4d 61 31 37 6e 63 59 55 6f 67 42 6a 4e 41 6f 59 41 65 49 43 33 48 30 5a 73 45 37 47 44 6e 46 37 7a 45 57 34 5a 43 63 4f 32 4f 79 31 37 33 38 35 69 68 37 41 6a 43 56 7a 6e 66 56 53 61 49 4a 62 69 65 41 4d 5a 78 62 64 58 38 58 2b 68 42 48 69 55 57 67 47 43 6b 36 4a 71 30 4f 32 61 57 7a 6d 5a 70 42 4b 33 7a 55 57 6c 34 33 39 78 57 76 58 33 47 5a 36 44 72 50 39 56 34 30 70 74 2f 2f 7a 4d 33 63 48 43 5a 4c 43 79 43 6a 4d 6f 73 47 54 33 67 6c 54 35 63 43 71 43 76 44 74 51 49 50 69 4a 65 34 4a 65 4c 4d 47 33 52 74 53 62 54 38 52 78 6a 43 7a 76 36 67 4e 66 50 6f 66 71 4f 2b 62 39 54 39 33 4d 6f 41 36 43 6b 5a 7a 76 34 38 45 53 67 4b 70 62 79 34 4d 6f 36 30 69 51 75 4e 6f 31 44 70 55 64 39 4b 4e 53 79 47 4a 79 66 67 6d 34 6e 4e 38 64 61 2b 44 65 47 75 49 31 6f 47 6e 6e 76 4e 42 45 51 30 6e 67 65 33 4a 68 72 34 34 5a 65 70 6d 39 42 70 41 77 75 72 79 53 6d 51 59 36 6e 51 47 62 73 35 63 79 35 43 44 53 38 30 64 76 6b 6c 69 2b 6c 2b 44 44 2f 65 6f 54 55 4b 48 56 6a 30 78 72 67 6f 79 58 39 65 62 57 70 6e 76 30 72 58 57 51 74 73 37 43 35 61 76 53 4b 55 53 6f 36 4c 56 58 6f 2f 6a 2b 53 63 66 55 32 72 36 75 71 70 68 49 43 4d 38 41 63 56 4a 59 4d 79 56 74 42 74 72 68 6a 32 43 4b 74 38 2f 4e 2b 76 59 55 44 6b 4a 41 46 53 4f 31 4e 2b 49 62 53 50 69 57 4d 74 61 51 51 2f 77 58 48 77 37 4c 6b 69 76 51 71 4c 56 6c 44 50 77 72 47 58 54 6c 45 71 2b 64 66 34 66 69 74 47 47 66 6c 35 49 57 31 6c 4b 54 4e 77 66 31 41 6d 70 63 6e 66 4c 39 36 2b 7a 42 72 61 5a 54 74 36 4f 52 73 4a 61 53 2b 78 4f 43 33 52 42 39 0a 2f 70 72 6f 64 2d 70 61 72 73 65 6c 2d 62 61 63 6b 65 6e 64 2d 64 6f 63 75 6d 65 6e 74 73 2f 33 62 30 35 33 39 30 31 2d 37 30 30 31 2d 34 32 38 37 2d 38 61 38 37 2d 30 36 38 36 31 62 38 37 61 62 61 34 2f 32 62 35 37 31 38 39 64 2d 32 63 39 62 2d 34 62 39 61 2d 39 30 32 32 2d 66 32 63 61 65 31 32 61 35 33 65 64 2e 70 64 66</StringToSignBytes>\n    <RequestId>CGG9FFT20SX00CM4</RequestId>\n    <HostId>1GeuTZbqIafp3y/5EXPQqioNFe6k8hUfOH6xxbYtF+3yh9z9iOpLzycWhBEuyAitaSyFXHV5AGQ=</HostId>\n</Error>"},{"id":"899088c5-75f0-4a79-8bfb-26fd9a9be8cc","name":"Upload file - Invalid Signed Url","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/pdf","type":"text"}],"body":{"mode":"file","file":{"src":"LAhX8IY9l/test.pdf"}},"url":"<GENERATED_PRESIGNED_URL>"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"x-amz-id-2","value":"w0iRIzgwKeuyHfmk2IaQRCZqxw11yONBJkW4o6suZIxKaD/HCharosfFj5si7O/04lbplcaXq2U="},{"key":"x-amz-request-id","value":"5KBN0WBHBWAYDM1J"},{"key":"Date","value":"Thu, 25 Feb 2021 15:36:15 GMT"},{"key":"ETag","value":"\"331e8397807e65be4f838ccd95787880\""},{"key":"Content-Length","value":"0"},{"key":"Server","value":"AmazonS3"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>\n    <Code>SignatureDoesNotMatch</Code>\n    <Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message>\n    <AWSAccessKeyId>ASIAYY3UINZC7KVJVM76</AWSAccessKeyId>\n    <StringToSign>PUT\n\n\n1614875984\nx-amz-security-token:IQoJb3JpZ2luX2VjEBcaCWV1LXdlc3QtMSJHMEUCIHnaNv674AM4hi91OYbEU0B/IhF+wObPb8dy6zsU0IXyAiEA6JM4vGr96/dXkfJl5bf5/cNaIkGIPPvd+070IN4NFFoq1gEIMBACGgw2MDMxNDk4NTYzMjUiDKgZeaeEvX8yulxvxSqzAZJeNqy4vrUfBy06Hv+h5LCJ483JVNfF0YlEWpodCAWAZCnGVjns+BA0qo34OdFhQcm9iw4swKwBg0xyGf6HRfGHPWCd8it2Kkqie4mqdrtEduOTYp1qd1pkyijv2gyXzEEHNzEVyx09Zj74Thg0QXxfkSP4REqTK+mi7VeLjOYg41uTTmhJHvuv8+j/BRyhJp+LuF+TtNeyTSVybaY8TxuPi9OKbA0LE4rI29ZasLhnKwiSMPjn3oEGOuABkJJkdeyVkDO5ZAmrP+bUU3ep4vGNEgKEQys/doAYPOJxshPXe7Tf0IwCaT1zfPdnAGx2dQuZgfygrnHgFi372CGoyGMW6OfBSvtqPQDuKESGyElrmk9heMFY/ZnmuQLIPuDrbGVs8EcWGghG3tVnISxN1+ArGEL24YZXQgh6RTSjsS5HfXyouwvdE5q1S6H+n9G/3KUPmsD03zTZTfhEgD7BRN81DPNzZYwGj5/SfNALCLw1oYkEYX8zhK+dzEwfkk+V5NSZMwC/FU/+7N0733HVW04K2pmC9NZlFT3UpO0=\n/prod-parsel-backend-documents/0e1c568b-3516-4e66-a8e6-9a140264e11f/8aa54667-eb55-45ec-8c80-4473803a6154/test.pdf</StringToSign>\n    <SignatureProvided>/1JVQ58zi64RdtuN9lVOjyrAVXo=</SignatureProvided>\n    <StringToSignBytes>50 55 54 0a 0a 0a 31 36 31 34 38 37 35 39 38 34 0a 78 2d 61 6d 7a 2d 73 65 63 75 72 69 74 79 2d 74 6f 6b 65 6e 3a 49 51 6f 4a 62 33 4a 70 5a 32 6c 75 58 32 56 6a 45 42 63 61 43 57 56 31 4c 58 64 6c 63 33 51 74 4d 53 4a 48 4d 45 55 43 49 48 6e 61 4e 76 36 37 34 41 4d 34 68 69 39 31 4f 59 62 45 55 30 42 2f 49 68 46 2b 77 4f 62 50 62 38 64 79 36 7a 73 55 30 49 58 79 41 69 45 41 36 4a 4d 34 76 47 72 39 36 2f 64 58 6b 66 4a 6c 35 62 66 35 2f 63 4e 61 49 6b 47 49 50 50 76 64 2b 30 37 30 49 4e 34 4e 46 46 6f 71 31 67 45 49 4d 42 41 43 47 67 77 32 4d 44 4d 78 4e 44 6b 34 4e 54 59 7a 4d 6a 55 69 44 4b 67 5a 65 61 65 45 76 58 38 79 75 6c 78 76 78 53 71 7a 41 5a 4a 65 4e 71 79 34 76 72 55 66 42 79 30 36 48 76 2b 68 35 4c 43 4a 34 38 33 4a 56 4e 66 46 30 59 6c 45 57 70 6f 64 43 41 57 41 5a 43 6e 47 56 6a 6e 73 2b 42 41 30 71 6f 33 34 4f 64 46 68 51 63 6d 39 69 77 34 73 77 4b 77 42 67 30 78 79 47 66 36 48 52 66 47 48 50 57 43 64 38 69 74 32 4b 6b 71 69 65 34 6d 71 64 72 74 45 64 75 4f 54 59 70 31 71 64 31 70 6b 79 69 6a 76 32 67 79 58 7a 45 45 48 4e 7a 45 56 79 78 30 39 5a 6a 37 34 54 68 67 30 51 58 78 66 6b 53 50 34 52 45 71 54 4b 2b 6d 69 37 56 65 4c 6a 4f 59 67 34 31 75 54 54 6d 68 4a 48 76 75 76 38 2b 6a 2f 42 52 79 68 4a 70 2b 4c 75 46 2b 54 74 4e 65 79 54 53 56 79 62 61 59 38 54 78 75 50 69 39 4f 4b 62 41 30 4c 45 34 72 49 32 39 5a 61 73 4c 68 6e 4b 77 69 53 4d 50 6a 6e 33 6f 45 47 4f 75 41 42 6b 4a 4a 6b 64 65 79 56 6b 44 4f 35 5a 41 6d 72 50 2b 62 55 55 33 65 70 34 76 47 4e 45 67 4b 45 51 79 73 2f 64 6f 41 59 50 4f 4a 78 73 68 50 58 65 37 54 66 30 49 77 43 61 54 31 7a 66 50 64 6e 41 47 78 32 64 51 75 5a 67 66 79 67 72 6e 48 67 46 69 33 37 32 43 47 6f 79 47 4d 57 36 4f 66 42 53 76 74 71 50 51 44 75 4b 45 53 47 79 45 6c 72 6d 6b 39 68 65 4d 46 59 2f 5a 6e 6d 75 51 4c 49 50 75 44 72 62 47 56 73 38 45 63 57 47 67 68 47 33 74 56 6e 49 53 78 4e 31 2b 41 72 47 45 4c 32 34 59 5a 58 51 67 68 36 52 54 53 6a 73 53 35 48 66 58 79 6f 75 77 76 64 45 35 71 31 53 36 48 2b 6e 39 47 2f 33 4b 55 50 6d 73 44 30 33 7a 54 5a 54 66 68 45 67 44 37 42 52 4e 38 31 44 50 4e 7a 5a 59 77 47 6a 35 2f 53 66 4e 41 4c 43 4c 77 31 6f 59 6b 45 59 58 38 7a 68 4b 2b 64 7a 45 77 66 6b 6b 2b 56 35 4e 53 5a 4d 77 43 2f 46 55 2f 2b 37 4e 30 37 33 33 48 56 57 30 34 4b 32 70 6d 43 39 4e 5a 6c 46 54 33 55 70 4f 30 3d 0a 2f 70 72 6f 64 2d 70 61 72 73 65 6c 2d 62 61 63 6b 65 6e 64 2d 64 6f 63 75 6d 65 6e 74 73 2f 30 65 31 63 35 36 38 62 2d 33 35 31 36 2d 34 65 36 36 2d 61 38 65 36 2d 39 61 31 34 30 32 36 34 65 31 31 66 2f 38 61 61 35 34 36 36 37 2d 65 62 35 35 2d 34 35 65 63 2d 38 63 38 30 2d 34 34 37 33 38 30 33 61 36 31 35 34 2f 74 65 73 74 2e 70 64 66</StringToSignBytes>\n    <RequestId>DB8DDFD26E2B6335</RequestId>\n    <HostId>lP/cYCzl7orexAju4QodsJytOF2dZSytlYLTt58+iMVnnD4OTfD5QKAFwVHXobU08DgKBycyNm4=</HostId>\n</Error>"},{"id":"99b71dfe-82d3-48f0-beac-7df5eb9f7e4a","name":"Upload file - Success","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/pdf","type":"text"}],"body":{"mode":"file","file":{"src":"HqaqMCLoI/test.pdf"}},"url":"<GENERATED_PRESIGNED_URL>"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"x-amz-id-2","value":"FcqKO4PsQ00S6cX1Ij3it1R7AYlSji788o1EVkH7tFJpXlABafbpXAdPXoZDxDzzadCk2eCwv8Q="},{"key":"x-amz-request-id","value":"C9BA2C273F491300"},{"key":"Date","value":"Thu, 25 Feb 2021 16:24:24 GMT"},{"key":"ETag","value":"\"331e8397807e65be4f838ccd95787880\""},{"key":"Content-Length","value":"0"},{"key":"Server","value":"AmazonS3"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"acacc44b-fdee-4df2-b743-9c6c0f41c989"},{"name":"Create dataset","event":[{"listen":"prerequest","script":{"id":"1bdfe79b-2ee1-4d1a-8727-a6dd4f1521ad","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"0e15414f-cf9d-42e0-a7d4-1d7bbfe18e97","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);","    let response = pm.response.json();","    pm.collectionVariables.set(\"dataset_id\", response.data.createDataset.dataset.id);","});"],"type":"text/javascript"}}],"id":"b0a25516-cd76-4a8b-914d-7f10340590a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($name: String!, $signedUrl: String!, $numberFormat: NumberFormat!, $extractFields: Boolean!, $zipOutputs: Boolean!){\n  createDataset(input: {\n      name: $name,\n      signedUrl: $signedUrl,\n      numberFormat: $numberFormat,\n      extractFields: $extractFields,\n      zipOutputs: $zipOutputs }){\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n      extractFields\n      numberFormat\n      zipOutputs\n    }\n  }\n}","variables":"{\n    \"name\": \"<<Placeholder dataset name>>\",\n    \"signedUrl\": \"<<Presigned URL Placeholder, generated using Get Presigned URL>>\",\n    \"numberFormat\": \"ENGLISH\",\n    \"extractFields\": false,\n    \"zipOutputs\": false\n}"}},"url":"https://api.parsel.ai/graphql","description":"<h2 id=\"create-dataset\">Create Dataset</h2>\n<p>Once a file has been uploaded to a <code>Presigned URL</code> it can then be encapsulated in a dataset and marked to begin processing. This is done by creating a dataset.</p>\n<h3 id=\"what-is-a-dataset\">What is a dataset?</h3>\n<p>A dataset in the Parsel API refers to the bundled execution around a document. This bundle includes the uploaded file location, associated execution metadata and, if available, the generated outputs.</p>\n<p>Datasets do not expire, and are stored securely, all data contained within is fully encrypted at rest and in flight.</p>\n<p>The dataset metadata contains:</p>\n<ul>\n<li>Dataset unique ID</li>\n<li>Execution status denoting the current stage of execution</li>\n<li>Execution progress, which is a numeric representation of the progress through the current execution stage</li>\n<li>The metadata inputted in the <code>Graphql Variables</code></li>\n</ul>\n<p>All manipulation of uploaded files, outputs and executions are accessed through dataset management, as is described in the <code>Manage Dataset</code> section of the documentation.</p>\n<p>By calling the <code>Create Dataset</code> mutation you both create the dataset and start execution upon it automatically.</p>\n<p>The various input parameters can be found below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>The dataset name, this is useful for searching previously executed datasets instead. Does not need to be unique.</td>\n</tr>\n<tr>\n<td>signedUrl</td>\n<td>(<em>Optional</em>) If included the file at the target_url location will be used for the dataset.  <br />If omitted the most recent result from <code>Get Presigned URL</code> will be used.</td>\n</tr>\n<tr>\n<td>numberFormat</td>\n<td>(<em>Optional</em> - Default = ENGLISH) Optional parameter specifying number formatting for the input document, if omitted English number formatting is used.  <br />  <br />Formats available:  <br />- <strong>ENGLISH</strong> : 99,999.99  <br />- <strong>CONTINENTAL</strong> : 99.999,99  <br />- <strong>INTERNATIONAL_COMMA</strong>: 99 999,99  <br />- <strong>INTERNATIONAL_PERIOD</strong> : 99 999.99</td>\n</tr>\n<tr>\n<td>extractFields</td>\n<td>(<em>Optional</em> - Default = False) If set to <code>True</code> will enable the extraction of fields from the input document, alongside table processing. As a result, additional field specific outputs will available in the <code>Get Dataset</code> stage.  <br /><strong>NOTE</strong> This optional parameter is only available for documents with 10 or fewer pages.</td>\n</tr>\n<tr>\n<td>zipOutputs</td>\n<td>(<em>Optional</em> - Default = False) If set to <code>True</code> creates an output with zipped results available at the end of processing. For machine processing of results, it is recommended to keep the default value.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"8cdf6ac4-0abe-4433-a5ea-6e234f1f0689","name":"Create dataset - All optional fields filled","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($name: String!, $signedUrl: String!, $numberFormat: NumberFormat!, $extractFields: Boolean!, $zipOutputs: Boolean!){\n  createDataset(input: {\n      name: $name,\n      signedUrl: $signedUrl,\n      numberFormat: $numberFormat,\n      extractFields: $extractFields,\n      zipOutputs: $zipOutputs }){\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n      extractFields\n      numberFormat\n      zipOutputs\n    }\n  }\n}","variables":"{\n    \"name\": \"<<Placeholder dataset name>>\",\n    \"signedUrl\": \"<<Presigned URL Placeholder, generated using Get Presigned URL>>\",\n    \"numberFormat\": \"ENGLISH\",\n    \"extractFields\": false,\n    \"zipOutputs\": false\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"174"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 13:39:07 GMT"},{"key":"x-amzn-RequestId","value":"0e792cb7-bebd-480f-b9a8-06971cdba1fa"},{"key":"x-amzn-appsync-TokensConsumed","value":"8"},{"key":"Via","value":"1.1 af82af67460d4533dad2305c32467798.cloudfront.net (CloudFront), 1.1 ce4f489a5d83a6513bd3ddac34b38d8c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C2"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"6a8uGxNb2vQSpO56gpnEPXxhk9oKmMkXM_SOnEcr8mxpxhWWTq2Avg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"createDataset\": {\n            \"dataset\": {\n                \"id\": \"01GDJPRTMYKW3CFXC0FDZ0JFHJ\",\n                \"name\": \"Example Dataset\",\n                \"fileName\": \"<<Placeholder file name>>\",\n                \"status\": \"IN_PROGRESS\",\n                \"progress\": 0\n            }\n        }\n    }\n}\n\n{\n    \"data\": {\n        \"createDataset\": {\n            \"dataset\": {\n                \"id\": \"01GF1PCZBSYTTQBQGFKY12AM7Y\",\n                \"name\": \"Example dataset\",\n                \"fileName\": \"<<Placeholder file name>>\",\n                \"status\": \"IN_PROGRESS\",\n                \"progress\": 0,\n                \"extractFields\": false,\n                \"numberFormat\": \"ENGLISH\",\n                \"zipOutputs\": false,\n            }\n        }\n    }\n}"},{"id":"ad21194d-9100-41af-b9c6-9954e4bd0f39","name":"Create dataset - Error: Empty File at location","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($name: String!, $signedUrl: String!, $numberFormat: NumberFormat!, $extractFields: Boolean!, $zipOutputs: Boolean!){\n  createDataset(input: {\n      name: $name,\n      signedUrl: $signedUrl,\n      numberFormat: $numberFormat,\n      extractFields: $extractFields,\n      zipOutputs: $zipOutputs }){\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n      extractFields\n      numberFormat\n      zipOutputs\n    }\n  }\n}","variables":"{\n    \"name\": \"<<Placeholder dataset name>>\",\n    \"signedUrl\": \"<<Presigned URL Placeholder, generated using Get Presigned URL>>\",\n    \"numberFormat\": \"ENGLISH\",\n    \"extractFields\": false,\n    \"zipOutputs\": false\n}\n"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"375"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 13:57:31 GMT"},{"key":"x-amzn-RequestId","value":"2a25f106-bcd6-44ef-881b-dc9677a5a9ad"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 fb211c90e9ef3584bea8fd177f57995a.cloudfront.net (CloudFront), 1.1 4cdca468105142eb097ff10e9a208190.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR50-P4"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"I3216edD9zx0ldD5smbOQ-Pj3l23OjS8OO29w0E4NuVEm4t8rX6Ttg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"createDataset\": null\n    },\n    \"errors\": [\n        {\n            \"path\": [\n                \"createDataset\"\n            ],\n            \"data\": null,\n            \"errorType\": \"UnhandledException\",\n            \"errorInfo\": null,\n            \"locations\": [\n                {\n                    \"line\": 2,\n                    \"column\": 3,\n                    \"sourceName\": null\n                }\n            ],\n            \"message\": \"We encountered a problem, please retry or contact us at <a href=\\\"mailto:support@parsel.ai\\\">support@parsel.ai</a> with this request id \\\"cc34215e-7dfd-4f4a-9527-5fb5c157eac8\\\".\"\n        }\n    ]\n}"},{"id":"7f168c3e-63b8-4c38-a3d1-091debb9a05c","name":"Create dataset","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"<PLACEHOLDER_TOKEN>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  createDataset(input: { name: \"Test Dataset\" }) {\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n    }\n  }\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"83"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 22 Jul 2020 20:16:47 GMT"},{"key":"x-amzn-RequestId","value":"b07e3302-95d3-4bfa-b800-61ee8ba98bfa"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 812340d4e76cb03e2d09a3ae9f9fd8b8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"UqDiffJrklbVX7f3RHffDd76-q81_PROuLUHgl6gJPPbJpnugc5-Vw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"createDataset\": {\n            \"dataset\": {\n                \"id\": \"01EZD3NCX4CNNJJAW4EEYKEJ7G\",\n                \"name\": \"Test Dataset\",\n                \"fileName\": \"test.pdf\",\n                \"status\": \"IN_PROGRESS\",\n                \"progress\": 0\n            }\n        }\n    }\n}"},{"id":"a027e15e-4274-498b-b6b2-a2c51d25fc3c","name":"Create dataset using presignedUrl","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"<PLACEHOLDER_TOKEN>"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  createDataset(input: { name: \"Test Dataset\", signedUrl: \"presignedUrl dummy value\" }) {\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n    }\n  }\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"83"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 22 Jul 2020 20:16:47 GMT"},{"key":"x-amzn-RequestId","value":"b07e3302-95d3-4bfa-b800-61ee8ba98bfa"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 812340d4e76cb03e2d09a3ae9f9fd8b8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR3-C2"},{"key":"X-Amz-Cf-Id","value":"UqDiffJrklbVX7f3RHffDd76-q81_PROuLUHgl6gJPPbJpnugc5-Vw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"createDataset\": {\n            \"dataset\": {\n                \"id\": \"01EZD3NCX4CNNJJAW4EEYKEJ7G\",\n                \"name\": \"Test Dataset\",\n                \"fileName\": \"test.pdf\",\n                \"status\": \"IN_PROGRESS\",\n                \"progress\": 0\n            }\n        }\n    }\n}"}],"_postman_id":"b0a25516-cd76-4a8b-914d-7f10340590a5"}],"id":"e8a2ba1d-aec4-483a-a617-e5053901fc31","description":"<p>This section explains the necessary steps to upload a desired file and begin processing it through dataset creation.</p>\n<h2 id=\"restrictions\">Restrictions</h2>\n<p>These restrictions apply to both files being uploaded and the general execution flow via dataset creation.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Upload file restrictions</strong></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Page limit</td>\n<td>250 pages</td>\n</tr>\n<tr>\n<td>Filesize</td>\n<td>200 MB maximum</td>\n</tr>\n<tr>\n<td>Filetype</td>\n<td>PDF</td>\n</tr>\n<tr>\n<td>Form field extraction</td>\n<td>Only available on documents with 10 or fewer pages</td>\n</tr>\n<tr>\n<td>Input document restriction</td>\n<td>PDFs that are encrypted and/or compressed are often unprocessable. If you run into an error with these, please try inputting an unencrypted and uncompressed PDF</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e8a2ba1d-aec4-483a-a617-e5053901fc31","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}}},{"name":"Retrieve outputs","item":[{"name":"Get dataset","id":"1b43e49f-0051-45b6-ae7f-8a65b7eb770b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($id: String!){\n    viewer{\n        dataset(id: $id) {\n            id\n            name\n            fileName\n            fileSize\n            pageCount\n            status\n            progress\n            outputList {\n                available\n                format\n                fileSize\n                fileName\n                presignedUrl\n            }\n        }\n    }\n}","variables":"{\n    \"id\" : \"<<Dataset ID, automatically stored on dataset reference in Postman>>\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>You can use this mutation both to retrieve URLs for output files, and to check current Dataset execution status.</p>\n<p>When checking dataset status, it can be one of three possible values:</p>\n<p>* IN_PROGRESS<br />* COMPLETED<br />* ERROR</p>\n<p>The output items in the <code>outputList</code> are generated in batches, for each group of 25 pages in the uploaded document that contain at least 1 table (or form field if enabled). So if you have a document with &lt;= 25 pages, you’ll always receive a single batch per output format (.json, .xlsx, etc.). If your document has &gt; 25 pages that contain tables, we will generate multiple batches in increments of 25 pages. The batch of each output item in the <code>outputList</code> is denoted by a <code>-{BATCH NUMBER}</code> suffix to the file name, and a dedicated <code>batchNumber</code> attribute, which is <code>null</code> if batches are not applicable for that output format, like <code>ZIP</code> and <code>PDF</code>.</p>\n<h1 id=\"available-output-formats\">Available Output Formats</h1>\n<p>As part of the dataset creation process we create multiple outputs of different formats. The majority of these formats represent the same data in different ways, either to make the set more machine-readable or more human-readable.<br />However there are some outputs which represent either completely separate data, or a subset of other outputs. Each of the outputs are detailed and explained below.</p>\n<h3 id=\"json\">JSON</h3>\n<p><strong>Suffix:</strong> .json<br /><em>NOTE: The JSON output described here refers to the file marked .json, and is functionally distinct from the output marked .fields.json, which is described further down.</em></p>\n<p>This output represents all of the tabular and field data that was extracted, with metadata at base level and a list of detected tables, and if enabled fields, found within the document. Each table or field has an attribute denoting the page it was discovered on.</p>\n<h4 id=\"json-structure\">JSON Structure</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Attribute</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>String representation of input filename without file extension</td>\n</tr>\n<tr>\n<td>extension</td>\n<td>String</td>\n<td>String representation of file extension of input file</td>\n</tr>\n<tr>\n<td>uploaded_at_</td>\n<td>String</td>\n<td>String representing datetime of file uploaded in format: <code>YYYY</code>-<code>MM</code>-<code>DD</code>T<code>HH</code>:<code>MM</code>:<code>SS</code>.<code>MS</code>Z, for example  <br /><code>2022-06-13T11:44:17.945Z</code></td>\n</tr>\n<tr>\n<td>number_of_pages</td>\n<td>Integer</td>\n<td>Integer value representation of number of pages in the document</td>\n</tr>\n<tr>\n<td>algorithm_version_</td>\n<td>Float</td>\n<td>Floating point value representation of algorithm version ran to obtain results</td>\n</tr>\n<tr>\n<td>tables</td>\n<td>List of <strong>Table Dictionaries</strong></td>\n<td>List of dictionaries following Table format specification. Empty list if no tables found.</td>\n</tr>\n<tr>\n<td><em>fields</em></td>\n<td>List of <strong>Field Dictionaries</strong></td>\n<td><em>(Conditional)</em>  <br />List of dictionaries following Field format specification. Empty if no fields found.  <br />Conditional on <code>extractFields=True</code> upon dataset creation at the <a href=\"#b0a25516-cd76-4a8b-914d-7f10340590a5\">Create Dataset</a> request.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"table-dictionary\">Table Dictionary</h4>\n<p>The table dictionary represents a single found table within the document. All indexing attributes are 1-indexed.</p>\n<img src=\"https://content.pstmn.io/5c275e03-db03-4027-9b36-bec491025dfa/Y2F0ZWdvcnkucG5n\" alt=\"In%20the%20example%20above,%20&quot;By%20currency&quot;%20is%20the%20Row%20Category%20for%20Row%20Captions%20US%20dollar,%20Euro,%20etc\" width=\"341\" height=\"161\" />\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Attribute</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>title</td>\n<td>String</td>\n<td>Table title</td>\n</tr>\n<tr>\n<td>subtitle</td>\n<td>String</td>\n<td>Table subtitle</td>\n</tr>\n<tr>\n<td>page_number</td>\n<td>Integer</td>\n<td>1-Indexed value representing page where the table was found within the document.  <br />  <br />This number relates to placement inside the supplied input document itself.</td>\n</tr>\n<tr>\n<td>index_on_page</td>\n<td>Integer</td>\n<td>1-Indexed value representing the table's place in the hierarchy of the page.  <br />The lower this number the closer the table will be to the top-left of the page, prioritising distance down the page.</td>\n</tr>\n<tr>\n<td>bounding_box_</td>\n<td><strong>Bounding Box Dictionary</strong></td>\n<td>Dictionary representing percentage distances from page boundaries to table bounding box</td>\n</tr>\n<tr>\n<td>number_of_columns</td>\n<td>Integer</td>\n<td>Number of columns detected in the table</td>\n</tr>\n<tr>\n<td>number_of_rows</td>\n<td>integer</td>\n<td>Number of rows detected in the table</td>\n</tr>\n<tr>\n<td>column_captions</td>\n<td>String List</td>\n<td>List of column captions.  <br />The column captions represent the cells along the header of the table (top X-axis). All column captions are supplied in String format.</td>\n</tr>\n<tr>\n<td>row_captions</td>\n<td>String List</td>\n<td>List of row captions.  <br />The row captions represent the cells along the indexing column of the table (left Y-axis). These are usually the instances being detailed, such as commodity. All row captions are supplied in String format.</td>\n</tr>\n<tr>\n<td><em>column_categories</em></td>\n<td>String List</td>\n<td><em>(Conditional)</em>  <br />List of additional hierarchical column headers linked to each <code>column_caption</code>. These are represented as string value deliminated with `</td>\n</tr>\n<tr>\n<td>row_categories</td>\n<td>String List</td>\n<td>List of additional hierarchical row headers linked to each <code>row_caption</code>. These are represented as string value deliminated with `</td>\n</tr>\n<tr>\n<td>values</td>\n<td>Mixed-value 2-dimensional List</td>\n<td>Row-first List of Lists matching visual representation of the table's values.  <br />Values within can be String, Float or Integer.  <br />Example:  <br />Value matrix <code>[[1,1,1],[2,\"apple\",2],[3,3,3]]</code> will match the table  <br /><code>1...1...1</code>  <br /><code>2.apple.2</code>  <br /><code>3...3...3</code></td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"field-dictionary\">Field Dictionary</h4>\n<p>The field dictionary represents a single form field identified in the document. Form fields are composites of a <em>label</em> and a <em>value</em>. The form field object contains metadata surrounding the form field at top-level, index on page, page number, etc. Again all indexing attributes are 1-indexed.<br />The value and label attributes contain, respectively, a string representation of their contents, and their own bounding box denoting their position on the page.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Attribute</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>type</td>\n<td>String</td>\n<td>String denoting inferred form field type, e.g. <code>\"VENDOR_NAME\"</code></td>\n</tr>\n<tr>\n<td>page_number</td>\n<td>Integer</td>\n<td>1-Indexed value representing page where the field was found within the document.  <br />This number relates to placement inside the supplied input document.</td>\n</tr>\n<tr>\n<td>index_on_page</td>\n<td>Integer</td>\n<td>1-Indexed value representing the field's place in the hierarchy of the page.  <br />The lower this number the closer the field will be to the top-left of the page, prioritising distance down the page.</td>\n</tr>\n<tr>\n<td>label</td>\n<td>Label Dictionary</td>\n<td>Dictionary representing label detection:  <br />-<code>text</code>:<code>String</code>  <br />- <code>bounding_box</code> : <strong>Bounding Box Dictionary</strong></td>\n</tr>\n<tr>\n<td>value</td>\n<td>Value Dictionary</td>\n<td>Dictionary representing value detection:  <br />- <code>text</code> : <code>String</code>  <br />- <code>bounding_box</code> : <strong>Bounding Box Dictionary</strong></td>\n</tr>\n<tr>\n<td>bounding_box</td>\n<td><strong>Bounding Box Dictionary</strong></td>\n<td>Dictionary representing percentage distances from page boundaries to combined field bounding box.  <br /><em>NOTE:</em> This bounding box differs from the label and value bounding boxes as it encloses both the value and label bounding boxes.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"bounding-box-dictionary\">Bounding Box Dictionary</h4>\n<p>The bounding box dictionary denotes a rectangular area on a page. All of the measurements are taken respective to the left or top of the page.<br />All measurements are represented as float percentages of either page width or height depending on which direction they represent. To get the pixel values for the bounding box, see the <code>Formula</code> outlined for each attribute.</p>\n<img src=\"https://content.pstmn.io/804d67c7-73b7-40e5-8402-16854c84b4fc/YmJveF9kZGltcy5wbmc=\" width=\"211\" height=\"202\" />\n\n<p><em><strong>NOTE:</strong></em> <em>d.p. in the table descriptions refer to decimal places. 0.001 for example is accurate to 3d.p.</em></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Attribute</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>left</td>\n<td>Float</td>\n<td>Percentage distance from left page boundary. Up to 17d.p.  <br />Pixel Formula: <code>page_width X left</code></td>\n</tr>\n<tr>\n<td>top</td>\n<td>Float</td>\n<td>Percentage distance from top page boundary. Up to 17d.p.  <br />Pixel Formula: <code>page_height X top</code></td>\n</tr>\n<tr>\n<td>right</td>\n<td>Float</td>\n<td>Percentage distance from right page boundary. Up to 17d.p.  <br />Pixel Formula: <code>page_width X right</code></td>\n</tr>\n<tr>\n<td>bottom</td>\n<td>Float</td>\n<td>Percentage distance from bottom page boundary. Up to 17d.p.  <br />Pixel Formula: <code>page_height X bottom</code></td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"csv\">CSV</h2>\n<p><strong>Suffix:</strong> .csv<br /><em>NOTE: The CSV output described here refers to the file marked .json, and is functionally distinct from the output marked .fields.csv, which is described further down.</em></p>\n<p>This output represents all of the tabular and field data that was extracted. The CSV representation is made up of equal length rows of comma-delimited values. Each of these values align with the header row at the start of the file. This header row is described below, in two parallel key-value pairs (Header - Description) in order; Top to bottom first pair of columns, top to bottom second pair of columns<br />All values containing commas are appropriately escaped with quotation marks to allow correct csv parsing.</p>\n<p><strong>Note:</strong> d.p. in the table descriptions refer to decimal places. 0.001 for example is accurate to 3d.p.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Header</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Header</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page_number</code></td>\n<td>1-Index integer</td>\n<td><code>field_value</code></td>\n<td>Text component of identified form field value.  <br /><em>Only present if form fields extraction is enabled</em></td>\n</tr>\n<tr>\n<td><code>index_on_page</code></td>\n<td>1-Index integer representing hierarchy on page. There is separate indexing for tables and form fields</td>\n<td><code>field_type</code></td>\n<td>Detected form field type, e.g. <code>\"VENDOR_NAME\"</code>  <br /><em>Only present if form fields extraction is enabled</em></td>\n</tr>\n<tr>\n<td><code>row_type</code></td>\n<td>Either \"table\" or \"field\". Denotes the generating object</td>\n<td><code>title</code></td>\n<td>Table title</td>\n</tr>\n<tr>\n<td><code>bounding_box_left</code></td>\n<td>Percentage distance from left page boundary. Up to 17d.p.</td>\n<td><code>subtitle</code></td>\n<td>Table subtitle</td>\n</tr>\n<tr>\n<td><code>bounding_box_top</code></td>\n<td>Percentage distance from top page boundary. Up to 17d.p.</td>\n<td><code>number_of_columns</code></td>\n<td>Number of columns in table</td>\n</tr>\n<tr>\n<td><code>bounding_box_right</code></td>\n<td>Percentage distance from right page boundary. Up to 17d.p.</td>\n<td><code>number_of_rows</code></td>\n<td>number of rows in table</td>\n</tr>\n<tr>\n<td><code>bounding_box_bottom</code></td>\n<td>Percentage distance from bottom page boundary. Up to 17d.p.</td>\n<td><code>type_</code></td>\n<td>The type values reflect the format of the table. As such there will be a type header element for every column in the table.  <br />The type will be one of:  <br />- column_caption  <br />- column_category  <br />- row_caption  <br />- row_category  <br />- value</td>\n</tr>\n<tr>\n<td><code>field_label</code></td>\n<td>Text component of identified form field label  <br /><em>Only present if form fields extraction is enabled</em></td>\n<td><code>column_</code></td>\n<td>The value of the cells in the table. As such there will be a column indicator header for every column in the table.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"fields-json\">Fields JSON</h2>\n<p><strong>Suffix:</strong> .fields.json<br />The fields JSON represents all form field data extracted from the document. This output represents a subset of data available in the complete JSON output file, but can be useful if you are only interested in the form fields extracted for a particular document</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>JSON Structure</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>number_of_pages</td>\n<td>1 Index integer</td>\n<td>Integer value representation of number of pages in the document</td>\n</tr>\n<tr>\n<td>fields</td>\n<td>List of <strong>Field Dictionaries</strong></td>\n<td>List of dictionaries following field format specification. Empty if no form fields found.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"fields-csv\">Fields CSV</h2>\n<p><strong>Suffix:</strong> .fields.csv<br />Similar to the fields JSON above, this contains only records of form fields detected in the document. This output represents a subset of data available in the complete JSON output file, but can be useful if you are only interested in the form fields extracted for a particular document<br />The CSV representation is made up of equal length rows of comma-delimited values. Each of these values align with the header row at the start of the file. This header row is described below, in two parallel key-value pairs (Header - Description) in order; Top to bottom first pair of columns, top to bottom second pair of columns<br />All values containing commas are appropriately escaped with quotation marks to allow correct CSV parsing.</p>\n<p><strong>Note:</strong> d.p. in the table descriptions refer to decimal places. 0.001 for example is accurate to 3d.p.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Header</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Header</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page_number</code></td>\n<td>1-Index integer</td>\n<td><code>bounding_box_right</code></td>\n<td>Percentage distance from right page boundary. Up to 17d.p.</td>\n</tr>\n<tr>\n<td><code>index_on_page</code></td>\n<td>1-Index integer representing hierarchy on page. There is separate indexing for tables and form fields</td>\n<td><code>bounding_box_bottom</code></td>\n<td>Percentage distance from bottom page boundary. Up to 17d.p.</td>\n</tr>\n<tr>\n<td><code>row_type</code></td>\n<td>Either \"table\" or \"field\". Denotes the generating object</td>\n<td><code>field_label</code></td>\n<td>text component of identified form field label</td>\n</tr>\n<tr>\n<td><code>bounding_box_left</code></td>\n<td>Percentage distance from left page boundary. Up to 17d.p.</td>\n<td><code>field_value</code></td>\n<td>text component of identified form field value.</td>\n</tr>\n<tr>\n<td><code>bounding_box_top</code></td>\n<td>Percentage distance from top page boundary. Up to 17d.p.</td>\n<td><code>field_type</code></td>\n<td>detected form field type, E.G. \"VENDOR_NAME\"</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"raw-text-json\">Raw Text JSON</h2>\n<p><strong>Suffix:</strong> .raw_text.json<br />The raw text JSON contains all text elements extracted from the document.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Structure</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pages</td>\n<td>Dictionary of Raw Table Object lists</td>\n<td>Dictionary key-value pairs are defined as follows</td>\n</tr>\n<tr>\n<td>page number : list of raw table objects</td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Raw Table Object</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>index_on_page</td>\n<td>Integer</td>\n<td>1-Indexed value representing the table's place in the hierarchy of the page.  <br />The lower this number the closer the table will be to the top-left of the document, priorising distance down the page.</td>\n</tr>\n<tr>\n<td>page_number</td>\n<td>Integer</td>\n<td>1-Indexed value representing page where the table was found within the document.  <br />  <br />This number relates to placement inside the supplied document itself and will not reflect any reordering nor ignore pre-amble pages.</td>\n</tr>\n<tr>\n<td>text</td>\n<td>String</td>\n<td>Cell Value represented as string</td>\n</tr>\n<tr>\n<td>id</td>\n<td>String</td>\n<td>unique feature id</td>\n</tr>\n<tr>\n<td>bounding_box_</td>\n<td><strong>Bounding Box Dictionary</strong></td>\n<td>Dictionary representing table bounding box</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"raw-text-txt\">Raw Text txt</h2>\n<p><strong>Suffix:</strong> .raw_text.txt<br />Row by row value dump of all extracted text elements from thge document, ordered from top-left to bottom-right, e.g.<br /><code>apple</code><br /><code>pear</code><br /><code>zucchini</code></p>\n","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"f5e0a674-01b6-4d2c-8408-6a8894effd6c","name":"Get dataset - COMPLETED","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($id: String!){\n    viewer{\n        dataset(id: $id) {\n            id\n            name\n            fileName\n            fileSize\n            pageCount\n            status\n            progress\n            outputList {\n                available\n                format\n                fileSize\n                fileName\n                presignedUrl\n            }\n        }\n    }\n}","variables":"{\n    \"id\" : \"<<Dataset ID, Automatically stored on dataset reference in Postman or set manually in code sample>>\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Date","value":"Thu, 22 Sep 2022 14:22:25 GMT"},{"key":"x-amzn-RequestId","value":"1188d348-e11a-412a-997a-3818659f7a94"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Content-Encoding","value":"gzip"},{"key":"Via","value":"1.1 148ba19bb0d8ba215fbd724d3e587316.cloudfront.net (CloudFront), 1.1 f25763791d7f1173b560742bb9507144.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C1"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"I3EOxuIwYZLkv8XgrzgoxNAKLfT7p4Nqh4EGujSJDbisxs5ghP7Edw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"viewer\": {\n            \"dataset\": {\n                \"id\": \"01GDJS4ZGPGG0TC8RHETM4A5RT\",\n                \"name\": \"<<Placeholder dataset name>>\",\n                \"fileName\": \"<<Placeholder file name 2>>\",\n                \"fileSize\": 554556,\n                \"pageCount\": 10,\n                \"status\": \"COMPLETED\",\n                \"progress\": 100,\n                \"outputList\": [\n                    {\n                        \"available\": true,\n                        \"format\": \"CSV\",\n                        \"fileSize\": 27695,\n                        \"fileName\": \"<<Placeholder dataset name>>.csv\",\n                        \"presignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/3b053901-7001-4287-8a87-06861b87aba4/01GDJS4ZGPGG0TC8RHETM4A5RT/63bd6a74-67cf-4c3a-807b-116836dfda09.csv?AWSAccessKeyId=ASIAYY3UINZC6TDAAUG3&Expires=1664461345&Signature=pPQaVNNrMF2EOzI7eU%2FDefAnJQc%3D&response-content-disposition=attachment%3B%20filename%3D%22%3C%3CPlaceholder%20dataset%20name%3E%3E.csv%22&x-amz-security-token=IQoJb3JpZ2luX2VjEOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIHtFH1uq7dcjA4oztWXrpnU8l4oTyYgqj76lpSQXeqdNAiEAu%2F64kAOdaFbH%2B03cuO9CjmZJJJNjHLllMyFRnh3geegqiwMIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw2MDMxNDk4NTYzMjUiDFb0BuEMbz5Ppq28ZCrfAo%2B1BGF8eUCpHNGiVDi6Ldsd0r3ZNUQbuz%2Bhz1Nz4EPuHvf9syJBmE8jOl1nvrscg2RbkVAyJfmiq0KmXe4lFRrnS4%2FAdOf0uutXA%2FvV1rvFivlZnNWDwNN%2FVRv%2Bsp8dkll6Lgy6zcwIlXcQ77CPFNg0oz5PKHdz%2FIVNjfIi08Wn2tQDYKg2LPruoXgymJ%2Bm3Qd4o9c7IQKeWrc7YoCES8BxwMbyNZQYIx%2B3o5k3ydc5lV1WfqYgFqAMohipupuB6IQcWxuXAjKAG1EuHYOD9IWIh7a%2FBes946S9NwsZq6ubHJf7zjOcNg5nsTOZl%2B3mOuXSunRa1DmZSuQaY7GMiyHq5gzng2rS81sPxuMvw%2FBLH0gq4fyHUI3uNhP4myh6NKIdgGiNepVcEB2HjGLboN3ez4tYKLucjYtHFvohmVsb71w1BQGoT3jKAb%2FT7R4YI7hNW2Xp5k583%2FWicYfpuTC73rGZBjqeAa4ABGFsOEAzu0fax45CDf3C6%2BUsusbuqAenG7KWWrb%2BbaXFPWfIkbd8tWqK6boXr%2BHvxdPOdT2hlOwpfJ3kvHLaIRHj5TpVKoEQYGl%2BD45SVoYdYyxIBgKtE7yqqT%2FJdR%2FKvRpym%2B4jW5bk96tmp%2Bfh9hTZ0O7%2Bz9cqX8gQWYw7%2BwrGsW9zmmuAw%2BLxDSC0cDcP7KQOY01icfBp79kA\"\n                    },\n                    {\n                        \"available\": true,\n                        \"format\": \"JSON\",\n                        \"fileSize\": 15129,\n                        \"fileName\": \"<<Placeholder dataset name>>.json\",\n                        \"presignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/3b053901-7001-4287-8a87-06861b87aba4/01GDJS4ZGPGG0TC8RHETM4A5RT/63bd6a74-67cf-4c3a-807b-116836dfda09.json?AWSAccessKeyId=ASIAYY3UINZC6TDAAUG3&Expires=1664461345&Signature=3IVeQfRfcdS2OXux767qDZNMSDQ%3D&response-content-disposition=attachment%3B%20filename%3D%22%3C%3CPlaceholder%20dataset%20name%3E%3E.json%22&x-amz-security-token=IQoJb3JpZ2luX2VjEOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIHtFH1uq7dcjA4oztWXrpnU8l4oTyYgqj76lpSQXeqdNAiEAu%2F64kAOdaFbH%2B03cuO9CjmZJJJNjHLllMyFRnh3geegqiwMIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw2MDMxNDk4NTYzMjUiDFb0BuEMbz5Ppq28ZCrfAo%2B1BGF8eUCpHNGiVDi6Ldsd0r3ZNUQbuz%2Bhz1Nz4EPuHvf9syJBmE8jOl1nvrscg2RbkVAyJfmiq0KmXe4lFRrnS4%2FAdOf0uutXA%2FvV1rvFivlZnNWDwNN%2FVRv%2Bsp8dkll6Lgy6zcwIlXcQ77CPFNg0oz5PKHdz%2FIVNjfIi08Wn2tQDYKg2LPruoXgymJ%2Bm3Qd4o9c7IQKeWrc7YoCES8BxwMbyNZQYIx%2B3o5k3ydc5lV1WfqYgFqAMohipupuB6IQcWxuXAjKAG1EuHYOD9IWIh7a%2FBes946S9NwsZq6ubHJf7zjOcNg5nsTOZl%2B3mOuXSunRa1DmZSuQaY7GMiyHq5gzng2rS81sPxuMvw%2FBLH0gq4fyHUI3uNhP4myh6NKIdgGiNepVcEB2HjGLboN3ez4tYKLucjYtHFvohmVsb71w1BQGoT3jKAb%2FT7R4YI7hNW2Xp5k583%2FWicYfpuTC73rGZBjqeAa4ABGFsOEAzu0fax45CDf3C6%2BUsusbuqAenG7KWWrb%2BbaXFPWfIkbd8tWqK6boXr%2BHvxdPOdT2hlOwpfJ3kvHLaIRHj5TpVKoEQYGl%2BD45SVoYdYyxIBgKtE7yqqT%2FJdR%2FKvRpym%2B4jW5bk96tmp%2Bfh9hTZ0O7%2Bz9cqX8gQWYw7%2BwrGsW9zmmuAw%2BLxDSC0cDcP7KQOY01icfBp79kA\"\n                    },\n                    {\n                        \"available\": true,\n                        \"format\": \"XLSX\",\n                        \"fileSize\": 3426335,\n                        \"fileName\": \"<<Placeholder dataset name>>.xlsx\",\n                        \"presignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/3b053901-7001-4287-8a87-06861b87aba4/01GDJS4ZGPGG0TC8RHETM4A5RT/63bd6a74-67cf-4c3a-807b-116836dfda09.xlsx?AWSAccessKeyId=ASIAYY3UINZC6TDAAUG3&Expires=1664461345&Signature=vUjGVdjld7Cbwib0PoOefm9ouu0%3D&response-content-disposition=attachment%3B%20filename%3D%22%3C%3CPlaceholder%20dataset%20name%3E%3E.xlsx%22&x-amz-security-token=IQoJb3JpZ2luX2VjEOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIHtFH1uq7dcjA4oztWXrpnU8l4oTyYgqj76lpSQXeqdNAiEAu%2F64kAOdaFbH%2B03cuO9CjmZJJJNjHLllMyFRnh3geegqiwMIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw2MDMxNDk4NTYzMjUiDFb0BuEMbz5Ppq28ZCrfAo%2B1BGF8eUCpHNGiVDi6Ldsd0r3ZNUQbuz%2Bhz1Nz4EPuHvf9syJBmE8jOl1nvrscg2RbkVAyJfmiq0KmXe4lFRrnS4%2FAdOf0uutXA%2FvV1rvFivlZnNWDwNN%2FVRv%2Bsp8dkll6Lgy6zcwIlXcQ77CPFNg0oz5PKHdz%2FIVNjfIi08Wn2tQDYKg2LPruoXgymJ%2Bm3Qd4o9c7IQKeWrc7YoCES8BxwMbyNZQYIx%2B3o5k3ydc5lV1WfqYgFqAMohipupuB6IQcWxuXAjKAG1EuHYOD9IWIh7a%2FBes946S9NwsZq6ubHJf7zjOcNg5nsTOZl%2B3mOuXSunRa1DmZSuQaY7GMiyHq5gzng2rS81sPxuMvw%2FBLH0gq4fyHUI3uNhP4myh6NKIdgGiNepVcEB2HjGLboN3ez4tYKLucjYtHFvohmVsb71w1BQGoT3jKAb%2FT7R4YI7hNW2Xp5k583%2FWicYfpuTC73rGZBjqeAa4ABGFsOEAzu0fax45CDf3C6%2BUsusbuqAenG7KWWrb%2BbaXFPWfIkbd8tWqK6boXr%2BHvxdPOdT2hlOwpfJ3kvHLaIRHj5TpVKoEQYGl%2BD45SVoYdYyxIBgKtE7yqqT%2FJdR%2FKvRpym%2B4jW5bk96tmp%2Bfh9hTZ0O7%2Bz9cqX8gQWYw7%2BwrGsW9zmmuAw%2BLxDSC0cDcP7KQOY01icfBp79kA\"\n                    },\n                    {\n                        \"available\": true,\n                        \"format\": \"RAW_TEXT_TXT\",\n                        \"fileSize\": 18186,\n                        \"fileName\": \"<<Placeholder dataset name>>.raw.txt\",\n                        \"presignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/3b053901-7001-4287-8a87-06861b87aba4/01GDJS4ZGPGG0TC8RHETM4A5RT/63bd6a74-67cf-4c3a-807b-116836dfda09.raw.txt?AWSAccessKeyId=ASIAYY3UINZC6TDAAUG3&Expires=1664461345&Signature=zVxgtSP2tlg6kKEsxG8AgdQDMGk%3D&response-content-disposition=attachment%3B%20filename%3D%22%3C%3CPlaceholder%20dataset%20name%3E%3E.raw.txt%22&x-amz-security-token=IQoJb3JpZ2luX2VjEOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIHtFH1uq7dcjA4oztWXrpnU8l4oTyYgqj76lpSQXeqdNAiEAu%2F64kAOdaFbH%2B03cuO9CjmZJJJNjHLllMyFRnh3geegqiwMIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw2MDMxNDk4NTYzMjUiDFb0BuEMbz5Ppq28ZCrfAo%2B1BGF8eUCpHNGiVDi6Ldsd0r3ZNUQbuz%2Bhz1Nz4EPuHvf9syJBmE8jOl1nvrscg2RbkVAyJfmiq0KmXe4lFRrnS4%2FAdOf0uutXA%2FvV1rvFivlZnNWDwNN%2FVRv%2Bsp8dkll6Lgy6zcwIlXcQ77CPFNg0oz5PKHdz%2FIVNjfIi08Wn2tQDYKg2LPruoXgymJ%2Bm3Qd4o9c7IQKeWrc7YoCES8BxwMbyNZQYIx%2B3o5k3ydc5lV1WfqYgFqAMohipupuB6IQcWxuXAjKAG1EuHYOD9IWIh7a%2FBes946S9NwsZq6ubHJf7zjOcNg5nsTOZl%2B3mOuXSunRa1DmZSuQaY7GMiyHq5gzng2rS81sPxuMvw%2FBLH0gq4fyHUI3uNhP4myh6NKIdgGiNepVcEB2HjGLboN3ez4tYKLucjYtHFvohmVsb71w1BQGoT3jKAb%2FT7R4YI7hNW2Xp5k583%2FWicYfpuTC73rGZBjqeAa4ABGFsOEAzu0fax45CDf3C6%2BUsusbuqAenG7KWWrb%2BbaXFPWfIkbd8tWqK6boXr%2BHvxdPOdT2hlOwpfJ3kvHLaIRHj5TpVKoEQYGl%2BD45SVoYdYyxIBgKtE7yqqT%2FJdR%2FKvRpym%2B4jW5bk96tmp%2Bfh9hTZ0O7%2Bz9cqX8gQWYw7%2BwrGsW9zmmuAw%2BLxDSC0cDcP7KQOY01icfBp79kA\"\n                    },\n                    {\n                        \"available\": true,\n                        \"format\": \"RAW_TEXT_JSON\",\n                        \"fileSize\": 287203,\n                        \"fileName\": \"<<Placeholder dataset name>>.raw.json\",\n                        \"presignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/3b053901-7001-4287-8a87-06861b87aba4/01GDJS4ZGPGG0TC8RHETM4A5RT/63bd6a74-67cf-4c3a-807b-116836dfda09.raw.json?AWSAccessKeyId=ASIAYY3UINZC6TDAAUG3&Expires=1664461345&Signature=ntyzonm3PG9GQ0QV640bmNGqv1E%3D&response-content-disposition=attachment%3B%20filename%3D%22%3C%3CPlaceholder%20dataset%20name%3E%3E.raw.json%22&x-amz-security-token=IQoJb3JpZ2luX2VjEOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIHtFH1uq7dcjA4oztWXrpnU8l4oTyYgqj76lpSQXeqdNAiEAu%2F64kAOdaFbH%2B03cuO9CjmZJJJNjHLllMyFRnh3geegqiwMIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw2MDMxNDk4NTYzMjUiDFb0BuEMbz5Ppq28ZCrfAo%2B1BGF8eUCpHNGiVDi6Ldsd0r3ZNUQbuz%2Bhz1Nz4EPuHvf9syJBmE8jOl1nvrscg2RbkVAyJfmiq0KmXe4lFRrnS4%2FAdOf0uutXA%2FvV1rvFivlZnNWDwNN%2FVRv%2Bsp8dkll6Lgy6zcwIlXcQ77CPFNg0oz5PKHdz%2FIVNjfIi08Wn2tQDYKg2LPruoXgymJ%2Bm3Qd4o9c7IQKeWrc7YoCES8BxwMbyNZQYIx%2B3o5k3ydc5lV1WfqYgFqAMohipupuB6IQcWxuXAjKAG1EuHYOD9IWIh7a%2FBes946S9NwsZq6ubHJf7zjOcNg5nsTOZl%2B3mOuXSunRa1DmZSuQaY7GMiyHq5gzng2rS81sPxuMvw%2FBLH0gq4fyHUI3uNhP4myh6NKIdgGiNepVcEB2HjGLboN3ez4tYKLucjYtHFvohmVsb71w1BQGoT3jKAb%2FT7R4YI7hNW2Xp5k583%2FWicYfpuTC73rGZBjqeAa4ABGFsOEAzu0fax45CDf3C6%2BUsusbuqAenG7KWWrb%2BbaXFPWfIkbd8tWqK6boXr%2BHvxdPOdT2hlOwpfJ3kvHLaIRHj5TpVKoEQYGl%2BD45SVoYdYyxIBgKtE7yqqT%2FJdR%2FKvRpym%2B4jW5bk96tmp%2Bfh9hTZ0O7%2Bz9cqX8gQWYw7%2BwrGsW9zmmuAw%2BLxDSC0cDcP7KQOY01icfBp79kA\"\n                    },\n                    {\n                        \"available\": true,\n                        \"format\": \"ZIP\",\n                        \"fileSize\": 4008972,\n                        \"fileName\": \"<<Placeholder dataset name>>.zip\",\n                        \"presignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/3b053901-7001-4287-8a87-06861b87aba4/01GDJS4ZGPGG0TC8RHETM4A5RT/63bd6a74-67cf-4c3a-807b-116836dfda09.zip?AWSAccessKeyId=ASIAYY3UINZC6TDAAUG3&Expires=1664461345&Signature=d5BFT3Wki3ktCclpRAtB5Ye1Jb0%3D&response-content-disposition=attachment%3B%20filename%3D%22%3C%3CPlaceholder%20dataset%20name%3E%3E.zip%22&x-amz-security-token=IQoJb3JpZ2luX2VjEOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIHtFH1uq7dcjA4oztWXrpnU8l4oTyYgqj76lpSQXeqdNAiEAu%2F64kAOdaFbH%2B03cuO9CjmZJJJNjHLllMyFRnh3geegqiwMIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw2MDMxNDk4NTYzMjUiDFb0BuEMbz5Ppq28ZCrfAo%2B1BGF8eUCpHNGiVDi6Ldsd0r3ZNUQbuz%2Bhz1Nz4EPuHvf9syJBmE8jOl1nvrscg2RbkVAyJfmiq0KmXe4lFRrnS4%2FAdOf0uutXA%2FvV1rvFivlZnNWDwNN%2FVRv%2Bsp8dkll6Lgy6zcwIlXcQ77CPFNg0oz5PKHdz%2FIVNjfIi08Wn2tQDYKg2LPruoXgymJ%2Bm3Qd4o9c7IQKeWrc7YoCES8BxwMbyNZQYIx%2B3o5k3ydc5lV1WfqYgFqAMohipupuB6IQcWxuXAjKAG1EuHYOD9IWIh7a%2FBes946S9NwsZq6ubHJf7zjOcNg5nsTOZl%2B3mOuXSunRa1DmZSuQaY7GMiyHq5gzng2rS81sPxuMvw%2FBLH0gq4fyHUI3uNhP4myh6NKIdgGiNepVcEB2HjGLboN3ez4tYKLucjYtHFvohmVsb71w1BQGoT3jKAb%2FT7R4YI7hNW2Xp5k583%2FWicYfpuTC73rGZBjqeAa4ABGFsOEAzu0fax45CDf3C6%2BUsusbuqAenG7KWWrb%2BbaXFPWfIkbd8tWqK6boXr%2BHvxdPOdT2hlOwpfJ3kvHLaIRHj5TpVKoEQYGl%2BD45SVoYdYyxIBgKtE7yqqT%2FJdR%2FKvRpym%2B4jW5bk96tmp%2Bfh9hTZ0O7%2Bz9cqX8gQWYw7%2BwrGsW9zmmuAw%2BLxDSC0cDcP7KQOY01icfBp79kA\"\n                    },\n                    {\n                        \"available\": true,\n                        \"format\": \"PDF\",\n                        \"fileSize\": 554556,\n                        \"fileName\": \"<<Placeholder file name 2>>\",\n                        \"presignedUrl\": \"https://prod-parsel-backend-documents.s3.eu-west-1.amazonaws.com/3b053901-7001-4287-8a87-06861b87aba4/a473e4b2-ea23-4ae7-bfef-cc8bca433138.pdf?AWSAccessKeyId=ASIAYY3UINZC6TDAAUG3&Expires=1664461345&Signature=Oz91%2BMqGAwYy6yBJvWaH0J7gKGk%3D&response-content-disposition=attachment%3B%20filename%3D%22%3C%3CPlaceholder%20file%20name%202%3E%3E%22&x-amz-security-token=IQoJb3JpZ2luX2VjEOf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJHMEUCIHtFH1uq7dcjA4oztWXrpnU8l4oTyYgqj76lpSQXeqdNAiEAu%2F64kAOdaFbH%2B03cuO9CjmZJJJNjHLllMyFRnh3geegqiwMIj%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw2MDMxNDk4NTYzMjUiDFb0BuEMbz5Ppq28ZCrfAo%2B1BGF8eUCpHNGiVDi6Ldsd0r3ZNUQbuz%2Bhz1Nz4EPuHvf9syJBmE8jOl1nvrscg2RbkVAyJfmiq0KmXe4lFRrnS4%2FAdOf0uutXA%2FvV1rvFivlZnNWDwNN%2FVRv%2Bsp8dkll6Lgy6zcwIlXcQ77CPFNg0oz5PKHdz%2FIVNjfIi08Wn2tQDYKg2LPruoXgymJ%2Bm3Qd4o9c7IQKeWrc7YoCES8BxwMbyNZQYIx%2B3o5k3ydc5lV1WfqYgFqAMohipupuB6IQcWxuXAjKAG1EuHYOD9IWIh7a%2FBes946S9NwsZq6ubHJf7zjOcNg5nsTOZl%2B3mOuXSunRa1DmZSuQaY7GMiyHq5gzng2rS81sPxuMvw%2FBLH0gq4fyHUI3uNhP4myh6NKIdgGiNepVcEB2HjGLboN3ez4tYKLucjYtHFvohmVsb71w1BQGoT3jKAb%2FT7R4YI7hNW2Xp5k583%2FWicYfpuTC73rGZBjqeAa4ABGFsOEAzu0fax45CDf3C6%2BUsusbuqAenG7KWWrb%2BbaXFPWfIkbd8tWqK6boXr%2BHvxdPOdT2hlOwpfJ3kvHLaIRHj5TpVKoEQYGl%2BD45SVoYdYyxIBgKtE7yqqT%2FJdR%2FKvRpym%2B4jW5bk96tmp%2Bfh9hTZ0O7%2Bz9cqX8gQWYw7%2BwrGsW9zmmuAw%2BLxDSC0cDcP7KQOY01icfBp79kA\"\n                    }\n                ]\n            }\n        }\n    }\n}"},{"id":"fb2ad2a5-6391-44f7-a199-85f3c7c5928c","name":"Get dataset - IN_PROGRESS","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($id: String!){\n    viewer{\n        dataset(id: $id) {\n            id\n            name\n            fileName\n            fileSize\n            pageCount\n            status\n            progress\n            outputList {\n                available\n                format\n                fileSize\n                fileName\n                presignedUrl\n            }\n        }\n    }\n}","variables":"{\n    \"id\" : \"<<Dataset ID, Automatically stored on dataset reference in Postman or set manually in code sample>>\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"450"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 14:22:53 GMT"},{"key":"x-amzn-RequestId","value":"3e465aaf-d0e2-425b-9d88-215d04888da7"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 b17ae12a9b26d355791fb59ca965e382.cloudfront.net (CloudFront), 1.1 f25763791d7f1173b560742bb9507144.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C2"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"XsuQwM_KXks7gXS9Yogo4xVo-nwfXDXLe_8kczhalXoXttrJPfQodA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"viewer\": {\n            \"dataset\": {\n                \"id\": \"01GDJS4ZGPGG0TC8RHETM4A5RT\",\n                \"name\": \"<<Placeholder dataset name>>\",\n                \"fileName\": \"<<Placeholder file name 2>>\",\n                \"fileSize\": 554556,\n                \"pageCount\": 10,\n                \"status\": \"IN_PROGRESS\",\n                \"progress\": 25,\n                \"outputList\": null\n            }\n        }\n    },\n    \"errors\": [\n        {\n            \"path\": [\n                \"viewer\",\n                \"dataset\",\n                \"outputList\"\n            ],\n            \"data\": null,\n            \"errorType\": \"DatasetOutputNotReady\",\n            \"errorInfo\": null,\n            \"locations\": [\n                {\n                    \"line\": 11,\n                    \"column\": 13,\n                    \"sourceName\": null\n                }\n            ],\n            \"message\": \"Dataset output is not ready.\"\n        }\n    ]\n}"},{"id":"8cfca397-dd9a-438b-b88d-6a4b615da58d","name":"Get dataset - Error: Dataset ID not found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($id: String!){\n    viewer{\n        dataset(id: $id) {\n            id\n            name\n            fileName\n            fileSize\n            pageCount\n            status\n            progress\n            outputList {\n                available\n                format\n                fileSize\n                fileName\n                presignedUrl\n            }\n        }\n    }\n}","variables":"{\n    \"id\" : \"\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"380"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 14:23:17 GMT"},{"key":"x-amzn-RequestId","value":"0af778dc-51cd-42cc-b467-10e77c4d7a28"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 a01fca0cccde2470ea24242deceb9118.cloudfront.net (CloudFront), 1.1 f25763791d7f1173b560742bb9507144.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C2"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"xElwL4cdgduBXXPNaRVPtekE3D5_d8JA9fgB1TE084bhds2GewNUqA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"viewer\": {\n            \"dataset\": null\n        }\n    },\n    \"errors\": [\n        {\n            \"path\": [\n                \"viewer\",\n                \"dataset\"\n            ],\n            \"data\": null,\n            \"errorType\": \"DatasetNotFound\",\n            \"errorInfo\": null,\n            \"locations\": [\n                {\n                    \"line\": 3,\n                    \"column\": 9,\n                    \"sourceName\": null\n                }\n            ],\n            \"message\": \"We encountered a problem, please retry or contact us at <a href=\\\"mailto:support@parsel.ai\\\">support@parsel.ai</a> with this request id \\\"38ad6557-1253-4958-822b-941ad124af1c\\\".\"\n        }\n    ]\n}"}],"_postman_id":"1b43e49f-0051-45b6-ae7f-8a65b7eb770b"},{"name":"Get datasets","id":"1e65aed9-03f2-42c9-a0aa-4fe26b89f40a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($first: Int!, $sortBy: SortBy, $sortOrder: SortOrder) {\n    viewer{\n        datasets(first: $first, after: \"0\", sortBy: $sortBy, sortOrder: $sortOrder) {\n            nodes {\n                id\n                name\n                fileName\n                status\n                progress\n                createdAt\n            }\n            totalCount\n        }\n    }\n}","variables":"{\n    \"first\" : \"<<Number of results>>\",\n    \"sortBy\" : \"DATE\",\n    \"sortOrder\" :  \"ASCENDING\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>This request returns paginated results, which allows for <a href=\"https://relay.dev/docs/guided-tour/list-data/streaming-pagination/\">relay infinite loading pagination</a>.</p>\n<p><strong>Warning:</strong> This operation is not allowed for the docs demo user.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>first</td>\n<td>number of results to return. Note this can be entered as an integer or as a digit in string form e.g. \"1\"</td>\n</tr>\n<tr>\n<td>sortBy</td>\n<td>Method to sort by. \"DATE\" or \"NAME\"</td>\n</tr>\n<tr>\n<td>sortOrder</td>\n<td>Whether to sort \"ASCENDING\" or \"DESCENDING\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"ee228dfb-642e-451d-afa3-26929ab2a476","name":"Dataset Pagination","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($first: Int!, $sortBy: SortBy, $sortOrder: SortOrder) {\n    viewer{\n        datasets(first: $first, after: \"0\", sortBy: $sortBy, sortOrder: $sortOrder) {\n            nodes {\n                id\n                name\n                fileName\n                status\n                progress\n                createdAt\n            }\n            totalCount\n        }\n    }\n}","variables":"{\n    \"number_of_results\" : \"3\",\n    \"sort_method\" : \"DATE\",\n    \"sort_order\" :  \"ASCENDING\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"551"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 14:25:05 GMT"},{"key":"x-amzn-RequestId","value":"57d7e36e-facc-45b5-a93d-08b02f8a8f6a"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 e09ee53f26574d3b79d9e57c14a34ea4.cloudfront.net (CloudFront), 1.1 f25763791d7f1173b560742bb9507144.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C1"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"VzEzk4Wl8da-fxx6kjJG981-a79jO6ACEqJMUS9zCjpLt92-aMY9FQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"viewer\": {\n            \"datasets\": {\n                \"nodes\": [\n                    {\n                        \"id\": \"01GCXYYNA2H79XN8F40CK9RP3T\",\n                        \"name\": \"PrestoTestoFilesAndSuch\",\n                        \"fileName\": \"prestoTesto\",\n                        \"status\": \"COMPLETED\",\n                        \"progress\": 100,\n                        \"createdAt\": \"2022-09-14T12:18:04.226Z\"\n                    },\n                    {\n                        \"id\": \"01GCXYZE5KSCGKFKCBM1C4Y7A9\",\n                        \"name\": \"PrestoTestoFilesAndSuch\",\n                        \"fileName\": \"prestoTesto\",\n                        \"status\": \"COMPLETED\",\n                        \"progress\": 100,\n                        \"createdAt\": \"2022-09-14T12:18:29.683Z\"\n                    },\n                    {\n                        \"id\": \"01GCXZ3FZVRDS61GH4WPM74N9W\",\n                        \"name\": \"New Name\",\n                        \"fileName\": \"prestoTesto\",\n                        \"status\": \"COMPLETED\",\n                        \"progress\": 100,\n                        \"createdAt\": \"2022-09-14T12:20:42.619Z\"\n                    }\n                ],\n                \"totalCount\": 6\n            }\n        }\n    }\n}"}],"_postman_id":"1e65aed9-03f2-42c9-a0aa-4fe26b89f40a"}],"id":"7e254ddb-00b5-413a-8092-1a2bf15a9931","description":"<p>The processed outputs of your input files are stored on Amazon S3 storage. In order to get the URLs to download these files make use of the <code>Get Dataset</code> or <code>Get Datasets</code> mutations.\nThe results of either mutation will include a link per output file in the response.</p>\n","_postman_id":"7e254ddb-00b5-413a-8092-1a2bf15a9931","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}}},{"name":"Manage dataset","item":[{"name":"Reprocess dataset","id":"87034fa2-c1d4-46a1-995f-a6a9f46e7e8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($id: ID!, $signedUrl: String!, $numberFormat: NumberFormat!, $extractFields: Boolean!){\n  reprocessDataset(input: {\n       id: $id,\n       signedUrl: $signedUrl,\n       numberFormat: $numberFormat,\n       extractFields: $extractFields}) {\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n    }\n  }\n}","variables":"{\n    \"id\": \"<<Dataset ID, automatically stored on dataset reference in Postman>>\",\n    \"signedUrl\": \"<<Presigned URL Placeholder, generated using Get Presigned URL>>\",\n    \"numberFormat\": \"ENGLISH\",\n    \"extractFields\": false\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>Reruns document processing on a given dataset. If dataset processing repeatedly fails there is usually a file or system restriction preventing execution. In such cases either perform processing on a different input file or get in touch with our support team by emailing <a href=\"mailto:support@parsel.ai\">support@parsel.ai</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>ID of the dataset to be reprocessed, which can be found in the <code>Create Dataset</code> response of by utilising <code>Search Datasets</code> calls</td>\n</tr>\n<tr>\n<td>signedUrl</td>\n<td>Location of file to be processed, this can be a new file if you wish to reuse your dataset.</td>\n</tr>\n<tr>\n<td>numberFormat</td>\n<td>(<em>Optional</em> - Default = ENGLISH) Optional parameter specifying number formatting for the input document, if omitted English number formatting is used.  <br />- <strong>ENGLISH</strong> : 99,999.99  <br />- <strong>CONTINENTAL</strong> : 99.999,99  <br />- <strong>INTERNATIONAL_COMMA</strong>: 99 999,99  <br />- <strong>INTERNATIONAL_PERIOD</strong> : 99 999.99</td>\n</tr>\n<tr>\n<td>extractFields</td>\n<td>(<em>Optional</em> - Default = False) If set to <code>True</code> will enable the extraction of fields from the input document, alongside table processing. As a result, additional field specific outputs will available in the <code>Get Dataset</code> stage.  <br /><strong>NOTE:</strong> This optional parameter is only available for documents with 10 or fewer pages.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"99d70b7f-88ea-445d-bee0-a7174cdb276c","name":"Reprocess dataset","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($id: ID!, $signedUrl: String!, $numberFormat: NumberFormat!, $extractFields: Boolean!){\n  reprocessDataset(input: {\n       id: $id,\n       signedUrl: $signedUrl,\n       numberFormat: $numberFormat,\n       extractFields: $extractFields}) {\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n    }\n  }\n}","variables":"{\n    \"id\": \"<<Dataset ID, Automatically stored on dataset reference in Postman>>\",\n    \"signedUrl\": \"<<Presigned URL Placeholder, generated using Get Presigned URL>>\",\n    \"numberFormat\": \"ENGLISH\",\n    \"extractFields\": false\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"192"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 14:20:49 GMT"},{"key":"x-amzn-RequestId","value":"40005efa-e8d7-48aa-b1d8-9a5854ac9884"},{"key":"x-amzn-appsync-TokensConsumed","value":"7"},{"key":"Via","value":"1.1 e09ee53f26574d3b79d9e57c14a34ea4.cloudfront.net (CloudFront), 1.1 f25763791d7f1173b560742bb9507144.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C1"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"gLUhTDuNo1_9OEjCvthLef0w_Ci2PwNBkbdSre02Y_ix0zR9ea2A0w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"reprocessDataset\": {\n            \"dataset\": {\n                \"id\": \"01GDJS4ZGPGG0TC8RHETM4A5RT\",\n                \"name\": \"<<Placeholder dataset name>>\",\n                \"fileName\": \"<<Placeholder file name 2>>\",\n                \"status\": \"IN_PROGRESS\",\n                \"progress\": 0\n            }\n        }\n    }\n}"},{"id":"2c1097f0-5757-486d-a156-e5854193dc82","name":"Reprocess dataset - Error: No Dataset","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($id: ID!, $signedUrl: String!, $numberFormat: NumberFormat!, $extractFields: Boolean!){\n  reprocessDataset(input: {\n       id: $id,\n       signedUrl: $signedUrl,\n       numberFormat: $numberFormat,\n       extractFields: $extractFields}) {\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n    }\n  }\n}","variables":"{\n    \"id\": \"<<Dataset ID, automatically stored on dataset reference in Postman>>\",\n    \"signedUrl\": \"<<Presigned URL Placeholder, generated using Get Presigned URL>>\",\n    \"numberFormat\": \"ENGLISH\",\n    \"extractFields\": false\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"378"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 13:45:19 GMT"},{"key":"x-amzn-RequestId","value":"2fdc6d02-bcf7-46c4-9d72-6cf0d49c4e8e"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 46b5aeb0e7bcc8895e9b923ffd4a3896.cloudfront.net (CloudFront), 1.1 ce4f489a5d83a6513bd3ddac34b38d8c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR50-P4"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"rA6JLlqJJGMUx4_4_xJgN5k7TsoJWKtWZ5nv0YEY8GBp4huCw7giiQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"reprocessDataset\": null\n    },\n    \"errors\": [\n        {\n            \"path\": [\n                \"reprocessDataset\"\n            ],\n            \"data\": null,\n            \"errorType\": \"DatasetNotFound\",\n            \"errorInfo\": null,\n            \"locations\": [\n                {\n                    \"line\": 2,\n                    \"column\": 3,\n                    \"sourceName\": null\n                }\n            ],\n            \"message\": \"We encountered a problem, please retry or contact us at <a href=\\\"mailto:support@parsel.ai\\\">support@parsel.ai</a> with this request id \\\"bbee3d07-75a1-4ce3-ab61-494a353dd387\\\".\"\n        }\n    ]\n}"}],"_postman_id":"87034fa2-c1d4-46a1-995f-a6a9f46e7e8d"},{"name":"Change dataset name","event":[{"listen":"prerequest","script":{"id":"e234c5a3-bfb8-4092-a84c-9ebd3f9a8b29","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"ccf24cf6-18be-4105-ade4-0a02d78eb2fd","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);","    let response = pm.response.json();","    pm.collectionVariables.set(\"dataset_id\", response.data.changeDatasetName.dataset.id);","});"],"type":"text/javascript"}}],"id":"8517628e-6cc0-42b5-9232-9a11ea151d14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($id: ID!, $name: String!){\n  changeDatasetName(input: { id: $id, name: $name }) {\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n    }\n  }\n}","variables":"{\n    \"id\": \"<<Dataset ID, automatically stored on dataset reference in Postman>>\",\n    \"name\": \"<<New Dataset Name>>\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>Sets the referenced dataset's name to a new identifier. This is purely for prettification and does not effect the internal identifiers for datasets in any way. As the dataset's ID on creation is immutable, it can be used to explicitly reference a target dataset.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Unique dataset ID, which can be found in the <code>Create Dataset</code> response of by utilising <code>Search Datasets</code> calls</td>\n</tr>\n<tr>\n<td>name</td>\n<td>The new name for the dataset</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"f37bec1f-4ad4-43c4-af7e-dd1e9f204a6c","name":"Change dataset name","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($id: ID!, $name: String!){\n  changeDatasetName(input: { id: $id, name: $name }) {\n    dataset {\n      id\n      name\n      fileName\n      status\n      progress\n    }\n  }\n}","variables":"{\n    \"id\": \"<<Dataset ID, Automatically stored on dataset reference in Postman>>\",\n    \"name\": \"Brand new name\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"177"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 13:40:19 GMT"},{"key":"x-amzn-RequestId","value":"792c8d5e-f6c8-443b-8adc-ee8d22f43b64"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 d1f9689a3caeb0a19dffbc049d2b2140.cloudfront.net (CloudFront), 1.1 ce4f489a5d83a6513bd3ddac34b38d8c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C2"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"8xsGLPiDSk7pE_6hoAMhb0L3hEfeH1QF671w6EmwX-zXp6eWoWWoZA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"changeDatasetName\": {\n            \"dataset\": {\n                \"id\": \"01GDJPRTMYKW3CFXC0FDZ0JFHJ\",\n                \"name\": \"Brand new name\",\n                \"fileName\": \"<<Placeholder file name>>\",\n                \"status\": \"COMPLETED\",\n                \"progress\": 100\n            }\n        }\n    }\n}"}],"_postman_id":"8517628e-6cc0-42b5-9232-9a11ea151d14"},{"name":"Delete dataset","event":[{"listen":"test","script":{"id":"65f02211-6205-4881-820b-018bf02dde4d","exec":["pm.collectionVariables.unset(\"dataset_id\");"],"type":"text/javascript"}}],"id":"f25d9eca-2ffa-4aae-8996-ad1195d6d7b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($id: ID!){\n  deleteDataset(input: { id: $id }) {\n    id\n  }\n}","variables":"{\n    \"id\": \"<<Dataset ID, automatically stored on dataset reference in Postman>>\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>Deletes the referenced dataset and all associated files, data and metadata permanently. As the dataset's ID on creation is immutable, it can be used to explicitly reference a target dataset.</p>\n<p><strong>NOTE:</strong> A dataset can be deleted at anytime, even during processing.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>Unique dataset ID, which can be found in the <code>Create Dataset</code> response of by utilising <code>Search Datasets</code> calls</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"dd986348-3278-4fd2-86f6-f23e1011970d","name":"Delete dataset","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"mutation ($id: ID!){\n  deleteDataset(input: { id: $id }) {\n    id\n  }\n}","variables":"{\n    \"id\": \"<<Dataset ID, Automatically stored on dataset reference in Postman>>\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 13:40:58 GMT"},{"key":"x-amzn-RequestId","value":"9df01486-97bc-4f46-948d-7ff78cfe51b3"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 da1b51482b08b4548d36c4cddfb34c00.cloudfront.net (CloudFront), 1.1 ce4f489a5d83a6513bd3ddac34b38d8c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR61-C2"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"Yi3KhVq0BNzNNuVCHGbHvwUyxWEu5gqh-VNUQuJZ_noEg-8MWzIppA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"deleteDataset\": {\n            \"id\": \"01GDJPRTMYKW3CFXC0FDZ0JFHJ\"\n        }\n    }\n}"}],"_postman_id":"f25d9eca-2ffa-4aae-8996-ad1195d6d7b2"},{"name":"Search datasets","event":[{"listen":"prerequest","script":{"id":"9b1fd983-1c1d-48be-b95c-b82309661d48","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"7df82f64-9ad2-4109-bfd6-01159fd8fe3e","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200,201,202]);","    let response = pm.response.json();","    if (response.data.viewer.search.totalCount > 0){","        pm.collectionVariables.set(\"dataset_id\", response.data.search.nodes[0].id);","    };","});"],"type":"text/javascript"}}],"id":"bfe812ac-0d46-421f-bfff-9da2caedfc4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($first: Int!, $query: String!){\n    viewer{\n        search(first: $first, before : \"0\", query: $query) {\n            nodes {\n                id\n                name\n                fileName\n                status\n                progress\n                createdAt\n            }\n            totalCount\n        }\n    }\n}","variables":"{\n    \"first\" : \"<<Number of results>>\",\n    \"query\" : \"<<Target keyword>>\"\n}"}},"url":"https://api.parsel.ai/graphql","description":"<p>Search datasets available to you by keyword.</p>\n<p><strong>Note</strong>: Results are pagineated, so can be loaded with <a href=\"https://relay.dev/docs/next/guided-tour/list-data/streaming-pagination/\">relay infinite loading pagination</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>parameter</th>\n<th>description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search</td>\n<td>Max number of results to return. Note this can be entered as an integer or as a digit in string form, e.g. \"1\"</td>\n</tr>\n<tr>\n<td>query</td>\n<td>Keyword to search for.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}},"urlObject":{"host":["https://api.parsel.ai/graphql"],"query":[],"variable":[]}},"response":[{"id":"0bb40268-97e6-4f0a-b32c-5a157f29e2d9","name":"Search datasets - Keyword and number of results set","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"graphql","graphql":{"query":"query ($first: Int!, $query: String!){\n    viewer{\n        search(first: $first, before : \"0\", query: $query) {\n            nodes {\n                id\n                name\n                fileName\n                status\n                progress\n                createdAt\n            }\n            totalCount\n        }\n    }\n}","variables":"{\n    \"first\" : \"3\",\n    \"query\" : \"TEST\"\n}"}},"url":"https://api.parsel.ai/graphql"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"574"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 22 Sep 2022 13:41:31 GMT"},{"key":"x-amzn-RequestId","value":"4ce64222-5063-4fd2-9eb5-45ee83caad03"},{"key":"x-amzn-appsync-TokensConsumed","value":"1"},{"key":"Via","value":"1.1 6a4b8b5ea0a3ab45ef51e6681d8320bc.cloudfront.net (CloudFront), 1.1 ce4f489a5d83a6513bd3ddac34b38d8c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"LHR50-P4"},{"key":"X-Amz-Cf-Pop","value":"LHR62-C5"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"X-Amz-Cf-Id","value":"_aaS0bCkPCMFoKW6iqMLvtbq822JiMlz0veyXuFKihODaFzHkfq1og=="}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"viewer\": {\n            \"search\": {\n                \"nodes\": [\n                    {\n                        \"id\": \"01GD0VXZWXCZ9PE61Z50AHNHH0\",\n                        \"name\": \"testing gql variable formats\",\n                        \"fileName\": \"prestoTesto\",\n                        \"status\": \"COMPLETED\",\n                        \"progress\": 100,\n                        \"createdAt\": \"2022-09-15T15:22:59.869Z\"\n                    },\n                    {\n                        \"id\": \"01GD0WK5EQ1TNE4KRE5MNA61XE\",\n                        \"name\": \"testing gql variable formats\",\n                        \"fileName\": \"prestoTesto\",\n                        \"status\": \"COMPLETED\",\n                        \"progress\": 100,\n                        \"createdAt\": \"2022-09-15T15:34:33.687Z\"\n                    },\n                    {\n                        \"id\": \"01GCXYYNA2H79XN8F40CK9RP3T\",\n                        \"name\": \"PrestoTestoFilesAndSuch\",\n                        \"fileName\": \"prestoTesto\",\n                        \"status\": \"COMPLETED\",\n                        \"progress\": 100,\n                        \"createdAt\": \"2022-09-14T12:18:04.226Z\"\n                    }\n                ],\n                \"totalCount\": 5\n            }\n        }\n    }\n}"}],"_postman_id":"bfe812ac-0d46-421f-bfff-9da2caedfc4f"}],"id":"8e6d5ea0-1f90-46d6-b097-62a0b8ad37cc","description":"<p>The following mutations allow for manipulating existing datasets. These will become useful if you have a large set of test documents, with results you wish to save.</p>\n","_postman_id":"8e6d5ea0-1f90-46d6-b097-62a0b8ad37cc","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":true,"source":{"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1","id":"e152ec95-16e9-428d-8833-1808ace7f7e1","name":"Process a document","type":"folder"}}}],"id":"e152ec95-16e9-428d-8833-1808ace7f7e1","description":"<p>Please see the diagrams and steps to follow to process a document at the <a href=\"#processing-documents-workflow\">Process a Document</a> header above.</p>\n","auth":{"type":"apikey","apikey":{"key":"Authorization","value":"<<Authentication token, provided once signed in>>"},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"215eda1c-ea88-45ac-9a55-1eb889083708","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"33357163-182d-472d-94c3-185b4eb93029","type":"text/javascript","exec":[""]}}],"_postman_id":"e152ec95-16e9-428d-8833-1808ace7f7e1"}],"auth":{"type":"apikey","apikey":{"key":"x-api-key","value":""}},"event":[{"listen":"prerequest","script":{"id":"25c01e2d-b7b6-49f6-81c4-da92afa8f7fd","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0e18006b-4d6d-415c-899b-280d0d6a71c2","type":"text/javascript","exec":[""]}}],"variable":[{"key":"api_endpoint","value":"https://api.parsel.ai/graphql"},{"key":"email","value":""},{"key":"password","value":""},{"key":"public_api_key","value":""},{"key":"auth_token","value":"<<Authentication token, provided once signed in>>"},{"key":"refresh_token","value":"<<Refresh token, provided once signed in>>"},{"key":"presigned_url","value":"<<Presigned URL Placeholder, generated using Get Presigned URL>>"},{"key":"x_api_key_name","value":"x-api-key"},{"key":"sign_in_auth_token_label","value":"Authorization"},{"key":"dataset_id","value":"<<Dataset ID, automatically stored on dataset reference in Postman>>"}]}