{"info":{"_postman_id":"d51ae0f0-b516-0601-92c1-a8b3ce186dac","name":"Dataturks API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>Dataturks API allows you to seamlessly integrate the labeled dataset in your ML training or evaluation flow.  </p>\n<p>For each iteration of your model improvement, you can push new data to be annotated by your labeling team and then pull the annotated data in your retraining flow.</p>\n<p>You can also use Dataturks to continuously track your model performance by uploading your model outputs and have your labeling team validate it and generate week-on-week accuracy numbers.</p>\n<h1 id=\"overview\">Overview</h1>\n<p>Getting ‘Org Name’ and ‘Project Name’:\nUpload/Download APIs take as path params, the organization name and the project name.\n‘Org Name’ and ‘Project Name’ are as shown on your Dataturks Project Page on the website.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>All APIs take a ‘key’ and ‘secret’ param in the header. These key-secret\npairs are associated with a user and allows the same permission to the user as she has on the\nDataturks website, ex: if she is an admin of a project, she can upload data to the project etc. Please mail us to get your key/secret pair.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>Specific to each API.</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Specific to each API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"2014026","collectionId":"d51ae0f0-b516-0601-92c1-a8b3ce186dac","publishedId":"RWaHwosR","public":true,"customColor":{"top-bar":"5CC1BB","right-sidebar":"303030","highlight":"5CC1BB"},"publishDate":"2018-09-11T09:45:48.000Z"},"item":[{"name":"Create Project","id":"6a640600-831a-5dad-0f2a-5c700bff96ec","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"key","value":"91ca2058-7992-41f2-b04e-69d7ccba790e"},{"key":"secret","value":"sVYaFGI1Ld23vE1FhpwGZIs8CxSzRkb11OVprfV1z7p0ngMPILC0J3mAVYIRBopi"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Sample Project\",\n\t\"taskType\": \"POS_TAGGING\",\n\t\"accessType\" : \"RESTRICTED\",\n\t\"shortDescription\": \"Short description of the project\",\n\t\"description\": \"Deatiled project decsription\",\n\t\"rules\" : \"{\\\"tags\\\": \\\"Tag1, Tag2, Tag3\\\",\\\"instructions\\\": \\\"Tag all relevant entities in the text\\\"}\"\n}"},"url":"https://dataturks.com/dtAPI/v1/Mohan/createProject","description":"<p>Possible values for TaskType are [TEXT_CLASSIFICATION, POS_TAGGING,\nPOS_TAGGING_GENERIC, TEXT_MODERATION, DOCUMENT_ANNOTATION, IMAGE_CLASSIFICATION,\nIMAGE_POLYGON_BOUNDING_BOX_V2, VIDEO_CLASSIFICATION, VIDEO_BOUNDING_BOX]</p>\n","urlObject":{"protocol":"https","path":["dtAPI","v1","Mohan","createProject"],"host":["dataturks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a640600-831a-5dad-0f2a-5c700bff96ec"},{"name":"UpdateProjectDetails","id":"147b3bdb-d19d-faf1-4308-df16464b9c36","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"key","value":"91ca2058-7992-41f2-b04e-69d7ccba790e"},{"key":"secret","value":"sVYaFGI1Ld23vE1FhpwGZIs8CxSzRkb11OVprfV1z7p0ngMPILC0J3mAVYIRBopi"}],"body":{"mode":"raw","raw":"{\n\t\"rules\" : \"{ \\\"tags\\\": [{ \\\"label\\\": \\\"face\\\", \\\"imageUrl\\\": \\\"https:\\/\\/s3.amazonaws.com\\/com.dataturks.test\\/thumbnails\\/face.jpeg\\\" }, { \\\"label\\\": \\\"car\\\", \\\"imageUrl\\\": \\\"https:\\/\\/s3.amazonaws.com\\/com.dataturks.test\\/thumbnails\\/car_min.jpg\\\" }, { \\\"label\\\": \\\"airplane\\\", \\\"imageUrl\\\": \\\"https:\\/\\/s3.amazonaws.com\\/com.dataturks.test\\/thumbnails\\/airplane_min.jpg\\\" }, { \\\"label\\\": \\\"person\\\", \\\"imageUrl\\\": \\\"https:\\/\\/s3.amazonaws.com\\/com.dataturks.test\\/thumbnails\\/person_min.jpg\\\" }, { \\\"label\\\": \\\"tree\\\", \\\"imageUrl\\\": \\\"https:\\/\\/s3.amazonaws.com\\/com.dataturks.test\\/thumbnails\\/tree.jpg\\\" }, { \\\"label\\\": \\\"others\\\", \\\"imageUrl\\\": \\\"https:\\/\\/s3.amazonaws.com\\/com.dataturks.test\\/thumbnails\\/others.jpg\\\" } ], \\\"instructions\\\": \\\"Click on a label on the right menu and then on the image click to mark left-top and right-bottom points to make a rectangle. \\\", \\\"defaultShape\\\": \\\"polygon\\\" }\"\n}"},"url":"https://dataturks.com/dtAPI/v1/Mohan/Sample Project/updateProject","description":"<p>Update project rules.</p>\n","urlObject":{"protocol":"https","path":["dtAPI","v1","Mohan","Sample Project","updateProject"],"host":["dataturks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"147b3bdb-d19d-faf1-4308-df16464b9c36"},{"name":"Get Project Details","id":"166dd725-c4ee-ad3c-dd77-d5b689671cf7","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"key","value":"91ca2058-7992-41f2-b04e-69d7ccba790e"},{"key":"secret","value":"sVYaFGI1Ld23vE1FhpwGZIs8CxSzRkb11OVprfV1z7p0ngMPILC0J3mAVYIRBopi"}],"body":{"mode":"raw","raw":""},"url":"https://dataturks.com/dtAPI/v1/Mohan/Sample Project/getProjectDetails","urlObject":{"protocol":"https","path":["dtAPI","v1","Mohan","Sample Project","getProjectDetails"],"host":["dataturks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"166dd725-c4ee-ad3c-dd77-d5b689671cf7"},{"name":"Upload Data","id":"3621207b-e284-cbec-0bc9-ac89bc9d4c29","request":{"method":"POST","header":[{"key":"secret","value":"SECRET"},{"key":"key","value":"KEY"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":null,"type":"file"}]},"url":"https://dataturks.com/dtAPI/v1/Mohan/Sample POS Tagging Project/upload","description":"<p>Will upload data items to your project. You can send the data as a file as POST form data with\nthe field name ‘file’ . The file uploaded depends upon the project type, for example for POS\nprojects you can upload a single text file or for a document annotation you can upload a single\nfile or a zip file etc.</p>\n","urlObject":{"protocol":"https","path":["dtAPI","v1","Mohan","Sample POS Tagging Project","upload"],"host":["dataturks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3621207b-e284-cbec-0bc9-ac89bc9d4c29"},{"name":"Upload Data Pre-Annotated","id":"6b6514db-bd53-f2a3-b317-a32e1016ceb2","request":{"method":"POST","header":[{"key":"secret","value":"SECRET"},{"key":"key","value":"KEY"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":null,"type":"file"}]},"url":"https://dataturks.com/dtAPI/v1/Mohan/Sample POS Tagging Project/upload","description":"<p>You can also upload a partially tagged/pre-tagged data using the APIs. You upload a file where\neach lines is a JSON describing one data item (the item and its annotations).</p>\n<p>(A good way to validate this would be to download results from an existing project and use that file and\nupload in the above API.)</p>\n<p>The JSON is the Dataturks annotation format, the same format as you get when you download\ndata from Dataturks.</p>\n<p>Also since the upload contains both the text and the annotations, all the items created would be\nin the 'preTagged' state. An annotator can go through each of these via \"Start Tagging\" and then keep editing one by one.</p>\n<p>Also, in the \"PreTagged\" state, an annotator would be able to see the pre-tagged markings and can even evaluate the markings as \"Correct/Incorrect\".</p>\n","urlObject":{"protocol":"https","path":["dtAPI","v1","Mohan","Sample POS Tagging Project","upload"],"host":["dataturks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b6514db-bd53-f2a3-b317-a32e1016ceb2"},{"name":"Download Data","id":"8a0a9352-dc11-1005-cfb1-bac4131106f4","request":{"method":"POST","header":[{"key":"secret","value":"SECRET"},{"key":"key","value":"KEY"}],"body":{"mode":"formdata","formdata":[{"key":"file","value":null,"type":"file","disabled":true}]},"url":"https://dataturks.com/dtAPI/v1/Mohan/Sample POS Tagging Project/download","urlObject":{"protocol":"https","path":["dtAPI","v1","Mohan","Sample POS Tagging Project","download"],"host":["dataturks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a0a9352-dc11-1005-cfb1-bac4131106f4"},{"name":"Delete Project","id":"601d9cbf-9100-2589-5b61-3862ec62841e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"key","value":"91ca2058-7992-41f2-b04e-69d7ccba790e"},{"key":"secret","value":"sVYaFGI1Ld23vE1FhpwGZIs8CxSzRkb11OVprfV1z7p0ngMPILC0J3mAVYIRBopi"}],"body":{"mode":"raw","raw":""},"url":"https://dataturks.com/dtAPI/v1/Mohan/Sample Project/deleteProject","urlObject":{"protocol":"https","path":["dtAPI","v1","Mohan","Sample Project","deleteProject"],"host":["dataturks","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"601d9cbf-9100-2589-5b61-3862ec62841e"}]}