{"info":{"_postman_id":"d10b88d4-4472-4099-80c3-152b27a22845","name":"3DiVi Face Machine Server API Documentation","description":"<html><head></head><body><ul>\n<li><a href=\"#testing-3divi-fms-api\">Testing 3DiVi FMS API</a></li>\n<li><a href=\"#authentication\">Authentication</a></li>\n<li><a href=\"#pagination\">Pagination</a></li>\n<li><a href=\"#filtering\">Filtering</a></li>\n<li><a href=\"#sorting\">Sorting</a></li>\n<li><a href=\"#list-of-errors\">List of Errors</a></li>\n<li><a href=\"#api-reference\">API Reference</a></li>\n</ul>\n<p>You can perform all available operations with the <a href=\"https://docs.facemachine.3divi.com/docs/fms_objects/\">Face Machine Server objects</a> (such as <a href=\"https://docs.facemachine.3divi.com/docs/fms_objects/#person-profile\">Person Profiles</a>, <a href=\"https://docs.facemachine.3divi.com/docs/fms_objects/#edge-device\">Edge Devices</a>, <a href=\"https://docs.facemachine.3divi.com/docs/fms_objects/#profile-group-list\">Lists</a>, etc.) using the <strong>Face Machine Server API (FMS API)</strong>.</p>\n<p>In this documentation, you can find all sample FMS API requests and responses. Sample requests are available in several languages, including C#, HTTP, Java, Python, and others – see the tab <em>LANGUAGE</em> at the top of the page. All the programming languages that can execute API requests are supported by the FMS API.</p>\n<p>FMS API uses <strong>GraphQL</strong>. GraphQL is an open-source API data query and manipulation language and a runtime for running existing data queries. GraphQL supports reading, writing (mutating), and subscribing to data modifications. You can learn more about GraphQL from the following sources:</p>\n<ul>\n<li><a href=\"https://graphql.org/learn/\">Introduction to GraphQL</a></li>\n<li><a href=\"https://www.howtographql.com/\">How to GraphQL</a></li>\n<li><a href=\"https://www.graphql.com/guides/\">Guides and Best Practices</a></li>\n</ul>\n<h1 id=\"testing-3divi-fms-api\">Testing 3DiVi FMS API</h1>\n<p>You can find sample requests and responses in the folders below this section. You can easily test all the requests in GraphiQL or Postman. Choose the tool that you like more and follow the instructions below.</p>\n<h2 id=\"testing-in-graphiql\">Testing in GraphiQL</h2>\n<ul>\n<li>Log in to your <a href=\"https://facemachine.3divi.com/\">personal Face Machine account</a>. </li>\n<li>Go to <a href=\"https://facemachine.3divi.com/graphiql/\">https://facemachine.3divi.com/graphiql/</a></li>\n<li>Copy the request you'd like to test and paste it in the field on the left. Don't forget to specify the required arguments.</li>\n<li>Click the \"Run\" button. You'll see the response in the right part of the page.</li>\n</ul>\n<h2 id=\"testing-in-postman\">Testing in Postman</h2>\n<ul>\n<li>Log in to your <a href=\"https://facemachine.3divi.com/\">personal Face Machine account</a>.</li>\n<li>Click the \"Run in Postman\" button at the top of this page to import this collection and open it directly in your Postman app.</li>\n<li>Choose the request that you'd like to test and specify the required arguments. </li>\n<li>Click the \"Send\" button. You'll see the response in the \"Response\" field.</li>\n</ul>\n<h1 id=\"authentication\">Authentication</h1>\n<p>For authorization, you have to pass an API access token in the HTTP header “Token”. Each client receives a unique client token from the provider of 3DiVi Face Machine Server. Your access token is displayed in your personal account: see the <strong>API</strong> section on a dashboard.</p>\n<img src=\"https://3divi.com/FMimages/FMG_17.png\" width=\"350\"> \n\n\n<h1 id=\"pagination\">Pagination</h1>\n<p>Pagination is a way to get a subset of items when querying collections. You can pass the optional arguments <code>offset</code> and <code>limit</code> to the queries, which return collections of items (see the queries <a href=\"https://apidocs.facemachine.3divi.com/#d378d226-7eae-4979-9590-e82c945b8ceb\">Get info about Person Profiles</a>, <a href=\"https://apidocs.facemachine.3divi.com/#c086ed93-a7a0-4fcc-80ba-cce1d54ca197\">Get info about Edge Devices</a>, etc.): </p>\n<ul>\n<li><code>offset</code>: offset from the beginning of the list (integer)</li>\n<li><code>limit</code>: number of displayed objects in the output (integer)</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>query {\n  devices(limit: 20, offset: 10) {\n    collectionItems {\n      ...\n      }\n   }\n}\n</code></pre><p>Total number of items in the collection is returned in the <code>totalCount</code> field, collection items are returned in the <code>collectionItems</code> field.</p>\n<p>Example: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>query { \n  profiles { \n    totalCount\n  }\n}\n</code></pre><h1 id=\"filtering\">Filtering</h1>\n<p>You can use filtering to get the data that satisfies certain conditions, for example, if you want to see only people of certain age. Filtering conditions are passed in the <code>filter</code> variable as a JSON string. You should specify the object field and lookup operator for filtering. A nested object is indicated by double underscore (\"__\"). If there are multiple conditions, use the \"and\" operator to display the objects that satisfy all given conditions and the \"or\" operator to display the objects that satisfy at least one of the given conditions. To specify the data, use the comparison operators:</p>\n<ul>\n<li>eq (\"equal to\", \"=\")</li>\n<li>gte (\"greater than or equal to\", \"&gt;=\")</li>\n<li>gt (\"greater than\", \"&gt;\")</li>\n<li>lt (\"less than\", \"&lt;\")</li>\n<li>lte (\"less than or equal to\", \"&lt;=\")</li>\n<li>in (\"used to check if a value exists in a sequence or not\")</li>\n</ul>\n<p>If the operator isn't set, the <code>eq</code> operator is used by default.</p>\n<p>The example below demonstrates the filtering of persons by gender and age: only males \"less than or equal to 22\" or \"greater than or equal to 50\" years old are displayed.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"and\": {\n    \"personInfo__gender\": \"Male\",\n    \"or\": [\n        {\"personInfo__age__lte\": 22},\n        {\"personInfo__age__gte\": 50}\n    ]\n  }\n}\n</code></pre><p>See the sample filtering request and response: <a href=\"https://apidocs.facemachine.3divi.com/#e2ee688a-d839-4728-9b65-b86ebea42d38\">Filter Events</a>. </p>\n<h1 id=\"sorting\">Sorting</h1>\n<p>You can use sorting to arrange items systematically, for example, to sort people by their names. To get the data ordered by a specific field, pass the name of the field to the <code>order</code> parameter. A nested object is indicated by double underscore (\"__\"). To sort the objects in the descending order, specify \"-\" in front of the object.</p>\n<p>The example below demonstrates the sorting of Person Profiles by name (in the ascending order) and by age (in the descending order).</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n  \"personInfo__name\",\n  \"-personInfo__age\"\n]\n</code></pre><p>See the sample sorting requests and responses: <a href=\"https://apidocs.facemachine.3divi.com/#62452884-6591-4017-be8a-9fbc116f85c3\">Sort Person Profiles</a> and <a href=\"https://apidocs.facemachine.3divi.com/#59873412-f4d0-4a86-a62b-ba41e77f0602\">Sort Events</a>.</p>\n<h1 id=\"list-of-errors\">List of Errors</h1>\n<p>The error <strong>\"Wrong token\"</strong> means that you didn't pass any client token or the token is incorrect (see the section <a href=\"#authentication\">Authentication</a>).</p>\n<p>Sample output for this error: </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errors\": [\n    {\n      \"message\": \"[{'message': 'Wrong token', 'locations': [{'line': 1, 'column': 2}], 'path': ['permissions'], 'error_code': 2}]\",\n      \"locations\": [\n        {\n          \"line\": 2,\n          \"column\": 3\n        }\n      ],\n      \"path\": [\n        \"devices\"\n      ]\n    }\n  ],\n  \"data\": {\n    \"devices\": null\n  }\n}\n</code></pre><p>The error <strong>\"Could not identify (or identify more than 1) face from this sample\"</strong> means that the uploaded picture is invalid, for example:</p>\n<ul>\n<li>the image resolution is too low or too high</li>\n<li>there are more than one person in the pucture</li>\n<li>there are no faces in the image</li>\n</ul>\n<p>Sample output for this error:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errors\": [\n    {\n      \"message\": \"[{'message': 'Could not identify (or identify more than 1) face from this sample (face count = 0', 'locations': [{'line': 3, 'column': 21}], 'path': ['faces']}]\",\n      \"locations\": [\n        {\n          \"line\": 2,\n          \"column\": 3\n        }\n      ],\n      \"path\": [\n        \"createProfile\"\n      ]\n    }\n  ],\n  \"data\": {\n    \"createProfile\": null\n  }\n}\n</code></pre><p>The error <strong>\"Expecting value: line 1 column 1 (char 0)\"</strong> means that the requested info was not found in the Face Machine Client. </p>\n<p>Sample output for this error:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errors\": [\n    {\n      \"message\": \"Expecting value: line 1 column 1 (char 0)\"\n    }\n  ]\n}\n</code></pre><p>The error <strong>\"Variable \"$groupId\" of required type \"ID!\" was not provided\"</strong> means that required fields (in this case, it's <code>groupId</code>) weren't passed in the request. </p>\n<p>Sample output for this error:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"errors\": [\n    {\n      \"message\": \"Variable \\\"$groupId\\\" of required type \\\"ID!\\\" was not provided.\",\n      \"locations\": [\n        {\n          \"line\": 1,\n          \"column\": 10\n        }\n      ]\n    }\n  ]\n}\n</code></pre><h1 id=\"api-reference\">API Reference</h1>\n<p>Below you can find the examples of the Face Machine Server API requests and responses. </p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Testing 3DiVi FMS API","slug":"testing-3divi-fms-api"},{"content":"Authentication","slug":"authentication"},{"content":"Pagination","slug":"pagination"},{"content":"Filtering","slug":"filtering"},{"content":"Sorting","slug":"sorting"},{"content":"List of Errors","slug":"list-of-errors"},{"content":"API Reference","slug":"api-reference"}],"owner":"8918561","collectionId":"d10b88d4-4472-4099-80c3-152b27a22845","publishedId":"SW7aWn8r","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-04-26T11:20:17.000Z"},"item":[{"name":"Face Detection","item":[{"name":"Create Samples","id":"29acadcf-db1b-40d4-9469-eeef43e96238","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n  createSamples(image: \"<base64_image>\") {\n    samples {\n      id,\n      landmarks {\n        leftEyeBrowLeft {x, y},\n        leftEyeBrowUp {x, y},\n        leftEyeBrowRight {x, y},\n        rightEyeBrowLeft {x, y},\n        rightEyeBrowUp {x, y},\n        rightEyeBrowRight {x, y},\n        leftEyeLeft {x, y},\n        leftPupil {x, y},\n        leftEyeRight {x, y},\n        rightEyeLeft {x, y},\n        rightPupil {x, y},\n        rightEyeRight {x, y},\n        leftEarBottom {x, y},\n        noseLeft {x, y},\n        nose {x, y},\n        noseRight {x, y},\n        rightEarBottom {x, y},\n        mouthLeft {x, y},\n        mouth {x, y},\n        mouthRight {x, y},\n        chin {x, y},\n      }\n\n      sourceImage {width, height}\n      angles {yaw, roll, pitch}\n      faceRectangle {x, y, width, height}\n      faceCrop {x, y, width, height}\n      age,\n      gender,\n      emotions {neutral, happy, angry, surprised},\n      liveness {value, confidence},\n      mask {value, confidence},\n      image\n    }\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to create <a href=\"#sample\">Samples</a> and get information about faces in created Samples (such as a face rectangle, head rotation angles, landmarks, estimated age, gender, emotions, liveness, and mask). In the request, you have to specify one of the following sources:</p>\n<ul>\n<li>an image in base64 format in <code>image</code></li>\n<li>a template in base64 format in <code>template</code>. The template is generated by <a href=\"https://github.com/3DiVi/face-sdk\">Face SDK</a>. Please note that the template must be generated with the identification method corresponding to the identification method on the Face Machine Server, otherwise the template won't be processed. See more information about identification methods in the <a href=\"https://github.com/3DiVi/face-sdk/blob/master/doc/en/development/face_identification.md\">Face SDK documentation</a>.</li>\n</ul>\n<p>The result is a Sample, which you can use to:</p>\n<ul>\n<li>create a <a href=\"#person-profile\">Person Profile</a> (Person Profiles &gt; Create a Person Profile, <code>createProfile</code>), </li>\n<li>verify a face to a face (Identification &amp; Verification &gt; Verify a face to a face, <code>verify</code>),</li>\n<li>seach a person in the database (Identification &amp; Verification &gt; Search a face in the database, <code>search</code>).</li>\n</ul>\n<p><strong>Anonymous sample</strong><br />If you have to work with anonymous data, you can set <code>anonymousMode</code> to <code>true</code> (by default, it's set to <code>false</code>). In this case, the image is not stored on the server. An anonymous Sample can also be used in requests listed above (<code>createProfile</code>, <code>verify</code>, <code>search</code>).</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"6f33d299-3ead-43f8-b98f-7e0271874608","name":"Create an anonymous sample","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n  createSamples(anonymousMode: true, image: \"<base64_image>\") {\n    samples {\n      id,\n      landmarks {\n        leftEyeBrowLeft {x, y},\n        leftEyeBrowUp {x, y},\n        leftEyeBrowRight {x, y},\n        rightEyeBrowLeft {x, y},\n        rightEyeBrowUp {x, y},\n        rightEyeBrowRight {x, y},\n        leftEyeLeft {x, y},\n        leftPupil {x, y},\n        leftEyeRight {x, y},\n        rightEyeLeft {x, y},\n        rightPupil {x, y},\n        rightEyeRight {x, y},\n        leftEarBottom {x, y},\n        noseLeft {x, y},\n        nose {x, y},\n        noseRight {x, y},\n        rightEarBottom {x, y},\n        mouthLeft {x, y},\n        mouth {x, y},\n        mouthRight {x, y},\n        chin {x, y},\n      }\n\n      sourceImage {width, height}\n      angles {yaw, roll, pitch}\n      faceRectangle {x, y, width, height}\n      faceCrop {x, y, width, height}\n      age,\n      gender,\n      emotions {neutral, happy, angry, surprised}\n      liveness {value, confidence}\n      mask {value, confidence}\n      image\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createSamples\": {\n      \"samples\": [\n        {\n          \"id\": \"4cfb97ce-7bcf-44e4-808d-620eb24c9c20\",\n          \"landmarks\": {\n            \"leftEyeBrowLeft\": {\n              \"x\": 0.18078623661378615,\n              \"y\": 0.14614944977014244\n            },\n            \"leftEyeBrowUp\": {\n              \"x\": 0.2738960733219069,\n              \"y\": 0.11113725519504677\n            },\n            \"leftEyeBrowRight\": {\n              \"x\": 0.38744369818239793,\n              \"y\": 0.13187012964365433\n            },\n            \"rightEyeBrowLeft\": {\n              \"x\": 0.6122630839445153,\n              \"y\": 0.12671103964046557\n            },\n            \"rightEyeBrowUp\": {\n              \"x\": 0.721649626647534,\n              \"y\": 0.10253785840508078\n            },\n            \"rightEyeBrowRight\": {\n              \"x\": 0.8117327008928571,\n              \"y\": 0.13121383563190903\n            },\n            \"leftEyeLeft\": {\n              \"x\": 0.2386353992280506,\n              \"y\": 0.2380668795838648\n            },\n            \"leftPupil\": {\n              \"x\": 0.31529312652795494,\n              \"y\": 0.22977315682132227\n            },\n            \"leftEyeRight\": {\n              \"x\": 0.3918640551923895,\n              \"y\": 0.2456291354432398\n            },\n            \"rightEyeLeft\": {\n              \"x\": 0.6099776287468113,\n              \"y\": 0.24168422984428145\n            },\n            \"rightPupil\": {\n              \"x\": 0.6827710625265732,\n              \"y\": 0.22517488440688777\n            },\n            \"rightEyeRight\": {\n              \"x\": 0.7612868536086309,\n              \"y\": 0.2267881639960672\n            },\n            \"leftEarBottom\": {\n              \"x\": 0.14533979973825467,\n              \"y\": 0.46844220842633927\n            },\n            \"noseLeft\": {\n              \"x\": 0.41862863553624574,\n              \"y\": 0.4623298904522747\n            },\n            \"nose\": {\n              \"x\": 0.5106228575414541,\n              \"y\": 0.45228229963860545\n            },\n            \"noseRight\": {\n              \"x\": 0.5957254630367772,\n              \"y\": 0.4549597084927721\n            },\n            \"rightEarBottom\": {\n              \"x\": 0.8603865227731717,\n              \"y\": 0.4469479515438988\n            },\n            \"mouthLeft\": {\n              \"x\": 0.3894400875584609,\n              \"y\": 0.6177410514987245\n            },\n            \"mouth\": {\n              \"x\": 0.5095699803358843,\n              \"y\": 0.6238669051605017\n            },\n            \"mouthRight\": {\n              \"x\": 0.6369622262967687,\n              \"y\": 0.6074174738254677\n            },\n            \"chin\": {\n              \"x\": 0.5167304006563563,\n              \"y\": 0.8383916115274235\n            }\n          },\n          \"sourceImage\": {\n            \"width\": 735,\n            \"height\": 735\n          },\n          \"angles\": {\n            \"yaw\": 0.9141501188278198,\n            \"roll\": -0.5725070238113403,\n            \"pitch\": -15.545759201049805\n          },\n          \"faceRectangle\": {\n            \"x\": 0.11700680272108843,\n            \"y\": -0.04217687074829932,\n            \"width\": 0.8612244897959184,\n            \"height\": 0.8612244897959184\n          },\n          \"faceCrop\": {\n            \"x\": 0,\n            \"y\": 0,\n            \"width\": 1,\n            \"height\": 1\n          },\n          \"age\": 21,\n          \"gender\": \"female\",\n          \"emotions\": {\n            \"neutral\": 0.6499079465866089,\n            \"happy\": 0.012685926631093025,\n            \"angry\": 0.08275095373392105,\n            \"surprised\": 0.2546551525592804\n          },\n          \"liveness\": {\n            \"value\": \"REAL\",\n            \"confidence\": 0.9952443838119507\n          },\n          \"mask\": {\n            \"value\": false,\n            \"confidence\": 0.95\n          },\n          \"image\": \"<base64_image>\"\n        }\n      ]\n    }\n  }\n}"},{"id":"e5c99bf4-6f49-4dad-94de-c50b9bf5dc76","name":"Create a sample from the image","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n  createSamples(image: \"<base64_image>\") {\n    samples {\n      id,\n      landmarks {\n        leftEyeBrowLeft {x, y},\n        leftEyeBrowUp {x, y},\n        leftEyeBrowRight {x, y},\n        rightEyeBrowLeft {x, y},\n        rightEyeBrowUp {x, y},\n        rightEyeBrowRight {x, y},\n        leftEyeLeft {x, y},\n        leftPupil {x, y},\n        leftEyeRight {x, y},\n        rightEyeLeft {x, y},\n        rightPupil {x, y},\n        rightEyeRight {x, y},\n        leftEarBottom {x, y},\n        noseLeft {x, y},\n        nose {x, y},\n        noseRight {x, y},\n        rightEarBottom {x, y},\n        mouthLeft {x, y},\n        mouth {x, y},\n        mouthRight {x, y},\n        chin {x, y},\n      }\n\n      sourceImage {width, height}\n      angles {yaw, roll, pitch}\n      faceRectangle {x, y, width, height}\n      faceCrop {x, y, width, height}\n      age,\n      gender,\n      emotions {neutral, happy, angry, surprised}\n      liveness {value, confidence}\n      mask {value, confidence}\n      image\n    }\n  }\n}\n","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"createSamples\": {\n      \"samples\": [\n        {\n          \"id\": \"4cfb97ce-7bcf-44e4-808d-620eb24c9c20\",\n          \"landmarks\": {\n            \"leftEyeBrowLeft\": {\n              \"x\": 0.18078623661378615,\n              \"y\": 0.14614944977014244\n            },\n            \"leftEyeBrowUp\": {\n              \"x\": 0.2738960733219069,\n              \"y\": 0.11113725519504677\n            },\n            \"leftEyeBrowRight\": {\n              \"x\": 0.38744369818239793,\n              \"y\": 0.13187012964365433\n            },\n            \"rightEyeBrowLeft\": {\n              \"x\": 0.6122630839445153,\n              \"y\": 0.12671103964046557\n            },\n            \"rightEyeBrowUp\": {\n              \"x\": 0.721649626647534,\n              \"y\": 0.10253785840508078\n            },\n            \"rightEyeBrowRight\": {\n              \"x\": 0.8117327008928571,\n              \"y\": 0.13121383563190903\n            },\n            \"leftEyeLeft\": {\n              \"x\": 0.2386353992280506,\n              \"y\": 0.2380668795838648\n            },\n            \"leftPupil\": {\n              \"x\": 0.31529312652795494,\n              \"y\": 0.22977315682132227\n            },\n            \"leftEyeRight\": {\n              \"x\": 0.3918640551923895,\n              \"y\": 0.2456291354432398\n            },\n            \"rightEyeLeft\": {\n              \"x\": 0.6099776287468113,\n              \"y\": 0.24168422984428145\n            },\n            \"rightPupil\": {\n              \"x\": 0.6827710625265732,\n              \"y\": 0.22517488440688777\n            },\n            \"rightEyeRight\": {\n              \"x\": 0.7612868536086309,\n              \"y\": 0.2267881639960672\n            },\n            \"leftEarBottom\": {\n              \"x\": 0.14533979973825467,\n              \"y\": 0.46844220842633927\n            },\n            \"noseLeft\": {\n              \"x\": 0.41862863553624574,\n              \"y\": 0.4623298904522747\n            },\n            \"nose\": {\n              \"x\": 0.5106228575414541,\n              \"y\": 0.45228229963860545\n            },\n            \"noseRight\": {\n              \"x\": 0.5957254630367772,\n              \"y\": 0.4549597084927721\n            },\n            \"rightEarBottom\": {\n              \"x\": 0.8603865227731717,\n              \"y\": 0.4469479515438988\n            },\n            \"mouthLeft\": {\n              \"x\": 0.3894400875584609,\n              \"y\": 0.6177410514987245\n            },\n            \"mouth\": {\n              \"x\": 0.5095699803358843,\n              \"y\": 0.6238669051605017\n            },\n            \"mouthRight\": {\n              \"x\": 0.6369622262967687,\n              \"y\": 0.6074174738254677\n            },\n            \"chin\": {\n              \"x\": 0.5167304006563563,\n              \"y\": 0.8383916115274235\n            }\n          },\n          \"sourceImage\": {\n            \"width\": 735,\n            \"height\": 735\n          },\n          \"angles\": {\n            \"yaw\": 0.9141501188278198,\n            \"roll\": -0.5725070238113403,\n            \"pitch\": -15.545759201049805\n          },\n          \"faceRectangle\": {\n            \"x\": 0.11700680272108843,\n            \"y\": -0.04217687074829932,\n            \"width\": 0.8612244897959184,\n            \"height\": 0.8612244897959184\n          },\n          \"faceCrop\": {\n            \"x\": 0,\n            \"y\": 0,\n            \"width\": 1,\n            \"height\": 1\n          },\n          \"age\": 21,\n          \"gender\": \"female\",\n          \"emotions\": {\n            \"neutral\": 0.6499079465866089,\n            \"happy\": 0.012685926631093025,\n            \"angry\": 0.08275095373392105,\n            \"surprised\": 0.2546551525592804\n          },\n          \"liveness\": {\n            \"value\": \"REAL\",\n            \"confidence\": 0.9952443838119507\n          },\n          \"mask\": {\n            \"value\": false,\n            \"confidence\": 0.95\n          },\n          \"image\": \"<base64_image>\"\n        }\n      ]\n    }\n  }\n}\n"},{"id":"f4daf9a7-dd37-4d2e-a724-0be0e03f672e","name":"Create a sample from the template ","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n  createSamples(template: \"<base64_template>\") {\n    samples {\n      id,\n      landmarks {\n        leftEyeBrowLeft {x, y},\n        leftEyeBrowUp {x, y},\n        leftEyeBrowRight {x, y},\n        rightEyeBrowLeft {x, y},\n        rightEyeBrowUp {x, y},\n        rightEyeBrowRight {x, y},\n        leftEyeLeft {x, y},\n        leftPupil {x, y},\n        leftEyeRight {x, y},\n        rightEyeLeft {x, y},\n        rightPupil {x, y},\n        rightEyeRight {x, y},\n        leftEarBottom {x, y},\n        noseLeft {x, y},\n        nose {x, y},\n        noseRight {x, y},\n        rightEarBottom {x, y},\n        mouthLeft {x, y},\n        mouth {x, y},\n        mouthRight {x, y},\n        chin {x, y},\n      }\n      sourceImage {width, height}\n      angles {yaw, roll, pitch}\n      faceRectangle {x, y, width, height}\n      faceCrop {x, y, width, height}\n      age,\n      gender,\n      emotions {neutral, happy, angry, surprised}\n      liveness {value, confidence}\n      mask {value, confidence}\n      image\n    }\n  }\n}\n","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"data\": {\r\n    \"createSamples\": {\r\n      \"samples\": [\r\n        {\r\n          \"id\": \"4cfb97ce-7bcf-44e4-808d-620eb24c9c20\",\r\n          \"landmarks\": {\r\n            \"leftEyeBrowLeft\": {\r\n              \"x\": 0.18078623661378615,\r\n              \"y\": 0.14614944977014244\r\n            },\r\n            \"leftEyeBrowUp\": {\r\n              \"x\": 0.2738960733219069,\r\n              \"y\": 0.11113725519504677\r\n            },\r\n            \"leftEyeBrowRight\": {\r\n              \"x\": 0.38744369818239793,\r\n              \"y\": 0.13187012964365433\r\n            },\r\n            \"rightEyeBrowLeft\": {\r\n              \"x\": 0.6122630839445153,\r\n              \"y\": 0.12671103964046557\r\n            },\r\n            \"rightEyeBrowUp\": {\r\n              \"x\": 0.721649626647534,\r\n              \"y\": 0.10253785840508078\r\n            },\r\n            \"rightEyeBrowRight\": {\r\n              \"x\": 0.8117327008928571,\r\n              \"y\": 0.13121383563190903\r\n            },\r\n            \"leftEyeLeft\": {\r\n              \"x\": 0.2386353992280506,\r\n              \"y\": 0.2380668795838648\r\n            },\r\n            \"leftPupil\": {\r\n              \"x\": 0.31529312652795494,\r\n              \"y\": 0.22977315682132227\r\n            },\r\n            \"leftEyeRight\": {\r\n              \"x\": 0.3918640551923895,\r\n              \"y\": 0.2456291354432398\r\n            },\r\n            \"rightEyeLeft\": {\r\n              \"x\": 0.6099776287468113,\r\n              \"y\": 0.24168422984428145\r\n            },\r\n            \"rightPupil\": {\r\n              \"x\": 0.6827710625265732,\r\n              \"y\": 0.22517488440688777\r\n            },\r\n            \"rightEyeRight\": {\r\n              \"x\": 0.7612868536086309,\r\n              \"y\": 0.2267881639960672\r\n            },\r\n            \"leftEarBottom\": {\r\n              \"x\": 0.14533979973825467,\r\n              \"y\": 0.46844220842633927\r\n            },\r\n            \"noseLeft\": {\r\n              \"x\": 0.41862863553624574,\r\n              \"y\": 0.4623298904522747\r\n            },\r\n            \"nose\": {\r\n              \"x\": 0.5106228575414541,\r\n              \"y\": 0.45228229963860545\r\n            },\r\n            \"noseRight\": {\r\n              \"x\": 0.5957254630367772,\r\n              \"y\": 0.4549597084927721\r\n            },\r\n            \"rightEarBottom\": {\r\n              \"x\": 0.8603865227731717,\r\n              \"y\": 0.4469479515438988\r\n            },\r\n            \"mouthLeft\": {\r\n              \"x\": 0.3894400875584609,\r\n              \"y\": 0.6177410514987245\r\n            },\r\n            \"mouth\": {\r\n              \"x\": 0.5095699803358843,\r\n              \"y\": 0.6238669051605017\r\n            },\r\n            \"mouthRight\": {\r\n              \"x\": 0.6369622262967687,\r\n              \"y\": 0.6074174738254677\r\n            },\r\n            \"chin\": {\r\n              \"x\": 0.5167304006563563,\r\n              \"y\": 0.8383916115274235\r\n            }\r\n          },\r\n          \"sourceImage\": {\r\n            \"width\": 735,\r\n            \"height\": 735\r\n          },\r\n          \"angles\": {\r\n            \"yaw\": 0.9141501188278198,\r\n            \"roll\": -0.5725070238113403,\r\n            \"pitch\": -15.545759201049805\r\n          },\r\n          \"faceRectangle\": {\r\n            \"x\": 0.11700680272108843,\r\n            \"y\": -0.04217687074829932,\r\n            \"width\": 0.8612244897959184,\r\n            \"height\": 0.8612244897959184\r\n          },\r\n          \"faceCrop\": {\r\n            \"x\": 0,\r\n            \"y\": 0,\r\n            \"width\": 1,\r\n            \"height\": 1\r\n          },\r\n          \"age\": 21,\r\n          \"gender\": \"female\",\r\n          \"emotions\": {\r\n            \"neutral\": 0.6499079465866089,\r\n            \"happy\": 0.012685926631093025,\r\n            \"angry\": 0.08275095373392105,\r\n            \"surprised\": 0.2546551525592804\r\n          },\r\n          \"liveness\": {\r\n            \"value\": \"REAL\",\r\n            \"confidence\": 0.9952443838119507\r\n          },\r\n          \"mask\": {\r\n            \"value\": false,\r\n            \"confidence\": 0.95\r\n          },\r\n          \"template\": \"<base64_template>\"\r\n        }\r\n      ]\r\n    }\r\n  }\r\n}"}],"_postman_id":"29acadcf-db1b-40d4-9469-eeef43e96238"},{"name":"Detect faces in the image","id":"070266ce-e499-4b6f-9c2f-0364b1f69053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  detect(image: \"<base64image>\") {\n    landmarks {\n      leftEyeBrowLeft {x, y},\n\t  leftEyeBrowUp {x, y},\n\t  leftEyeBrowRight {x, y},\n\t  rightEyeBrowLeft {x, y},\n\t  rightEyeBrowUp {x, y},\n\t  rightEyeBrowRight {x, y},\n\t  leftEyeLeft {x, y},\n\t  leftPupil {x, y},\n\t  leftEyeRight {x, y},\n\t  rightEyeLeft {x, y},\n\t  rightPupil {x, y},\n\t  rightEyeRight {x, y},\n\t  leftEarBottom {x, y},\n\t  noseLeft {x, y},\n\t  nose {x, y},\n\t  noseRight {x, y},\n\t  rightEarBottom {x, y},\n\t  mouthLeft {x, y},\n\t  mouth {x, y},\n\t  mouthRight {x, y},\n\t  chin {x, y},\n    }\n  \tsourceImage {width, height}\n    angles {yaw, roll, pitch}\n    faceRectangle {x, y, width, height}\n    faceCrop {x, y, width, height}\n    age,\n    gender,\n    emotions {neutral, happy, angry, surprised}\n    image\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to detect faces in the image and get information about these faces (such as a face rectangle, head rotation angles, landmarks, estimated age, gender, emotions, liveness, and mask). In the request, you have to specify an image in base64 format in <code>image</code>. You can use this request, if you're interested in <strong>detection result only</strong> (no verification &amp; identification or creation of <a href=\"#person-profile\">Person Profiles</a> is required).</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"f00bfc24-456e-4c16-9ab2-3af6910d9854","name":"Detect faces in the image","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  detect(image: \"<base64image>\") {\n    landmarks {\n      leftEyeBrowLeft {x, y},\n\t  leftEyeBrowUp {x, y},\n\t  leftEyeBrowRight {x, y},\n\t  rightEyeBrowLeft {x, y},\n\t  rightEyeBrowUp {x, y},\n\t  rightEyeBrowRight {x, y},\n\t  leftEyeLeft {x, y},\n\t  leftPupil {x, y},\n\t  leftEyeRight {x, y},\n\t  rightEyeLeft {x, y},\n\t  rightPupil {x, y},\n\t  rightEyeRight {x, y},\n\t  leftEarBottom {x, y},\n\t  noseLeft {x, y},\n\t  nose {x, y},\n\t  noseRight {x, y},\n\t  rightEarBottom {x, y},\n\t  mouthLeft {x, y},\n\t  mouth {x, y},\n\t  mouthRight {x, y},\n\t  chin {x, y},\n    }\n  \tsourceImage {width, height}\n    angles {yaw, roll, pitch}\n    faceRectangle {x, y, width, height}\n    faceCrop {x, y, width, height}\n    age,\n    gender,\n    emotions {neutral, happy, angry, surprised}\n    liveness {value, confidence}\n    mask {value, confidence}\n    image\n  }\n}\n","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"detect\": [\n      {\n        \"landmarks\": {\n          \"leftEyeBrowLeft\": {\n            \"x\": 0.18078623661378615,\n            \"y\": 0.14614944977014244\n          },\n          \"leftEyeBrowUp\": {\n            \"x\": 0.2738960733219069,\n            \"y\": 0.11113725519504677\n          },\n          \"leftEyeBrowRight\": {\n            \"x\": 0.38744369818239793,\n            \"y\": 0.13187012964365433\n          },\n          \"rightEyeBrowLeft\": {\n            \"x\": 0.6122630839445153,\n            \"y\": 0.12671103964046557\n          },\n          \"rightEyeBrowUp\": {\n            \"x\": 0.721649626647534,\n            \"y\": 0.10253785840508078\n          },\n          \"rightEyeBrowRight\": {\n            \"x\": 0.8117327008928571,\n            \"y\": 0.13121383563190903\n          },\n          \"leftEyeLeft\": {\n            \"x\": 0.2386353992280506,\n            \"y\": 0.2380668795838648\n          },\n          \"leftPupil\": {\n            \"x\": 0.31529312652795494,\n            \"y\": 0.22977315682132227\n          },\n          \"leftEyeRight\": {\n            \"x\": 0.3918640551923895,\n            \"y\": 0.2456291354432398\n          },\n          \"rightEyeLeft\": {\n            \"x\": 0.6099776287468113,\n            \"y\": 0.24168422984428145\n          },\n          \"rightPupil\": {\n            \"x\": 0.6827710625265732,\n            \"y\": 0.22517488440688777\n          },\n          \"rightEyeRight\": {\n            \"x\": 0.7612868536086309,\n            \"y\": 0.2267881639960672\n          },\n          \"leftEarBottom\": {\n            \"x\": 0.14533979973825467,\n            \"y\": 0.46844220842633927\n          },\n          \"noseLeft\": {\n            \"x\": 0.41862863553624574,\n            \"y\": 0.4623298904522747\n          },\n          \"nose\": {\n            \"x\": 0.5106228575414541,\n            \"y\": 0.45228229963860545\n          },\n          \"noseRight\": {\n            \"x\": 0.5957254630367772,\n            \"y\": 0.4549597084927721\n          },\n          \"rightEarBottom\": {\n            \"x\": 0.8603865227731717,\n            \"y\": 0.4469479515438988\n          },\n          \"mouthLeft\": {\n            \"x\": 0.3894400875584609,\n            \"y\": 0.6177410514987245\n          },\n          \"mouth\": {\n            \"x\": 0.5095699803358843,\n            \"y\": 0.6238669051605017\n          },\n          \"mouthRight\": {\n            \"x\": 0.6369622262967687,\n            \"y\": 0.6074174738254677\n          },\n          \"chin\": {\n            \"x\": 0.5167304006563563,\n            \"y\": 0.8383916115274235\n          }\n        },\n        \"sourceImage\": {\n          \"width\": 735,\n          \"height\": 735\n        },\n        \"angles\": {\n          \"yaw\": 0.9141501188278198,\n          \"roll\": -0.5725070238113403,\n          \"pitch\": -15.545759201049805\n        },\n        \"faceRectangle\": {\n          \"x\": 0.11700680272108843,\n          \"y\": -0.04217687074829932,\n          \"width\": 0.8612244897959184,\n          \"height\": 0.8612244897959184\n        },\n        \"faceCrop\": {\n          \"x\": 0,\n          \"y\": 0,\n          \"width\": 1,\n          \"height\": 1\n        },\n        \"age\": 21,\n        \"gender\": \"female\",\n        \"emotions\": {\n          \"neutral\": 0.6499079465866089,\n          \"happy\": 0.012685926631093025,\n          \"angry\": 0.08275095373392105,\n          \"surprised\": 0.2546551525592804\n        },\n        \"liveness\": {\n            \"value\": \"REAL\",\n            \"confidence\": 0.9952443838119507\n        },\n        \"mask\": {\n            \"value\": false,\n            \"confidence\": 0.95\n        },\n        \"image\": \"<base64image>\"\n      }\n    ]\n  }\n}"}],"_postman_id":"070266ce-e499-4b6f-9c2f-0364b1f69053"}],"id":"f5c4bcec-35fd-4f3b-b195-819e651913bd","_postman_id":"f5c4bcec-35fd-4f3b-b195-819e651913bd","description":""},{"name":"Person Profiles","item":[{"name":"Create a Person Profile","id":"5d8bfddc-45a2-4421-abc0-3a9f7dd3263c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql","graphql":{"query":"mutation {\n        createProfile(profileData: {personInfo: \"{\\\"name\\\": \\\"Name\\\"}\", samplesId: [\"e01e8ed2-5e69-4ed2-ae6e-5327d1b80a98\"]}) {\n          ok, profile {id}}\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to create a <a href=\"#person-profile\">Person Profile</a>. In the request, you should specify text information about a person in <code>personInfo</code> in <code>personData</code> and add a <a href=\"#sample\">Sample</a> with a person's face in <code>samplesId</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"176b7838-8fb7-426b-8977-41bbe1b2d58d","name":"Create a profile","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n        createProfile(profileData: {personInfo: \"{\\\"name\\\": \\\"Name\\\"}\", samplesData: {image: \"base64 image\"}}) {\n          ok, profile {id}}\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 07:54:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"94"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 07:54:48 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 07:54:48 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"createProfile\": {\n            \"ok\": true,\n            \"profile\": {\n                \"id\": \"61f56ca0-d3a8-425f-93b3-a3adda976e25\"\n            }\n        }\n    }\n}"}],"_postman_id":"5d8bfddc-45a2-4421-abc0-3a9f7dd3263c"},{"name":"Delete a Person Profile","id":"119edf48-cb46-4bdd-9302-4cad4edfb33d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to delete specified <a href=\"#person-profile\">Person Profiles</a>. In the request, you should specify ids of Person Profiles in <code>profileIds</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"93c94d1b-4001-4ca8-b32e-062fca1c4743","name":"Delete a profile","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n  deleteProfiles(profileIds: [\"61f56ca0-d3a8-425f-93b3-a3adda976e25\"]){ok}\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 08:19:14 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"39"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 08:19:14 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 08:19:14 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"deleteProfiles\": {\n            \"ok\": true\n        }\n    }\n}"}],"_postman_id":"119edf48-cb46-4bdd-9302-4cad4edfb33d"},{"name":"Change a Person Profile","id":"95197856-f544-472b-b20a-a606ba95c6d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to edit text information about a person (for example, edit his/her name, age, and so on). In the request, you should specify new text information in <code>personInfo</code> and id of a <a href=\"#person-profile\">Person Profile</a> in <code>profileId</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"e7bb393a-e609-4ed6-b131-86320dff0be4","name":"Change a profile","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n  setPersonInfo(personInfo: \"{\\\"name\\\": \\\"Name\\\"}\", profileId: \"6fbe7346-a5cf-4c3f-92bc-ab6a24785479\"){  \n    ok, profile{id}  \n  }  \n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 08:16:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"94"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 08:16:03 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 08:16:03 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"setPersonInfo\": {\n            \"ok\": true,\n            \"profile\": {\n                \"id\": \"6fbe7346-a5cf-4c3f-92bc-ab6a24785479\"\n            }\n        }\n    }\n}"}],"_postman_id":"95197856-f544-472b-b20a-a606ba95c6d3"},{"name":"Get info about Person Profiles","id":"d378d226-7eae-4979-9590-e82c945b8ceb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get information about all <a href=\"#person-profile\">Person Profiles</a>, such as:  </p>\n<ul>\n<li>Person Profile ids (<code>id</code>);</li>\n<li>information about Person Profiles (<code>personInfo</code>);</li>\n<li>ids of <a href=\"#list\">Lists</a> with Person Profiles (<code>groupsIds</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"9e518e35-eac0-49ba-b76b-2872f41c50ac","name":"Get info about profiles","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  profiles{\n    collectionItems{\n      id, \n      personInfo, \n      groupsIds \n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 06:41:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 06:41:17 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 06:41:17 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"profiles\": {\n            \"collectionItems\": [\n                {\n                    \"id\": \"1aab0bcb-9091-4961-9282-7a54942c863e\",\n                    \"personInfo\": \"{\\\"name\\\": \\\"Scarlett\\\", \\\"gender\\\": \\\"Female\\\", \\\"birthday\\\": \\\"22.11.1984\\\", \\\"apparent_age\\\": 25}\",\n                    \"groupsIds\": [\n                        \"6b37f5fa-67cb-4222-b647-798925e41643\"\n                    ]\n                },\n                {\n                    \"id\": \"b9f1a6c4-f036-4352-a465-998f53c9ada7\",\n                    \"personInfo\": \"{\\\"name\\\": \\\"Brad\\\", \\\"gender\\\": \\\"Male\\\", \\\"surname\\\": \\\"Pitt\\\", \\\"apparent_age\\\": 48}\",\n                    \"groupsIds\": [\n                        \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n                    ]\n                },\n                {\n                    \"id\": \"e6505ed2-35e2-4041-af6b-bcfc3d9fcbb5\",\n                    \"personInfo\": \"{\\\"name\\\": \\\"Olga\\\", \\\"gender\\\": \\\"Female\\\", \\\"apparent_age\\\": 26}\",\n                    \"groupsIds\": [\n                        \"6b37f5fa-67cb-4222-b647-798925e41643\"\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"d378d226-7eae-4979-9590-e82c945b8ceb"},{"name":"Sort Person Profiles","id":"62452884-6591-4017-be8a-9fbc116f85c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This example shows how to sort <a href=\"#person-profile\">Person Profiles</a> by apparent age in the ascending order. A nested object is indicated by a double underscore (<code>\"__\"</code>). For example, in this case we specify the <code>\"apparent_age\"</code> object of the <code>\"person_info\"</code> parameter.<br />You can also sort Person Profiles by other parameters available for this object (for example, <code>\"id\"</code>, <code>\"person_info__name\"</code>, and so on). To display the results in the descending order, specify \"-\" in front of the parameter.  </p>\n<p>Learn more about sorting <a href=\"#sorting\">here</a>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"f95dee8f-6310-489f-b19b-78d87ddb620c","name":"Sort profiles","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query{\n  profiles (order: [\"person_info__apparent_age\"]){\n    collectionItems {\n      personInfo\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"profiles\": {\n      \"collectionItems\": [\n        {\n          \"personInfo\": \"{\\\"name\\\": \\\"Scarlett\\\", \\\"gender\\\": \\\"Female\\\", \\\"surname\\\": \\\"\\Johansson\\\", \\\"apparent_age\\\": 35, \\\"gender_not_approved\\\": true}\"\n        },\n        {\n          \"personInfo\": \"{\\\"name\\\": \\\"\\Angelina\\\", \\\"gender\\\": \\\"Female\\\", \\\"surname\\\": \\\"\\Jolie\\\", \\\"apparent_age\\\": 44, \\\"gender_not_approved\\\": true}\"\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"62452884-6591-4017-be8a-9fbc116f85c3"},{"name":"Add a Sample to the Person Profile","id":"625bb8d9-de04-4847-8bfa-0d96de65b33c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\n  addSamplesToProfile(profileId: \"b9f1a6c4-f036-4352-a465-998f53c9ada7\", samplesIds: [\"e01e8ed2-5e69-4ed2-ae6e-5327d1b80a98\"]){\n    ok, profile{id}\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to add a <a href=\"#sample\">Sample</a> to a <a href=\"#person-profile\">Person Profile</a>. In the request, you have to specify the Person Profile id in <code>profileId</code> and ids of Samples in <code>samplesIds</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"ad6132dc-c0df-49eb-a5a1-9e5659c39071","name":"Add a sample to the profile","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  addSamplesToProfile(profileId: \"b9f1a6c4-f036-4352-a465-998f53c9ada7\", samplesData: [{image: \"base64 image\"}]){\n    ok, profile{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 09:35:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"100"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 09:35:47 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 09:35:47 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"addSamplesToProfile\": {\n            \"ok\": true,\n            \"profile\": {\n                \"id\": \"b9f1a6c4-f036-4352-a465-998f53c9ada7\"\n            }\n        }\n    }\n}"}],"_postman_id":"625bb8d9-de04-4847-8bfa-0d96de65b33c"},{"name":"Delete a Sample from the Person Profile","id":"3f788131-e8e0-4b71-8e90-af3cf28d03ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to delete <a href=\"#sample\">Samples</a> from a specified <a href=\"#person-profile\">Person Profile</a>. In the request, you have to specify the Person Profile id in <code>profileId</code> and ids of Samples you'd like to delete in <code>samplesIds</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"517f904e-a56f-4faf-a257-bff792d3c427","name":"Delete a sample from the profile","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  removeSamplesFromProfile(profileId: \"b9f1a6c4-f036-4352-a465-998f53c9ada7\", samplesIds: [\"e01e8ed2-5e69-4ed2-ae6e-5327d1b80a98\"]){\n    ok, profile{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 09:40:13 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 09:40:13 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 09:40:13 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"removeSamplesFromProfile\": {\n            \"ok\": true,\n            \"profile\": {\n                \"id\": \"b9f1a6c4-f036-4352-a465-998f53c9ada7\"\n            }\n        }\n    }\n}"}],"_postman_id":"3f788131-e8e0-4b71-8e90-af3cf28d03ce"}],"id":"14848c33-b3d2-4296-9ab9-8c65ed360c81","event":[{"listen":"prerequest","script":{"id":"dca3e854-29c0-4d31-8e02-31ccea3d4f5e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6ad6faa7-8462-43af-8ab0-cbf6a60e133d","type":"text/javascript","exec":[""]}}],"_postman_id":"14848c33-b3d2-4296-9ab9-8c65ed360c81","description":""},{"name":"Edge Devices","item":[{"name":"Create an Edge Device","id":"7a1d4310-7530-41ee-b905-d5b458cc67db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to create an <a href=\"#device\">Edge Device</a>. In the request, you should specify the Edge Device title (<code>title</code>) in <code>deviceData</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"918692dd-da2f-43a8-aafd-eb3aaa278d76","name":"Create a device","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  createDevice(deviceData: {title: \"My device\"}){\n     ok, device{id, title}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 07:23:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"112"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 07:23:08 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 07:23:08 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"createDevice\": {\n            \"ok\": true,\n            \"device\": {\n                \"id\": \"77c5f760-5b0e-4d00-9ec4-0fc4b4201830\",\n                \"title\": \"My device\"\n            }\n        }\n    }\n}"}],"_postman_id":"7a1d4310-7530-41ee-b905-d5b458cc67db"},{"name":"Delete an Edge Device","id":"d35c97ae-2a48-47bf-98d7-49d4481985b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to delete specified <a href=\"#edge-device\">Edge Devices</a>. In the request, you have to specify ids of Edge Devices in <code>deviceId</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"85a63b10-50f2-47c0-8919-b9150254cdba","name":"Delete a device","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  deleteDevice(deviceId: \"77c5f760-5b0e-4d00-9ec4-0fc4b4201830\"){\n    ok\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 07:27:49 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 07:27:49 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 07:27:49 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"deleteDevice\": {\n            \"ok\": true\n        }\n    }\n}"}],"_postman_id":"d35c97ae-2a48-47bf-98d7-49d4481985b1"},{"name":"Change the Edge Device title","id":"95db5223-949b-4855-8388-e7e71b0762e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to change the title of a specified <a href=\"#edge-device\">Edge Device</a>. In the request, you have to specify the Edge Device id in <code>deviceId</code> and new Edge Device title in <code>title</code> in <code>deviceData</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"cb420c86-a3f0-4432-aa87-58e79b6d2431","name":"Change the device title","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  changeDevice(deviceData: {title: \"My new device\"}, deviceId: \"77c5f760-5b0e-4d00-9ec4-0fc4b4201830\"){\n    ok,device{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 07:25:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"92"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 07:25:41 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 07:25:41 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"changeDevice\": {\n            \"ok\": true,\n            \"device\": {\n                \"id\": \"77c5f760-5b0e-4d00-9ec4-0fc4b4201830\"\n            }\n        }\n    }\n}"}],"_postman_id":"95db5223-949b-4855-8388-e7e71b0762e7"},{"name":"Get info about Edge Devices","id":"c086ed93-a7a0-4fcc-80ba-cce1d54ca197","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the information about all <a href=\"#edge-device\">Edge Devices</a>, such as:</p>\n<ul>\n<li>ids of Edge Devices (<code>id</code>);</li>\n<li>Edge Device titles (<code>title</code>);</li>\n<li>ids of <a href=\"#list\">Lists</a> with Edge Devices (<code>groupsIds</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"b48d3836-9514-4be8-9e5c-c65eedd94ab6","name":"Get info about devices","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  devices{\n    collectionItems{\n      id,\n      title,\n      groupsIds\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 06:41:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 06:41:45 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 06:41:45 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"devices\": {\n            \"collectionItems\": [\n                {\n                    \"id\": \"0b2d7cd8-5788-4ce1-8447-05c630164aeb\",\n                    \"title\": \"Device\",\n                    \"groupsIds\": [\n                        \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n                    ]\n                },\n                {\n                    \"id\": \"60553833-d5a3-44a8-8368-f0a17f8063fd\",\n                    \"title\": \"New device\",\n                    \"groupsIds\": [\n                        \"6b37f5fa-67cb-4222-b647-798925e41643\"\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"c086ed93-a7a0-4fcc-80ba-cce1d54ca197"}],"id":"8373e583-5a2f-4e12-af92-eb9ae5218f99","event":[{"listen":"prerequest","script":{"id":"e37cf373-eeed-471a-a8b9-fa93a822b46a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b7d2d755-6d6b-40de-a327-b7ef25460db7","type":"text/javascript","exec":[""]}}],"_postman_id":"8373e583-5a2f-4e12-af92-eb9ae5218f99","description":""},{"name":"Events","item":[{"name":"Get info about Events","id":"9218dca5-779a-4e5e-8f43-36185ce09cf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  events{\n    collectionItems{\n      id,\n      data,\n      sessionId,\n      providerId, \n      providerType, \n      creationDate\n    }\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the information about all <a href=\"#event\">Events</a>, such as:</p>\n<ul>\n<li>ids of Events (<code>id</code>);</li>\n<li>information about Events (<code>data</code>);</li>\n<li>id of a current session (<code>sessionId</code>);</li>\n<li>id of the Event provider (<code>providerId</code>);</li>\n<li>type of the Event provider (<code>providerType</code>);</li>\n<li>Event creation date (<code>creationDate</code>).</li>\n</ul>\n<p>In response, you'll see the information about people from events:</p>\n<ul>\n<li><p>Type: </p>\n<ul>\n<li>\"LOST\" means that a person left;</li>\n<li>\"MATCH\" means that a person is detected;</li>\n<li>\"FOUND\" means that a person is identified.</li>\n</ul>\n</li>\n<li><p>Gender:</p>\n<ul>\n<li>\"Male\";</li>\n<li>\"Female\".</li>\n</ul>\n</li>\n<li><p>Person id;</p>\n</li>\n<li><p>Age: </p>\n<ul>\n<li>\"Child\";</li>\n<li>\"Young\";</li>\n<li>\"Adult\";</li>\n<li>\"Senior\".</li>\n</ul>\n</li>\n<li><p>Emotion:</p>\n<ul>\n<li>\"Happy\";</li>\n<li>\"Neutral\";</li>\n<li>\"Angry\";</li>\n<li>\"Sad\".</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"bc89b1c4-161b-4295-991c-ced7b30a6369","name":"Get info about events","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  events{\n    collectionItems{\n      id,\n      data,\n      sessionId,\n      providerId, \n      providerType, \n      creationDate\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 10:02:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 10:02:01 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 10:02:01 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"events\": {\n            \"collectionItems\": [\n                {\n                    \"id\": \"0fc18647-03da-4115-9aad-2c219eb54f16\",\n                    \"data\": \"{\\\"type\\\": \\\"FOUND\\\", \\\"face_info\\\": {\\\"bounding_box\\\": {\\\"face_rectangle\\\": {\\\"x\\\": 0.63125, \\\"y\\\": 0.3819444444444444, \\\"width\\\": 0.20625, \\\"height\\\": 0.36666666666666664}, \\\"facial_landmarks\\\": [{\\\"x\\\": 0.6540439128875732, \\\"y\\\": 0.478363037109375}, {\\\"x\\\": 0.6832668781280518, \\\"y\\\": 0.4529253641764323}, {\\\"x\\\": 0.7178127288818359, \\\"y\\\": 0.4680113474527995}, {\\\"x\\\": 0.7493797302246094, \\\"y\\\": 0.46552357143825956}, {\\\"x\\\": 0.7772263526916504, \\\"y\\\": 0.4479639689127604}, {\\\"x\\\": 0.7990784645080566, \\\"y\\\": 0.47154532538519967}, {\\\"x\\\": 0.7343124389648438, \\\"y\\\": 0.4991128709581163}, {\\\"x\\\": 0.7376235485076904, \\\"y\\\": 0.5491608089870876}, {\\\"x\\\": 0.7176855564117431, \\\"y\\\": 0.6033007303873698}, {\\\"x\\\": 0.7362239837646485, \\\"y\\\": 0.6127959357367622}, {\\\"x\\\": 0.752490234375, \\\"y\\\": 0.6026526557074653}, {\\\"x\\\": 0.6739870548248291, \\\"y\\\": 0.5163391960991753}, {\\\"x\\\": 0.6851500034332275, \\\"y\\\": 0.5130469428168403}, {\\\"x\\\": 0.6963037014007568, \\\"y\\\": 0.5108730316162109}, {\\\"x\\\": 0.7076455116271972, \\\"y\\\": 0.5130789438883464}, {\\\"x\\\": 0.6968689441680909, \\\"y\\\": 0.5186937967936198}, {\\\"x\\\": 0.6854312419891357, \\\"y\\\": 0.520391379462348}, {\\\"x\\\": 0.7525198936462403, \\\"y\\\": 0.5124272664388021}, {\\\"x\\\": 0.7636789798736572, \\\"y\\\": 0.5098818461100261}, {\\\"x\\\": 0.7741296291351318, \\\"y\\\": 0.5114796956380209}, {\\\"x\\\": 0.7833490371704102, \\\"y\\\": 0.514860110812717}, {\\\"x\\\": 0.7740533351898193, \\\"y\\\": 0.5194349500868055}, {\\\"x\\\": 0.7633367538452148, \\\"y\\\": 0.5181342230902778}, {\\\"x\\\": 0.6983992099761963, \\\"y\\\": 0.6572719573974609}, {\\\"x\\\": 0.7356158256530761, \\\"y\\\": 0.6452829149034288}, {\\\"x\\\": 0.7636600971221924, \\\"y\\\": 0.6585032569037543}, {\\\"x\\\": 0.7346467971801758, \\\"y\\\": 0.6757877773708767}, {\\\"x\\\": 0.7352592468261718, \\\"y\\\": 0.6575184292263455}, {\\\"x\\\": 0.7350416660308838, \\\"y\\\": 0.6568347507052952}, {\\\"x\\\": 0.6908977508544922, \\\"y\\\": 0.5154039171006944}, {\\\"x\\\": 0.7685113430023194, \\\"y\\\": 0.5143696679009332}]}}, \\\"video_stream_source\\\": \\\"0\\\"}\",\n                    \"sessionId\": \"0a37e5bd-a323-46ef-a8ce-e267b793f1fe\",\n                    \"providerId\": \"60553833-d5a3-44a8-8368-f0a17f8063fd\",\n                    \"providerType\": \"device\",\n                    \"creationDate\": \"2019-11-28T10:00:57.652673+00:00\"\n                },\n                {\n                    \"id\": \"10c1540d-80b9-47cd-a410-b4cb5ae66835\",\n                    \"data\": \"{\\\"response\\\": {\\\"ok\\\": true, \\\"profile\\\": {\\\"id\\\": \\\"6fbe7346-a5cf-4c3f-92bc-ab6a24785479\\\"}}, \\\"arguments\\\": {\\\"profile_id\\\": \\\"6fbe7346-a5cf-4c3f-92bc-ab6a24785479\\\", \\\"person_info\\\": {\\\"name\\\": \\\"John\\\"}}, \\\"query_name\\\": \\\"setPersonInfo\\\"}\",\n                    \"sessionId\": null,\n                    \"providerId\": \"9916e7fa-4781-460b-aa52-164cb0904b4a\",\n                    \"providerType\": \"access\",\n                    \"creationDate\": \"2019-11-28T08:16:03.470989+00:00\"\n                },\n                {\n                    \"id\": \"186b3b6e-a4e8-41a9-97f3-ee408ebd6cb1\",\n                    \"data\": \"{\\\"response\\\": {\\\"ok\\\": true, \\\"group\\\": {\\\"id\\\": \\\"0b8a38a3-2b95-4cb7-b967-41ec340660d8\\\"}}, \\\"arguments\\\": {\\\"group_id\\\": \\\"0b8a38a3-2b95-4cb7-b967-41ec340660d8\\\", \\\"profiles_ids\\\": [\\\"1aab0bcb-9091-4961-9282-7a54942c863e\\\"]}, \\\"query_name\\\": \\\"removeProfilesFromGroup\\\"}\",\n                    \"sessionId\": null,\n                    \"providerId\": \"9916e7fa-4781-460b-aa52-164cb0904b4a\",\n                    \"providerType\": \"access\",\n                    \"creationDate\": \"2019-11-28T09:00:32.400317+00:00\"\n                },\n            ]\n        }\n    }\n}"}],"_postman_id":"9218dca5-779a-4e5e-8f43-36185ce09cf9"},{"name":"Filter Events","id":"e2ee688a-d839-4728-9b65-b86ebea42d38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql","graphql":{"query":"query{\n  events(filter: \"{\\\"data__video_stream_source\\\": \\\"https://media.istockphoto.com/videos/collage-of-portraits-smiling-men-and-women-video-id1032906868\\\", \\\"providerId\\\": \\\"bc301800-74c2-4dce-9d4b-697aae19b422\\\"}\", offset: 0, limit: 20) {\n    totalCount\n    collectionItems{\n      id\n      providerId\n      providerType\n      data\n    }\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This example shows how to filter <a href=\"#event\">Events</a> by <a href=\"#edge-device\">Edge Devices</a>, video file URL or video processing task id: only the Events generated by a specific Edge Device (<code>\"provider_id\"</code>), from a specified video (<code>url</code>) or a video processing task are displayed.<br /><code>offset</code> indicates the offset from the first element. In this example, it's <code>0</code>, so the first generated Events are displayed.<br /><code>limit</code> means the max number of displayed elements. In this example, it's <code>20</code>, so only 20 events are displayed.<br />You can filter Events by other parameters available for this object (for example, <code>\"sessionId\"</code>, <code>\"creationDate\"</code>, and so on).</p>\n<p>Learn more about filtering <a href=\"#filtering\">here</a>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"149886d1-a067-4e1f-9265-98b1e90ab5e6","name":"Filter the events","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query{\n  events(filter: \"{\\\"data__video_stream_source\\\": \\\"https://media.istockphoto.com/videos/collage-of-portraits-smiling-men-and-women-video-id1032906868\\\", \\\"providerId\\\": \\\"bc301800-74c2-4dce-9d4b-697aae19b422\\\"}\", offset: 0, limit: 20) {\n    totalCount\n    collectionItems{\n      id\n      providerId\n      providerType\n      data\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"data\": {\n\t\t\"events\": {\n\t\t\t\"totalCount\": 354,\n\t\t\t\t\"collectionItems\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"id\": \"0176d2b7-0f1f-43fd-a7ac-0b86e8192fda\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"id\": \"025d9b9b-8bcc-49cc-8da3-8344424950bf\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"id\": \"0282c48b-11d1-4ccf-bbc6-0d3c40df23e4\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"id\": \"02c466be-e923-4a1c-ab98-cd3984703d8c\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"id\": \"02fe48d5-f697-4af4-91b4-0efb2a994953\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"id\": \"040d2248-c4a9-47ab-b392-3df109eedc86\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t\"id\": \"043519bb-e3d6-4d32-a741-d8f2e44327be\"\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n\t\t}\n\t}\n}"}],"_postman_id":"e2ee688a-d839-4728-9b65-b86ebea42d38"},{"name":"Sort Events","id":"59873412-f4d0-4a86-a62b-ba41e77f0602","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This example shows how to sort <a href=\"#event\">Events</a> by their creation date in the descending order.<br />A nested object is indicated by a double underscore (<code>\"__\"</code>). For example, if you want to sort Events by their video stream sources, you should specify the <code>\"video_stream_source\"</code> object of the <code>\"data\"</code> parameter: <code>\"data__video_stream_source\"</code>.<br />You can also sort Events by other parameters available for this object (for example, <code>\"providerId\"</code>, <code>\"sessionId\"</code>, and so on). To display the results in the ascending order, do not specify \"-\" in front of the parameter.   </p>\n<p>Learn more about sorting <a href=\"#sorting\">here</a>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"73aedc06-3b65-4a82-98df-5162f1e848b4","name":"Sort events","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query{\n  events(order: [\"-creation_date\"]) {\n    collectionItems {\n     data\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"events\": {\n      \"collectionItems\": [\n        {\n          \"data\": \"{\\\"type\\\": \\\"LOST\\\", \\\"face_info\\\": {}, \\\"video_stream_source\\\": \\\"0\\\"}\"\n        },\n        {\n         \"data\": \"{\\\"type\\\": \\\"FOUND\\\", \\\"face_info\\\": {\\\"bounding_box\\\": {\\\"face_rectangle\\\": {\\\"x\\\": 0.7, \\\"y\\\": 0.6270833333333333, \\\"width\\\": 0.0890625, \\\"height\\\": 0.14791666666666667}, \\\"facial_landmarks\\\": [{\\\"x\\\": 0.7217308521270752, \\\"y\\\": 0.6596813201904297}, {\\\"x\\\": 0.7343740940093995, \\\"y\\\": 0.6578917185465495}, {\\\"x\\\": 0.7451953887939453, \\\"y\\\": 0.6618274688720703}, {\\\"x\\\": 0.76090407371521, \\\"y\\\": 0.6673641204833984}, {\\\"x\\\": 0.7670782089233399, \\\"y\\\": 0.6666531880696615}, {\\\"x\\\": 0.7694054126739502, \\\"y\\\": 0.6680610020955403}, {\\\"x\\\": 0.7230974674224854, \\\"y\\\": 0.6731475194295248}, {\\\"x\\\": 0.7313473701477051, \\\"y\\\": 0.6741536458333334}, {\\\"x\\\": 0.7384029388427734, \\\"y\\\": 0.6755247751871745}, {\\\"x\\\": 0.758217716217041, \\\"y\\\": 0.6790664672851563}, {\\\"x\\\": 0.7620789527893066, \\\"y\\\": 0.6806512196858724}, {\\\"x\\\": 0.7660832881927491, \\\"y\\\": 0.6819904327392579}, {\\\"x\\\": 0.6845748901367188, \\\"y\\\": 0.7062599817911784}, {\\\"x\\\": 0.7432278633117676, \\\"y\\\": 0.7077974319458008}, {\\\"x\\\": 0.7602048397064209, \\\"y\\\": 0.7046958287556966}, {\\\"x\\\": 0.7589682579040528, \\\"y\\\": 0.7120904922485352}, {\\\"x\\\": 0.7574000835418702, \\\"y\\\": 0.7279931386311849}, {\\\"x\\\": 0.7354084014892578, \\\"y\\\": 0.7310965220133464}, {\\\"x\\\": 0.749783706665039, \\\"y\\\": 0.7326808929443359}, {\\\"x\\\": 0.7552701473236084, \\\"y\\\": 0.735462506612142}, {\\\"x\\\": 0.743012523651123, \\\"y\\\": 0.7669180552164714}]}}, \\\"video_stream_source\\\": \\\"0\\\"}\"\n        },\n        {\n          \"data\": \"{\\\"type\\\": \\\"LOST\\\", \\\"face_info\\\": {}, \\\"video_stream_source\\\": \\\"0\\\"}\"\n        },\n        {\n          \"data\": \"{\\\"type\\\": \\\"LOST\\\", \\\"face_info\\\": {}, \\\"video_stream_source\\\": \\\"0\\\"}\"\n        },\n        {\n          \"data\": \"{\\\"type\\\": \\\"FOUND\\\", \\\"face_info\\\": {\\\"bounding_box\\\": {\\\"face_rectangle\\\": {\\\"x\\\": 0.084375, \\\"y\\\": 0.7270833333333333, \\\"width\\\": 0.271875, \\\"height\\\": 0.4354166666666667}, \\\"facial_landmarks\\\": [{\\\"x\\\": 0.1569344162940979, \\\"y\\\": 0.8403111775716146}, {\\\"x\\\": 0.18641072511672974, \\\"y\\\": 0.8273478190104167}, {\\\"x\\\": 0.2142573833465576, \\\"y\\\": 0.830572001139323}, {\\\"x\\\": 0.2613230228424072, \\\"y\\\": 0.8329555511474609}, {\\\"x\\\": 0.2783871412277222, \\\"y\\\": 0.8283302307128906}, {\\\"x\\\": 0.2880892753601074, \\\"y\\\": 0.8364370981852214}, {\\\"x\\\": 0.1659274220466614, \\\"y\\\": 0.8707972844441731}, {\\\"x\\\": 0.18713023662567138, \\\"y\\\": 0.8691352844238281}, {\\\"x\\\": 0.20346906185150146, \\\"y\\\": 0.8688408533732096}, {\\\"x\\\": 0.2541182518005371, \\\"y\\\": 0.8672143300374349}, {\\\"x\\\": 0.2673239231109619, \\\"y\\\": 0.8679620107014974}, {\\\"x\\\": 0.277148175239563, \\\"y\\\": 0.8712554931640625}, {\\\"x\\\": 0.05360593795776367, \\\"y\\\": 0.9772318522135417}, {\\\"x\\\": 0.21631064414978027, \\\"y\\\": 0.9574315388997395}, {\\\"x\\\": 0.26357622146606446, \\\"y\\\": 0.9564739227294922}, {\\\"x\\\": 0.2660782814025879, \\\"y\\\": 0.9620877583821614}, {\\\"x\\\": 0.271565580368042, \\\"y\\\": 0.9729567209879557}, {\\\"x\\\": 0.1970055341720581, \\\"y\\\": 1.0337891896565756}, {\\\"x\\\": 0.24133024215698243, \\\"y\\\": 1.0342148462931315}, {\\\"x\\\": 0.2607003450393677, \\\"y\\\": 1.0435315450032552}, {\\\"x\\\": 0.23070456981658935, \\\"y\\\": 1.1420734405517579}]}}, \\\"video_stream_source\\\": \\\"0\\\"}\"\n        },\n      ]\n    }\n  }\n}"}],"_postman_id":"59873412-f4d0-4a86-a62b-ba41e77f0602"}],"id":"db6fe205-b559-43d2-997b-2f7f57a1aa80","_postman_id":"db6fe205-b559-43d2-997b-2f7f57a1aa80","description":""},{"name":"Lists","item":[{"name":"Create a List","id":"78bcfb18-b5d6-4851-8001-4e9b3f514b58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to create a <a href=\"#profile-group\">List</a>. In the request, you should specify the following information in <code>groupData</code>:</p>\n<ul>\n<li>List title in <code>title</code>;</li>\n<li>ids of <a href=\"#person-profile\">Person Profiles</a> you'd like to add to this List in <code>profileIds</code>;</li>\n<li>ids of <a href=\"#edge-device\">Edge Devices</a> you'd like to connect to this List in <code>devicesIds</code>;</li>\n<li>color of a marker for this List in <code>info</code>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"f13a12f9-c7b9-43bc-ae5b-7039abea72ea","name":"Create a group","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n  createGroup(groupData: {\"profilesIds\": [\"80275018-8678-47f7-813b-3e89cdb957fb\"], \"title\": \"New group\", \"devicesIds\": [\"60553833-d5a3-44a8-8368-f0a17f8063fd\"], \"info\": \"{\\\"color\\\": \\\"#ff6260\\\"}\"}){\n    ok, group{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 08:39:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 08:39:34 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 08:39:34 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"createGroup\": {\n            \"ok\": true,\n            \"group\": {\n                \"id\": \"80275018-8678-47f7-813b-3e89cdb957fb\"\n            }\n        }\n    }\n}"}],"_postman_id":"78bcfb18-b5d6-4851-8001-4e9b3f514b58"},{"name":"Delete a List","id":"896c8342-3e09-4f91-84ec-b7a650be6cca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to delete specified <a href=\"#list\">Lists</a>. In the request, you should specify the ids of Lists you'd like to delete in <code>groupId</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"fbfb0555-a424-4e55-bed9-661f461dc70e","name":"Delete a group","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  deleteGroup(groupId: \"80275018-8678-47f7-813b-3e89cdb957fb\"){\n    ok\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 08:57:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"36"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 08:57:09 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 08:57:09 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"deleteGroup\": {\n            \"ok\": true\n        }\n    }\n}"}],"_postman_id":"896c8342-3e09-4f91-84ec-b7a650be6cca"},{"name":"Change List info","id":"f2d14a8e-f772-46cb-8cc5-d33b43423ae1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to edit the information about a <a href=\"#list\">List</a>, such as its title or color. In the request, you should specify the following information:</p>\n<ul>\n<li>List id in <code>groupId</code>;</li>\n<li>color of a marker for this List in <code>groupInfo</code>;</li>\n<li>List title in <code>title</code>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"854bd642-6495-4ba7-9975-760c97b59fd6","name":"Change group info","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation {\n  changeGroupInfo(groupId: \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\", groupInfo: \"{\\\"color\\\": \\\"#ff6260\\\"}\", title: \"Brand new group\"){\n    ok,group{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 08:53:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"94"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 08:53:12 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 08:53:12 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"changeGroupInfo\": {\n            \"ok\": true,\n            \"group\": {\n                \"id\": \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n            }\n        }\n    }\n}"}],"_postman_id":"f2d14a8e-f772-46cb-8cc5-d33b43423ae1"},{"name":"Add a Person Profile to the List","id":"10eb4ff6-0ecb-4973-9367-26db310585e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to add specified <a href=\"#person-profile\">Person Profiles</a> to a <a href=\"#list\">List</a>. In the request, you should specify the List id in <code>groupId</code> and ids of Person Profiles you'd like to add to this List in <code>profilesIds</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"93040ca7-534e-411e-ad2e-1f1aea83965d","name":"Add a profile to the group","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  addProfilesToGroup(groupId: \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\", profilesIds: \"1aab0bcb-9091-4961-9282-7a54942c863e\"){\n    ok, group{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 08:59:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"97"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 08:59:38 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 08:59:38 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"addProfilesToGroup\": {\n            \"ok\": true,\n            \"group\": {\n                \"id\": \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n            }\n        }\n    }\n}"}],"_postman_id":"10eb4ff6-0ecb-4973-9367-26db310585e2"},{"name":"Delete a Person Profile from the List","id":"9e6b2687-6e78-4af8-a549-672d9f6caa73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to delete specified <a href=\"#person-profile\">Person Profiles</a> from a <a href=\"#list\">List</a>. In the request, you should specify the List id in <code>groupId</code> and Person Profiles you'd like to delete from a List in <code>profilesIds</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"82ec4041-86bb-4ccf-acee-95b7ec01abaf","name":"Delete a profile from the group","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  removeProfilesFromGroup(groupId: \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\", profilesIds: \"1aab0bcb-9091-4961-9282-7a54942c863e\"){\n    ok, group{info}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 09:00:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"92"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 09:00:32 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 09:00:32 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"removeProfilesFromGroup\": {\n            \"ok\": true,\n            \"group\": {\n                \"info\": \"{\\\"color\\\": \\\"#4595ff\\\"}\"\n            }\n        }\n    }\n}"}],"_postman_id":"9e6b2687-6e78-4af8-a549-672d9f6caa73"},{"name":"Add an Edge Device to the List","id":"a517c0b6-f6c4-47cb-9d9f-4201558321fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to add specified <a href=\"#edge-device\">Edge Devices</a> to a <a href=\"#list\">List</a>. In the request, you should specify the List id in <code>groupId</code> and Edge Devices you'd like to add to a List in <code>devicesIds</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"c5caea50-62b5-4ce8-92c9-43bb56d799e2","name":"Add a device to the group","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  addDevicesToGroup(devicesIds: [\"0b2d7cd8-5788-4ce1-8447-05c630164aeb\"], groupId: \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"){\n    ok, group{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 09:28:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"96"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 09:28:15 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 09:28:15 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"addDevicesToGroup\": {\n            \"ok\": true,\n            \"group\": {\n                \"id\": \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n            }\n        }\n    }\n}"}],"_postman_id":"a517c0b6-f6c4-47cb-9d9f-4201558321fc"},{"name":"Delete an Edge Device from the List","id":"8fc357cc-7c2d-4c6c-b593-1c5ac9f93a99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to delete specified <a href=\"#edge-device\">Edge Devices</a> from a <a href=\"#list\">List</a>. In the request, you should specify the List id in <code>groupId</code> and Edge Devices you'd like to delete from a List in <code>devicesIds</code>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"a884cb9f-ca1c-418d-9ea7-47c5ba383317","name":"Delete a device from the group","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  removeDevicesFromGroup(devicesIds: [\"0b2d7cd8-5788-4ce1-8447-05c630164aeb\"], groupId: \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"){\n    ok, group{id}\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 09:28:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"101"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 09:28:51 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 09:28:51 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"removeDevicesFromGroup\": {\n            \"ok\": true,\n            \"group\": {\n                \"id\": \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n            }\n        }\n    }\n}"}],"_postman_id":"8fc357cc-7c2d-4c6c-b593-1c5ac9f93a99"},{"name":"Get info about Lists","id":"311ab70a-6a45-49c4-a148-c3245e3a41cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the following information about all <a href=\"#list\">Lists</a>:</p>\n<ul>\n<li>ids of Lists (<code>id</code>);</li>\n<li>information about Lists (<code>info</code>);</li>\n<li>List titles (<code>title</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"52c349a3-933f-4b32-93fa-b49a59f2a482","name":"Get info about groups","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  profileGroups{\n    collectionItems{\n      id,\n      info,\n      title\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 06:43:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"250"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 06:43:34 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 06:43:34 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"profileGroups\": {\n            \"collectionItems\": [\n                {\n                    \"id\": \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\",\n                    \"info\": \"{\\\"color\\\": \\\"#4595ff\\\"}\",\n                    \"title\": \"Another list\"\n                },\n                {\n                    \"id\": \"6b37f5fa-67cb-4222-b647-798925e41643\",\n                    \"info\": \"{\\\"color\\\": \\\"#ff6260\\\"}\",\n                    \"title\": \"New list\"\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"311ab70a-6a45-49c4-a148-c3245e3a41cf"},{"name":"Get info about Edge Devices connected to Lists","id":"b5161c70-dac0-4732-a072-ba662112ce3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the following information about all <a href=\"#edge-device\">Edge Devices</a> connected to <a href=\"#list\">Lists</a>:</p>\n<ul>\n<li>ids of Edge Devices (<code>id</code>);</li>\n<li>Edge Device titles (<code>title</code>);</li>\n<li>ids of Lists with connected Edge Devices (<code>groupsIds</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"ce54efb7-5dc0-4b43-a37d-7bb770aea1d6","name":"Get info about devices connected to groups","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  profileGroups{\n    collectionItems{\n      devices {\n        id,\n        title,\n        groupsIds\n      }\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 06:43:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 06:43:51 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 06:43:51 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"profileGroups\": {\n            \"collectionItems\": [\n                {\n                    \"devices\": [\n                        {\n                            \"id\": \"0b2d7cd8-5788-4ce1-8447-05c630164aeb\",\n                            \"title\": \"Device\",\n                            \"groupsIds\": [\n                                \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n                            ]\n                        }\n                    ]\n                },\n                {\n                    \"devices\": [\n                        {\n                            \"id\": \"60553833-d5a3-44a8-8368-f0a17f8063fd\",\n                            \"title\": \"New device\",\n                            \"groupsIds\": [\n                                \"6b37f5fa-67cb-4222-b647-798925e41643\"\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"b5161c70-dac0-4732-a072-ba662112ce3d"},{"name":"Get info about Person Profiles added to Lists","id":"595a038c-6b90-45e9-8440-d8b1c2d825fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the following information about all <a href=\"#person-profile\">Person Profiles</a> added to <a href=\"#list\">Lists</a>:</p>\n<ul>\n<li>ids of Person Profiles (<code>id</code>);</li>\n<li>information about Person Profiles (<code>personInfo</code>);</li>\n<li>ids of Lists with Person Profiles (<code>groupsIds</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"e396ce41-fb91-4386-be53-aa8298f10c5a","name":"Get info about profiles added to groups","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  profileGroups{\n    collectionItems{\n      profiles{\n        id,\n        personInfo,\n        groupsIds\n      }\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 06:44:17 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 06:44:17 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 06:44:17 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"profileGroups\": {\n            \"collectionItems\": [\n                {\n                    \"profiles\": [\n                        {\n                            \"id\": \"b9f1a6c4-f036-4352-a465-998f53c9ada7\",\n                            \"personInfo\": \"{\\\"name\\\": \\\"Brad\\\", \\\"gender\\\": \\\"Male\\\", \\\"surname\\\": \\\"Pitt\\\", \\\"apparent_age\\\": 48}\",\n                            \"groupsIds\": [\n                                \"0b8a38a3-2b95-4cb7-b967-41ec340660d8\"\n                            ]\n                        }\n                    ]\n                },\n                {\n                    \"profiles\": [\n                        {\n                            \"id\": \"e6505ed2-35e2-4041-af6b-bcfc3d9fcbb5\",\n                            \"personInfo\": \"{\\\"name\\\": \\\"Olga\\\", \\\"gender\\\": \\\"Female\\\", \\\"apparent_age\\\": 26}\",\n                            \"groupsIds\": [\n                                \"6b37f5fa-67cb-4222-b647-798925e41643\"\n                            ]\n                        },\n                        {\n                            \"id\": \"1aab0bcb-9091-4961-9282-7a54942c863e\",\n                            \"personInfo\": \"{\\\"name\\\": \\\"Scarlett\\\", \\\"gender\\\": \\\"Female\\\", \\\"birthday\\\": \\\"22.11.1984\\\", \\\"apparent_age\\\": 25}\",\n                            \"groupsIds\": [\n                                \"6b37f5fa-67cb-4222-b647-798925e41643\"\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"595a038c-6b90-45e9-8440-d8b1c2d825fd"}],"id":"01a7080e-8443-4439-9187-e5c51818bdce","_postman_id":"01a7080e-8443-4439-9187-e5c51818bdce","description":""},{"name":"Samples","item":[{"name":"Get info about Samples from Person Profiles","id":"cb5c0b78-1154-47b8-9e0c-63ee41e3c5ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the following information about all <a href=\"#sample\">Samples</a> from <a href=\"#person-profile\">Person Profiles</a>:</p>\n<ul>\n<li>ids of Samples (<code>id</code>);</li>\n<li>Samples in the base64 format (<code>image</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"23645590-59d8-4867-9934-cdefeda30191","name":"Get info about samples from profiles","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  profiles{\n    collectionItems{\n      samples{\n        id,\n        image\n      }\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 07:00:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 07:00:40 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 07:00:40 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"profiles\": {\n      \"collectionItems\": [\n        {\n          \"samples\": [\n            {\n              \"id\": \"40839983-cb77-4724-a6e2-550b3af7f1b7\",\n              \"image\": \"base64 image\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"cb5c0b78-1154-47b8-9e0c-63ee41e3c5ac"},{"name":"Get info about Samples from Events","id":"d14c9038-d928-47ac-9040-064ee2e060e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the following information about all <a href=\"#sample\">Samples</a> from <a href=\"#event\">Events</a>:</p>\n<ul>\n<li>ids of Samples (<code>id</code>);</li>\n<li>Samples in the base64 format (<code>image</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"8c3f4d8d-ee53-4085-90cb-eb6089c84b81","name":"Get info about samples from events","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  events{\n    collectionItems{\n      samples{\n        id,\n        image\n      }\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 10:08:16 GMT"},{"key":"Content-Type","value":"text/html"},{"key":"Content-Length","value":"157"},{"key":"Connection","value":"keep-alive"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"events\": {\n            \"collectionItems\": [\n                {\n                    \"samples\": [\n                        {\n                            \"id\": \"3a768d82-fe2d-4ce3-9d71-90643cc539f6\",\n                            \"image\": \"base64 image\"\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"d14c9038-d928-47ac-9040-064ee2e060e4"},{"name":"Get info about Samples from Lists","id":"9cdadb8a-9dfe-4c65-8070-b532ed148810","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4a"}],"body":{"mode":"graphql"},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the following information about all <a href=\"#sample\">Samples</a> from <a href=\"#list\">Lists</a>:</p>\n<ul>\n<li>ids of Samples (<code>id</code>);</li>\n<li>Samples in the base64 format (<code>image</code>).</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"b3063fd6-8930-4262-b4e0-502df6449efb","name":"Get info about samples from groups","originalRequest":{"method":"POST","header":[{"key":"TOKEN","type":"text","value":"9916e7fa-4781-460b-aa52-164cb0904b4"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  profileGroups{\n    collectionItems{\n      profiles{\n       samples{\n        id,\n        image\n       }\n      }\n    }\n  }\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"openresty/1.15.8.1"},{"key":"Date","value":"Thu, 28 Nov 2019 07:19:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"229"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Cookie"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Set-Cookie","value":"csrftoken=JTci6d33dGudrzM5mHtugiSMIlDSbWHZECncA717fBLiVkr8dYgHoJ7oFL8r0uot; expires=Thu, 26 Nov 2020 07:19:12 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"user_status=logged_out; Path=/"},{"key":"Set-Cookie","value":"access_id=\"\"; Path=/"},{"key":"Set-Cookie","value":"sessionid=vzyehg5hkkxv2g12npx45dg2djy2n9wu; expires=Thu, 12 Dec 2019 07:19:12 GMT; HttpOnly; Path=/; SameSite=Lax"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"profileGroups\": {\n            \"collectionItems\": [\n                {\n                    \"profiles\": [\n                        {\n                            \"samples\": [\n                                {\n                                    \"id\": \"e01e8ed2-5e69-4ed2-ae6e-5327d1b80a98\",\n                                    \"image\": \"base64 image\"\n                                }\n                            ]\n                        }\n                    ]\n                },\n                {\n                    \"profiles\": [\n                        {\n                            \"samples\": [\n                                {\n                                    \"id\": \"9781832b-7f46-4d3a-ac3f-15196cb3e800\",\n                                    \"image\": \"base64 image\"\n                                }\n                            ]\n                        },\n                        {\n                            \"samples\": [\n                                {\n                                    \"id\": \"40839983-cb77-4724-a6e2-550b3af7f1b7\",\n                                    \"image\": \"base64 image\"\n                                }\n                            ]\n                        }\n                    ]\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"9cdadb8a-9dfe-4c65-8070-b532ed148810"}],"id":"e8153688-7889-465d-b9d4-3d9947f1f536","_postman_id":"e8153688-7889-465d-b9d4-3d9947f1f536","description":""},{"name":"Identification & Verification","item":[{"name":"Verify a face to a face","id":"eef35e22-f3ed-46fe-b1ec-f7c154f82049","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query {\n  verify(sourceSampleId: \"94100656-35d0-44ef-8df4-bdbcb9a45649\", targetSampleId: \"30ab7506-d6d5-4467-a8f7-44724c15da2a\")\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to verify whether two faces belong to a same person or whether one face belongs to a person. You can pass here samples from an <a href=\"#event\">Event</a>, a <a href=\"#person-profile\">Person Profile</a> or from the <code>createSamples</code> method. In the request, you have to specify a <a href=\"#sample\">Sample</a> id of the first face in <code>sourceSampleId</code> and a Sample id of the second face in <code>targetSampleId</code>. The result is a float number (confidence score).</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"c1de5fa4-9b30-4589-a8c2-2fe761472e1e","name":"Verify a face to a face","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query {\n  verify(sourceSampleId: \"94100656-35d0-44ef-8df4-bdbcb9a45649\", targetSampleId: \"30ab7506-d6d5-4467-a8f7-44724c15da2a\")\n}","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"verify\": 0.000010371208190917969\n  }\n}"}],"_postman_id":"eef35e22-f3ed-46fe-b1ec-f7c154f82049"},{"name":"Search a face in the database","id":"490d9d91-8065-404a-998a-837784d0e5b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query { \n  search(sourceSamples: [\"30ab7506-d6d5-4467-a8f7-44724c15da2a\"]) {\n    sourceSampleId\n    candidates {\n      sampleId\n      profileId\n      confidence\n    }\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to search for a person in the database. In the request, you have to specify ids of <a href=\"#sample\">Samples</a> with the face of a person you want to find in <code>sourceSamples</code>. The result is a list of candidates for each requested sample in descending order of confidence.  </p>\n<ul>\n<li>To set the max number of returned candidates, specify the value in the <code>maxNumOfCandidatesReturned</code> parameter (min: <code>1</code>, max: <code>100</code>). By default, 10 closest candidates are returned. </li>\n<li>To exclude matches with low confidence from the result, use the <code>confidenceThreshold</code> parameter (min: <code>0</code>, max: <code>1</code>; default: <code>0</code>). </li>\n<li>By default, a person is searched in an entire database. To get matches from a specific <a href=\"#list\">List</a>, set the List id in the <code>scope</code> parameter.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"b7e2621c-1f42-4ab7-82bd-281af6422964","name":"Search a face in the database","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"query { \n  search(sourceSamples: [\"30ab7506-d6d5-4467-a8f7-44724c15da2a\"]) {\n    sourceSampleId\n    candidates {\n      sampleId\n      profileId\n      confidence\n    }\n  }\n}\n","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"search\": [\n      {\n        \"sourceSampleId\": \"30ab7506-d6d5-4467-a8f7-44724c15da2a\",\n        \"candidates\": [\n          {\n            \"sampleId\": \"30ab7506-d6d5-4467-a8f7-44724c15da2a\",\n            \"profileId\": \"05ab6d46-91d7-4657-820e-280dcdde904e\",\n            \"confidence\": 1\n          },\n          {\n            \"sampleId\": \"b736e898-3b02-4bf7-8375-8f42cc4791ca\",\n            \"profileId\": \"1952e8d7-e01d-4396-90bd-746b7be4f35f\",\n            \"confidence\": 0.0000768899917602539\n          },\n          {\n            \"sampleId\": \"c0e45983-a168-4bec-962f-3a758310e8fc\",\n            \"profileId\": \"d4d632c7-646d-4d53-8315-cc907c8b6991\",\n            \"confidence\": 0.00005704164505004883\n          },\n          {\n            \"sampleId\": \"b63d4d83-f103-4c4d-abed-007cf92d6210\",\n            \"profileId\": \"cc80f8a4-3630-42cf-99d2-a7c36d13255e\",\n            \"confidence\": 0.00003594160079956055\n          },\n          {\n            \"sampleId\": \"6e907d87-1ea2-44ed-9121-d0fd42fc2335\",\n            \"profileId\": \"b228b70e-46db-479a-bcbb-b5ff842d098c\",\n            \"confidence\": 0.000026404857635498047\n          },\n          {\n            \"sampleId\": \"5ba881b4-5228-40e9-ba2a-7f1fcb481889\",\n            \"profileId\": \"b18349fd-1a68-492e-a9b0-1dad4950a78e\",\n            \"confidence\": 0.000019669532775878906\n          },\n          {\n            \"sampleId\": \"94100656-35d0-44ef-8df4-bdbcb9a45649\",\n            \"profileId\": \"b0126991-999a-4617-8a46-005d85e13fb3\",\n            \"confidence\": 0.000010371208190917969\n          },\n          {\n            \"sampleId\": \"8f43faf6-5856-49e6-bb4c-596d097ec033\",\n            \"profileId\": \"3e9a7115-14ab-4886-8b6c-5cd85ef42885\",\n            \"confidence\": 0.000006973743438720703\n          },\n          {\n            \"sampleId\": \"2284236c-8214-47a4-b825-d9fac952cb62\",\n            \"profileId\": \"05e769c6-0568-47dd-b1b9-6ab1f923704d\",\n            \"confidence\": 0.000008046627044677734\n          },\n          {\n            \"sampleId\": \"27838370-cd9a-41ec-92b4-93f8167c70eb\",\n            \"profileId\": \"41b95e5e-b260-4954-8dff-9ca77539b112\",\n            \"confidence\": 0.000009059906005859375\n          }\n        ]\n      }\n    ]\n  }\n}\n"}],"_postman_id":"490d9d91-8065-404a-998a-837784d0e5b9"}],"id":"115eac87-3285-47e6-b11d-057ccf5924f9","event":[{"listen":"prerequest","script":{"id":"52d491e0-b439-482a-b72b-b7eb1e15a229","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7ea503b3-6325-4e9a-837c-ebb01bd25b0d","type":"text/javascript","exec":[""]}}],"_postman_id":"115eac87-3285-47e6-b11d-057ccf5924f9","description":""},{"name":"Processing Video Files","item":[{"name":"Start processing a video file","id":"d341000a-9882-4445-8bef-7c9597c39946","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\n  processVideo(url: \"https://media.istockphoto.com/videos/collage-of-portraits-smiling-men-and-women-video-id1032906868\"){\n    id\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to start processing a specified video file. In the query, you need to enter the link to a video file you want to process in <code>processVideo</code>. The result is an <code>id</code> of the video processing task. See how to filter <a href=\"#event\">Events</a> by video processing tasks in <a href=\"https://docs.facemachine.3divi.com/#e2ee688a-d839-4728-9b65-b86ebea42d38\">Filter Events</a>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"342bb582-d981-4b83-bf7d-ab70622eb1ee","name":"Start processing the video file","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  processVideo(url: \"https://media.istockphoto.com/videos/collage-of-portraits-smiling-men-and-women-video-id1032906868\"){\n    id\n  }\n}\n","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"processVideo\": {\n      \"id\": \"bc301800-74c2-4dce-9d4b-697aae19b422\"\n    }\n  }\n}\n"}],"_postman_id":"d341000a-9882-4445-8bef-7c9597c39946"},{"name":"Get the status of a video processing task","id":"9ec635f2-fc50-4bd0-8210-091eefeab8fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"query{\n  tasks{\n    collectionItems{\n      id\n      status\n      data\n      creationDate\n      lastModified\n    }\n  }\n}\n","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to get the information about the specified video processing task. In the query, you need to specify the id of the video processing task. The result is the information about the task: </p>\n<ul>\n<li>task id (<code>id</code>)</li>\n<li>status (<code>status</code>): <ul>\n<li><code>pending</code> (the task is on hold)</li>\n<li><code>progress</code> (the task is in progress)</li>\n<li><code>success</code> (the task is completed)</li>\n<li><code>canceled</code> (the task was canceled)</li>\n<li><code>fail</code> (an error occurred during task execution)</li>\n</ul>\n</li>\n<li>information about this task (url and error description, if any) (<code>data</code> (<code>url</code>, <code>error</code>))</li>\n<li>creation date (<code>creationDate</code>)</li>\n<li>modification date (if the task is canceled or if any error occurred) (<code>lastModified</code>)</li>\n</ul>\n<p>See how to filter <a href=\"#event\">Events</a> by video processing tasks in <a href=\"https://docs.facemachine.3divi.com/#e2ee688a-d839-4728-9b65-b86ebea42d38\">Filter Events</a>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"6fe4c796-9d23-4aac-9470-ab496401f785","name":"Get the status of a video processing task","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"{\n  \"data\": {\n    \"tasks\": {\n      \"collectionItems\": [\n        {\n          \"id\": \"bc301800-74c2-4dce-9d4b-697aae19b422\",\n          \"status\": \"success\",\n          \"data\": \"{\\\"url\\\": \\\"https://media.istockphoto.com/videos/collage-of-portraits-smiling-men-and-women-video-id1032906868\\\"}\",\n          \"creationDate\": \"2020-11-16T12:40:08.916452+00:00\",\n          \"lastModified\": \"2020-11-16T12:40:56.164976+00:00\"\n        }\n      ]\n    }\n  }\n}\n","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"tasks\": {\n      \"collectionItems\": [\n        {\n          \"id\": \"bc301800-74c2-4dce-9d4b-697aae19b422\",\n          \"status\": \"success\",\n          \"data\": \"{\\\"url\\\": \\\"https://media.istockphoto.com/videos/collage-of-portraits-smiling-men-and-women-video-id1032906868\\\"}\",\n          \"creationDate\": \"2020-11-16T12:40:08.916452+00:00\",\n          \"lastModified\": \"2020-11-16T12:40:56.164976+00:00\"\n        }\n      ]\n    }\n  }\n}\n"}],"_postman_id":"9ec635f2-fc50-4bd0-8210-091eefeab8fc"},{"name":"Cancel a video processing task","id":"31758afd-7af0-4b7b-a45a-b2b0f8ef50e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"}],"body":{"mode":"graphql","graphql":{"query":"mutation{\n  cancelTasks(taskIds: [\"bacdba17-f143-4367-9cc9-302e537c0875\"]){\n    ok\n  }\n}","variables":""}},"url":"https://facemachine.3divi.com/api/v2/","description":"<p>This endpoint allows you to cancel a specified video processing task. In the query, you need to specify the ids of the tasks you want to cancel. The result is the status of the task cancelling. See how to filter <a href=\"#event\">Events</a> by video processing tasks in <a href=\"https://docs.facemachine.3divi.com/#e2ee688a-d839-4728-9b65-b86ebea42d38\">Filter Events</a>.</p>\n","urlObject":{"protocol":"https","path":["api","v2",""],"host":["facemachine","3divi","com"],"query":[],"variable":[]}},"response":[{"id":"109f9439-2af5-427b-8049-20f45f9d03f2","name":"Cancel a video processing task","originalRequest":{"method":"POST","header":[{"key":"TOKEN","value":"9916e7fa-4781-460b-aa52-164cb0904b4a","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"query","value":"mutation{\n  cancelTasks(taskIds: [\"bacdba17-f143-4367-9cc9-302e537c0875\"]){\n    ok\n  }\n}\n","type":"text"}]},"url":"https://facemachine.3divi.com/api/v2/"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"cancelTasks\": {\n      \"ok\": true\n    }\n  }\n}\n"}],"_postman_id":"31758afd-7af0-4b7b-a45a-b2b0f8ef50e1"}],"id":"95a37a8d-c154-4821-84aa-79c41fb4c70d","event":[{"listen":"prerequest","script":{"id":"ffb35746-b5f0-469c-a352-321bf418234e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6bf28ee4-7a0c-4d61-825d-1ece3ef51d48","type":"text/javascript","exec":[""]}}],"_postman_id":"95a37a8d-c154-4821-84aa-79c41fb4c70d","description":""}],"event":[{"listen":"prerequest","script":{"id":"26ebd523-1142-4c0f-9a5b-f27c75ceaed4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"92086209-ffe3-4126-aaf1-46d4fa7b6d87","type":"text/javascript","exec":[""]}}]}