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

# List Owner Checkpoints Endpoint

> List the account's rootfs checkpoints across sandboxes, oldest first.

Includes checkpoints of deleted sandboxes.



## OpenAPI

````yaml https://api.primeintellect.ai/api/v1/sandbox/openapi.json get /api/v1/sandbox/checkpoints
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/v1/sandbox/checkpoints:
    get:
      tags:
        - Sandbox Checkpoints
      summary: List Owner Checkpoints Endpoint
      description: |-
        List the account's rootfs checkpoints across sandboxes, oldest first.

        Includes checkpoints of deleted sandboxes.
      operationId: list_owner_checkpoints_endpoint_api_v1_sandbox_checkpoints_get
      parameters:
        - name: team_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: List this team's checkpoints instead of the caller's
            title: Team Id
          description: List this team's checkpoints instead of the caller's
        - name: sandbox_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Only this sandbox's
            title: Sandbox Id
          description: Only this sandbox's
        - name: user_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Only checkpoints this user created
            title: User Id
          description: Only checkpoints this user created
        - name: labels
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: Only checkpoints of sandboxes with ALL these labels
            title: Labels
          description: Only checkpoints of sandboxes with ALL these labels
        - name: state
          in: query
          required: false
          schema:
            anyOf:
              - type: array
                items:
                  enum:
                    - PENDING
                    - FROZEN
                    - DURABLE
                    - DELETING
                    - FAILED
                  type: string
              - type: 'null'
            description: Only these states (repeatable)
            title: State
          description: Only these states (repeatable)
        - name: created_before
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: Only checkpoints created before this time
            title: Created Before
          description: Only checkpoints created before this time
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 500
            minimum: 1
            default: 100
            title: Limit
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: next_cursor of the last page
            title: Cursor
          description: next_cursor of the last page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckpointPageResponse'
        '401':
          description: Authorization failed
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    CheckpointPageResponse:
      properties:
        checkpoints:
          items:
            $ref: '#/components/schemas/CheckpointResponse'
          type: array
          title: Checkpoints
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      type: object
      required:
        - checkpoints
      title: CheckpointPageResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    CheckpointResponse:
      properties:
        id:
          type: string
          title: Id
        sandbox_id:
          type: string
          title: Sandbox Id
        parent_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Parent Id
        team_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Team Id
        state:
          type: string
          title: State
        depth:
          type: integer
          title: Depth
        docker_image:
          type: string
          title: Docker Image
        disk_size_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Disk Size Bytes
        stored_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Stored Bytes
        occupied_bytes:
          type: integer
          title: Occupied Bytes
          default: 0
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        merge:
          anyOf:
            - type: string
              enum:
                - merged
                - pending
                - failed
            - type: 'null'
          title: Merge
        merge_error:
          anyOf:
            - type: string
            - type: 'null'
          title: Merge Error
        expires_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Expires At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - sandbox_id
        - state
        - depth
        - docker_image
        - created_at
        - updated_at
      title: CheckpointResponse
      description: A filesystem checkpoint. Only DURABLE checkpoints can be restored.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````