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

# ListExperimentObservationsAPI mirrors erdo_list_experiment_observations.




## OpenAPI

````yaml /api/openapi.json get /v1/experiments/{experimentSlug}/observations
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, and experiments. Authenticate with
    a Bearer API key (erdo_api_...) or scoped token (erdo_token_...).
  version: '2026-07-25'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/experiments/{experimentSlug}/observations:
    get:
      summary: |
        ListExperimentObservationsAPI mirrors erdo_list_experiment_observations.
      operationId: GET:mcp.ListExperimentObservationsAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: experimentSlug
          required: true
          schema:
            type: string
          style: simple
        - allowEmptyValue: true
          explode: true
          in: query
          name: variant_key
          required: false
          schema:
            type: string
          style: form
        - allowEmptyValue: true
          explode: true
          in: query
          name: observation_type
          required: false
          schema:
            type: string
          style: form
        - allowEmptyValue: true
          explode: true
          in: query
          name: judge_slug
          required: false
          schema:
            type: string
          style: form
        - allowEmptyValue: true
          explode: true
          in: query
          name: limit
          required: false
          schema:
            format: int32
            maximum: 2147483647
            minimum: -2147483648
            type: integer
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  observations:
                    items:
                      $ref: '#/components/schemas/types.ExperimentObservation'
                    type: array
                  total:
                    format: int64
                    type: integer
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    types.ExperimentObservation:
      description: >
        read, a decision check, or an action the optimizer took. See
        migrations/002\_create\_experiment\_observation.up.sql for the full
        rationale — short version: experiment\_run carries state, this table
        carries the history needed to recover learning later from SQL rather
        than prose.
      properties:
        action_taken:
          type: string
        agent_run_id:
          format: uuid
          type: string
        created_at:
          format: date-time
          type: string
        details:
          type: object
        evidence_dataset_slug:
          type: string
        evidence_resource_id:
          format: uuid
          type: string
        experiment_run_id:
          format: uuid
          type: string
        id:
          format: uuid
          type: string
        job_execution_id:
          format: uuid
          type: string
        metric_name:
          type: string
        metric_value:
          type: number
        observation_type:
          type: string
        observed_at:
          format: date-time
          type: string
        organization_id:
          format: uuid
          type: string
        project_id:
          format: uuid
          type: string
        reason_code:
          type: string
        variant_key:
          type: string
        window_end:
          format: date-time
          type: string
        window_start:
          format: date-time
          type: string
      title: |
        ExperimentObservation is one append-only structured record of a metric
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````