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

# List sandbox images

> Lists a page of sandbox images.



## OpenAPI

````yaml get /v1/sandboxes/images
openapi: 3.1.0
info:
  description: REST API for management of Baseten resources
  title: Baseten management API
  version: 1.0.0
servers:
  - url: https://api.baseten.co
security:
  - BearerAuth: []
paths:
  /v1/sandboxes/images:
    get:
      tags:
        - Images
      summary: List sandbox images
      description: >-
        Return one cursor-paginated page of image repository summaries. Tags are
        listed separately. Pages can be empty when non-sandbox repositories are
        excluded; follow pagination.cursor while pagination.has_more is true.
        Prefix search forces ascending name order.
      operationId: ListImages
      parameters:
        - $ref: '#/components/parameters/TeamId'
        - $ref: '#/components/parameters/TeamIdHeader'
        - $ref: '#/components/parameters/Cursor'
        - $ref: '#/components/parameters/Limit'
        - name: sort
          in: query
          description: >-
            Sort by repository name or creation time: name:asc, name:desc,
            createdAt:asc, or createdAt:desc. Keep the same sort when following
            a cursor.
          schema:
            type: string
            default: createdAt:desc
        - name: q
          in: query
          description: >-
            Case-sensitive repository name prefix. Search is applied before
            pagination.
          schema:
            type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSandboxImagesResponseV1'
              examples:
                complete:
                  $ref: '#/components/examples/ImagesList'
        '400':
          $ref: '#/components/responses/SandboxError400'
        '401':
          $ref: '#/components/responses/SandboxError401'
        '403':
          $ref: '#/components/responses/SandboxError403'
        '429':
          $ref: '#/components/responses/SandboxError429'
        '500':
          $ref: '#/components/responses/SandboxError500'
