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

# Create online evals resume

> Requires scopes: eval:write



## OpenAPI

````yaml /api-reference/openapi.json post /api/online-evals/backfills/{id}/resume
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/backfills/{id}/resume:
    post:
      tags:
        - online evals
      summary: Create online evals resume
      description: 'Requires scopes: eval:write'
      operationId: post_online_evals_backfills_id_resume
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiOnlineEvalsBackfillsIdResumeRequest'
      responses:
        '202':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PostApiOnlineEvalsBackfillsIdResumeResponse202ApplicationJson
        '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:write
components:
  schemas:
    PostApiOnlineEvalsBackfillsIdResumeRequest:
      type: object
      properties:
        idempotencyKey:
          type: string
      additionalProperties: false
      required:
        - idempotencyKey
    PostApiOnlineEvalsBackfillsIdResumeResponse202ApplicationJson:
      oneOf:
        - type: object
          properties:
            idempotentReplay:
              type: boolean
            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:
            - idempotentReplay
            - 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
        - type: object
          properties:
            budgetPreflight:
              type: object
              properties:
                allowed:
                  type: boolean
                reasons:
                  type: array
                  items:
                    type: string
                remainingCostUsd:
                  oneOf:
                    - type: 'null'
                    - type: number
                remainingModelCalls:
                  oneOf:
                    - type: 'null'
                    - type: number
              additionalProperties: false
              required:
                - allowed
                - reasons
                - remainingCostUsd
                - remainingModelCalls
            idempotentReplay:
              type: boolean
            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
            id:
              type: string
            createdAt:
              type: string
              format: date-time
            organizationId:
              $ref: '#/components/schemas/OrganizationId'
            createdBy:
              type: string
            startedAt:
              oneOf:
                - type: 'null'
                - type: string
                  format: date-time
            completedAt:
              oneOf:
                - type: 'null'
                - type: string
                  format: date-time
            idempotencyKey:
              type: string
            windowStart:
              oneOf:
                - type: 'null'
                - type: string
                  format: date-time
            windowEnd:
              oneOf:
                - type: 'null'
                - type: string
                  format: date-time
            requestHash:
              type: string
            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
            attempt:
              type: number
            monitorId:
              type: number
            monitorVersionId:
              type: string
            cancelledAt:
              oneOf:
                - type: 'null'
                - type: string
                  format: date-time
            actualCostUsd:
              oneOf:
                - type: 'null'
                - type: string
            cancelRequestedAt:
              oneOf:
                - type: 'null'
                - type: string
                  format: date-time
            runType:
              type: string
            claimToken:
              oneOf:
                - type: 'null'
                - type: string
            claimedBy:
              oneOf:
                - type: 'null'
                - type: string
            matchedTraces:
              type: number
            sampledTraces:
              type: number
            processedSamples:
              type: number
            failedSamples:
              type: number
            alertCount:
              type: number
            estimatedCostUsd:
              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
            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
          additionalProperties: false
          required:
            - budgetPreflight
            - idempotentReplay
            - status
            - id
            - createdAt
            - organizationId
            - createdBy
            - startedAt
            - completedAt
            - idempotencyKey
            - windowStart
            - windowEnd
            - requestHash
            - evidenceJson
            - attempt
            - monitorId
            - monitorVersionId
            - cancelledAt
            - actualCostUsd
            - cancelRequestedAt
            - runType
            - claimToken
            - claimedBy
            - matchedTraces
            - sampledTraces
            - processedSamples
            - failedSamples
            - alertCount
            - estimatedCostUsd
            - simulationResult
            - missingEvidence
            - retryHistory
            - alertsEnabled
            - candidateGenerationEnabled
    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

````