SDK reference · Node SDK

prov.attest.analytics.summary

prov.attest.analytics.summary in Node SDK. Headline summary + distributions + $-deterred over the window (default 90d).

Signature

prov.attest.analytics.summary(params?: AnalyticsWindow): Promise<AnalyticsSummary>

Parameters

paramsAnalyticsWindow

Request fields

created_gtetimestampquery
The start of the time window, as an ISO 8601 time.
created_ltetimestampquery
The end of the time window, as an ISO 8601 time.

Returns

Promise<AnalyticsSummary> The portfolio summary.

HTTP operation

GET /v1/attest/analytics/summary: Get the portfolio summary

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/analytics/summary`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.