API ReferenceFact Checking
Get a fact-checking job
Poll the status and (once complete) the result of a submitted fact-checking job.
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
Path Parameters
id*string
The jobId returned by submit.
Response Body
application/json
application/json
application/json
cURL
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"modality": "image",
"fileName": "string",
"fileSizeBytes": 0,
"durationSeconds": 0,
"status": "Queued",
"progress": 0,
"statusMessage": "string",
"creditsReserved": 0,
"creditsUsed": 0,
"processingTimeMs": 0,
"errorMessage": "string",
"userContext": "string",
"createdAt": "2019-08-24T14:15:22Z",
"modifiedAt": "2019-08-24T14:15:22Z",
"result": {
"modality": "image",
"hasDetailedReport": true,
"summary": "string",
"provenance": [
{
"domain": "bbc.com",
"tier": "string",
"urls": [
{
"url": "string",
"pageTitle": "string",
"firstSeenAt": "2019-08-24T14:15:22Z",
"matchType": "string",
"relevance": "string"
}
],
"isEarliestSeen": true
}
],
"claims": [
{
"claimText": "string",
"verbatimQuote": "string",
"verdict": "string",
"confidence": 0,
"speaker": "string"
}
],
"transcript": "string"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API token."
}
}{
"error": {
"code": "NOT_FOUND",
"message": "Job not found."
}
}
