Inference Providers
Create gateway access grant
Changed onLinks a model group and credential set from this provider to an organization, team or member audience and returns the grant. An identical existing grant returns access_grant_exists. Requires the Manage Gateway providers permission and enabled Gateway management; session callers must recently reauthenticate.
post/v1/inference-providers/{inferenceProviderId}/access-grants
Request
- Base URLhttps://api.openworklabs.com
- URLhttps://api.openworklabs.com/v1/inference-providers/{inferenceProviderId}/access-grants
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
inferenceProviderIdstring typeid required
Den TypeID with 'ipr_' prefix and a 26-character base32 suffix.
Request body
Response
Create gateway access grant
Changes
- info
response property
anyOf[InvalidRequestError]/details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400
- info
- info
added the optional property
////to the response with the status
- info