Inference Providers

Add models to inference gateway provider group

Changed on

Add upstream catalog model IDs to one explicitly selected existing model group without removing other models or changing access grants. Empty provider modelIds policy stays unrestricted; nonempty policy widens. Repeated calls are idempotent. Requires the Manage Gateway providers permission and Gateway management; session callers must recently reauthenticate.

post/v1/inference-providers/{inferenceProviderId}/enable-models

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

inferenceProviderId, string typeid required

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

Request body

object required
modelGroupId, string typeid required

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

modelIds, string[] required

Response

Add models to inference gateway provider group

object required
inferenceProviderId, string typeid required

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

modelGroupId, string typeid required

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

modelIds, string[] required
groupModelIds, string[] required
addedModelIds, string[] required

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 anyOf[#/components/schemas/InvalidRequestError]/message to the response with the status