Compute grant requirements for a draft definition
POST /v1/consent/grants/requirements — Dry-run scan of a draft cron / workflow / agent definition for Tier-3 / Tier-4 tool calls that need an authoring-time co
POST /v1/consent/grants/requirements
Dry-run scan of a draft cron / workflow / agent definition for Tier-3 / Tier-4 tool calls that need an authoring-time consent grant. The wizard calls this before save, surfaces one prompt per returned requirement, then POSTs the approved grants to /v1/consent/grants.
| Method | POST |
| Path | /v1/consent/grants/requirements |
| Auth | Authorization: Bearer <token> required by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset) |
| Category | admin |
Request body
{ "scope_kind": "cron", "definition": { /* WorkflowDefinition draft */ } }