Skip to main content
GET
Retrieve evidence

Authorizations

Authorization
string
header
required

Path Parameters

project_id
string
required

The project's friendly ID (e.g. prj_aBcD1234eFgH5678).

event_id
string
required

The event's friendly ID (e.g. evt_aBcD1234eFgH5678).

evidence_id
string
required

The evidence's friendly ID (e.g. ev_aBcD1234eFgH5678).

Response

The evidence.

An evidence as the event's evidence endpoints return it.

id
string

The evidence's friendly ID (e.g. ev_aBcD1234eFgH5678).

Example:

"ev_aBcD1234eFgH5678"

url
string | null

For file evidence, a download link on the Mangrove app host. Anyone holding the link can download the file without an API token; the link does not expire and keeps working after the token that fetched it is revoked. For url evidence, the URL as submitted. Other types carry a link Mangrove generated, or null.

Example:

"https://app.gomangrove.com/rails/active_storage/blobs/redirect/SIGNED_ID/receipt.pdf?disposition=attachment"

evidence_type
enum<string>

Evidence added through this API is file or url. The other types are generated by Mangrove.

Available options:
file,
url,
library,
api,
record,
excel_workbook,
olca_pathway
name
string | null

Display name. A file's name, or a link's name, falling back to its URL.

Example:

"receipt.pdf"

data_point_ids
string[]

The friendly IDs of the data points on this event the evidence is attached to.