> ## 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.

# Export Dataset Embeddings

> [!NOTE]
>
> **[Click for Python SDK](https://docs.nucleus.scale.com/en/latest/api/nucleus/index.html#nucleus.Dataset.export_embeddings)**
>
> ```
> Dataset.export_embeddings(
>     asynchronous=False
> ) -> List[Dict[str, Union[str, List[float]]]]
> ```

This endpoint will export the embeddings of items contained in an image-indexed Dataset.

Currently, this endpoint is limited to datasets of 20k or smaller. This can be used on either embeddings generated by Nucleus, or custom embeddings that have been uploaded as part of a custom index job.


## OpenAPI

````yaml openapi/nucleus.json GET /dataset/{dataset_id}/embeddings
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}/embeddings:
    get:
      summary: Export Dataset Embeddings
      operationId: export-dataset-embeddings
      parameters:
        - name: dataset_id
          in: path
          description: The Scale-generated ID of the Dataset.
          schema:
            type: string
          required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    reference_id: image1
                    embedding_vector:
                      - 1
                      - 2
                      - 3
                      - 4
                      - 5
              schema:
                type: object
                properties:
                  reference_id:
                    type: string
                    example: image1
                  embedding_vector:
                    type: array
                    items:
                      type: integer
                      example: 1
                      default: 0
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: http
      scheme: basic

````