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

# List online evals samples

> Requires scopes: eval:read



## OpenAPI

````yaml /api-reference/openapi.json get /api/online-evals/samples
openapi: 3.1.0
info:
  title: EvalGate API
  version: 3.7.6
  description: EvalGate API. See docs/api-contract.md for stability commitments.
servers:
  - url: https://evalgate.com
    description: Production
  - url: http://localhost:3000
    description: Local
security: []
paths:
  /api/online-evals/samples:
    get:
      tags:
        - online evals
      summary: List online evals samples
      description: 'Requires scopes: eval:read'
      operationId: get_online_evals_samples
      parameters:
        - name: monitorId
          in: query
          required: false
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 1000
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetApiOnlineEvalsSamplesResponse200ApplicationJson
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - bearerAuth:
            - eval:read
components:
  schemas:
    GetApiOnlineEvalsSamplesResponse200ApplicationJson:
      type: object
      properties:
        samples:
          type: array
          items:
            type: object
            properties:
              id:
                type: number
              monitorId:
                type: number
              monitorVersionId:
                oneOf:
                  - type: 'null'
                  - type: string
              executionId:
                oneOf:
                  - type: 'null'
                  - type: string
              traceId:
                type: number
              traceKey:
                type: string
              decision:
                type: string
              sampleReason:
                oneOf:
                  - type: 'null'
                  - type: string
              skipReason:
                oneOf:
                  - type: 'null'
                  - type: string
              checkStatus:
                type: string
              modelCallId:
                oneOf:
                  - type: 'null'
                  - type: string
              runType:
                type: string
              samplingExplanation:
                oneOf:
                  - type: 'null'
                  - type: object
                    properties:
                      decision:
                        oneOf:
                          - type: string
                            enum:
                              - included
                          - type: string
                            enum:
                              - excluded
                      reason:
                        oneOf:
                          - type: string
                            enum:
                              - match_rules
                          - type: string
                            enum:
                              - sample_rate
                          - type: string
                            enum:
                              - failure_only
                          - type: string
                            enum:
                              - max_daily_samples
                          - type: string
                            enum:
                              - severity_weighted
                          - type: string
                            enum:
                              - uncertainty_weighted
                          - type: string
                            enum:
                              - adaptive
                          - type: string
                            enum:
                              - base_rate
                          - type: string
                            enum:
                              - novelty_escalation
                      policyVersion:
                        type: number
                      monitorVersionId:
                        type: string
                      effectiveSampleRate:
                        type: number
                      deterministicBucket:
                        oneOf:
                          - type: 'null'
                          - type: number
                      inputs:
                        type: object
                        properties:
                          traceStatus:
                            type: string
                          severityHint:
                            oneOf:
                              - type: 'null'
                              - type: string
                          uncertaintyScore:
                            oneOf:
                              - type: 'null'
                              - type: number
                          isNovel:
                            type: boolean
                          todaySampleCount:
                            type: number
                        additionalProperties: false
                        required:
                          - traceStatus
                          - severityHint
                          - uncertaintyScore
                          - isNovel
                          - todaySampleCount
                    additionalProperties: false
                    required:
                      - decision
                      - reason
                      - policyVersion
                      - monitorVersionId
                      - effectiveSampleRate
                      - deterministicBucket
                      - inputs
              policySnapshot:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/JsonValue'
              sampledAt:
                type: string
            additionalProperties: false
            required:
              - id
              - monitorId
              - monitorVersionId
              - executionId
              - traceId
              - traceKey
              - decision
              - sampleReason
              - skipReason
              - checkStatus
              - modelCallId
              - runType
              - samplingExplanation
              - policySnapshot
              - sampledAt
        limit:
          type: number
        offset:
          type: number
      additionalProperties: false
      required:
        - samples
        - limit
        - offset
    JsonValue:
      oneOf:
        - type: 'null'
        - type: boolean
        - type: number
        - type: string
        - type: array
          items:
            $ref: '#/components/schemas/JsonValue'
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - VALIDATION_ERROR
                - RATE_LIMITED
                - CONFLICT
                - INTERNAL_ERROR
                - SERVICE_UNAVAILABLE
                - QUOTA_EXCEEDED
                - NO_ORG_MEMBERSHIP
                - CROSS_ORG_REFERENCE
                - INCOMPLETE
                - MALFORMED
            message:
              type: string
            details: {}
            requestId:
              type: string
              format: uuid
          required:
            - code
            - message
      required:
        - error
  responses:
    ValidationError:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    Conflict:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or Session Token

````