---
title: "Ingest Shroud activity event (internal)"
method: POST
path: "/v1/shroud/activity"
tags: ["Shroud"]
---

# Ingest Shroud activity event (internal)

`POST /v1/shroud/activity`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/shroud/activity`
- Auth: HTTP bearer

Called by the Shroud proxy to record activity events. Not intended for external use.

## Request body

- IngestShroudActivityRequest
  - `agent_id` string, required
  - `provider` string
  - `model` string
  - `action` string, required
  - `request_tokens` integer
  - `response_tokens` integer
  - `latency_ms` integer
  - `had_secrets_redacted` boolean
  - `had_pii_detected` boolean
  - `injection_score` number
  - `policy_violations` string[]
  - `metadata` object
  - `response_injection_score` number
  - `response_context_injection_score` number
  - `response_injection_categories` string[]
  - `external_urls_flagged` string[]
  - `unexpected_code_blocks` integer
  - `content_filtered` boolean

## Response `201`

Event recorded

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/ae109b496830?raw)
