View as Markdown

SDK reference · Python SDK

prov.attest.capture_requests

prov.attest.capture_requests in the Python SDK: 12 methods. Capture requests: a branded link for photos, selfies and ID photos taken live.

Methods

create

prov.attest.capture_requests.create(**body: Any = …) -> Any

Calls POST /v1/attest/capture_requests.

list

prov.attest.capture_requests.list(**query: Any = …) -> Any

Calls GET /v1/attest/capture_requests.

get

prov.attest.capture_requests.get(request_id: str) -> Any

Calls GET /v1/attest/capture_requests/{id}.

cancel

prov.attest.capture_requests.cancel(request_id: str) -> Any

Calls POST /v1/attest/capture_requests/{id}/cancel.

result

prov.attest.capture_requests.result(request_id: str) -> Any

The signed result of a completed request (token is an ES256 JWS over the claims).

Calls GET /v1/attest/capture_requests/{id}/result.

assessment

prov.attest.capture_requests.assessment(request_id: str) -> Any

Slice 1: the request's capture_assessment: the worst shot's outcome so far, each item's outcome, deciding rule and raw context.

Calls GET /v1/attest/capture_requests/{id}/assessment.

context

prov.attest.capture_requests.context(request_id: str) -> Any

Each shot's context signals (the same as items[].checks[].context, fetchable on its own).

Calls GET /v1/attest/capture_requests/{id}/context.

files

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

Time-limited links to the images that count (60–3600 seconds, default 900).

Calls GET /v1/attest/capture_requests/{id}/files.

remind

prov.attest.capture_requests.remind(request_id: str, channel: str | None = …, recipient: str | None = …, idempotency_key: str | None = …) -> Any

Remind the person about a pending request (201).

Calls POST /v1/attest/capture_requests/{id}/reminders.

list_reminders

prov.attest.capture_requests.list_reminders(request_id: str) -> Any

The request's reminders, oldest first, with how each ended.

Calls GET /v1/attest/capture_requests/{id}/reminders.

cancel_reminder

prov.attest.capture_requests.cancel_reminder(request_id: str, reminder_id: str) -> Any

Cancel a reminder held until quiet hours end, before it goes (reminders.scheduled.id).

Calls DELETE /v1/attest/capture_requests/{id}/reminders/{reminder_id}.

delete_media

prov.attest.capture_requests.delete_media(request_id: str) -> Any

Delete the images now; the attestations and checks stay on the case.

Calls DELETE /v1/attest/capture_requests/{id}/media.

Was this page helpful? Send us feedback

LLM? Read llms.txt.