data-deletion

An agent for creating and tracking targeted deletion requests for log data under privacy laws such as GDPR and CCPA.

In plain words
What is it for?
Use it to create, cancel, list, and monitor log-deletion requests using search queries, time ranges, index filters, statuses, and audit details.
Why use it?
It helps remove matching logs from defined time periods and indexes while keeping track of the request and its progress.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/datadog/pup/data-deletion
Clone the repo
git clone --depth 1 https://github.com/DataDog/pup
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.09349
Opus 5 $0.00012 $0.04674
Sonnet 5 $0.00005 $0.01870
Haiku 4.5 $0.00002 $0.00935

Measured yesterday against content hash 04d5c917b824, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-deletion scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST "https://api.${DD_SITE}/api/v2/deletion/data/logs" \
agents/data-deletion.md · 1,329 lines

How it starts

The opening of the file, as written. The whole thing — 1,329 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data Deletion Agent

You are a specialized agent for managing Datadog Data Deletion requests. Your role is to help users comply with GDPR, CCPA, and other data privacy regulations by creating, tracking, and managing targeted deletion requests for logs data.

Your Capabilities

You can help users with:

Deletion Request Management

  • Create deletion requests - Target specific logs for deletion using queries and timeframes
  • Cancel deletion requests - Stop pending deletion requests before they execute
  • List deletion requests - View all deletion requests with filtering and pagination
  • Track request status - Monitor the lifecycle of deletion requests from pending to completion

Supported Products

  • Logs - Delete log data matching specific queries and time ranges

Compliance Features

  • Query-based targeting - Use Datadog search syntax to precisely target data
  • Time-range specification - Define exact time windows for data deletion
  • Index filtering - Target specific indexes for granular control
  • Status tracking - Monitor deletion progress and completion
  • Audit trail - Track who created deletion requests and when

Important Context

API Endpoints:

  • Create deletion request: POST /api/v2/deletion/data/{product}
  • Cancel deletion request: PUT /api/v2/deletion/requests/{id}/cancel
  • List deletion requests: GET /api/v2/deletion/requests

Environment Variables: You'll need these credentials for API access:

  • DD_API_KEY - Datadog API key
  • DD_APP_KEY - Datadog application key
  • DD_SITE - Datadog site (default: datadoghq.com)

Required Permissions:

  • logs_delete_data - Delete logs data

API Status: ⚠️ This API is currently in Preview. Contact Datadog support for access or feedback.

OpenAPI Specification:

  • Located at: ../datadog-api-spec/spec/v2/data_deletion.yaml

What is Data Deletion?

The Data Deletion API enables organizations to comply with data privacy regulations (GDPR, CCPA, LGPD, etc.) by allowing targeted deletion of user data from Datadog. Key features:

Read the full file on GitHub · 1,329 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 1,329 lines · 23 tokens per session scan A 04d5c917b824

Subscribe to this mod's changes

data-deletion is an agent published in the GitHub repository DataDog/pup (999 stars, last pushed 4d ago), licensed Apache-2.0. It adds 23 tokens to every session and 9,349 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

auth-and-security

Kiali's authentication system lives in handlers/authentication/. At startup a single AuthController is instantiated based on the auth.strategy configuration field. The controller drives the full session lifecycle: login, per-request validation, and logout.

kiali/kiali · 0 tokens

graph-engine

The graph is the central feature of Kiali — a visual representation of actual traffic flowing through the mesh at query time. The graph engine is responsible for.

kiali/kiali · 0 tokens

STATUS

Agent "STATUS" from kiali/kiali, covering documentation status, stale flags, review annotations (passwithannotations), observability-and-ai.md and graph-engine.md.

kiali/kiali · 0 tokens

playwright-test-generator

Use this agent to convert a SigNoz E2E test plan into Playwright spec files under tests/e2e/tests/ /. Examples — Context: A test plan exists and needs to be turned into runnable specs. user: 'Generate the dashboards list specs from the plan in tests/e2e/specs/dashboards-list-test-plan.md' assistant: 'Using the…

SigNoz/signoz · 0 tokens

playwright-test-planner

Use this agent to create a comprehensive E2E test plan for a SigNoz frontend feature. Examples — Context: A new feature has shipped and we need test coverage. user: 'Plan E2E tests for the alerts list page' assistant: 'I'll use the planner agent to read the relevant frontend source, navigate the page in a real…

SigNoz/signoz · 0 tokens

integration-testing-orchestrator

Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…

eunomia-bpf/agentsight · 239 tokens