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

# List experiments

> List experiment batches for one automation. Each experiment runs selected dataset examples and records automated evaluator scores.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/automations/{id}/experiments
openapi: 3.1.0
info:
  title: Eigenpal API
  version: 1.0.0
  description: >-
    Public REST API for inspecting automations, starting and monitoring runs,
    managing files, collecting human reviews, and running evaluations.
  contact:
    name: Eigenpal
    url: https://eigenpal.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
  - url: https://api.eigenpal.com
    description: Production (canonical API hostname)
security:
  - bearerAuth: []
tags:
  - name: Metadata
    description: Authenticate and inspect the current API context.
  - name: Automations
    description: >-
      Inspect runnable workflow and agent automations, their versions, triggers,
      and source sync state.
  - name: Runs
    description: >-
      Start, monitor, retry, review, and debug automation runs, including
      artifacts.
  - name: Reviews
    description: >-
      Record human review verdicts, manage corrected outputs, and monitor review
      health.
  - name: Files
    description: Upload reusable files for later run or dataset use.
  - name: Evaluation
    description: >-
      Manage datasets, examples, evaluators, experiment batches, evaluator
      scores, and run promotion workflows.
paths:
  /v1/automations/{id}/experiments:
    get:
      tags:
        - Evaluation
      summary: List experiments
      description: >-
        List experiment batches for one automation. Each experiment runs
        selected dataset examples and records automated evaluator scores.
      operationId: automations.experiments.list
      parameters:
        - in: path
          name: id
          schema:
            type: string
            description: Automation id or typed alias.
          required: true
          description: Automation id or typed alias.
        - in: query
          name: limit
          schema:
            description: Maximum number of experiment batches to return.
            type: integer
            minimum: 1
            maximum: 500
          description: Maximum number of experiment batches to return.
        - in: query
          name: offset
          schema:
            description: Zero-based offset for paging through experiment batches.
            type: integer
            minimum: 0
            maximum: 9007199254740991
          description: Zero-based offset for paging through experiment batches.
        - in: query
          name: fromDate
          schema:
            description: >-
              Filter to experiment batches created at or after this date or
              relative date.
            type: string
          description: >-
            Filter to experiment batches created at or after this date or
            relative date.
        - in: query
          name: toDate
          schema:
            description: >-
              Filter to experiment batches created at or before this date or
              relative date.
            type: string
          description: >-
            Filter to experiment batches created at or before this date or
            relative date.
      responses:
        '200':
          description: Page of experiment batches.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Experiment'
                  total:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  limit:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  offset:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                required:
                  - data
                  - total
                  - limit
                  - offset
                additionalProperties: false
        '400':
          description: Validation error. Request shape did not match the spec.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '403':
          description: API key lacks required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '413':
          description: Payload too large. Upload exceeded the per-request size cap.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '429':
          description: Rate limit exceeded
          headers:
            Retry-After:
              description: Seconds until the next request may succeed
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorEnvelope'
components:
  schemas:
    Experiment:
      type: object
      properties:
        id:
          type: string
          description: >-
            Experiment batch id. Some CLI commands historically call this a
            batch id.
        automationId:
          type: string
          description: Automation this experiment belongs to.
        automationType:
          $ref: '#/components/schemas/AutomationType'
        status:
          type: string
          enum:
            - queued
            - running
            - completed
          description: Experiment batch status.
        runCount:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: Total runs in the experiment.
        completedCount:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: Runs that have completed.
        passedCount:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: Runs whose evaluator scores passed.
        failedCount:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: Runs whose evaluator scores failed.
        avgScore:
          anyOf:
            - type: number
            - type: 'null'
          description: Average automated evaluator score.
        createdAt:
          anyOf:
            - type: string
            - type: string
        completedAt:
          anyOf:
            - anyOf:
                - type: string
                - type: string
            - type: 'null'
        version:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - id
        - automationId
        - automationType
        - status
        - runCount
        - completedCount
        - passedCount
        - failedCount
        - avgScore
        - createdAt
        - completedAt
        - version
      additionalProperties: false
      description: Experiment batch summary for an automation dataset run.
    ApiErrorEnvelope:
      type: object
      properties:
        issues:
          type: array
          items:
            $ref: '#/components/schemas/ApiErrorIssue'
        requestId:
          type: string
          description: Request id echoed via the x-request-id header
        hint:
          description: Suggested fix for known error patterns
          type: string
        docsUrl:
          description: Link to relevant docs
          type: string
      required:
        - issues
        - requestId
      additionalProperties: false
    AutomationType:
      type: string
      enum:
        - workflow
        - agent
    ApiErrorIssue:
      type: object
      properties:
        field:
          type: string
          description: JSON path of the offending field, or "<root>"
        message:
          type: string
          description: Human-readable error message
        code:
          type: string
          description: >-
            Machine-readable error code (e.g. invalid_value, not_found,
            api_trigger_disabled, manual_trigger_disabled)
        severity:
          type: string
          enum:
            - error
            - warning
          description: Issue severity
      required:
        - field
        - message
        - code
        - severity
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key issued from Settings → API Keys. Pass as `Authorization: Bearer
        <key>`.

````