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
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopesai_gateway_config_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.