Read and verify an execution grant without consuming it
The handler of the deprecated alias POST /v1/execution/verify-token. A GET carries no body, so the execution token is presented in the x-decionis-execution-token header (required; never logged) and the intent hash, optionally, as the intent_hash query parameter.
Verifies the token's Ed25519 signature, issuer and lifetime; that the caller is authorised for the organisation the grant names (the caller's own organisation for an organisation API key); that the token's jti is {grantId} (otherwise 409 GRANT_ID_MISMATCH); and, when intent_hash is supplied, that the grant is bound to it (otherwise 409 GRANT_BINDING_MISMATCH). The intent hash commits to the tenant, actor, action and downstream target the alias checks field by field. Reading a grant never authorizes execution: only a claim does.
Request
- Base URL: https://api.decionis.com
- URL: https://api.decionis.com/v1/authority/grants/{grantId}
- Auth: HTTP bearer
Query parameters
Headers
The execution token, as issued. Redacted from request logs.
Response
Valid grant
Changes
No recorded changes to this operation across all 1 revision of this API.