Skip to main content
Claude Cowork can export organization-wide OpenTelemetry logs directly to Runlayer. Use this setup when you want Cowork sessions to appear in Runlayer Sessions without installing a local hook or daemon on each user’s machine. Runlayer accepts Cowork logs at:
For manual local payload tests, use the local app URL:
Do not use localhost in Claude Cowork monitoring settings. Cowork exports from Anthropic’s VM, so localhost points at the Cowork environment, not your developer machine. To test with a real Cowork session against a local Runlayer stack, expose your local app through a reachable HTTPS tunnel and use that tunnel URL as the OTLP endpoint.

Requirements

  • Claude Team or Enterprise with Cowork monitoring access
  • Claude desktop app version 1.1.4173 or later
  • A Runlayer organization API key with the OTLP Telemetry permission
  • Full session scanning enabled for Claude Cowork in Runlayer

Create the Runlayer API key

1

Open Organization API keys

In Runlayer, go to Settings → Organization API keys.
2

Create a scoped key

Click Create Organization API Key, give it a name such as Claude Cowork OTLP, and select OTLP Telemetry. It must be the key’s only permission; Runlayer clears any other selection when you pick it.
3

Copy the key

Copy the generated rl_org_... value. Cowork uses this key in the OTLP header, and Runlayer rejects user API keys or org keys without the OTLP Telemetry permission.
Cowork settings already configured with an existing Shadow AI Scan organization key (hand-created or from a configuration in Settings → MDM configuration) keep working; no re-keying is required. Use OTLP Telemetry for new setups so the key cannot use the AI Watch scan and hook endpoints.
The key is organization-wide and user-agnostic by design: Cowork exports from its VM on behalf of every user, and Runlayer attributes sessions to users from the telemetry itself. Organization API keys do not expire, and this one can only write OTLP data, so the blast radius of a leak is limited to injecting telemetry. Rotate it if you suspect exposure.

Rotate the key

1

Create the replacement

In Settings → Organization API keys, create a new key with only the OTLP Telemetry permission and copy the rl_org_... value.
2

Update Cowork

In Claude admin settings, replace the OTLP headers value with Authorization=Bearer <new key>.
3

Revoke the old key

Back in Organization API keys, revoke the previous key. Exports still using it start receiving 401 responses immediately.

Enable Cowork in Runlayer

1

Open Full session scanning

In Runlayer, go to Settings → Agent session monitoring.
2

Enable the API

Turn on Full session scanning APIs.
3

Enable Claude Cowork

Under Hook clients, turn on Claude Cowork, then save the settings.

Configure Claude Cowork

In Claude admin settings, open Cowork monitoring settings and set: If your organization restricts Cowork network egress, allowlist your Runlayer tenant hostname, such as <your-tenant>.runlayer.com. Cowork exports telemetry from its VM, so blocked egress prevents events from reaching Runlayer. After saving the Cowork monitoring settings, start a new Cowork session. Cowork loads monitoring settings when a session starts, so already-running sessions do not pick up the new OTLP destination.

Content capture

Claude Desktop decides on each device whether Cowork events carry content. By default, current versions send metadata only: tool names, timings, token counts, API errors, and whether each tool call succeeded. Prompt text, tool inputs, and the error text of failed tools arrive as the literal <REDACTED>, and Runlayer marks the session Redacted by source. Runlayer’s own redaction looks different: it shows ***REDACTED***. To send content, set Claude Desktop’s otlpContentCapture managed key on each device to ["userPrompts","toolDetails"]. Runlayer then receives user prompts, tool inputs such as shell commands, file paths, and URLs, and the error text of failed tools. Claude Desktop also sends model responses whenever it captures user prompts, but Runlayer doesn’t record them yet, so they don’t appear in Sessions. To keep a device metadata-only on every Claude Desktop version, set the key to [] instead. Before you deploy the key, note what it doesn’t control:
  • Every event carries workspace.host_paths, the folders the user connected to the task, and, on first-party deployments, user.email. The key doesn’t control either one, so both reach Runlayer even when it’s [], and Runlayer stores them with the session.
  • With capture on, Runlayer doesn’t scrub credentials from captured prompts or tool inputs, so a secret typed into a prompt or passed in a command or tool argument is stored with the session.
