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

# List asset reference images

> Read images linked to the asset. Set for_training=true to retrieve reusable source references.

[Work with reusable assets](/api-reference/assets-workflow).


## OpenAPI

````yaml GET /assets/{id}/images
openapi: 3.0.3
info:
  title: bitStudio API
  version: '2026-09-06'
  description: >-
    Core Studio image, video, and reusable-asset workflows. Requests use a
    workspace-scoped API key and the account’s feature access and credits.
    Generation is asynchronous.
  contact:
    name: bitStudio support
    email: hello@bitstudio.ai
servers:
  - url: https://api.bitstudio.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Images
  - name: Video
  - name: Assets
paths:
  /assets/{id}/images:
    get:
      tags:
        - Assets
      summary: List asset reference images
      description: >-
        Read images linked to the asset. Set for_training=true to retrieve
        reusable source references.
      operationId: getAssetImages
      parameters:
        - name: id
          in: path
          required: true
          description: Image or asset ID from a previous response.
          schema:
            type: string
            description: Resource ID.
            format: uuid
        - name: for_training
          in: query
          required: false
          description: >-
            Return source reference images. Send true to filter; omit to leave
            unfiltered. Any non-empty value currently enables the filter.
          schema:
            type: boolean
            enum:
              - true
        - name: is_generated
          in: query
          required: false
          description: >-
            Filter generated images. Send true to filter; omit to leave
            unfiltered. Any non-empty value currently enables the filter.
          schema:
            type: boolean
            enum:
              - true
      responses:
        '200':
          description: >-
            Read images linked to the asset. Set for_training=true to retrieve
            reusable source references.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Image'
                description: ''
              example:
                - id: 11111111-1111-4111-8111-111111111111
                  status: completed
                  path: >-
                    https://media.bitstudio.ai/public/homepage/2026-09/bitstudio-shirt-reference-front-v1-77caf2ea41d661e4.webp
                  width_px: 900
                  height_px: 1125
                  is_generated: false
                  created_timestamp: '2026-09-06T12:00:00Z'
        default:
          description: >-
            Request rejected or service error. See the errors and recovery
            guide.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Image:
      type: object
      properties:
        id:
          type: string
          description: Resource ID.
          format: uuid
        status:
          type: string
          description: Job state. Only completed has a finished result.
          enum:
            - pending
            - generating
            - completed
            - failed
            - policy_blocked
            - nsfw_filtered
        path:
          type: string
          description: Result URL. Can be null while the job is pending.
          nullable: true
        watermarked_path:
          type: string
          description: ''
          nullable: true
        width_px:
          type: integer
          description: ''
          nullable: true
        height_px:
          type: integer
          description: ''
          nullable: true
        size_bytes:
          type: integer
          description: ''
          nullable: true
        extension:
          type: string
          description: ''
          nullable: true
        is_generated:
          type: boolean
          description: ''
        for_training:
          type: boolean
          description: Whether the upload is a reusable asset reference.
        task:
          type: string
          description: Operation that created this job.
          nullable: true
        type:
          type: string
          description: ''
          nullable: true
        created_timestamp:
          type: string
          description: ''
          format: date-time
        finish_timestamp:
          type: string
          description: ''
          format: date-time
          nullable: true
        fail_reason:
          type: string
          description: Human-readable failure detail.
          nullable: true
        failure_code:
          type: string
          description: Machine-readable failure category, when available.
          enum:
            - input_rejected
            - provider_unavailable
            - queue_timeout
            - policy_blocked
          nullable: true
        asset_ids:
          type: array
          items:
            type: string
            description: Resource ID.
            format: uuid
          description: Linked reusable assets.
          nullable: true
        versions:
          type: array
          items:
            $ref: '#/components/schemas/ImageVersion'
          description: >-
            Related versions. May be omitted or empty. Never infer a new version
            is completed from the parent status.
      required:
        - id
        - status
    Error:
      type: object
      properties:
        error:
          type: string
          description: Some handlers return a plain error string.
        code:
          type: string
          description: Structured error code, when available.
        message:
          type: string
          description: Structured human-readable error, when available.
        cta:
          type: boolean
          description: Whether the response includes an account action.
        next_action:
          type: string
          description: Suggested action, such as a plan or credit change.
        current_plan:
          type: string
          description: ''
        user_message:
          type: string
          description: User-facing explanation when present.
        extra_context:
          type: string
          description: Additional error context when present.
      description: >-
        Error shapes differ by endpoint. Read message or error; preserve the
        HTTP status and code. Additional context fields may be returned.
    ImageVersion:
      type: object
      properties:
        id:
          type: string
          description: Version ID. Save this to correlate the operation.
          format: uuid
        image_id:
          type: string
          description: Parent image ID.
          format: uuid
        source_image_id:
          type: string
          description: >-
            Child job ID. Poll GET /images/{id} with this ID to track
            processing.
          format: uuid
          nullable: true
        source_version_id:
          type: string
          description: Resource ID.
          format: uuid
          nullable: true
        version_type:
          type: string
          description: For example edited, upscaled, or video.
        status:
          type: string
          description: Job state. Only completed has a finished result.
          enum:
            - pending
            - generating
            - completed
            - failed
            - policy_blocked
            - nsfw_filtered
        path:
          type: string
          description: Result URL; may be empty while processing.
        width_px:
          type: integer
          description: ''
        height_px:
          type: integer
          description: ''
        created_timestamp:
          type: string
          description: ''
          format: date-time
        fail_reason:
          type: string
          description: ''
          nullable: true
        failure_code:
          type: string
          description: ''
          nullable: true
      required:
        - id
        - image_id
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Create an API key in Studio → account menu → API Keys. Keep it on your
        server.

````