Get Member Model Access

GET/enterprise/v1/sub-accounts/{subAccountId}/model-access

restriction is INHERIT or ALLOWLIST. Each models item contains name, displayName and modelType.

Authentication

MANAGEMENT key with tenant:policies:read.

Authorization: Bearer <CONTROL_KEY>

Any subAccountId must belong to the authenticated enterprise. hash is a metadata identifier, never a raw key.

Approval and retry guide

Path parameters

subAccountIdstringrequired

10-digit public member ID / 10 位成员编号

Response

HTTP 200; code: 200. Values below are illustrative; fields use camelCase.

codeinteger

200

dataobject | null
data.restrictionstring
data.modelsarray

Errors

Check both HTTP status and code; on failure inspect serviceCode, msg and traceId. Invalid credentials receive no data; missing scopes return API_KEY_SCOPE_DENIED. Cross-tenant resources are inaccessible. Acceptance or pending approval does not mean business completion.

Solicitar

Shell
1curl -X GET "https://api.token360.ai/enterprise/v1/sub-accounts/{subAccountId}/model-access" \
2  -H "Authorization: Bearer $CONTROL_KEY"

Respuesta

JSON
1{
2  "code": 200,
3  "msg": "success",
4  "data": {
5    "restriction": "INHERIT",
6    "models": []
7  }
8}
¿Ha sido de ayuda?