---
title: "Get Agent Otel Settings"
method: GET
path: "/settings/agent-otel"
tags: ["settings"]
---

# Get Agent Otel Settings

`GET /settings/agent-otel`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/settings/agent-otel`
- Auth: API key in cookie `fastapiusersauth`

## Response `200`

Successful Response

- AgentOtelSettingsRead
  - `agent_otel_config` AgentOtelConfig: Organization-scoped Claude Code OTel configuration. See https://code.claude.com/docs/en/monitoring-usage for the env vars these fields map onto.
    - `enabled` boolean: Whether Claude Code telemetry is enabled for agent runs.
    - `endpoint` string, uri, nullable: OTLP collector endpoint for all signals.
    - `metrics_enabled` boolean: Whether metrics are exported.
    - `logs_enabled` boolean: Whether logs and events are exported.
    - `traces_enabled` boolean: Whether traces are exported. Enables Claude Code beta tracing.
    - `metrics_temporality` 'delta' | 'cumulative', nullable: Metrics aggregation temporality.
    - `metric_export_interval_ms` integer, nullable: Metrics export interval in milliseconds.
    - `logs_export_interval_ms` integer, nullable: Logs export interval in milliseconds.
    - `metrics_include_session_id` boolean, nullable: Whether metrics include the Claude Code session identifier.
    - `metrics_include_version` boolean, nullable: Whether metrics include the Claude Code version.
    - `metrics_include_account_uuid` boolean, nullable: Whether metrics include the authenticated account identifier.
    - `log_user_prompts` boolean, nullable: Whether telemetry includes user prompt content.
    - `log_tool_details` boolean, nullable: Whether telemetry includes tool parameters and input arguments.
    - `log_tool_content` boolean, nullable: Whether telemetry includes tool input and output content.
    - `resource_attributes` object: Resource attributes attached to exported telemetry.

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
