Labelbox documentation

Export Labels

To export Labels via the Labelbox UI, follow these steps:

  1. Select a project.

  2. Go to the Export tab.

  3. Click Generate export.

  4. Download your export file from the Tasks menu in the top navbar.

To export Labels via the Python SDK, see our Python SDK tutorials section.


To view sample Label exports and parameter descriptions for each Annotation type, see our Data model reference.

Accessing video Labels

To access the URL containing the information for the labeled frames, place your API key in the authorization header. To see an example, see the authentication docs in our GraphQL section.

The endpoint this URL points to may return an HTTP 301 response. If this happens, the HTTP response will contain a Location header with the download URL.

If the label is skipped and has no data, the endpoint will return an HTTP 204 response.

"Label": {
    "frames": "<URL-TO-NDJSON-FILE>"

Bash example for accessing the frames:

curl -L -H "Authorization: Bearer $API_KEY"  $FRAMES_URL > $FRAMES_FILE_LOCATION

Python example for accessing the frames:

import requests

headers = {'Authorization': f"Bearer {API_KEY}"}
ndjson_response = requests.get(frames_url, headers=headers)

Each element in the NDJSON file represents a labeled frame in the video (unlabeled frames will not be included).