Inference Providers

Update gateway access grant

Changed on

Partially updates one grant's model group, credential set or audience, preserving omitted fields. Both resources must belong to this provider and a team or member must belong to this organization. Requires the Manage Gateway providers permission and enabled Gateway management; session callers must recently reauthenticate.

patch/v1/inference-providers/{inferenceProviderId}/access-grants/{grantId}

Request

  • Base URL
    https://api.openworklabs.com
  • URL
    https://api.openworklabs.com/v1/inference-providers/{inferenceProviderId}/access-grants/{grantId}
  • 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.

grantIdstring typeid required

Den TypeID with 'ipa_' prefix and a 26-character base32 suffix.

Request body

modelGroupIdstring typeid

Den TypeID with 'gmg_' prefix and a 26-character base32 suffix.

credentialSetIdstring typeid

Den TypeID with 'gcs_' prefix and a 26-character base32 suffix.

Response

Update gateway access grant

Changes

    • info

      response property anyOf[InvalidRequestError]/details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    • info

      added the optional property //// to the response with the status