/api/orgs/{org_id}/grantsRead the group and model access matrix
Every group, the aliases the org may use (public catalog models and its own custom models, org_scoped: true), the explicit custom-model grants, and each group's model access. Public models are callable by every group unless its model access narrows them, so they carry no grant rows. A group absent from model_access is unrestricted. Org admin or the provisioning key.
Authentication: Bearer API key in the Authorization header
Path parameters
org_idstringrequiredYour organization id (uuid).
GET /api/whoamireturns it.
Responses
200The matrix.
Response
identitiesarray<object>requiredidentities
identity_idstringrequireddisplay_namestringrequireddescriptionstring | nullrequiredactivebooleanrequiredFalse blocks minting new keys under it; existing keys keep serving until revoked.
is_defaultbooleanrequiredThe org's default identity (holds dashboard-minted keys).
created_atstringrequiredupdated_atstringrequiredparent_identity_idstring | nullThe parent group; null for a top-level group.
monthly_budgetobject | nullSet only on a create that also set
monthly_budget_nano_usd: that group budget.One of
object
budget_idstringrequiredperiodstringrequiredYYYY-MM, or*for recurring.scope_kindenumrequiredkeysis a shared budget;keyis an older per-key budget.api_key_idstring | nullrequiredidentity_idstring | nullrequiredalias_idstring | nullrequiredpool_idstring | nullrequireddeployment_idstring | nullrequiredlimit_nano_usdintegerrequiredThe cap, integer nano-USD. 0 is a hard zero cap.
reserved_nano_usdintegerrequiredIn flight, integer nano-USD.
settled_nano_usdintegerrequiredSpent this month, integer nano-USD.
remaining_nano_usdintegerrequiredInteger nano-USD.
created_by_kindenumrequiredcreated_by_api_key_idstring | nullrequiredThe authoring key, when a key wrote the row.
namestring | nullShared budgets only.
reset_periodenumShared budgets only.
api_key_idsarray | nullShared budgets only: the keys drawing from it.
aliasesarray<object>requiredaliases
alias_idstringrequiredalias_namestringrequiredThe model slug callers send.
originstringrequiredorg_scopedbooleanrequiredTrue for the org's own custom model, false for a public catalog model.
grantsarray<object>requiredExplicit custom-model grants.
grants
identity_idstringrequiredalias_idstringrequired
model_accessarray<object>requiredGroups that chose a mode or saved a list; an absent group is unrestricted.
model_access
identity_idstringrequiredmodeenumrequiredallleaves every model callable;allowlistadmits onlyalias_ids.alias_idsarray<string>requiredThe saved list; kept while the mode is
all.
401Missing, unknown or revoked API key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
403The key is not a provisioning key (inference keys are refused, reads included), or it is a customer-plan key.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404Unknown organization, or not the key's own organization.
Response
errorstringrequiredHuman-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
Request
curl 'https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/grants' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"identities": [
{
"identity_id": "developers-2b8e51c0",
"display_name": "Developers",
"description": null,
"active": true,
"is_default": false,
"created_at": "2026-11-20T09:14:00Z",
"updated_at": "2026-11-20T09:14:00Z",
"parent_identity_id": null
}
],
"aliases": [
{
"alias_id": "model-8e2a4c6f-1d3b-4f5a-a9c7-2b0e6d8f1a34",
"alias_name": "gpt-6-luna",
"origin": "catalog",
"org_scoped": false
},
{
"alias_id": "model-5c7e9a1b-3d5f-4b7d-9f1b-3d5f7b9d1f36",
"alias_name": "acme-support-ft",
"origin": "catalog",
"org_scoped": true
}
],
"grants": [
{
"identity_id": "developers-2b8e51c0",
"alias_id": "model-5c7e9a1b-3d5f-4b7d-9f1b-3d5f7b9d1f36"
}
],
"model_access": [
{
"identity_id": "developers-2b8e51c0",
"mode": "all",
"alias_ids": []
}
]
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/grants