API ReferenceFact Checking

Submit media for fact-checking

Submit an image, audio, or video for fact-checking against the public record. Returns a `jobId`; poll `GET /api/app/fact-checking/jobs/{id}` until `status` is `Completed`. Max 50 MB per file.

POST
/api/app/fact-checking/submit

Authorization

BearerAuth
AuthorizationBearer <token>

Send your secret API token as a bearer token in the Authorization header: Authorization: Bearer <token>. Keep it server-side and never expose it in client code.

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

cURL
curl -X POST "https://example.com/api/app/fact-checking/submit" \  -F file="string" \  -F modality="image"
{
  "jobId": "7c6d5e4f-aaaa-bbbb-cccc-ddddeeeeffff",
  "status": "Queued",
  "creditsReserved": 24
}
File too large
{
  "error": {
    "code": "IMAGE_FORENSICS:FILE_TOO_LARGE",
    "message": "File photo.jpg exceeds the maximum size of 50 MB."
  }
}
Unsupported format
{
  "error": {
    "code": "IMAGE_FORENSICS:UNSUPPORTED_FORMAT",
    "message": "Unsupported file format. Allowed — jpg, jpeg, png, webp, heic, heif, tiff."
  }
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API token."
  }
}