> ## Documentation Index
> Fetch the complete documentation index at: https://api-reference.scale.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Dataset Item by Scale Item ID

> [!NOTE]
>
> **[Click for Python SDK](https://docs.nucleus.scale.com/en/latest/api/nucleus/index.html#nucleus.Dataset.loc)**
>
> ```
> Dataset.loc(dataset_item_id: str) -> dict
> ```

Fetches information about the `DatasetItem` by the Scale-generated item ID (prefixed by `di_`; accessible via the [List Dataset Items endpoint](https://api-reference.scale.com/docs/nucleus/api-reference/list-dataset-items.md) or the dashboard URL).

#### Directly Download `DatasetItem` Image

To retrieve just the image, you can append the query string `?format=image` after the URL. This allows you to download the image directly from its original URL (minus metadata).


## OpenAPI

````yaml openapi/nucleus.json GET /dataset/{dataset_id}/{item_id}
openapi: 3.1.0
info:
  title: Nucleus API
  version: '1.1'
servers:
  - url: https://api.scale.com/v1/nucleus
security:
  - sec0: []
paths:
  /dataset/{dataset_id}/{item_id}:
    get:
      summary: Get Dataset Item by Scale Item ID
      operationId: get-dataset-item-by-scale-item-id
      parameters:
        - name: dataset_id
          in: path
          description: The Scale-generated ID of the Dataset.
          schema:
            type: string
          required: true
        - name: item_id
          in: path
          description: The Scale-generated ID of the DatasetItem to fetch.
          schema:
            type: string
          required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    item:
                      original_image_url: https://your-bucket/example.png
                      dataset_item_id: di_zwyt15cag2301b902cw0
                      reference_id: image_ref_300000
                      metadata:
                        License Plate: ZPH-J27
                        Recording Date: '2019-09-15'
                        Recording Time: '14:24:21'
                        weather: sunny
                        camera: back
                    annotations:
                      box:
                        - label: car
                          type: box
                          geometry:
                            x: 648.1969604492188
                            'y': 264.34417724609375
                            width: 70.560546875
                            height: 50.55670166015625
                          reference_id: image_ref_300000
                        - label: car
                          type: box
                          geometry:
                            x: 720.8001098632812
                            'y': 246.6089324951172
                            width: 139.6986083984375
                            height: 114.38755798339844
                          reference_id: image_ref_300000
                    task_ids:
                      - task_6047e1abe19361001ff9ca62
                      - task_6047e1abe19361001ff193cd
                      - task_6047e1abe19361001f19dj2b
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: http
      scheme: basic

````