View as Markdown

SDK reference · Node SDK

prov.account.captureRetention

prov.account.captureRetention in Node SDK. How long captured images are kept (1–365 days, default 30).

Signature

prov.account.captureRetention(): Promise<CaptureRetention>

Parameters

No parameters.

Returns

Promise<CaptureRetention> The retention.

HTTP operation

GET /v1/attest/settings/capture_retention: Retrieve your image retention

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/settings/capture_retention`, {
  headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.