SDK reference · Node SDK

prov.mandate.assessments.createWithApproval

prov.mandate.assessments.createWithApproval in Node SDK. Verify, and if the action needs out-of-band step-up approval (reason: "approval_pending"), poll until the human approves, the request is denied/expired, or timeoutMs elapses.

Signature

prov.mandate.assessments.createWithApproval(params: VerifyIntentParams, opts?: { pollMs?: number; timeoutMs?: number } & IntentCallOptions): Promise<MandateAssessment>

Parameters

paramsVerifyIntentParamsRequired
opts{ pollMs?: number; timeoutMs?: number } & IntentCallOptions

Returns

Promise<MandateAssessment>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.