Skip to content
by Unity Nodes
Partner docsapi reference › admin › list the models an organization holds grants for admin only

NEAR AI Cloud: List the models an organization holds grants for (Admin only)

Updated 13-11-2026

GET /v1/admin/organizations/{org_id}/model-access List the models an organization holds grants for (Admin only) Deprecated: this endpoint is moving to cloud-platform at the same path; the cloud-platform base URL will be announced. Behaviour may differ in edge cases.

Each entry carries the model's isListed and isActive: a grant restricts nothing while its model is listed and counts for nothing while its model is inactive.

Admin permissions: admin session, read_write token, or read_only token. Approved read across organizations; does not mutate business state.

Parameters:

  • org_id (path, string, required): The organization's ID (as a UUID).

Responses: 200: The organization's grants

  • models (array of object, required): Ordered by model name.
    • grantedAt (string, date-time, required)
    • grantedByUserEmail (string)
    • grantedByUserId (string, uuid): The admin who made the grant.
    • id (string, uuid, required): The model's id.
    • isActive (boolean, required): The grant counts only while the model is active.
    • isListed (boolean, required): true: every organization may use the model, so this grant has no effect until the model is unlisted.
    • modelName (string, required): The model's canonical name.
  • organizationId (string, uuid, required) 400: Invalid organization ID 401: Unauthorized 403: Forbidden: not an admin Missing admin privileges (forbidden) or insufficient token permission (insufficient_permissions). 404: Organization not found 500: Internal server error