DocsAPI ReferencePrediction History
Prediction History API
Query chronological, paginated history of analyses performed by your account.
GET /api/v1/predictions
Returns a unified, chronologically ordered list of all fact-checking verifications (both Fast and Deep checks) performed by the authenticated user or API key owner.
GET/api/v1/predictions?page=1&limit=20
Paginated prediction history. Max limit is 100 items per page.
Headers
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| Authorization | string | Required | Bearer <access_token> or Bearer <api_key> |
Response Example (200 OK)
json/response.json
{"data": [{"id": "550e8400-e29b-41d4-a716-446655440000","input_text": "Beredar pesan di WhatsApp bahwa pemerintah membagikan bantuan Rp 5 juta.","check_type": "deep","label": "hoaks","confidence": 0.95,"status": "completed","reasoning": "Kementerian Sosial tidak pernah menyalurkan bansos lewat tautan WhatsApp.","cited_sources": ["https://turnbackhoax.id/2026/08/bansos-wa-hoaks","https://kominfo.go.id/berita/bansos-palsu"],"created_at": "2026-08-31T10:30:00Z"},{"id": "660e8400-e29b-41d4-a716-446655440001","input_text": "Presiden meresmikan jalan tol trans-pulau sepanjang 40km.","check_type": "free","label": "FAKTA","confidence": 0.98,"status": "completed","created_at": "2026-08-31T09:15:00Z"}],"pagination": {"page": 1,"limit": 20,"total_items": 42,"total_pages": 3}}
