> For the complete documentation index, see [llms.txt](https://docs.teleskope.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.teleskope.ai/the-platform/api-service/redaction-api.md).

# Redaction API

Redact sensitive data elements from text strings and files.

***

## Authentication

All requests require an API key in the `x-api-key` header:

```
x-api-key: <your-api-key>
```

***

## Base URL

```
https://api.scanner.<deployment>.teleskope.ai
```

Replace `<deployment>` with the deployment name for your environment. Your Technical Account Manager can provide this.

***

## Endpoints

* [v1/scrub](/the-platform/api-service/redaction-api/v1-scrub.md) — redact a text string.
* [v1/scrub-file](/the-platform/api-service/redaction-api/v1-scrub-file.md) — redact an uploaded file.
