---
title: "AI crawler rules for a publisher"
method: GET
path: "/ai-defense-policy"
tags: ["Rights signals"]
---

# AI crawler rules for a publisher

`GET /ai-defense-policy`

## Request

- Base URL: `https://api.opedd.com`
- URL: `https://api.opedd.com/ai-defense-policy`
- Auth: none required

Rules that tell AI crawlers to license a publisher's articles instead of scraping them. `format=robots` (default) returns a `robots.txt` block; `format=ai_txt` returns an `ai.txt` file. Any other `format` value returns a JSON summary (crawlers named, article counts, links to both files). Pass `publisher_id`. Public.

## Query parameters

- `publisher_id` string, uuid, required
- `format` 'robots' | 'ai_txt'

## Response `200`

Crawler policy file

---

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