Retrieve the provenance story for a single diamond using the asset ID

GET {{baseUrl}}/assets/b40b8525-4cc8-4cb1-9e44-e0f42305d54f/provenance?x-evl-version=2

While retrieving the provenance information, the header information will detail the client id and the JWT token. A query parameter can be used to accelerate the response time (x-evl-version=2). Please note Everledger might deprecate this optional parameter and provide an accelerated response by default.

Request Params

KeyDatatypeRequiredDescription
x-evl-versionnumber

HEADERS

KeyDatatypeRequiredDescription
x-evl-client-idstring(Required) Client Id to be passed here
Acceptstring

RESPONSES

status: OK

[{"header":{"eventId":"string","inputs":["string"],"eventType":"origin","actionType":"diamond:kpc","sourceList":[{"id":"string","interestType":"string"}],"destList":[{"id":"string","interestType":"string"}],"timeFrame":{"beganAt":"2020-10-26T21:10:23Z","finishedAt":"2020-10-26T21:10:23Z","start_at":"2020-10-26T21:10:23Z","end_at":"2020-10-26T21:10:23Z"},"createdAt":"2020-10-26T21:10:23Z","location":{"placeName":"string","latitude":0,"longitude":0}},"elements":{},"attachment":[{"id":"string","key":"string","url":"string","mimeType":"string","appType":"diamond:kpc-image","indexNo":0}]}]