Inference Providers

Create gateway model group

Changed on

Creates and returns a model group using supported catalog model IDs from this provider; creating a group alone grants no access. Requires the Manage Gateway providers permission and enabled Gateway management; session callers must recently reauthenticate.

post/v1/inference-providers/{inferenceProviderId}/model-groups

Request

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

namestring required
descriptionstring nullable
modelIdsstring[] required
status'active' | 'disabled'

Response

Create gateway model group

Changes

    • breaking

      the response property / became nullable for the status

    • 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

      response property modelGroup/description list-of-types was narrowed by removing types null from media type application/json of response 201

    • info

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