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

# Get links to download a release's task archives, 1,000 a page



## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json get /api/v1/hub/tasksets/{owner}/{name}/releases/{release}/archives
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/v1/hub/tasksets/{owner}/{name}/releases/{release}/archives:
    get:
      tags:
        - Hub
      summary: Get links to download a release's task archives, 1,000 a page
      operationId: hub_list_taskset_archives
      parameters:
        - name: owner
          in: path
          required: true
          schema:
            type: string
            maxLength: 255
            minLength: 1
            title: Owner
            description: Owning user or team slug
          description: Owning user or team slug
        - name: name
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 255
            description: Taskset name
            title: Name
          description: Taskset name
        - name: release
          in: path
          required: true
          schema:
            type: string
            pattern: ^(latest|[1-9][0-9]{0,8})$
            description: A release number, or `latest`
            title: Release
          description: A release number, or `latest`
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 1000
            title: Limit
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Opaque `next_cursor` from the previous page
            title: Cursor
          description: Opaque `next_cursor` from the previous page
        - name: expires_in
          in: query
          required: false
          schema:
            type: integer
            maximum: 3600
            minimum: 60
            title: Expires In
            description: Seconds the links stay valid
            default: 3600
          description: Seconds the links stay valid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TasksetArchivePage'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Conflict
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Unprocessable Entity
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
          description: Too Many Requests
      security:
        - HTTPBearer: []
components:
  schemas:
    TasksetArchivePage:
      properties:
        release:
          type: integer
          title: Release
        items:
          items:
            $ref: '#/components/schemas/TasksetArchiveLink'
          type: array
          title: Items
          description: In manifest order
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
          description: Pass as `cursor` to fetch the next page; null on the last
        expires_at:
          type: string
          format: date-time
          title: Expires At
          description: When this page's links stop working
      type: object
      required:
        - release
        - items
        - expires_at
      title: TasksetArchivePage
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorEnvelope
    TasksetArchiveLink:
      properties:
        position:
          type: integer
          title: Position
        version_id:
          type: string
          title: Version Id
          description: The task version, as in the manifest
        archive_sha256:
          type: string
          title: Archive Sha256
        archive_size:
          type: integer
          title: Archive Size
        url:
          type: string
          title: Url
          description: GET the `tar.gz` here
      type: object
      required:
        - position
        - version_id
        - archive_sha256
        - archive_size
        - url
      title: TasksetArchiveLink
    ErrorBody:
      properties:
        code:
          type: string
          title: Code
          description: Stable, machine-readable error code
        message:
          type: string
          title: Message
        details:
          type: object
          title: Details
      type: object
      required:
        - code
        - message
      title: ErrorBody
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````