Run ML-Assisted Labeling
Example Request via cURL
curl --location --request POST 'https://app.datasaur.ai/graphql' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{"operationName":"AutoLabelTokenBasedProjectMutation","variables":{"input":{"labelerEmail":"[email protected]","options":{"numberOfFilesPerRequest":0,"serviceProvider":"CUSTOM"},"projectId":"HvdyIL2iwZn","targetAPI":{"endpoint":"https://custom-model.api.com/predict","secretKey":"secret"}}},"query":"mutation AutoLabelTokenBasedProjectMutation($input: AutoLabelTokenBasedProjectInput!) { result: autoLabelTokenBasedProject(input: $input) { id status progress }}"}'{
"operationName": "AutoLabelTokenBasedProject",
"variables": {
"input": {
"labelerEmail": "[email protected]",
"options": {
"numberOfFilesPerRequest": 0,
"serviceProvider": "CUSTOM"
},
"projectId": "HvdyIL2iwZn",
"targetAPI": {
"endpoint": "https://custom-model.api.com/predict",
"secretKey": "secret"
}
}
},
"query": "mutation AutoLabelTokenBasedProjectMutation($input: AutoLabelTokenBasedProjectInput!) { result: autoLabelTokenBasedProject(input: $input) { id status progress }}"
}Example Response
Last updated