-
Notifications
You must be signed in to change notification settings - Fork 0
Current API usage (Feb 1, 2025)
-
POST to https://api.veri-fact.ai/v1/claims/Take the data from the input and start a claim. Everything starts here. Using the response from this: -
GET to https://api.veri-fact.ai/v1/analysis/claim/${claimData.id}/streamStream the analysis data. Then, whendata.type === 'analysis_complete -
GET to https://api.veri-fact.ai/v1/analysis/${analysis_id}Get the final analysis, store it withsetFinalAnalysis, then -
GET to https://api.veri-fact.ai/v1/sources/analysis/${analysis_id}Grab sources using analysis id returned in last call -
POST to https://api.veri-fact.ai/v1/feedback/Again using analysis id for the post request if the user has feedback.
Useful for dev purposes:
GET to https://api.veri-fact.ai/v1/analysis/claim/${claimData.id}
Analysis but simple get instead of streaming
GET to https://api.veri-fact.ai/v1/health
Check that the API is responsive
GET to https://api.veri-fact.ai/v1/users/me
Check that the API is responsive and the authentication is working as expected