> ## Documentation Index
> Fetch the complete documentation index at: https://platform.atlan.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> To act on Atlan objects, use the Atlan MCP server at https://api.atlan.com/mcp or the SDK. To install or publish skills from a terminal, use the `aireg` CLI; `aireg --map json` prints its command map. The `atlanai` CLI is deprecated. Run a read-only identity check before any write.
> The docs MCP server at /mcp searches these docs only. It cannot read or change Atlan objects.
> SDK packages: Python `atlanai` (PyPI) and TypeScript `@atlanai/sdk` (npm). Show Python first, then TypeScript.
> These docs cover Atlan Trident, Atlan's hosted product. AI Registry and Agent Registry are its earlier names. Registry OSS is Atlan's open-source agent registry: the registry specification and its aireg CLI, with their own public repository, docs and release notes; /open-source on this site links them. Registry OSS is open source; Atlan Trident is not. Answer generic aireg or specification questions from the project's docs, and use these docs for Atlan-specific setup such as the Atlan adapter, sign-in and workspaces.
> Atlan offers a second product, the Agentic Data Catalog: Atlan's enterprise context layer, covering the data catalog, connectors, lineage, data governance and glossary. It is documented at https://docs.atlan.com; answer questions about it from those docs, not these.

# Record Claude Cowork sessions

> Send Claude Cowork's OpenTelemetry export to Atlan Trident with an agent's API key, so each Cowork session appears as a trace with its turns, model calls, cost, tool calls, and skills.

Claude Cowork can export what happens in each session over OpenTelemetry. Point that export at Atlan Trident with an agent's API key, and every Cowork session becomes a trace under that agent. Use this guide when your organization uses Cowork on a Claude Team or Enterprise plan and you want its sessions next to your other agent runs.

This route uses Cowork's own monitoring export, configured once for the whole Claude organization. It is separate from the [Atlan plugin](https://platform.atlan.com/plugins/references/claude-code.md), which adds skills and tools to Cowork.

## What you get

Each Cowork session becomes one trace:

| In the trace | Comes from |
| - | - |
| **Session** | One trace per Cowork session |
| **Turns** | One turn per prompt, holding the work that answered it |
| **Model calls** | Each request to Claude, with its model, input, output, and cache tokens, duration, and cost |
| **Tool calls** | Each tool Cowork ran, including tools from MCP servers and connectors, with its duration and whether it succeeded |
| **Skills** | The skills a prompt used |
| **Content** | Prompt text, Claude's responses, and tool inputs, only when content capture is on. See [Turn on content capture](#turn-on-content-capture). |

Every Cowork session in your Claude organization is recorded under the one agent whose key you use, in that agent's workspace. Anyone who can open the agent can read them.

## Before you begin

Before you start, make sure you have:

