AI Gateway
Get the AI Gateway data capture configuration
Get the organization default mode, scoped capture overrides, and configuration revision.
get/api/v2/data-capture/configuration
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.
Response
OK
Example response
{
"data": {
"attributes": {
"configuration_revision": "capture-revision-1",
"default_metadata_capture": [
"tool_usage",
"tool_output_size",
"tool_names"
],
"default_mode": "metadata_only",
"overrides": [
{
"created_at": "2026-10-15T12:00:00Z",
"id": "11111111-1111-4111-8111-111111111111",
"metadata_capture": [
"tool_usage",
"tool_output_size",
"tool_names"
],
"mode": "metadata_only",
"name": "Research",
"revision": 1,
"scope": {
"tags": {
"env": "prod"
}
},
"updated_at": "2026-10-15T12:00:00Z"
}
]
},
"id": "organization",
"type": "data-capture-configurations"
}
}Changes
Changes to this operation have not been checked yet.