> ## 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 the agent evidence overview

> Requires scopes: traces:read



## OpenAPI

````yaml /api-reference/openapi.json get /api/agent-evidence
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/agent-evidence:
    get:
      tags:
        - agent evidence
      summary: Get the agent evidence overview
      description: 'Requires scopes: traces:read'
      operationId: get_agent_evidence
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetApiAgentEvidenceResponse200ApplicationJson
        '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:
            - traces:read
components:
  schemas:
    GetApiAgentEvidenceResponse200ApplicationJson:
      type: object
      properties:
        counts:
          type: object
          properties:
            workspaces:
              type: number
            branches:
              type: number
            systems:
              type: number
            requirements:
              type: number
            fleets:
              type: number
            agentInstances:
              type: number
            primitiveChains:
              type: number
            primitiveStepRuns:
              type: number
            rerankRuns:
              type: number
            contextAssemblies:
              type: number
            primitiveFailures:
              type: number
            evalExplanations:
              type: number
            evidenceGraphEdges:
              type: number
            evalFailureInbox:
              type: number
            runtimes:
              type: number
            connectors:
              type: number
            invocations:
              type: number
            sideEffects:
              type: number
            policyDecisions:
              type: number
            approvals:
              type: number
            qualityCases:
              type: number
            quarantine:
              type: number
            incidents:
              type: number
            anomalies:
              type: number
          additionalProperties: false
          required:
            - workspaces
            - branches
            - systems
            - requirements
            - fleets
            - agentInstances
            - primitiveChains
            - primitiveStepRuns
            - rerankRuns
            - contextAssemblies
            - primitiveFailures
            - evalExplanations
            - evidenceGraphEdges
            - evalFailureInbox
            - runtimes
            - connectors
            - invocations
            - sideEffects
            - policyDecisions
            - approvals
            - qualityCases
            - quarantine
            - incidents
            - anomalies
        recentInvocations:
          oneOf:
            - type: array
              items:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/JsonValue'
            - type: object
              properties:
                rows:
                  type: array
                  items:
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/JsonValue'
                total:
                  type: number
                filters:
                  type: object
                  properties:
                    failureMode:
                      oneOf:
                        - type: string
                        - type: number
                    status:
                      oneOf:
                        - type: string
                        - type: number
                    decision:
                      oneOf:
                        - type: string
                        - type: number
                    aiSystemId:
                      oneOf:
                        - type: string
                        - type: number
                    traceId:
                      oneOf:
                        - type: string
                        - type: number
                    idempotencyKey:
                      oneOf:
                        - type: string
                        - type: number
                    evaluationRunId:
                      oneOf:
                        - type: string
                        - type: number
                    state:
                      oneOf:
                        - type: string
                        - type: number
                    policyDecisionId:
                      oneOf:
                        - type: string
                        - type: number
                    sideEffectClass:
                      oneOf:
                        - type: string
                        - type: number
                    caseKey:
                      oneOf:
                        - type: string
                        - type: number
                    runtimeKey:
                      oneOf:
                        - type: string
                        - type: number
                    runtimeId:
                      oneOf:
                        - type: string
                        - type: number
                    connectorKey:
                      oneOf:
                        - type: string
                        - type: number
                    connectorId:
                      oneOf:
                        - type: string
                        - type: number
                    rawEventId:
                      oneOf:
                        - type: string
                        - type: number
                    invocationId:
                      oneOf:
                        - type: string
                        - type: number
                    toolInvocationEvidenceId:
                      oneOf:
                        - type: string
                        - type: number
                    sideEffectLedgerId:
                      oneOf:
                        - type: string
                        - type: number
                    primitiveType:
                      oneOf:
                        - type: string
                        - type: number
                    primitiveStepRunId:
                      oneOf:
                        - type: string
                        - type: number
                    failureKey:
                      oneOf:
                        - type: string
                        - type: number
                    evalExplanationId:
                      oneOf:
                        - type: string
                        - type: number
                    benchmarkKey:
                      oneOf:
                        - type: string
                        - type: number
                    reportKey:
                      oneOf:
                        - type: string
                        - type: number
                    connectorReadinessReportId:
                      oneOf:
                        - type: string
                        - type: number
                  additionalProperties: false
              additionalProperties: false
              required:
                - rows
                - total
                - filters
        recentPolicyDecisions:
          oneOf:
            - type: array
              items:
                type: object
                additionalProperties:
                  $ref: '#/components/schemas/JsonValue'
            - type: object
              properties:
                rows:
                  type: array
                  items:
                    type: object
                    additionalProperties:
                      $ref: '#/components/schemas/JsonValue'
                total:
                  type: number
                filters:
                  type: object
                  properties:
                    failureMode:
                      oneOf:
                        - type: string
                        - type: number
                    status:
                      oneOf:
                        - type: string
                        - type: number
                    decision:
                      oneOf:
                        - type: string
                        - type: number
                    aiSystemId:
                      oneOf:
                        - type: string
                        - type: number
                    traceId:
                      oneOf:
                        - type: string
                        - type: number
                    idempotencyKey:
                      oneOf:
                        - type: string
                        - type: number
                    evaluationRunId:
                      oneOf:
                        - type: string
                        - type: number
                    state:
                      oneOf:
                        - type: string
                        - type: number
                    policyDecisionId:
                      oneOf:
                        - type: string
                        - type: number
                    sideEffectClass:
                      oneOf:
                        - type: string
                        - type: number
                    caseKey:
                      oneOf:
                        - type: string
                        - type: number
                    runtimeKey:
                      oneOf:
                        - type: string
                        - type: number
                    runtimeId:
                      oneOf:
                        - type: string
                        - type: number
                    connectorKey:
                      oneOf:
                        - type: string
                        - type: number
                    connectorId:
                      oneOf:
                        - type: string
                        - type: number
                    rawEventId:
                      oneOf:
                        - type: string
                        - type: number
                    invocationId:
                      oneOf:
                        - type: string
                        - type: number
                    toolInvocationEvidenceId:
                      oneOf:
                        - type: string
                        - type: number
                    sideEffectLedgerId:
                      oneOf:
                        - type: string
                        - type: number
                    primitiveType:
                      oneOf:
                        - type: string
                        - type: number
                    primitiveStepRunId:
                      oneOf:
                        - type: string
                        - type: number
                    failureKey:
                      oneOf:
                        - type: string
                        - type: number
                    evalExplanationId:
                      oneOf:
                        - type: string
                        - type: number
                    benchmarkKey:
                      oneOf:
                        - type: string
                        - type: number
                    reportKey:
                      oneOf:
                        - type: string
                        - type: number
                    connectorReadinessReportId:
                      oneOf:
                        - type: string
                        - type: number
                  additionalProperties: false
              additionalProperties: false
              required:
                - rows
                - total
                - filters
      additionalProperties: false
      required:
        - counts
        - recentInvocations
        - recentPolicyDecisions
    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

````