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

# List running generations

Return generation tasks that are still queued or in progress for the current workspace scope.


## OpenAPI

````yaml /openapi.json get /generations/running
openapi: 3.1.0
info:
  title: skills.video OpenAPI
  version: 1.0.0
  description: OpenAPI schema for skills.video API endpoints.
servers:
  - url: https://open.skills.video/api/v1
security: []
paths:
  /generations/running:
    get:
      summary: List running generations
      parameters:
        - in: query
          name: workspace
          schema:
            description: Optional workspace document id override.
            type: string
          description: Optional workspace document id override.
        - in: query
          name: limit
          schema:
            description: Maximum number of tasks to return. Default 50.
            type: integer
            minimum: 1
            maximum: 100
          description: Maximum number of tasks to return. Default 50.
      responses:
        '200':
          description: Queued or running generation tasks
          content:
            application/json:
              example:
                - id: gen_123
                  status: IN_PROGRESS
                  usage:
                    total: 20
                    subscription: 20
                    permanent: 0
                  input:
                    prompt: a cat
                    aspect_ratio: '1:1'
                    resolution: 1024x1024
                    'n': 1
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RunningGeneration'
        '400':
          description: Invalid request
          content:
            application/json:
              example:
                error: INVALID_INPUT
                code: INVALID_INPUT
                message: Missing request body
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required or failed
          content:
            application/json:
              example:
                error: UNAUTHORIZED
                code: UNAUTHORIZED
                message: Unauthorized
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Workspace access is forbidden
          content:
            application/json:
              example:
                error: WORKSPACE_FORBIDDEN
                code: WORKSPACE_FORBIDDEN
                message: You do not have access to this workspace.
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              example:
                error: NOT_FOUND
                code: NOT_FOUND
                message: Not Found
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          content:
            application/json:
              example:
                error: INVALID_INPUT
                code: INVALID_INPUT
                message: '''prompt'' parameter is required'
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    RunningGeneration:
      type: object
      properties:
        id:
          description: Generation id.
          type: string
        status:
          $ref: '#/components/schemas/QueueState'
        usage:
          $ref: '#/components/schemas/Usage'
        input:
          description: Normalized generation input payload.
          type: object
          propertyNames:
            type: string
          additionalProperties: {}
      required:
        - id
        - status
        - usage
        - input
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          description: >-
            Legacy machine-readable error field. Prefer `code` for new
            integrations. This may contain an unprefixed compatibility code for
            older clients.
          type: string
        code:
          description: Machine-readable error code. Use this to branch in client code.
          type: string
        message:
          description: Human readable error message.
          type: string
        errors:
          description: Field-level validation errors when available.
          type: array
          items:
            type: object
            properties:
              path:
                type: string
              message:
                type: string
              code:
                type: string
            required:
              - path
              - message
              - code
            additionalProperties: false
        details:
          description: Additional structured error details when available.
      required:
        - code
        - message
      additionalProperties: false
    QueueState:
      description: Queue status
      type: string
      enum:
        - IN_QUEUE
        - IN_PROGRESS
        - COMPLETED
        - FAILED
        - CANCELED
    Usage:
      description: Credit usage breakdown for the request
      type: object
      properties:
        total:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        subscription:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        permanent:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
      required:
        - total
        - subscription
        - permanent
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API Key for API endpoints

````