> ## 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 Autotag Training Items

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

This endpoint will export the individual user selected positives used to train an Autotag for an indexed dataset.

You must be the creator of the Autotag to be able to export its training items. This endpoint can be used for image or object level Autotags.


## OpenAPI

````yaml openapi/nucleus.json GET /dataset/{dataset_id}/autotag/{autotag_name}/trainingItems
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}/autotag/{autotag_name}/trainingItems:
    get:
      summary: Export Autotag Training Items
      operationId: api-export-autotag-training-items
      parameters:
        - name: dataset_id
          in: path
          description: The Scale-generated ID of the Dataset.
          schema:
            type: string
          required: true
        - name: autotag_name
          in: path
          description: >-
            The user-provided name of the Autotag. This is guaranteed to be
            unique upon Autotag creation.
          schema:
            type: string
          required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    autotag:
                      id: tag_nfs9fajf2kf2nda
                      name: Example autotag
                      status: completed
                      autotag_level: Object
                    autotagTrainingItems:
                      - ref_id: Reference item 1
                        dataset_item_id: di_jfaf92n02dkfa0
                        model_prediction_id: pred_cu532902nfaf
                        ground_truth_annotation_id: gt_93afnskf2nda90
                      - ref_id: Reference item 2
                        dataset_item_id: di_fajfnk2n0d
                        model_prediction_id: pred_cu532902nfafdfa
                        ground_truth_annotation_id: gt_93afnskfifja2nda90
              schema:
                type: object
                properties:
                  autotag:
                    type: object
                    properties:
                      id:
                        type: string
                        example: tag_nfs9fajf2kf2nda
                      name:
                        type: string
                        example: Example autotag
                      status:
                        type: string
                        example: completed
                      autotag_level:
                        type: string
                        example: Object
                  autotagTrainingItems:
                    type: array
                    items:
                      type: object
                      properties:
                        ref_id:
                          type: string
                          example: Reference item 1
                        dataset_item_id:
                          type: string
                          example: di_jfaf92n02dkfa0
                        model_prediction_id:
                          type: string
                          example: pred_cu532902nfaf
                        ground_truth_annotation_id:
                          type: string
                          example: gt_93afnskf2nda90
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
components:
  securitySchemes:
    sec0:
      type: http
      scheme: basic

````