AI Gateway

Create an AI Gateway model group

Create an AI Gateway model group from a name and any combination of model catalog entries and routing rules, with optional fast-mode and reasoning limits and initial access bindings.

post/api/v2/model-groups

Request

Request body

Example request

{
  "data": {
    "attributes": {
      "allow_fast_mode": true,
      "bindings": [
        {
          "principals": [
            "user:55555555-5555-5555-5555-555555555555"
          ],
          "relation": "runner"
        }
      ],
      "max_reasoning_level": "high",
      "model_ids": [
        101
      ],
      "name": "Coding models",
      "routing_rule_slugs": [
        "coding-route"
      ]
    },
    "type": "model-groups"
  }
}

Response

Created

Changes

Changes to this operation have not been checked yet.