* **Claude organization admin**: Cowork's export is set by an admin of your Claude organization, in Claude's organization settings. It applies to every Cowork session in the organization. Monitoring needs a Claude Team or Enterprise plan and Claude Desktop 1.1.4173 or later; see Anthropic's [Cowork monitoring](https://claude.com/docs/cowork/monitoring) page for current requirements.
* **Workspace write permission**: Permission to add agents to the workspace that should hold Cowork's traces. See [Create agent in Atlan Trident](https://platform.atlan.com/registry/agents/how-tos/create-agent.md).
* **Privacy decision**: Decide what Atlan Trident stores before anything is sent. See [Manage trace privacy](https://platform.atlan.com/admin/security/how-tos/manage-trace-privacy.md).
* **Device management**: Only if you want prompt, response, and tool input text. Content capture is set on each computer through your device management tool.

**1. Create Cowork agent**

Create an agent to own Cowork's traces, as described in [Create agent in Atlan Trident](https://platform.atlan.com/registry/agents/how-tos/create-agent.md). Select **New**, then **Agent**, and fill in:

| Field | Value |
| - | - |
| **Name** | A handle such as `claude-cowork` |
| **Display name** | `Claude Cowork` |
| **Workspace** | The workspace whose members should see Cowork sessions |

Leave the fields on the second step blank, then select **Create agent**.

**2. Copy agent API key**

Atlan Trident shows the agent's **API key** once. Copy it into your secret store now. The key expires after 90 days: rotate it with **Rotate API key** under **Settings** > **Identity** on the agent's profile, and update Cowork with the new key. See [How agent identity works](https://platform.atlan.com/registry/agents/concepts/identity.md).

The agent's key can write only to the agent's own workspace, which is where its traces land. You don't need to grant it anything else.

**3. Configure Cowork export**

As a Claude organization admin, open **Organization settings** > **Data and privacy** in Claude. Under **Monitoring**, open **Cowork and Cowork in the cloud** and fill in the fields:

| Field | Value | Notes |
| - | - | - |
| **OTLP endpoint** | `https://api.atlan.com/otel` | Enter the address without `/v1/logs`. Cowork adds that path itself. |
| **OTLP protocol** | `http/protobuf` | `http/json` also works. |
| **OTLP headers** | `Authorization=Bearer <your-agent-api-key>` | The key from the previous step. No workspace header is needed: an agent's key sends into the agent's workspace. |
| **Resource attributes** | Leave empty | Atlan Trident doesn't need any. |

Save the settings. Cowork reads them when a session starts, so sessions already running keep the old settings.

Anthropic's help center has also shown this setting under **Organization settings** > **Cowork**. If your settings look different, follow Anthropic's [Cowork monitoring](https://claude.com/docs/cowork/monitoring) page.

**4. Verify first session**

Start a new Cowork session and send one short prompt that uses a tool. Then, in Atlan Trident, find the run in either place:

* **Agent profile**: Open the **Claude Cowork** agent, select **Usage**, and find the run in **Recent runs**.
* **Traces**: Select **Traces** in the **Activity** group, choose **Agents**, and filter by **Agent**. See [Investigate sessions and runs](https://platform.atlan.com/registry/traces/how-tos/investigate-sessions-and-runs).

Cowork sends events while the session runs. A run appears once Atlan Trident has processed the batch, so allow a short delay before you troubleshoot. Open the run and check its model calls and tool calls. Without content capture, the run has no prompt text, responses, or title.

## Turn on content capture

By default, current versions of Claude Desktop send metadata only: no prompt text, no responses, and no tool inputs. Some older versions send content when nothing is set. Content capture is controlled on each computer by the managed configuration key `otlpContentCapture`, not in Claude's organization settings.

| With content capture | What Atlan Trident receives |
| - | - |
| **Off** (key not set, or `[]`) | Session, turns, model calls with tokens and cost, tool calls with durations and outcome, and skills. No prompt text, no responses, no tool arguments, and no session title. |
| **On** | The same, plus the text of each category you list |

`otlpContentCapture` is a list of categories. Set all five:

| Category | Adds |
| - | - |
| `userPrompts` | Prompt text, and Claude's responses too |
| `assistantResponses` | Claude's response text |
| `toolDetails` | The arguments each tool was called with |
| `toolContent` | The output each tool returned |
| `rawApiBodies` | The request and response body of each model call |

To turn on every category, deploy this value:

```json theme={null}
["userPrompts","assistantResponses","toolDetails","toolContent","rawApiBodies"]
```

Deploy it with your device management tool to the managed configuration location Claude Desktop reads:

| Platform | Where | How to write the value |
| - | - | - |
| macOS | A configuration profile for the preference domain `com.anthropic.claudefordesktop` | The JSON list as a single string |
| Windows | `HKLM\SOFTWARE\Policies\Claude`, value name `otlpContentCapture` | `REG_SZ` holding the JSON list as a string. Keep every Claude policy value under `HKLM`: when machine policy exists, Claude Desktop ignores `HKCU`. |
| Linux | `/etc/claude-desktop/managed-settings.json`, key `otlpContentCapture` | A JSON array. The file must be owned by root and not writable by other users. |

The key needs Claude Desktop 1.15962.0 or later and takes effect after Claude Desktop is fully quit and reopened. To make sure a computer sends metadata only, set the key to `[]`; an empty string counts as not set. Anthropic's [content capture](https://claude.com/docs/cowork/monitoring#content-capture) and [managed configuration](https://claude.com/docs/third-party/claude-desktop/configuration-format) pages have the current rules.

Keep in mind:

* The key applies to Cowork sessions on each person's computer. Anthropic notes that scheduled cloud tasks and web and mobile sessions carry metadata only.
* Cowork always sends each person's email address (`user.email`) and the paths of folders connected to a task, whatever the key says.
* Your organization's [trace privacy](https://platform.atlan.com/admin/security/how-tos/manage-trace-privacy.md) setting still applies. If **Store session content** is off, Atlan Trident discards the text when it arrives and keeps the rest.

## Troubleshooting

Claude Desktop doesn't show an error when the export fails: it drops the events. Check from the Atlan Trident side.

| Symptom | Cause | Fix |
| - | - | - |
| Nothing arrives | The endpoint includes a path such as `/v1/logs` or `/otel/v1`, so Cowork adds a second one | Set **OTLP endpoint** to `https://api.atlan.com/otel` exactly |
| Nothing arrives | The header is malformed, such as a missing `Bearer` or a line break | Write `Authorization=Bearer <your-agent-api-key>` on one line |
| Nothing arrives | The agent's key was rotated, expired, or revoked, or the agent was archived | Rotate the key from **Settings** > **Identity** on the agent's profile and update Cowork. An archived agent's key can't be renewed: create a new agent. |
| Nothing arrives for one session | It was already running when you saved the settings | Start a new Cowork session |
| Runs have no prompt, response, or title | Content capture is off on that computer, or **Store session content** is off | [Turn on content capture](#turn-on-content-capture), then restart Claude Desktop. Check the organization's trace privacy setting. |
| Runs appear under a person, not the agent | Cowork was set up with a personal API key | Replace it with the agent's key. Runs already sent stay where they landed. See [Traces appear under person instead of agent](https://platform.atlan.com/registry/traces/troubleshooting.md#traces-appear-under-person-instead-of-agent). |

For other ingest errors, see [Trace errors](https://platform.atlan.com/registry/traces/troubleshooting.md).

## Next steps

* [Investigate sessions and runs](https://platform.atlan.com/registry/traces/how-tos/investigate-sessions-and-runs): find Cowork runs in **Traces** and open them.

## See also

* [How agent identity works](https://platform.atlan.com/registry/agents/concepts/identity.md): what the agent's key can reach, and how to rotate or revoke it.
* [Send and inspect traces](https://platform.atlan.com/registry/traces/index): every way traces reach Atlan Trident.
* [Supported AI tools](https://platform.atlan.com/clients/references/supported-tools.md): what works in Cowork and other tools.
* [Cowork monitoring](https://claude.com/docs/cowork/monitoring): Anthropic's reference for the export and its events.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.