SDK reference · Python SDK

prov.attest.capture_requests.assessment

prov.attest.capture_requests.assessment in Python SDK. Slice 1: the request's capture_assessment: the worst shot's outcome so far, each item's outcome, deciding rule and raw context.

Signature

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

Parameters

request_idstrRequired

Request fields

idstringpathRequired
The capture request's ID (capr_…).

Returns

Any The assessment.

HTTP operation

GET /v1/attest/capture_requests/{id}/assessment: Retrieve the capture assessment

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.