> ## 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 Slice Embeddings

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

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

Currently, this endpoint is limited to datasets of 20k items 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 /slice/{slice_id}/embeddings
openapi: 3.1.0
info:
  title: Nucleus API
  version: '1.1'
servers:
  - url: https://api.scale.com/v1/nucleus
security:
  - sec0: []
paths:
  /slice/{slice_id}/embeddings:
    get:
      summary: Export Slice Embeddings
      operationId: export-slice-embeddings
      parameters:
        - name: slice_id
          in: path
          description: The Scale-generated ID of the Slice.
          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

````