Docs collectors
Claude Cowork
Ingest Claude Cowork telemetry over OpenTelemetry logs — Enterprise Integration and above.
On this page
Claude Cowork is a distinct product from Claude Code and Claude Desktop. Do not fold sessions into CLAUDE_CODE. Ingested sessions appear as sourceTool=CLAUDE_COWORK.
Cowork is not a log-file collector. It POSTs OTLP logs to the manager. Application traces (spans) are a different signal.
Where it is enabled
- Enterprise — Integration or Cloud Scale only (not Core/Analytics)
Endpoint
| Item | Enterprise |
|---|---|
| URL | http(s)://<manager>/api/v1/otel/v1/logs |
| Method | POST |
| Content-Type | application/json (OTLP/HTTP JSON) |
| Auth | Agent API key on the manager |
Convenience: POST /api/v1/otel/ingest treats payloads with resourceLogs or events as logs. Metrics (/api/v1/otel/v1/metrics) are accepted but not persisted yet.
Cowork admin configuration
- In Claude Cowork / Anthropic org monitoring, enable OpenTelemetry export.
- Set the OTLP HTTP endpoint to the logs URL above (or an OpenTelemetry Collector that forwards there).
- Send the agent API key as a header on the exporter.
- Confirm
service.nameiscowork(or containscowork).
If Desktop cannot reach the manager directly:
Claude Desktop (Cowork) → OTel Collector → manager /api/v1/otel/v1/logs
Event mapping (summary)
| Cowork event | Platform item |
|---|---|
First event per session.id |
TASK_START |
user_prompt |
Session/task event (prompt body only if full-prompt storage is on) |
api_request |
Token usage + model |
tool_result / tool_decision |
Edit / fail / accept / reject heuristics |
api_error |
Retry-related event |
Correlation keys: session.id, prompt.id, event.sequence.
Privacy
Default: no prompt or assistant response bodies. Cost, retries, and tool timelines do not require content capture. Enable full storage only with explicit compliance review (store-full-prompts).