Skip to main content
Version: v4 (next)

List Credential Schemas

MOD-CS-QRY-1

Use this query to list existing credential schemas.

Query Parameters

NameDescriptionMandatory
tr_idFilter by trust registry IDno
modified_afterOnly credential schemas modified after this RFC 3339 timestampno
response_max_sizeMax items to returnno
only-activeShow only non-archived schemasno
issuer-perm-management-modeFilter by issuer permission management mode (OPEN, GRANTOR_VALIDATION, ECOSYSTEM)no
verifier-perm-management-modeFilter by verifier permission management modeno

Execute the Query

Example:

veranad q cs list-schemas --node $NODE_RPC  --output json

Examples with parameters:

veranad q cs list-schemas --tr_id 5 --modified_after "2025-08-01T16:42:59Z" --node $NODE_RPC  --output json
veranad q cs list-schemas --tr_id 5 --response_max_size 10 --only-active=true --node $NODE_RPC --output json

Use the output to identify each schema id and its tr-id.