/api/orgs/{org_id}/identities/{identity_id}/model-accessRead a group's model access
mode: all leaves every model callable (inside the parent group's limits); allowlist admits only alias_ids. The saved list is kept while the mode is all. 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.identity_idstringrequiredIdentity id.
Responses
200The group's mode and saved list.
Response
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 group.
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/identities/acme-support/model-access' \
-H "Authorization: Bearer <YOUR_API_KEY>"Response
{
"identity_id": "contractors-7c1e40ab",
"mode": "allowlist",
"alias_ids": [
"model-1f0c9a2e-5b7d-4c3a-9e81-0a6d2f4b7c13",
"model-8e2a4c6f-1d3b-4f5a-a9c7-2b0e6d8f1a34"
]
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/identities/acme-support/model-access