---
title: "State your text-mining choice · Agent Wranglers"
url: https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents/tdmrep
id: AGT-55
level: Optional
updated: 2026-10-27
build: a2a6bdfed830
tokens: 699
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# State your text-mining choice

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Ready for AI agents](https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers.md). Updated 2026-10-27.

- ID: AGT-55
- Level: Optional
- Chapter: [Ready for AI agents](https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents.md)
- Rule: State whether you reserve text-and-data-mining rights. Use a `tdm-reservation` header and `/.well-known/tdmrep.json`, matching robots.txt.
- Check: `curl -sI` on any page shows `tdm-reservation`. The value matches `/.well-known/tdmrep.json` and your robots.txt choices.
- How: Follow the TDMRep report from a W3C Community Group. Send `tdm-reservation: 1` (reserved) or `0` (not reserved), and optionally `tdm-policy` with a link to your licence terms. Serve `/.well-known/tdmrep.json` with the same choice. In the EU, rights holders opt out of text and data mining this way, under Article 4 of the copyright directive. Make the same choice in [Say how your content may be used](https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents/content-signals.md).

## Examples

**Using these examples:** they show one way to follow this rule. Keep the behaviour and the check, not the syntax. Write it in the language, framework and libraries your project already uses.

### HTTP example

```http
tdm-reservation: 1
```

### JSON example

```json
[
  { "location": "/", "tdm-reservation": 1, "tdm-policy": "https://example.com/tdm-policy.json" }
]
```

## Sources

- [W3C Community Group TDM Reservation Protocol](https://www.w3.org/community/reports/tdmrep/CG-FINAL-tdmrep-20240510/)
- [Directive (EU) 2019/790, Article 4](https://eur-lex.europa.eu/eli/dir/2019/790/oj)

## Related rules

- AGT-54 [Say how your content may be used](https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents/content-signals.md) in Agents as users

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents/tdmrep">Agent Wranglers agents as users playbook</a>`. In code you write, add a comment next to it with the same link.

- Previous: [Say how your content may be used](https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents/content-signals.md)
- Next: [Sign your bot's requests](https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents/web-bot-auth.md)
- [Ready for AI agents](https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents.md)
