AI Gateway
Get an AI Gateway rate limit
Get a rate limit by ID, including its scope, per-minute request and token limits, and whether it is enabled.
get/api/v2/rate-limits/{id}
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_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Rate limit UUID.
Response
OK
Example response
{
"data": {
"attributes": {
"created_at": "2026-09-01T00:00:00Z",
"created_by": "user@example.com",
"enabled": true,
"input_tokens_per_minute": 500000,
"mode": "ALERT",
"monitor_id": 12345678,
"name": "Default rate limit",
"output_tokens_per_minute": 200000,
"requests_per_minute": 1000,
"revision": 1,
"tags": {
"provider": "openai"
},
"team_id": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
"updated_at": "2026-09-15T14:30:00Z",
"updated_by": "user@example.com",
"user_id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
},
"id": "33333333-3333-3333-3333-333333333333",
"type": "rate-limits"
}
}Changes
Changes to this operation have not been checked yet.