AI Gateway Model Providers

Create an AI Gateway Model Provider

Pre-release Endpoint This endpoint is currently in beta and is subject to change.

Registers a new model provider for the AI Gateway.

post/v1/ai-gateways/{gatewayId}/model-providers

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "display_name": "Azure AI SE",
  "name": "my-entity-name",
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  }
}

Response

Model provider created successfully.

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z",
  "display_name": "Azure AI SE",
  "name": "my-entity-name",
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  }
}

Changes

Changed in 2 of the 30 revisions of this API.14

    • removed from the request body oneOf list

      request-body-one-of-removed

    • removed vertex mapping keys from the request discriminator

      request-body-discriminator-mapping-deleted

    • removed vertex mapping keys from the response discriminator for the response status

      response-body-discriminator-mapping-deleted

    • removed from the response body oneOf list for the response status

      response-body-one-of-removed

    This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog