SDK reference · Python SDK

prov.attest.capture_requests.files

prov.attest.capture_requests.files in Python SDK. Time-limited links to the images that count (60–3600 seconds, default 900).

Signature

prov.attest.capture_requests.files(request_id: str, expires_in: int | None = …) -> Any

Parameters

request_idstrRequired
expires_inint | None

Request fields

idstringpathRequired
The capture request's ID (capr_…).
expires_inintegerquery
Seconds each link works (default 900, at most 3600).

Returns

Any The files.

HTTP operation

GET /v1/attest/capture_requests/{id}/files: List the images with time-limited links

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.