> ## Documentation Index
> Fetch the complete documentation index at: https://docs.together.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Download checkpoint

> Returns presigned URLs for downloading a checkpoint's model files. Only inference checkpoints support downloading.



## OpenAPI

````yaml openapi.yaml GET /rl/checkpoints/{id}/download
openapi: 3.1.0
info:
  title: Together APIs
  description: The Together REST API. See https://docs.together.ai for more details.
  version: 2.0.0
  termsOfService: https://www.together.ai/terms-of-service
  contact:
    name: Together Support
    url: https://www.together.ai/contact
  license:
    name: MIT
    url: https://github.com/togethercomputer/openapi/blob/main/LICENSE
servers:
  - url: https://api.together.ai/v1
    description: Default environment for APIs
  - url: https://api-inference.together.ai/v2
    description: Optimized environment for inference
security:
  - bearerAuth: []
paths:
  /rl/checkpoints/{id}/download:
    get:
      tags:
        - RL
      summary: Download checkpoint
      description: >-
        Returns presigned URLs for downloading a checkpoint's model files. Only
        inference checkpoints support downloading.
      operationId: downloadCheckpoint
      parameters:
        - name: id
          in: path
          required: true
          schema:
            description: ID of the checkpoint
            type: string
        - name: variant
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/RL.CheckpointVariant'
            description: >-
              Files to download. CHECKPOINT_VARIANT_MERGED is the full model
              with the trained weights applied; CHECKPOINT_VARIANT_ADAPTER is
              the LoRA adapter weights only, available for checkpoints from LoRA
              training sessions.
      responses:
        '200':
          description: Checkpoint download URLs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RL.CheckpointDownloadResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorData'
components:
  schemas:
    RL.CheckpointVariant:
      type: string
      enum:
        - CHECKPOINT_VARIANT_UNSPECIFIED
        - CHECKPOINT_VARIANT_MERGED
        - CHECKPOINT_VARIANT_ADAPTER
      default: CHECKPOINT_VARIANT_UNSPECIFIED
      description: 'Checkpoint variant: merged (full model) or adapter (LoRA weights only)'
    RL.CheckpointDownloadResponse:
      type: object
      description: Presigned download URLs for a checkpoint's files
      required:
        - data
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/RL.CheckpointFile'
            type: object
          description: List of files with presigned download URLs
    ErrorData:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          properties:
            message:
              type: string
              nullable: false
            type:
              type: string
              nullable: false
            param:
              type: string
              nullable: true
              default: null
            code:
              type: string
              nullable: true
              default: null
          required:
            - type
            - message
    RL.CheckpointFile:
      type: object
      description: A downloadable file within a checkpoint
      required:
        - filename
        - url
        - size
      properties:
        filename:
          type: string
          example: model-00001-of-00002.safetensors
          description: Name of the file
        url:
          type: string
          example: https://...
          description: Presigned URL for downloading the file
        size:
          oneOf:
            - type: string
            - type: integer
          example: '123456789'
          description: File size in bytes
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      x-bearer-format: bearer
      x-default: default

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.