---
title: "Evidence - Returns the evidence for a given fact"
method: GET
path: "/analysis/evidence/{factID}/{sessionID}"
tags: ["Evidence"]
---

# Evidence - Returns the evidence for a given fact

`GET /analysis/evidence/{factID}/{sessionID}`

View the source of the fact, including how it was derived when inferred from a rule.

## Path parameters

- `factID` string, required
- `sessionID` string, required

## Response `200`

Fact detail

- object
  - `factID` string
  - `source` string
  - `fact` object
    - `subject` object
      - `type` string
      - `value` string
      - `dataType` string
    - `relationship` object
      - `type` string
    - `object` object
      - `type` string
      - `value` union — The object side concept instance or value
        - string
        - number
        - boolean
      - `dataType` string
    - `certainty` number — How certain this fact or answer is
  - `time` number
  - `rule` object
    - `bindings` object
    - `conditions` union[] — An array of conditions and/or expressions of the rule
      - union
        - object
          - `subject` string — The subject side concept instance or value
          - `relationship` string — The relationship between subject and object
          - `object` union — The object side concept instance or value
            - string
            - number
            - boolean
          - `salience` number — The weight of a condition
          - `certainty` number — How certain this fact or answer is
          - `impact` number — The impact this condition has on the result as a percentage
          - `factID` string
          - `objectType` string
          - `alt` string — Alternative Text for the condition displayed in the Evidence Tree
          - `factKey` string
        - object
          - `expression` object
            - `functions` object
              - …
            - `text` string
            - `value` string
          - `impact` number — The impact this condition has on the result as a percentage
          - `salience` number — The weight of a condition
          - `wasMet` boolean — Whether the expression returned true or false when not assigned to a variable. Always returns true when assigned to a variable
          - `alt` string — Alternative Text for the condition displayed in the Evidence Tree
    - `ruleMaxCertainty` number — How certain this fact or answer is

---

[API](https://skmtc.net/rainbird/apis/rainbird-api-documentation.md) · [All operations](https://skmtc.net/rainbird/apis/rainbird-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rainbird/rainbird-api-documentation/revisions/0b8d2bc38f5d/schema)
