Skip to main content

Get Permission Session

Return the on-chain Permission Session that matches a given session ID (UUID).
Use this to prove the peer paid (PPI/PPV) before you issue or request a presentation.

Query Parameters

NameDescriptionMandatory
idSession ID (UUID) that was exchanged between peers.yes

Execute the Query

Usage

veranad q perm get-perm-session <session-id> --node $NODE_RPC --output json

Example

SESSION_ID=123e4567-e89b-12d3-a456-426614174000
veranad q perm get-perm-session $SESSION_ID --node $NODE_RPC --output json

Example Output

{
"session": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"agent_perm_id": "45",
"wallet_agent_perm_id": "50",
"issuer_perm_id": "30",
"verifier_perm_id": null,
"schema_id": "5",
"created": "2025-08-21T12:34:56Z",
"status": "ACTIVE"
}
}