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

# List schedule runs

> Retrieves a paginated list of schedule runs for the authenticated user's organization. Results can be optionally filtered by project ID and ordered by creation time.



## OpenAPI

````yaml /openapi/em-runtime-utils-v2.yaml get /utils/schedules/runs
openapi: 3.1.0
info:
  title: em_runtime_utils
  version: 5.27.0
servers: []
security: []
paths:
  /utils/schedules/runs:
    get:
      tags:
        - schedules
      summary: List schedule runs
      description: >-
        Retrieves a paginated list of schedule runs for the authenticated user's
        organization. Results can be optionally filtered by project ID and
        ordered by creation time.
      operationId: list_schedule_runs
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number (starts at 1)
            default: 1
            title: Page
          description: Page number (starts at 1)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Items per page
            default: 20
            title: Limit
          description: Items per page
        - name: order
          in: query
          required: false
          schema:
            type: string
            pattern: ^(asc|desc)$
            description: >-
              Order by created_at. 'desc' (most recent first) or 'asc' (oldest
              first).
            default: desc
            title: Order
          description: >-
            Order by created_at. 'desc' (most recent first) or 'asc' (oldest
            first).
        - name: schedule_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Optional schedule ID to filter runs for a single schedule.
            title: Schedule Id
          description: Optional schedule ID to filter runs for a single schedule.
        - name: X-Project-ID
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Project-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleRunListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    ScheduleRunListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/ScheduleRunSummary'
          type: array
          title: Data
        pagination:
          $ref: '#/components/schemas/Pagination'
      type: object
      required:
        - data
        - pagination
      title: ScheduleRunListResponse
      description: Paginated list response for schedule runs.
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorResponse
      description: Standard error response model.
    ScheduleRunSummary:
      properties:
        id:
          type: string
          title: Id
          description: Unique ID of the schedule run
        schedule_id:
          type: string
          title: Schedule Id
          description: ID of the schedule that was executed
        organization_id:
          type: string
          title: Organization Id
          description: Organization ID associated with the run
        project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Project Id
          description: Optional project ID associated with the run
        status:
          type: string
          title: Status
          description: Execution status of the run (e.g. PENDING, SUCCESS, FAILURE)
        failure_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Reason
          description: Optional description of how the task failed; empty when successful
        created_at:
          type: string
          format: date-time
          title: Created At
          description: Timestamp when the run record was created (UTC)
      type: object
      required:
        - id
        - schedule_id
        - organization_id
        - status
        - created_at
      title: ScheduleRunSummary
      description: Summary of a single schedule run.
    Pagination:
      properties:
        page:
          type: integer
          minimum: 1
          title: Page
          description: Current page number (starts at 1)
        limit:
          type: integer
          maximum: 100
          minimum: 1
          title: Limit
          description: Items per page (max 100)
        total_items:
          type: integer
          minimum: 0
          title: Total Items
        total_pages:
          type: integer
          minimum: 0
          title: Total Pages
        next_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Page
        prev_page:
          anyOf:
            - type: integer
            - type: 'null'
          title: Prev Page
      type: object
      required:
        - page
        - limit
        - total_items
        - total_pages
      title: Pagination
      description: Pagination metadata for list responses.
    ErrorBody:
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          title: Message
        details:
          additionalProperties: true
          type: object
          title: Details
        request_id:
          type: string
          title: Request Id
        timestamp:
          type: string
          format: date-time
          title: Timestamp
      type: object
      required:
        - code
        - message
        - request_id
        - timestamp
      title: ErrorBody
      description: Error body with structured details.
    ErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - INVALID_TOKEN
        - INSUFFICIENT_PERMISSIONS
        - RESOURCE_NOT_FOUND
        - RESOURCE_ALREADY_EXISTS
        - VALIDATION_ERROR
        - RATE_LIMIT_EXCEEDED
        - SERVICE_UNAVAILABLE
        - INTERNAL_ERROR
      title: ErrorCode
      description: Standard error codes for API responses.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````