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

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.