components:
  parameters:
    TeamId:
      name: team_id
      in: query
      required: false
      description: >-
        Optional team ID. Must match X-Team-Id when both are supplied. If
        neither selector is supplied, defaults to the caller's only accessible
        team. Callers with multiple accessible teams must select a team.
        Requests without access to any team are forbidden.
      schema:
        minLength: 1
        type: string
    TeamIdHeader:
      name: X-Team-Id
      in: header
      required: false
      description: >-
        Optional team ID. Must match the team_id query parameter when both are
        supplied. If neither selector is supplied, defaults to the caller's only
        accessible team. Callers with multiple accessible teams must select a
        team. Requests without access to any team are forbidden.
      schema:
        minLength: 1
        type: string
    Cursor:
      name: cursor
      in: query
      required: false
      description: Opaque cursor from the previous page; omit for the first page.
      schema:
        type: string
        example: >-
          eyJ2IjoxLCJsYXN0X2tleSI6ImJhc2V0ZW4tYXBpLXJldmlldy0wOTE2Iiwic29ydCI6ImRlc2MifQ
    Limit:
      name: limit
      in: query
      required: false
      description: Maximum number of items to return.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
        example: 20
  schemas:
    ListSandboxImagesResponseV1:
      type: object
      description: >-
        One page of image repository summaries. Fetch tags through the separate
        tag listing endpoint.
      properties:
        items:
          type: array
          description: Image repositories on this page.
          items:
            $ref: '#/components/schemas/SandboxImageSummaryV1'
        pagination:
          $ref: '#/components/schemas/SandboxApiPaginationV1'
      required:
        - items
        - pagination
    SandboxImageSummaryV1:
      type: object
      description: >-
        Sandbox image repository summary. Fetch tags through GET
        /sandboxes/images/{image_name}/tags.
      properties:
        name:
          type: string
          description: Stable repository name supplied when pushing the image.
          example: base-image
        status:
          description: Image processing status. Only BUILT images are ready to use.
          allOf:
            - $ref: '#/components/schemas/SandboxImageStatusV1'
          example: BUILT
        created_at:
          type: string
          description: Time the image was created.
          format: date-time
          readOnly: true
          example: '2026-09-15T21:20:00Z'
        updated_at:
          type: string
          description: Time the image was last updated.
          format: date-time
          readOnly: true
          example: '2026-09-16T21:25:00Z'
        last_deployed_at:
          type: string
          description: Most recent deployment time across all tags, if deployed.
          format: date-time
          readOnly: true
          example: '2026-09-16T21:26:58.545765901Z'
        size:
          type: integer
          description: Total repository size in bytes.
          format: int64
          minimum: 0
          readOnly: true
          example: 260046848
        tag_count:
          type: integer
          format: int64
          minimum: 0
          readOnly: true
          description: Number of image versions in the repository.
          example: 2
      required:
        - name
        - status
      example:
        name: base-image
        status: BUILT
        created_at: '2026-09-15T21:20:00Z'
        updated_at: '2026-09-16T21:25:00Z'
        last_deployed_at: '2026-09-16T21:26:58.545765901Z'
        size: 260046848
        tag_count: 2
    SandboxApiPaginationV1:
      type: object
      description: >-
        Cursor pagination information. The cursor is present only when another
        page is available.
      properties:
        has_more:
          type: boolean
          description: Whether another page is available.
          example: true
        cursor:
          type: string
          description: >-
            Opaque cursor to pass to the next list request. Keep the same
            filters.
          minLength: 1
          example: >-
            eyJ2IjoxLCJsYXN0X2tleSI6ImJhc2V0ZW4tYXBpLXJldmlldy0wOTE2Iiwic29ydCI6ImRlc2MifQ
      required:
        - has_more
      example:
        has_more: true
        cursor: >-
          eyJ2IjoxLCJsYXN0X2tleSI6ImJhc2V0ZW4tYXBpLXJldmlldy0wOTE2Iiwic29ydCI6ImRlc2MifQ
    SandboxImageStatusV1:
      type: string
      description: Image processing status. Only BUILT images are ready to use.
      enum:
        - UPLOADING
        - BUILDING
        - BUILT
        - FAILED
      readOnly: true
      example: BUILT
  examples:
    ImagesList:
      summary: One page of image repositories
      value:
        items:
          - name: base-image
            status: BUILT
            created_at: '2026-09-15T21:20:00Z'
            updated_at: '2026-09-16T21:25:00Z'
            last_deployed_at: '2026-09-16T21:26:58.545765901Z'
            size: 260046848
            tag_count: 2
        pagination:
          has_more: false
  responses:
    SandboxError400:
      description: >-
        Invalid request. Returns a JSON error with code, message, and optional
        details.
      content:
        application/json:
          example:
            code: INVALID_REQUEST
            message: One or more request parameters are invalid.
            details:
              request_id: a3b7c4d2-91e6-4f08-9b5a-2c6d7e8f1043
    SandboxError401:
      description: >-
        Missing or invalid authentication. Returns a JSON error with code,
        message, and optional details.
      content:
        application/json:
          example:
            code: UNAUTHORIZED
            message: Provide a valid authentication token in the Authorization header.
            details:
              header: Authorization
    SandboxError403:
      description: >-
        Insufficient permissions. Returns a JSON error with code, message, and
        optional details.
      content:
        application/json:
          example:
            code: FORBIDDEN
            message: >-
              This authentication token does not grant permission to perform
              this operation.
            details:
              request_id: a3b7c4d2-91e6-4f08-9b5a-2c6d7e8f1043
    SandboxError429:
      description: >-
        Request limit exceeded. Returns a JSON error with code, message, and
        optional details.
      content:
        application/json:
          example:
            code: RATE_LIMITED
            message: Too many requests. Try again in 30 seconds.
            details:
              retry_after_seconds: 30
    SandboxError500:
      description: >-
        Internal server error. Returns a JSON error with code, message, and
        optional details.
      content:
        application/json:
          example:
            code: INTERNAL_ERROR
            message: The request could not be completed. Try again later.
            details:
              request_id: a3b7c4d2-91e6-4f08-9b5a-2c6d7e8f1043
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Send `Authorization: Bearer <api_key>`. The legacy `Authorization:
        Api-Key <api_key>` scheme is also accepted.

````