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

# List Public Generations

Retrieve a paginated list of all publicly visible generation requests. No authentication required.

### Query Parameters

<ParamField query="page" type="integer" default="1">
  Page number (minimum: 1)
</ParamField>

<ParamField query="per_page" type="integer" default="20">
  Items per page (minimum: 1, maximum: 100)
</ParamField>

### Response

<ResponseField name="generations" type="array">
  Array of public generation objects
</ResponseField>

<ResponseField name="total" type="integer">
  Total number of public generations
</ResponseField>

<ResponseField name="page" type="integer">
  Current page number
</ResponseField>

<ResponseField name="per_page" type="integer">
  Items per page
</ResponseField>


## OpenAPI

````yaml GET /api/v1/generation/public-generations-v2
openapi: 3.1.0
info:
  title: Dev Kit for AI API
  description: 'API for Dev Kit for AI: Developer Toolkit for AI-Powered Web Applications'
  version: 1.6.1
servers:
  - url: https://api.devkit4ai.com
    description: Dev Kit for AI Production Server
  - url: https://api.vibecoding.ad
    description: Vibe Coding Production Server
security: []
paths:
  /api/v1/generation/public-generations-v2:
    get:
      tags:
        - AI Generation API
      summary: Get Public Generations V2
      operationId: get_public_generations_v2_api_v1_generation_public_generations_v2_get
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
            title: Page
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 20
            title: Per Page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerationListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GenerationListResponse:
      properties:
        generations:
          items:
            $ref: '#/components/schemas/GenerationResponse'
          type: array
          title: Generations
        total:
          type: integer
          minimum: 0
          title: Total
        page:
          type: integer
          minimum: 1
          title: Page
        per_page:
          type: integer
          maximum: 100
          minimum: 1
          title: Per Page
      type: object
      required:
        - generations
        - total
        - page
        - per_page
      title: GenerationListResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GenerationResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        instructions:
          type: string
          title: Instructions
        status:
          type: string
          title: Status
        generated_image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Generated Image Url
        is_public:
          type: boolean
          title: Is Public
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updated At
        example_images:
          items:
            type: string
          type: array
          title: Example Images
          default: []
      type: object
      required:
        - id
        - instructions
        - status
        - is_public
        - created_at
      title: GenerationResponse
    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

````