AI Gateway Models

Update an AI Gateway Model

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

Updates the configuration of an existing AI Gateway model.

put/v1/ai-gateways/{gatewayId}/models/{modelIdOrName}

Request body

OR

Example request

{
  "display_name": "My GPT 5 model",
  "name": "my-entity-name",
  "enabled": true,
  "access": {
    "identity_providers": [
      "okta-ai-se"
    ],
    "auth_strategies": [
      "okta-ai-se"
    ]
  },
  "formats": [
    {
      "type": "openai"
    }
  ],
  "targets": [
    {
      "name": "gpt-5-model",
      "weight": 100,
      "provider": "azure-ai-se"
    }
  ],
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "config": {
    "route": {
      "headers": {
        "version": [
          "v1",
          "v2"
        ]
      },
      "hosts": [
        "foo.example.com"
      ],
      "model": {
        "body_param": "model",
        "header_param": "x-model",
        "path_param": "model_name"
      }
    },
    "balancer": {
      "embeddings": {
        "provider": "azure-ai-se"
      }
    }
  }
}

Response

Model updated successfully.

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": "My GPT 5 model",
  "name": "my-entity-name",
  "enabled": true,
  "access": {
    "identity_providers": [
      "okta-ai-se"
    ],
    "auth_strategies": [
      "okta-ai-se"
    ]
  },
  "formats": [
    {
      "type": "openai"
    }
  ],
  "targets": [
    {
      "name": "gpt-5-model",
      "weight": 100,
      "provider": "azure-ai-se"
    }
  ],
  "labels": {
    "category": "finance"
  },
  "managed_by": {
    "owner": "terraform"
  },
  "config": {
    "route": {
      "headers": {
        "version": [
          "v1",
          "v2"
        ]
      },
      "hosts": [
        "foo.example.com"
      ],
      "model": {
        "body_param": "model",
        "header_param": "x-model",
        "path_param": "model_name"
      }
    },
    "balancer": {
      "embeddings": {
        "provider": "azure-ai-se"
      }
    }
  }
}

Changes

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

  • cef0f947e9c9625226See the full diff
    • removed the enum value vertex of the request property //////

      request-property-enum-value-removed

    • removed the enum value vertex of the request property //////

      request-property-enum-value-removed

    • removed from the ////// request property oneOf list

      request-property-one-of-removed

    • removed from the ////// request property oneOf list

      request-property-one-of-removed

    • removed from the /////////// request property oneOf list

      request-property-one-of-removed

    • removed from the /////////// request property oneOf list

      request-property-one-of-removed

    • the /////////////// request property's max was set to 65535.00

      request-property-max-set

    • the //////////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the ///// request property's max was set to 2147483646.00

      request-property-max-set

    • the ////// request property's max was set to 599.00

      request-property-max-set

    • the ////// request property's max was set to 2147483647.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////////// request property's max was set to 65535.00

      request-property-max-set

    • the //////////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the ///// request property's max was set to 2147483646.00

      request-property-max-set

    • the ////// request property's max was set to 599.00

      request-property-max-set

    • the ////// request property's max was set to 2147483647.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////// request property's max was set to 2147483646.00

      request-property-max-set

    • the /////////////// request property's min was set to 0.00

      request-property-min-set

    • the //////////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////////// request property's min was set to 0.00

      request-property-min-set

    • the ///// request property's min was set to 0.00

      request-property-min-set

    • the ////// request property's min was set to 100.00

      request-property-min-set

    • the ////// request property's min was set to -2147483648.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////////// request property's min was set to 0.00

      request-property-min-set

    • the //////////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////////// request property's min was set to 0.00

      request-property-min-set

    • the ///// request property's min was set to 0.00

      request-property-min-set

    • the ////// request property's min was set to 100.00

      request-property-min-set

    • the ////// request property's min was set to -2147483648.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • the /////////// request property's min was set to 0.00

      request-property-min-set

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • request property ///// deprecated

      request-property-deprecated

    • request property ////// deprecated

      request-property-deprecated

    • request property ///// deprecated

      request-property-deprecated

    • request property ////// deprecated

      request-property-deprecated

    • removed vertex discriminator mapping keys from the /////////// request property

      request-property-discriminator-mapping-deleted

    • removed vertex discriminator mapping keys from the ////// request property

      request-property-discriminator-mapping-deleted

    • removed vertex discriminator mapping keys from the /////////// request property

      request-property-discriminator-mapping-deleted

    • removed vertex discriminator mapping keys from the ////// request property

      request-property-discriminator-mapping-deleted

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

      response-optional-property-added

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

      response-optional-property-added

    • response property oneOf[AIGatewayModelAPI]/access/identity_providers deprecated

      response-property-deprecated

    • response property oneOf[AIGatewayModelAPI]/access/identity_providers/items/ deprecated

      response-property-deprecated

    • response property oneOf[AIGatewayModelModel]/access/identity_providers deprecated

      response-property-deprecated

    • response property oneOf[AIGatewayModelModel]/access/identity_providers/items/ deprecated

      response-property-deprecated

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

      response-property-discriminator-mapping-deleted

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

      response-property-discriminator-mapping-deleted

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

      response-property-discriminator-mapping-deleted

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

      response-property-discriminator-mapping-deleted

    • removed the vertex enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • removed the vertex enum value from the ////// response property for the response status

      response-property-enum-value-removed

    • removed from the ////// response property oneOf list for the response status

      response-property-one-of-removed

    • removed from the ////// response property oneOf list for the response status

      response-property-one-of-removed

    • removed from the /////////// response property oneOf list for the response status

      response-property-one-of-removed

    • removed from the /////////// response property oneOf list for the response status

      response-property-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