> ## 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 agent evidence work pattern templates

> Requires scopes: traces:read



## OpenAPI

````yaml /api-reference/openapi.json get /api/agent-evidence/templates
openapi: 3.1.2
info:
  title: EvalGate API
  version: 18.7.0
  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/templates:
    get:
      tags:
        - agent evidence
      summary: List agent evidence work pattern templates
      description: 'Requires scopes: traces:read'
      operationId: get_agent_evidence_templates
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetApiAgentEvidenceTemplatesResponse200ApplicationJson
        '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'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - bearerAuth: []
components:
  schemas:
    GetApiAgentEvidenceTemplatesResponse200ApplicationJson:
      type: object
      properties:
        productLanguage:
          type: string
        spine:
          type: array
          items:
            type: string
        operatingLoop:
          type: array
          items:
            type: string
        controlSurfaces:
          type: array
          items:
            type: string
        workPatterns:
          type: array
          items:
            type: object
            properties:
              id:
                oneOf:
                  - type: string
                    enum:
                      - answer_support
                  - type: string
                    enum:
                      - retrieve_cite_ground
                  - type: string
                    enum:
                      - extract_classify_route
                  - type: string
                    enum:
                      - decide_recommend
                  - type: string
                    enum:
                      - execute_workflow
                  - type: string
                    enum:
                      - create_content
                  - type: string
                    enum:
                      - modify_code_systems
                  - type: string
                    enum:
                      - analyze_data
                  - type: string
                    enum:
                      - monitor_detect_alert
                  - type: string
                    enum:
                      - coordinate_agents
              name:
                type: string
              summary:
                type: string
              defaultEvalLayers:
                type: array
                items:
                  type: string
              metrics:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - adoption
                    - type: string
                      enum:
                        - correctness
                    - type: string
                      enum:
                        - cost
                    - type: string
                      enum:
                        - retries
                    - type: string
                      enum:
                        - task_success
                    - type: string
                      enum:
                        - groundedness
                    - type: string
                      enum:
                        - citation_fidelity
                    - type: string
                      enum:
                        - policy_adherence
                    - type: string
                      enum:
                        - safety_pass_rate
                    - type: string
                      enum:
                        - tool_selection_accuracy
                    - type: string
                      enum:
                        - argument_accuracy
                    - type: string
                      enum:
                        - side_effect_violation_rate
                    - type: string
                      enum:
                        - human_review_score
                    - type: string
                      enum:
                        - human_rework_rate
                    - type: string
                      enum:
                        - escalation_correctness
                    - type: string
                      enum:
                        - completion_rate
                    - type: string
                      enum:
                        - latency
                    - type: string
                      enum:
                        - rollback_rate
                    - type: string
                      enum:
                        - incident_rate
                    - type: string
                      enum:
                        - business_impact
              riskModules:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - prompt_injection
                    - type: string
                      enum:
                        - tool_misuse
                    - type: string
                      enum:
                        - policy_violation
                    - type: string
                      enum:
                        - money_movement
                    - type: string
                      enum:
                        - pii
                    - type: string
                      enum:
                        - phi
                    - type: string
                      enum:
                        - pci
                    - type: string
                      enum:
                        - secrets_exposure
                    - type: string
                      enum:
                        - financial_exposure
                    - type: string
                      enum:
                        - legal_exposure
                    - type: string
                      enum:
                        - customer_harm
                    - type: string
                      enum:
                        - clinical_safety
                    - type: string
                      enum:
                        - hallucination
                    - type: string
                      enum:
                        - unsupported_citation
                    - type: string
                      enum:
                        - unsafe_side_effect
                    - type: string
                      enum:
                        - code_security_regression
                    - type: string
                      enum:
                        - data_leakage
                    - type: string
                      enum:
                        - brand_reputation_risk
                    - type: string
                      enum:
                        - operational_downtime
              sideEffectClasses:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - unknown
                    - type: string
                      enum:
                        - draft
                    - type: string
                      enum:
                        - none
                    - type: string
                      enum:
                        - read
                    - type: string
                      enum:
                        - write
                    - type: string
                      enum:
                        - delete
                    - type: string
                      enum:
                        - classify
                    - type: string
                      enum:
                        - recommend
                    - type: string
                      enum:
                        - update_record
                    - type: string
                      enum:
                        - external_send
                    - type: string
                      enum:
                        - code_change
                    - type: string
                      enum:
                        - deployment_change
                    - type: string
                      enum:
                        - permission_change
                    - type: string
                      enum:
                        - money_movement
                    - type: string
                      enum:
                        - legal_commitment
                    - type: string
                      enum:
                        - customer_contact
                    - type: string
                      enum:
                        - safety_critical_action
                    - type: string
                      enum:
                        - clinical_or_safety_relevant_action
              policyGates:
                type: array
                items:
                  type: string
              evidenceRequirements:
                type: array
                items:
                  type: string
              recommendedMonitors:
                type: array
                items:
                  type: string
              qualityCaseSections:
                type: array
                items:
                  type: string
            additionalProperties: false
            required:
              - id
              - name
              - summary
              - defaultEvalLayers
              - metrics
              - riskModules
              - sideEffectClasses
              - policyGates
              - evidenceRequirements
              - recommendedMonitors
              - qualityCaseSections
        riskModules:
          type: array
          items:
            type: object
            properties:
              id:
                oneOf:
                  - type: string
                    enum:
                      - prompt_injection
                  - type: string
                    enum:
                      - tool_misuse
                  - type: string
                    enum:
                      - policy_violation
                  - type: string
                    enum:
                      - money_movement
                  - type: string
                    enum:
                      - pii
                  - type: string
                    enum:
                      - phi
                  - type: string
                    enum:
                      - pci
                  - type: string
                    enum:
                      - secrets_exposure
                  - type: string
                    enum:
                      - financial_exposure
                  - type: string
                    enum:
                      - legal_exposure
                  - type: string
                    enum:
                      - customer_harm
                  - type: string
                    enum:
                      - clinical_safety
                  - type: string
                    enum:
                      - hallucination
                  - type: string
                    enum:
                      - unsupported_citation
                  - type: string
                    enum:
                      - unsafe_side_effect
                  - type: string
                    enum:
                      - code_security_regression
                  - type: string
                    enum:
                      - data_leakage
                  - type: string
                    enum:
                      - brand_reputation_risk
                  - type: string
                    enum:
                      - operational_downtime
              name:
                type: string
              description:
                type: string
              defaultPolicyGates:
                type: array
                items:
                  type: string
              requiredEvidence:
                type: array
                items:
                  type: string
            additionalProperties: false
            required:
              - id
              - name
              - description
              - defaultPolicyGates
              - requiredEvidence
        connectorFamilies:
          type: array
          items:
            type: object
            properties:
              id:
                oneOf:
                  - type: string
                    enum:
                      - custom
                  - type: string
                    enum:
                      - data
                  - type: string
                    enum:
                      - support
                  - type: string
                    enum:
                      - code_repo
                  - type: string
                    enum:
                      - productivity
                  - type: string
                    enum:
                      - crm
                  - type: string
                    enum:
                      - finance
                  - type: string
                    enum:
                      - cloud_infra
                  - type: string
                    enum:
                      - security
              name:
                type: string
              examples:
                type: array
                items:
                  type: string
              defaultRiskModules:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - prompt_injection
                    - type: string
                      enum:
                        - tool_misuse
                    - type: string
                      enum:
                        - policy_violation
                    - type: string
                      enum:
                        - money_movement
                    - type: string
                      enum:
                        - pii
                    - type: string
                      enum:
                        - phi
                    - type: string
                      enum:
                        - pci
                    - type: string
                      enum:
                        - secrets_exposure
                    - type: string
                      enum:
                        - financial_exposure
                    - type: string
                      enum:
                        - legal_exposure
                    - type: string
                      enum:
                        - customer_harm
                    - type: string
                      enum:
                        - clinical_safety
                    - type: string
                      enum:
                        - hallucination
                    - type: string
                      enum:
                        - unsupported_citation
                    - type: string
                      enum:
                        - unsafe_side_effect
                    - type: string
                      enum:
                        - code_security_regression
                    - type: string
                      enum:
                        - data_leakage
                    - type: string
                      enum:
                        - brand_reputation_risk
                    - type: string
                      enum:
                        - operational_downtime
              defaultSideEffectClasses:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - unknown
                    - type: string
                      enum:
                        - draft
                    - type: string
                      enum:
                        - none
                    - type: string
                      enum:
                        - read
                    - type: string
                      enum:
                        - write
                    - type: string
                      enum:
                        - delete
                    - type: string
                      enum:
                        - classify
                    - type: string
                      enum:
                        - recommend
                    - type: string
                      enum:
                        - update_record
                    - type: string
                      enum:
                        - external_send
                    - type: string
                      enum:
                        - code_change
                    - type: string
                      enum:
                        - deployment_change
                    - type: string
                      enum:
                        - permission_change
                    - type: string
                      enum:
                        - money_movement
                    - type: string
                      enum:
                        - legal_commitment
                    - type: string
                      enum:
                        - customer_contact
                    - type: string
                      enum:
                        - safety_critical_action
                    - type: string
                      enum:
                        - clinical_or_safety_relevant_action
            additionalProperties: false
            required:
              - id
              - name
              - examples
              - defaultRiskModules
              - defaultSideEffectClasses
        sideEffectClasses:
          type: array
          minItems: 18
          maxItems: 18
          prefixItems:
            - type: string
              enum:
                - none
            - type: string
              enum:
                - unknown
            - type: string
              enum:
                - read
            - type: string
              enum:
                - draft
            - type: string
              enum:
                - classify
            - type: string
              enum:
                - recommend
            - type: string
              enum:
                - write
            - type: string
              enum:
                - update_record
            - type: string
              enum:
                - delete
            - type: string
              enum:
                - external_send
            - type: string
              enum:
                - code_change
            - type: string
              enum:
                - deployment_change
            - type: string
              enum:
                - permission_change
            - type: string
              enum:
                - money_movement
            - type: string
              enum:
                - legal_commitment
            - type: string
              enum:
                - customer_contact
            - type: string
              enum:
                - safety_critical_action
            - type: string
              enum:
                - clinical_or_safety_relevant_action
        metricDictionary:
          type: array
          items:
            type: object
            properties:
              id:
                oneOf:
                  - type: string
                    enum:
                      - adoption
                  - type: string
                    enum:
                      - correctness
                  - type: string
                    enum:
                      - cost
                  - type: string
                    enum:
                      - retries
                  - type: string
                    enum:
                      - task_success
                  - type: string
                    enum:
                      - groundedness
                  - type: string
                    enum:
                      - citation_fidelity
                  - type: string
                    enum:
                      - policy_adherence
                  - type: string
                    enum:
                      - safety_pass_rate
                  - type: string
                    enum:
                      - tool_selection_accuracy
                  - type: string
                    enum:
                      - argument_accuracy
                  - type: string
                    enum:
                      - side_effect_violation_rate
                  - type: string
                    enum:
                      - human_review_score
                  - type: string
                    enum:
                      - human_rework_rate
                  - type: string
                    enum:
                      - escalation_correctness
                  - type: string
                    enum:
                      - completion_rate
                  - type: string
                    enum:
                      - latency
                  - type: string
                    enum:
                      - rollback_rate
                  - type: string
                    enum:
                      - incident_rate
                  - type: string
                    enum:
                      - business_impact
              name:
                type: string
              description:
                type: string
              evidenceKinds:
                type: array
                items:
                  type: string
            additionalProperties: false
            required:
              - id
              - name
              - description
              - evidenceKinds
        domainTemplates:
          type: array
          items:
            type: object
            properties:
              templateId:
                type: string
              name:
                type: string
              domain:
                type: string
              description:
                type: string
              workPatterns:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - answer_support
                    - type: string
                      enum:
                        - retrieve_cite_ground
                    - type: string
                      enum:
                        - extract_classify_route
                    - type: string
                      enum:
                        - decide_recommend
                    - type: string
                      enum:
                        - execute_workflow
                    - type: string
                      enum:
                        - create_content
                    - type: string
                      enum:
                        - modify_code_systems
                    - type: string
                      enum:
                        - analyze_data
                    - type: string
                      enum:
                        - monitor_detect_alert
                    - type: string
                      enum:
                        - coordinate_agents
              behaviorContracts:
                type: array
                items:
                  type: object
                  properties:
                    title:
                      type: string
                    contractText:
                      type: string
                  additionalProperties: false
                  required:
                    - title
                    - contractText
              evalPrograms:
                type: array
                items:
                  type: string
              riskModules:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - prompt_injection
                    - type: string
                      enum:
                        - tool_misuse
                    - type: string
                      enum:
                        - policy_violation
                    - type: string
                      enum:
                        - money_movement
                    - type: string
                      enum:
                        - pii
                    - type: string
                      enum:
                        - phi
                    - type: string
                      enum:
                        - pci
                    - type: string
                      enum:
                        - secrets_exposure
                    - type: string
                      enum:
                        - financial_exposure
                    - type: string
                      enum:
                        - legal_exposure
                    - type: string
                      enum:
                        - customer_harm
                    - type: string
                      enum:
                        - clinical_safety
                    - type: string
                      enum:
                        - hallucination
                    - type: string
                      enum:
                        - unsupported_citation
                    - type: string
                      enum:
                        - unsafe_side_effect
                    - type: string
                      enum:
                        - code_security_regression
                    - type: string
                      enum:
                        - data_leakage
                    - type: string
                      enum:
                        - brand_reputation_risk
                    - type: string
                      enum:
                        - operational_downtime
              connectorFamilies:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - custom
                    - type: string
                      enum:
                        - data
                    - type: string
                      enum:
                        - support
                    - type: string
                      enum:
                        - code_repo
                    - type: string
                      enum:
                        - productivity
                    - type: string
                      enum:
                        - crm
                    - type: string
                      enum:
                        - finance
                    - type: string
                      enum:
                        - cloud_infra
                    - type: string
                      enum:
                        - security
              connectors:
                type: array
                items:
                  type: string
              sideEffectClasses:
                type: array
                items:
                  oneOf:
                    - type: string
                      enum:
                        - unknown
                    - type: string
                      enum:
                        - draft
                    - type: string
                      enum:
                        - none
                    - type: string
                      enum:
                        - read
                    - type: string
                      enum:
                        - write
                    - type: string
                      enum:
                        - delete
                    - type: string
                      enum:
                        - classify
                    - type: string
                      enum:
                        - recommend
                    - type: string
                      enum:
                        - update_record
                    - type: string
                      enum:
                        - external_send
                    - type: string
                      enum:
                        - code_change
                    - type: string
                      enum:
                        - deployment_change
                    - type: string
                      enum:
                        - permission_change
                    - type: string
                      enum:
                        - money_movement
                    - type: string
                      enum:
                        - legal_commitment
                    - type: string
                      enum:
                        - customer_contact
                    - type: string
                      enum:
                        - safety_critical_action
                    - type: string
                      enum:
                        - clinical_or_safety_relevant_action
              metrics:
                type: array
                items:
                  type: string
              policyGates:
                type: array
                items:
                  type: string
              qualityCaseEvidence:
                type: array
                items:
                  type: string
              recommendedMonitors:
                type: array
                items:
                  type: string
            additionalProperties: false
            required:
              - templateId
              - name
              - domain
              - description
              - workPatterns
              - behaviorContracts
              - evalPrograms
              - riskModules
              - connectorFamilies
              - connectors
              - sideEffectClasses
              - metrics
              - policyGates
              - qualityCaseEvidence
              - recommendedMonitors
        gallery:
          type: array
          items:
            type: object
            properties:
              templateId:
                type: string
              title:
                type: string
              description:
                type: string
              primaryPattern:
                oneOf:
                  - type: string
                    enum:
                      - answer_support
                  - type: string
                    enum:
                      - retrieve_cite_ground
                  - type: string
                    enum:
                      - extract_classify_route
                  - type: string
                    enum:
                      - decide_recommend
                  - type: string
                    enum:
                      - execute_workflow
                  - type: string
                    enum:
                      - create_content
                  - type: string
                    enum:
                      - modify_code_systems
                  - type: string
                    enum:
                      - analyze_data
                  - type: string
                    enum:
                      - monitor_detect_alert
                  - type: string
                    enum:
                      - coordinate_agents
                  - type: string
                    enum:
                      - blank
              domain:
                type: string
              outcomes:
                type: array
                items:
                  type: string
            additionalProperties: false
            required:
              - templateId
              - title
              - description
              - primaryPattern
              - outcomes
      additionalProperties: false
      required:
        - productLanguage
        - spine
        - operatingLoop
        - controlSurfaces
        - workPatterns
        - riskModules
        - connectorFamilies
        - sideEffectClasses
        - metricDictionary
        - domainTemplates
        - gallery
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - INVALID_REFERENCE
                - VALIDATION_ERROR
                - RATE_LIMITED
                - CONFLICT
                - INTERNAL_ERROR
                - SERVICE_UNAVAILABLE
                - QUOTA_EXCEEDED
                - FEATURE_LIMIT_REACHED
                - NO_ORG_MEMBERSHIP
                - SHARE_REVOKED
                - SHARE_EXPIRED
                - SHARE_UNAVAILABLE
                - PROVIDER_KEY_MISSING
                - PROVIDER_KEY_EXPIRED
                - PROVIDER_RATE_LIMITED
                - PROVIDER_UNAUTHORIZED
                - PROVIDER_UNAVAILABLE
                - AGENT_HANDOFF_INVALID
                - AGENT_HANDOFF_EXPIRED
                - AGENT_HANDOFF_DENIED
                - AGENT_HANDOFF_CONSUMED
                - PAYLOAD_TOO_LARGE
                - METHOD_NOT_ALLOWED
            message:
              type: string
            details: {}
            requestId:
              type: string
              format: uuid
            redaction:
              type: object
              properties:
                applied:
                  type: boolean
                  enum:
                    - true
                fieldCount:
                  type: integer
                  minimum: 0
                secretCount:
                  type: integer
                  minimum: 0
              required:
                - applied
                - fieldCount
                - secretCount
          required:
            - code
            - message
      required:
        - error
  responses:
    ValidationError:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
        WWW-Authenticate:
          description: >-
            Bearer challenge. Agent-facing routes include the RFC 9728
            resource_metadata URL.
          schema:
            type: string
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
    Conflict:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
        Retry-After:
          description: Delay in seconds before retrying when present.
          schema:
            type: integer
            minimum: 1
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
    ServiceUnavailable:
      description: Service unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        RateLimit-Limit:
          description: Quota in requests for the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Remaining:
          description: Remaining requests in the active window.
          schema:
            type: integer
            minimum: 0
        RateLimit-Reset:
          description: Reset delay in seconds (not a Unix timestamp).
          schema:
            type: integer
            minimum: 1
        X-RateLimit-Limit:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Remaining:
          schema:
            type: integer
            minimum: 0
        X-RateLimit-Reset:
          description: Legacy reset timestamp in Unix milliseconds.
          schema:
            type: integer
            minimum: 0
        RateLimit-Policy:
          description: IETF HTTPAPI structured quota policy (work in progress).
          schema:
            type: string
        RateLimit:
          description: >-
            IETF HTTPAPI structured remaining quota and reset delay (work in
            progress).
          schema:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: EvalGate API key
      description: >-
        Organization-scoped EvalGate API key. Discover the supported agent
        scopes at /.well-known/oauth-protected-resource. Per-operation grants
        are listed in x-evalgate-required-scopes; OpenAPI bearer security
        requirement arrays remain empty as required for non-OAuth schemes.
      x-evalgate-scopes-supported:
        - eval:read
        - eval:write
        - objectives:read
        - objectives:write
        - runs:read
        - runs:write
        - traces:read
        - traces:write
        - exports:download
        - reports:write
        - prompt:publish
        - scorer:publish
        - red_team:read
        - red_team:run
        - red_team:approve
        - docs:read
        - agent:read
        - agent:execute
        - resources:read
        - resources:write
        - contexts:read
        - contexts:write
        - observations:write
        - checks:read
        - checks:run
        - standards:read
        - standards:write
        - standards:approve
        - grants:read
        - grants:write
        - admin:keys
        - admin:workspace
        - admin:org
      x-evalgate-protected-resource-metadata: https://www.evalgate.com/.well-known/oauth-protected-resource

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.