curl --request POST \
--url https://api.lmnr.ai/v1/queues/push \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"input": "<any>",
"output": "<any>",
"attributes": {}
}
],
"queueName": "<string>"
}'
"Items uploaded successfully."
Description
You can push data to a labeling queue.
It will then be accessible in the UI for further labeling.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
List of datapoints to push to the queue.
Unique datapoint ID. If not specified, a UUID v4 will be generated.
Name of the datapoint. If not specified, an empty string is used.
Input of the datapoint. Can be any JSON value. Defaults to null.
Output of the datapoint. Can be any JSON value. Defaults to null.
Attributes of the datapoint. Can be any JSON object. Defaults to an empty object.
Name of the queue to push to. Must be an existing queue.
The response is of type string
.
Example:"Items uploaded successfully."