> ## 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 User Images

> List images and builds for the current user, scoped by team context. Returns personal images by default, or team images if teamId is provided.

Pagination note: `limit`, `offset`, and `totalCount` count logical images
(unique `owner/imageName:imageTag`). A single image may produce multiple
`data[]` rows (one per artifact type plus any active builds), so
`len(data)` can exceed `limit` and `totalCount` reflects images, not rows.

## Rate Limit

300 requests per 60 seconds per IP and token.


## OpenAPI

````yaml https://api.primeintellect.ai/openapi.json get /api/v1/images
openapi: 3.1.0
info:
  title: PI API
  version: 0.1.0
servers:
  - url: https://api.primeintellect.ai
security: []
paths:
  /api/v1/images:
    get:
      tags:
        - Images
      summary: List User Images
      description: >-
        List images and builds for the current user, scoped by team context.
        Returns personal images by default, or team images if teamId is
        provided.


        Pagination note: `limit`, `offset`, and `totalCount` count logical
        images

        (unique `owner/imageName:imageTag`). A single image may produce multiple

        `data[]` rows (one per artifact type plus any active builds), so

        `len(data)` can exceed `limit` and `totalCount` reflects images, not
        rows.
      operationId: list_user_images_api_v1_images_get
      parameters:
        - name: teamId
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter by team ID. If provided, returns only that team's images.
              If not provided, returns only personal images.
            title: Teamid
          description: >-
            Filter by team ID. If provided, returns only that team's images. If
            not provided, returns only personal images.
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Offset
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 100
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GenericPaginationResponse_List_ImageResponse__
        '401':
          description: Authorization failed
        '422':
          description: Invalid request data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    GenericPaginationResponse_List_ImageResponse__:
      properties:
        total_count:
          type: integer
          title: Total Count
          description: Total number of items available in the dataset
          default: 0
        offset:
          type: integer
          minimum: 0
          title: Offset
          description: Number of items to skip before starting to collect the result set
          default: 0
        limit:
          type: integer
          minimum: 0
          title: Limit
          description: Maximum number of items to return
          default: 100
        data:
          items:
            $ref: '#/components/schemas/ImageResponse'
          type: array
          title: Data
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
          description: Response status
      type: object
      required:
        - data
      title: GenericPaginationResponse[List[ImageResponse]]
    ErrorResponse:
      properties:
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Errors
      type: object
      required:
        - errors
      title: ErrorResponse
    ImageResponse:
      properties:
        id:
          type: string
          title: Id
          description: Unique identifier for the image
        artifactType:
          $ref: '#/components/schemas/ImageBuildArtifactTypeEnum'
          description: Artifact produced by this image record
          default: CONTAINER_IMAGE
        imageName:
          type: string
          title: Imagename
          description: Name of the image
        imageTag:
          type: string
          title: Imagetag
          description: Tag of the image
        status:
          $ref: '#/components/schemas/ImageBuildStatusEnum'
          description: Current build status
        fullImagePath:
          anyOf:
            - type: string
            - type: 'null'
          title: Fullimagepath
          description: Stored output reference for the image artifact
        errorMessage:
          anyOf:
            - type: string
            - type: 'null'
          title: Errormessage
          description: Error message if build failed
        sizeBytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Sizebytes
          description: Size of the image in bytes
        visibility:
          $ref: '#/components/schemas/ImageVisibilityEnum'
          description: Whether this image can be used by other Prime users
          default: PRIVATE
        createdAt:
          type: string
          format: date-time
          title: Createdat
          description: Timestamp when the build was created
        startedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Startedat
          description: Timestamp when the build started
        completedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completedat
          description: Timestamp when the build completed
        pushedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Pushedat
          description: Timestamp when the image artifact was registered
        teamId:
          anyOf:
            - type: string
            - type: 'null'
          title: Teamid
          description: Team ID if this is a team image
        ownerType:
          type: string
          enum:
            - personal
            - team
          title: Ownertype
          description: Whether this is a personal or team image
          default: personal
        displayRef:
          anyOf:
            - type: string
            - type: 'null'
          title: Displayref
          description: >-
            User-friendly reference (team-{teamId}/name:tag or
            {userId}/name:tag)
      type: object
      required:
        - id
        - imageName
        - imageTag
        - status
        - createdAt
      title: ImageResponse
      description: Response model for an image or build with status.
    ErrorDetail:
      properties:
        param:
          type: string
          title: Param
        details:
          type: string
          title: Details
      type: object
      required:
        - param
        - details
      title: ErrorDetail
    ImageBuildArtifactTypeEnum:
      type: string
      enum:
        - CONTAINER_IMAGE
        - VM_SANDBOX
      title: ImageBuildArtifactTypeEnum
    ImageBuildStatusEnum:
      type: string
      enum:
        - PENDING
        - UPLOADING
        - BUILDING
        - COMPLETED
        - FAILED
        - CANCELLED
      title: ImageBuildStatusEnum
    ImageVisibilityEnum:
      type: string
      enum:
        - PRIVATE
        - PUBLIC
      title: ImageVisibilityEnum
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````