Skip to content

Labels

Labels are the semantic categories that are available for annotations. When creating an annotation, it must be provided with a label that is available from the list that is retrieved via this endpoint.

Supported labels

The API provides a predefined list of supported labels. These labels include:

Get a list of labels

Retrieve the list of available labels that can be used for annotations. Each label in the list is represented by its URI.

Route: /v3{instance-uri}/labels
Method: GET

Sample response body:

{
  "success": true,
  "data": {
    "labels": [
      "/labels/loader",
      "/labels/pallet",
      "/labels/pallets",
      "/labels/railcar",
      "/labels/stockpile",
      "/labels/truck"
    ]
  }
}

Get details of a label

Retrieve the details of an individual label.

Route: /v3{instance-uri}{label-uri}
Method: GET

Sample response body:

{
  "success": true,
  "data": {
    "label": {
      "uri": "/labels/loader",
      "name": "loader",
      "description": "A vehicle used to move or load loose bulk materials."
    }
  }
}