OriginChainDB
Database endpoints

Inspect permissions

See each role's effective table permissions and column masks, including inherited permissions.

GET /v1/tenants/{tenant}/db/matrix

Understand permissions after role inheritanceThe matrix explains access without running a query as that role.
  1. Choose objects to inspectSelect tables or inspect the available scope.
  2. Resolve role permissionsInclude inherited privileges and column masks.
  3. Review the access matrixCompare effective permissions by role and object.

Before you start

Use your database bearer token.

Connection setup

Use an identity authorized to manage access in this tenant.

Path parameters

FieldTypeRequired
tenantstringRequired

Query parameters

FieldTypeRequired
objectsstringOptional

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Read the result

For each object, roles shows effective privileges and masked columns, including inherited permissions. Use this to review access; it does not execute a query as the role.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
429Honor Retry-After when present; back off.
503Honor Retry-After when present; check write outcomes.
© 2026 Silicoyn Technologies Pvt Ltd