Replace an installed model's org grant: auth modes, efforts and project scope (org admin).
Replace an installed model's org grant: auth modes, efforts and project scope (org admin). - Rensei REST API operation reference.
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
orgId*stringOrganization id (must match the authenticated org).
entryId*stringModel library entry id.
1 <= length <= 200application/json- body
permittedAuthModes*array<>Auth modes the org permits; each must be offered by a live serving, and metered needs the org entitlement.
1 <= items <= 4permittedEfforts*array<>|Effort levels the org permits; null means all, including future tiers. Each must be offered by a live serving.
1 <= items <= 5projectScope*stringAll projects (including future ones), or only the included ones.
"all""selected"includedProjectIds?array<>Exactly the included projects, written with the grant. Only with selected scope; required when switching from all.
items <= 200The stored grant and the entry revision.
application/json- response
grant*curl -X PUT 'https://app.rensei.ai/api/org/string/model-library/entries/string/grant' \ -H 'Content-Type: application/json' \ -d '{ "permittedAuthModes": [ "byok" ], "permittedEfforts": [ "low" ], "projectScope": "all"}'{ "grant": { "permittedAuthModes": [ "byok" ], "permittedEfforts": [ "string" ], "projectScope": "all", "revision": -9007199254740991 }}The org's installed models with their grants, servings and project access (org member).
The org's installed models with their grants, servings and project access (org member). - Rensei REST API operation reference.
Store one project's narrowing of an installed model (org admin).
Store one project's narrowing of an installed model (org admin). - Rensei REST API operation reference.