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

# List a scheduled run's produced runs

> Retrieve the runs a scheduled run has produced, most recent first
(capped at the 500 most recent). Useful for programmatically checking
what a schedule created via `POST /scheduled-runs`.




## OpenAPI

````yaml /api-reference/v1/scheduled-runs-v1.yaml get /scheduled-runs/{scheduled_run_id}/runs
openapi: 3.0.3
info:
  title: Coval Scheduled Runs API
  version: 1.0.0
  description: >
    Create and manage scheduled runs for automated, recurring evaluations.


    Scheduled runs trigger run templates on a defined schedule using cron
    expressions

    or rate-based intervals. Use them for health checks, nightly regression
    tests,

    or any recurring evaluation workflow.
  contact:
    name: Coval API Support
    email: support@coval.dev
    url: https://docs.coval.ai
  license:
    name: Proprietary
    url: https://coval.dev/terms
servers:
  - url: https://api.coval.dev/v1
    description: Production API
security:
  - ApiKeyAuth: []
tags:
  - name: Scheduled Runs
    description: CRUD operations for scheduled evaluations
paths:
  /scheduled-runs/{scheduled_run_id}/runs:
    get:
      tags:
        - Scheduled Runs
      summary: List a scheduled run's produced runs
      description: |
        Retrieve the runs a scheduled run has produced, most recent first
        (capped at the 500 most recent). Useful for programmatically checking
        what a schedule created via `POST /scheduled-runs`.
      operationId: listScheduledRunHistory
      parameters:
        - name: scheduled_run_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^[A-Za-z0-9]{22}$
          description: Scheduled run resource ID
          example: xyz789uvw456rst123abcd
      responses:
        '200':
          description: Scheduled run history retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetScheduledRunHistoryResponse'
        '400':
          description: Missing scheduled_run_id in path
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Scheduled run not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                notFound:
                  $ref: '#/components/examples/ScheduledRunNotFoundError'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    GetScheduledRunHistoryResponse:
      type: object
      required:
        - runs
      properties:
        runs:
          type: array
          description: Runs produced by the schedule, most recent first
          items:
            $ref: '#/components/schemas/ScheduledRunHistoryEntry'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - details
          properties:
            code:
              type: string
              enum:
                - INVALID_ARGUMENT
                - UNAUTHENTICATED
                - NOT_FOUND
                - CONFLICT
                - INTERNAL
              example: INVALID_ARGUMENT
            message:
              type: string
              description: Human-readable error message
              example: Invalid request parameter
            details:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                    nullable: true
                    description: Field that caused the error
                    example: schedule_expression
                  description:
                    type: string
                    description: Detailed error description
                    example: Must be 'rate(...)' or 'cron(...)' format
    ScheduledRunHistoryEntry:
      type: object
      description: A run produced by a scheduled run (compact, AIP-shaped summary).
      required:
        - name
        - id
        - status
        - test_set_name
        - model_type
        - is_public
        - create_time
      properties:
        name:
          type: string
          description: Resource name in format "runs/{run_id}"
          example: runs/8EktrIgaVxn9LfxkIynagX
        id:
          type: string
          description: Run identifier
          example: 8EktrIgaVxn9LfxkIynagX
        display_name:
          type: string
          nullable: true
          description: Human-readable name for the run
          example: Nightly regression
        status:
          type: string
          description: Run status
          example: COMPLETED
        test_set_id:
          type: string
          nullable: true
          description: Test set the run executed
          example: aB1cD2eF
        test_set_name:
          type: string
          description: Test set display name
          example: Checkout flows
        agent_id:
          type: string
          nullable: true
          description: Agent under test
          example: gk3jK9mPq2xRt5vW8yZaBc
        model_type:
          type: string
          description: Model/connection type used for the run
          example: openai_realtime
        is_public:
          type: boolean
          description: Whether the run is shared via a public link
          example: false
        create_time:
          type: string
          format: date-time
          description: When the run was created (ISO 8601)
          example: '2025-10-14T12:00:00Z'
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: UNAUTHENTICATED
              message: Authentication failed
              details:
                - field: X-API-Key
                  description: Invalid or missing API key
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: INTERNAL
              message: Internal server error
              details:
                - description: An unexpected error occurred
  examples:
    ScheduledRunNotFoundError:
      summary: Scheduled run not found
      value:
        error:
          code: NOT_FOUND
          message: Scheduled run not found
          details:
            - field: scheduled_run_id
              description: Scheduled run not found or not accessible by your organization
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication

````