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

# List All Images

> Retrieve a paginated list of all images in your collection

Retrieves all images in a collection. Returns a list of image objects with metadata like name, URL, and ID.

<CodeGroup>
  ```python Python theme={null}
  import videodb

  conn = videodb.connect(api_key="your_api_key")
  coll = conn.get_collection()

  images = coll.get_images()
  for image in images:
      print(f"Image: {image.name} (ID: {image.id})")
  ```

  ```javascript Node.js theme={null}
  import { connect } from 'videodb';

  const conn = connect({ apiKey: 'your_api_key' });
  const coll = await conn.getCollection();

  const images = await coll.getImages();
  images.forEach(img => {
    console.log(`Image: ${img.name} (ID: ${img.id})`);
  });
  ```
</CodeGroup>

<Note>
  * Returns all images in the collection specified by the `collection_id` parameter
  * Image IDs have an `i-` prefix (e.g., `i-a1b2c3d4`)
  * Each image has properties: id, collection\_id, name, and url
</Note>

<CardGroup cols={2}>
  <Card title="Collection Guide" icon="book" href="/pages/ingest/files-and-collections/create-collection">
    Learn how to organize images in collections
  </Card>

  <Card title="Get Image Details" icon="image" href="/api-reference/images/get_image">
    Retrieve a specific image
  </Card>
</CardGroup>


## OpenAPI

````yaml GET /image/
openapi: 3.0.3
info:
  title: VideoDB Server API
  description: >
    VideoDB Server API for video, audio, and image processing with AI
    capabilities.

    This API provides comprehensive video management, search, indexing, and
    AI-powered features.
  version: 1.0.0
  contact:
    name: VideoDB Support
    url: https://videodb.io
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.videodb.io
    description: Production server
  - url: https://staging-api.videodb.io
    description: Staging server
security:
  - ApiKeyAuth: []
tags:
  - name: Authentication
    description: User authentication and API key management
  - name: Collections
    description: Collection management operations
  - name: Videos
    description: Video upload, processing, and management
  - name: Audio
    description: Audio management operations
  - name: Images
    description: Image management operations
  - name: Search
    description: Content search and indexing
  - name: AI Generation
    description: AI-powered content generation
  - name: Billing
    description: Billing and usage management
  - name: RTStream
    description: Real-time streaming operations
  - name: Utilities
    description: Utility endpoints
  - name: Meeting
    description: Meeting recording and management
  - name: Capture
    description: Capture session management for recording streams
  - name: Editor
    description: Timeline editor operations
  - name: Transcode
    description: Media transcoding operations
  - name: Assets
    description: Cross-collection asset listing
paths:
  /image/:
    get:
      summary: List images
      parameters:
        - name: collection_id
          in: query
          schema:
            type: string
            example: default
      responses:
        '200':
          description: List of images
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      images:
                        type: array
                        items:
                          $ref: '#/components/schemas/Image'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Image:
      type: object
      properties:
        id:
          type: string
          example: img-12345
        name:
          type: string
          example: image.jpg
        collection_id:
          type: string
          example: default
        width:
          type: number
          example: 1920
        height:
          type: number
          example: 1080
        size:
          type: number
          example: 262144
        url:
          type: string
          example: https://assets.videodb.io/img/12345.jpg
        created_at:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-access-token
      description: API key for authentication (sk-xxx format)

````