See Security and privacy in Anthropic’s documentation for the full list of what each content category covers. The key is a device policy. On devices running AI Watch, Runlayer sets it for you (see below). Elsewhere, deploy it with your device management tool. It applies to Cowork sessions that run in Claude Desktop on the device. Fully quit and reopen Claude Desktop after the key changes, then start a new Cowork session. Sessions that already ran stay redacted, because their content never reached Runlayer.
Save this profile as com.runlayer.claude-desktop-monitoring.mobileconfig and deploy it with your MDM. The same file ships in the AI Watch macOS bundle (aiwatch-<version>-macos-arm64.zip). It sets only this key, and it has no tenant values to fill in:
Claude Desktop reads managed arrays as a string, so the value stays a <string> that contains the JSON array.
If you already deploy a Claude Desktop configuration profile or registry policy, add otlpContentCapture to it rather than deploying a second one.A managed source that sets this key manages the device’s whole Claude Desktop configuration. On a device that runs Claude Desktop on a third-party inference provider from a locally applied configuration, such as the Runlayer configuration that AI Watch LLM routing adds, Claude Desktop then ignores that local configuration. Set the key in a full managed configuration on those devices instead.
Anthropic documents the key and its categories in Cowork monitoring.

AI Watch sets the key for you

When Claude Cowork is on under Hook clients, AI Watch writes otlpContentCapture with the value above on macOS and Windows devices. It checks again every 15 minutes. It never writes over your own Claude Desktop policy; instead the device reports its status on the Devices tab: Claude Desktop may ask users to restart after the key changes.

Shared devices

The key is machine-wide, so it applies to every user on the device. AI Watch checks every user’s Claude Desktop configuration, not only the person signed in, so the outcome doesn’t change when someone else signs in. When another user’s configuration keeps the device from getting the key, the device status says so without naming them. On Windows, a user’s own Claude Desktop policy under HKCU can be read only while they’re signed in. So while any user with a profile on the device is signed out, AI Watch keeps a key it already wrote and writes nothing new. If that leaves a shared device Drifted, set the key in your own HKLM policy for it. To stop AI Watch from writing the key, turn off Claude Cowork content capture in the AI Watch settings for the deployment. Turning it off, or turning off Claude Cowork under Hook clients, removes the key AI Watch wrote. Uninstalling AI Watch removes it too.

Verify in Runlayer

  1. Start a new Cowork session and submit a prompt.
  2. Open Sessions in Runlayer.
  3. Filter by client Claude Cowork.
You should see Cowork tool decisions, tool results, API requests, and API errors in the session timeline. Prompts and tool inputs appear only from devices with content capture set. Runlayer closes Cowork sessions automatically after they stop sending activity.

Troubleshooting

  • Confirm Full session scanning APIs is on.
  • Confirm Claude Cowork is enabled under Hook clients.
  • Confirm the Cowork OTLP endpoint includes /api/v1/hooks/cowork/otlp/v1/logs.
  • Confirm the OTLP header uses an organization API key with OTLP Telemetry.
  • Start a new Cowork session after changing monitoring settings.
  • If Cowork egress allowlisting is enabled, allowlist your Runlayer tenant hostname.
Use an organization API key whose only permission is OTLP Telemetry (or any existing Shadow AI Scan organization key, hand-created or from an MDM configuration). Personal user API keys, org keys without either role, and OTLP Telemetry keys that carry other permissions are rejected for Cowork OTLP ingestion.
Claude Desktop removed the content before it reached Runlayer. Set the otlpContentCapture key on the device, as in Content capture, then:
  • Fully quit and reopen Claude Desktop, then start a new Cowork session.
  • If the device already has a Claude Desktop profile or registry policy, confirm the key is in that policy. On Windows, confirm it is in the hive Claude Desktop reads: HKLM whenever any machine policy exists.
  • Expect earlier sessions to stay redacted. Runlayer cannot recover content that Claude Desktop never sent.
Claude Desktop marks withheld content only by sending the literal <REDACTED> in its place. A prompt or tool argument that is exactly that text also shows Redacted by source, even with capture on.If messages show ***REDACTED*** instead, Runlayer withheld the content from you. Check your session content access in Runlayer.
Use http/protobuf for normal deployments. Use http/json when you need to inspect payloads while testing. Runlayer accepts both protocols on the same endpoint.