---
title: "Scan text you already have (a tool result, document or message) for prompt-injection attempts."
method: POST
path: "/v1/scan"
---

# Scan text you already have (a tool result, document or message) for prompt-injection attempts.

`POST /v1/scan`

## Request

- Base URL: `https://fetchgate.dev`
- URL: `https://fetchgate.dev/v1/scan`
- Auth: none declared

## Request body

- object
  - `text` string, required

## Response `200`

Scan result.

- object

## Other responses

- `400`: Empty or malformed body.
- `402`: Free tier exhausted; payment required.

---

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