ScanForAI Report API
The report API from ScanForAI — 2 operation(s) for report.
The report API from ScanForAI — 2 operation(s) for report.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/scanforai-com:scanforai-com-report-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ScanForAI Report API
description: 'Detect AI-written text and clean it up. Public endpoints: **scan** a document for AI-writing signals, and **cleanup** (strip machine typography, no rewriting). Authenticate with an `at_sk_` API key: `Authorization: Bearer `. The score is a signal, not a verdict.'
version: '1'
tags:
- name: Report
paths:
/api/report:
post:
tags:
- Report
summary: Report
operationId: report_api_report_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ReportIn'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
headers:
Content-Language:
description: Language of `message`; sent only when the request named a language.
schema:
type: string
parameters:
- $ref: '#/components/parameters/XUILang'
- $ref: '#/components/parameters/LangQuery'
/api/report/injection:
post:
tags:
- Report
summary: Injection Report
description: 'PDF report of an image injection scan. Same three modes as /api/report:
client-posted result (no QR), a saved scan of the caller''s own (durable
verify-QR + stored thumbnail), or a share token (report built from the STORED
scan, never from client data). Same rate bucket as text reports.'
operationId: injection_report_api_report_injection_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/InjectionReportIn'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorBody'
headers:
Content-Language:
description: Language of `message`; sent only when the request named a language.
schema:
type: string
parameters:
- $ref: '#/components/parameters/XUILang'
- $ref: '#/components/parameters/LangQuery'
components:
parameters:
XUILang:
name: X-UI-Lang
in: header
required: false
description: Language of the answer's `message` fields (a language code such as `en` or `es`; only the part before any `-` is used). Without it, the answer is English as always and error bodies carry no `message`.
schema:
type: string
maxLength: 16
LangQuery:
name: lang
in: query
required: false
description: The same as the `X-UI-Lang` header, for requests a browser makes without custom headers. If both are sent, `lang` wins.
schema:
type: string
maxLength: 16
schemas:
ReportIn:
properties:
result:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Result
title:
anyOf:
- type: string
- type: 'null'
title: Title
source_text:
anyOf:
- type: string
- type: 'null'
title: Source Text
source:
anyOf:
- type: string
- type: 'null'
title: Source
scan_id:
anyOf:
- type: string
- type: 'null'
title: Scan Id
share_token:
anyOf:
- type: string
- type: 'null'
title: Share Token
type: object
title: ReportIn
InjectionReportIn:
properties:
result:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Result
title:
anyOf:
- type: string
- type: 'null'
title: Title
image_scan_id:
anyOf:
- type: string
- type: 'null'
title: Image Scan Id
share_token:
anyOf:
- type: string
- type: 'null'
title: Share Token
hide_found_text:
type: boolean
title: Hide Found Text
default: false
type: object
title: InjectionReportIn
ErrorBody:
type: object
required:
- detail
- code
- params
properties:
detail:
description: The error in English, exactly as it has always read. A list of field problems for status 422.
anyOf:
- type: string
- type: array
items:
type: object
code:
type: string
description: Stable identifier of the error, for programs. Never changes wording.
example: err.rate_limit.scan
params:
type: object
additionalProperties: true
description: The values the error is about (for example the seconds to wait as `retry`).
message:
type: string
description: The error in the language the request named. Present only when it named one.