> ## 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.

# Get online evals backfills

> Requires scopes: eval:read



## OpenAPI

````yaml /api-reference/openapi.json get /api/online-evals/monitors/{id}/backfills
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/monitors/{id}/backfills:
    get:
      tags:
        - online evals
      summary: Get online evals backfills
      description: 'Requires scopes: eval:read'
      operationId: get_online_evals_monitors_id_backfills
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetApiOnlineEvalsMonitorsIdBackfillsResponse200ApplicationJson
        '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:
    GetApiOnlineEvalsMonitorsIdBackfillsResponse200ApplicationJson:
      type: object
      properties:
        backfills:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              organizationId:
                $ref: '#/components/schemas/OrganizationId'
              monitorId:
                type: number
              monitorVersionId:
                type: string
              runType:
                type: string
              status:
                oneOf:
                  - type: string
                    enum:
                      - failed
                  - type: string
                    enum:
                      - queued
                  - type: string
                    enum:
                      - completed
                  - type: string
                    enum:
                      - running
                  - type: string
                    enum:
                      - cancelled
                  - type: string
                    enum:
                      - cancel_requested
                  - type: string
                    enum:
                      - completed_with_failures
                  - type: string
                    enum:
                      - budget_blocked
                  - type: string
                    enum:
                      - provider_outage
                  - type: string
                    enum:
                      - stale_version
              idempotencyKey:
                type: string
              requestHash:
                type: string
              claimToken:
                oneOf:
                  - type: 'null'
                  - type: string
              claimedBy:
                oneOf:
                  - type: 'null'
                  - type: string
              attempt:
                type: number
              windowStart:
                oneOf:
                  - type: 'null'
                  - type: string
                    format: date-time
              windowEnd:
                oneOf:
                  - type: 'null'
                  - type: string
                    format: date-time
              matchedTraces:
                type: number
              sampledTraces:
                type: number
              processedSamples:
                type: number
              failedSamples:
                type: number
              alertCount:
                type: number
              estimatedCostUsd:
                oneOf:
                  - type: 'null'
                  - type: string
              actualCostUsd:
                oneOf:
                  - type: 'null'
                  - type: string
              simulationResult:
                oneOf:
                  - type: 'null'
                  - type: object
                    properties:
                      matchedTraceIds:
                        type: array
                        items:
                          type: number
                      sampledTraceIds:
                        type: array
                        items:
                          type: number
                      excluded:
                        type: object
                        additionalProperties:
                          type: number
                      estimatedModelCalls:
                        type: number
                      estimatedCostUsd:
                        oneOf:
                          - type: 'null'
                          - type: number
                      expectedAlertCount:
                        type: number
                      historicalFailureCount:
                        type: number
                      falsePositiveReviewTraceIds:
                        type: array
                        items:
                          type: number
                      warnings:
                        type: array
                        items:
                          type: string
                    additionalProperties: false
                    required:
                      - matchedTraceIds
                      - sampledTraceIds
                      - excluded
                      - estimatedModelCalls
                      - estimatedCostUsd
                      - expectedAlertCount
                      - historicalFailureCount
                      - falsePositiveReviewTraceIds
                      - warnings
              evidenceJson:
                type: object
                properties:
                  monitorVersionId:
                    type: string
                  monitorVersionNumber:
                    type: number
                  configHash:
                    type: string
                  policySnapshot:
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/JsonValue'
                  sampledTraceIds:
                    type: array
                    items:
                      type: number
                  scorerVersions:
                    type: array
                    items:
                      type: object
                      properties:
                        artifactId:
                          type: number
                        versionId:
                          type: number
                        contentHash:
                          type: string
                        name:
                          type: string
                        type:
                          type: string
                        definition:
                          type: object
                          additionalProperties:
                            $ref: '#/components/schemas/JsonValue'
                        calibrationBindingId:
                          oneOf:
                            - type: 'null'
                            - type: string
                        calibrationSetId:
                          oneOf:
                            - type: 'null'
                            - type: string
                        calibrationRunId:
                          oneOf:
                            - type: 'null'
                            - type: string
                        scoreMappingId:
                          oneOf:
                            - type: 'null'
                            - type: string
                        comparabilityStatus:
                          oneOf:
                            - type: string
                              enum:
                                - exact
                            - type: string
                              enum:
                                - calibrated
                            - type: string
                              enum:
                                - not_comparable
                      additionalProperties: false
                      required:
                        - artifactId
                        - versionId
                        - contentHash
                        - name
                        - type
                        - definition
                        - calibrationBindingId
                        - calibrationSetId
                        - calibrationRunId
                        - scoreMappingId
                        - comparabilityStatus
                  prompt:
                    oneOf:
                      - type: 'null'
                      - type: object
                        properties:
                          artifactId:
                            type: number
                          versionId:
                            type: number
                          contentHash:
                            type: string
                          payloadHash:
                            type: string
                          name:
                            type: string
                        additionalProperties: false
                        required:
                          - artifactId
                          - versionId
                          - contentHash
                          - payloadHash
                          - name
                  dataset:
                    oneOf:
                      - type: 'null'
                      - type: object
                        properties:
                          datasetId:
                            type: string
                          versionId:
                            type: string
                          versionNumber:
                            type: number
                          contentHash:
                            type: string
                          rowCount:
                            type: number
                        additionalProperties: false
                        required:
                          - datasetId
                          - versionId
                          - versionNumber
                          - contentHash
                          - rowCount
                  modelCallIds:
                    type: array
                    items:
                      type: string
                  costRecordIds:
                    type: array
                    items:
                      type: number
                  judgeResultIds:
                    type: array
                    items:
                      type: number
                  missingEvidence:
                    type: array
                    items:
                      type: string
                  retryHistory:
                    type: array
                    items:
                      type: object
                      properties:
                        attempt:
                          type: number
                        startedAt:
                          type: string
                        completedAt:
                          oneOf:
                            - type: 'null'
                            - type: string
                        status:
                          oneOf:
                            - type: string
                              enum:
                                - failed
                            - type: string
                              enum:
                                - completed
                            - type: string
                              enum:
                                - running
                            - type: string
                              enum:
                                - cancelled
                        errorCode:
                          oneOf:
                            - type: 'null'
                            - type: string
                        errorMessage:
                          oneOf:
                            - type: 'null'
                            - type: string
                        providerReached:
                          type: boolean
                      additionalProperties: false
                      required:
                        - attempt
                        - startedAt
                        - completedAt
                        - status
                        - errorCode
                        - errorMessage
                        - providerReached
                additionalProperties: false
                required:
                  - monitorVersionId
                  - monitorVersionNumber
                  - configHash
                  - policySnapshot
                  - sampledTraceIds
                  - scorerVersions
                  - prompt
                  - dataset
                  - modelCallIds
                  - costRecordIds
                  - judgeResultIds
                  - missingEvidence
                  - retryHistory
              missingEvidence:
                type: array
                items:
                  type: string
              retryHistory:
                type: array
                items:
                  type: object
                  properties:
                    attempt:
                      type: number
                    startedAt:
                      type: string
                    completedAt:
                      oneOf:
                        - type: 'null'
                        - type: string
                    status:
                      oneOf:
                        - type: string
                          enum:
                            - failed
                        - type: string
                          enum:
                            - completed
                        - type: string
                          enum:
                            - running
                        - type: string
                          enum:
                            - cancelled
                    errorCode:
                      oneOf:
                        - type: 'null'
                        - type: string
                    errorMessage:
                      oneOf:
                        - type: 'null'
                        - type: string
                    providerReached:
                      type: boolean
                  additionalProperties: false
                  required:
                    - attempt
                    - startedAt
                    - completedAt
                    - status
                    - errorCode
                    - errorMessage
                    - providerReached
              alertsEnabled:
                type: boolean
              candidateGenerationEnabled:
                type: boolean
              createdBy:
                type: string
              createdAt:
                type: string
                format: date-time
              startedAt:
                oneOf:
                  - type: 'null'
                  - type: string
                    format: date-time
              completedAt:
                oneOf:
                  - type: 'null'
                  - type: string
                    format: date-time
              cancelRequestedAt:
                oneOf:
                  - type: 'null'
                  - type: string
                    format: date-time
              cancelledAt:
                oneOf:
                  - type: 'null'
                  - type: string
                    format: date-time
            additionalProperties: false
            required:
              - id
              - organizationId
              - monitorId
              - monitorVersionId
              - runType
              - status
              - idempotencyKey
              - requestHash
              - claimToken
              - claimedBy
              - attempt
              - windowStart
              - windowEnd
              - matchedTraces
              - sampledTraces
              - processedSamples
              - failedSamples
              - alertCount
              - estimatedCostUsd
              - actualCostUsd
              - simulationResult
              - evidenceJson
              - missingEvidence
              - retryHistory
              - alertsEnabled
              - candidateGenerationEnabled
              - createdBy
              - createdAt
              - startedAt
              - completedAt
              - cancelRequestedAt
              - cancelledAt
      additionalProperties: false
      required:
        - backfills
    OrganizationId:
      type: string
      format: uuid
    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

````