Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Check whether a token permits a named action.
POST /v1/policy/check
application/json
token
/v1/verify
action
{ "permitted": true, "reason": null }
{ "permitted": false, "reason": "Token expired" }
payment.authorise account.update document.sign admin.access
const result = await vm.policy(verify.token, "payment.authorise"); if (!result.permitted) { return res.status(403).json({ error: result.reason }); }