Skip to main content
POST
The primary endpoint for normalizing claims and engaging with the CheckThat AI system. This endpoint processes user queries to extract, normalize, and fact-check claims from provided text.
This endpoint requires authentication via API key. Include your API key in the request body or Authorization header.

Primary Use Cases

  • Claim extraction: Identify claims within user-provided text
  • Claim normalization: Standardize and structure extracted claims
  • Fact-checking analysis: Evaluate the veracity of claims
  • Interactive conversations: Maintain context across multiple interactions

Request Parameters

string
required
The text or query you want to analyze for claims. This is the main input that will be processed for claim extraction and normalization.
string
required
The AI model to use for processing. Common values include gpt-4, gpt-3.5-turbo, or other supported models.
string
Your API key for authentication. Can be provided here or in the Authorization header.
string
Optional identifier to maintain conversation context across multiple requests.
array
Array of previous messages to maintain context. Each message should contain role, content, and optionally timestamp.
integer
default:"4000"
Maximum number of tokens to include from conversation history. Helps manage context window limits.

Example Requests

Response Format

The endpoint returns a structured response with the analysis results:
Missing Required Fields (422)
Authentication Error (401)
For better context retention, include conversation_id and relevant conversation_history in follow-up requests within the same fact-checking session.

Body

application/json
user_query
string
required
model
string
required
conversation_id
string | null
conversation_history
ChatMessage · object[] | null
api_key
string | null
max_history_tokens
integer | null
default:4000

Response

Successful Response