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

# List a rule result's evidence

> List the evidence attached to a rule result.

Which field carries the evidence depends on the rule's `evidenceType`: `storageUri` for uploaded
documents, `text` for written statements, and `url` for links.




## OpenAPI

````yaml get /rule-results/{ruleResultId}/evidence
openapi: 3.0.3
info:
  contact:
    email: support@openlayer.com
    name: Openlayer
    url: https://openlayer.com/
  description: API for interacting with the Openlayer server.
  title: Openlayer API
  version: '1.0'
  x-logo:
    url: https://logo.clearbit.com/openlayer.com
servers:
  - url: https://api.openlayer.com/v1
    description: Our prod backend
security:
  - bearerAuth: []
paths:
  /rule-results/{ruleResultId}/evidence:
    get:
      tags:
        - Governance
      summary: List a rule result's evidence
      description: >
        List the evidence attached to a rule result.


        Which field carries the evidence depends on the rule's `evidenceType`:
        `storageUri` for uploaded

        documents, `text` for written statements, and `url` for links.
      operationId: listRuleResultEvidence
      parameters:
        - $ref: '#/components/parameters/ruleResultId'
        - $ref: '#/components/parameters/page'
        - $ref: '#/components/parameters/perPage'
      responses:
        '200':
          description: Status OK.
          content:
            application/json:
              schema:
                type: object
                required:
                  - items
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Evidence'
        default:
          $ref: '#/components/responses/UnexpectedError'
      x-codeSamples:
        - lang: curl
          source: |
            curl --request GET \
              --url https://api.openlayer.com/v1/rule-results/5b7d9f1a-2c3e-4d5f-8a6b-9c0d1e2f3a4b/evidence \
              --header 'Authorization: Bearer <token>'
components:
  parameters:
    ruleResultId:
      name: ruleResultId
      in: path
      description: The rule result id.
      required: true
      schema:
        type: string
        format: uuid
    page:
      name: page
      in: query
      description: The page to return in a paginated query.
      schema:
        type: integer
        minimum: 1
        default: 1
    perPage:
      name: perPage
      in: query
      description: Maximum number of items to return per page.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
  schemas:
    Evidence:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: The evidence id.
        name:
          type: string
          nullable: true
          maxLength: 120
          description: The evidence name.
          example: Model risk assessment 2026
        description:
          type: string
          nullable: true
          description: A description of what the evidence shows.
        storageUri:
          type: string
          nullable: true
          description: >
            Where the uploaded file is stored. Set when the rule's
            `evidenceType` is `document`.
          example: s3://openlayer-evidence/evidence.pdf
        text:
          type: string
          nullable: true
          description: The evidence text. Set when the rule's `evidenceType` is `text`.
        url:
          type: string
          format: uri
          nullable: true
          description: A link to the evidence. Set when the rule's `evidenceType` is `url`.
          example: https://openlayer.com/evidence
        creatorId:
          type: string
          format: uuid
          nullable: true
          readOnly: true
          description: The user who attached the evidence.
        dateCreated:
          type: string
          format: date-time
          readOnly: true
          description: The creation date.
          example: '2026-03-22T11:31:01.185Z'
        dateUpdated:
          type: string
          format: date-time
          readOnly: true
          description: The last update date.
          example: '2026-03-22T11:31:01.185Z'
      required:
        - id
        - creatorId
        - dateCreated
        - dateUpdated
  responses:
    UnexpectedError:
      description: Unexpected error.
      content:
        application/json:
          schema:
            type: object
            required:
              - code
              - error
            properties:
              code:
                type: integer
                format: int32
              error:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your workspace API key. See [Find your API
        key](https://www.openlayer.com/docs/workspace-and-projects/find-your-api-key)
        for more information.

````