Run ML-Assisted Labeling
You can label a project using existing model that is provided by the app or your own model. Currently, this API only support the custom API, i.e. your own model. Also, this mutation is asynchronous so the response only returns the job information.
Mutation: autoLabelTokenBasedProject
Response: Job
Example Request via cURL
Below is the more readable version of request body from cURL command above.
operationName: you can fill any alphanumeric string in as the operationName.
AutoLabelTokenBasedProjectMutation
is fine as a default. Refer this page to organize operationName properly.variables
input: see the explanation of each variables here. See the additional information for AutoLabelProjectOptionsInput below.
Again, currently we only support CUSTOM
serviceProvider
If the
numberOfFilesPerRequest
is 0, then it will request all lines in a document. If it's more than 0, the backend will batch the request based on how many lines for each request.
query: Copy it from cURL example.
Example Response
Here is the response when you execute the cURL command above.
This doesn't mean the process is finished. To make sure the job is finished or to get any other information, please see this page.
Last updated