An API for checking the context of inputs and managing those contextChecks
An API for checking the context of inputs and managing those contextChecks
This API endpoint evaluates the context of a claim, determining its accuracy, relevance, and trustworthiness. It leverages advanced AI to analyze the claim in relation to publicly available data, sources, and narratives to identify potential misinformation or disinformation.
You can try these out in your browser with the OpenAPI Spec. Be sure to hit "Authorize 🔓" and enter your credentials first.
curl -i -X POST \
https://docs.blackbird.ai/_mock/context/contextChecks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'cache-control: no-cache' \
-d '{
"input": "Are US troops fighting in Ukraine?"
}'
ContextCheck accepted for processing
The datetime the contextCheck was created
The datetime the contextCheck was last updated. Will just be the created date or completed date
The contextCheck to generate context for
{ "id": "8115", "created_at": "2024-10-10T15:20:33.307Z", "updated_at": "2024-10-10T15:20:33.307Z", "input": "Who is older, Biden or Trump?", "status": "processing" }
curl -i -X GET \
'https://docs.blackbird.ai/_mock/context/contextChecks?end=2019-08-24T14%3A15%3A22Z&limit=25&sort=asc&start=2019-08-24T14%3A15%3A22Z' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
ContextChecks found
The datetime the contextCheck was created
The datetime the contextCheck was last updated. Will just be the created date or completed date
The contextCheck to generate context for
{ "data": [ { … } ] }
curl -i -X GET \
'https://docs.blackbird.ai/_mock/context/contextChecks/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
ContextCheck found
The datetime the contextCheck was created
The datetime the contextCheck was last updated. Will just be the created date or completed date
The contextCheck to generate context for
{ "id": "8115", "created_at": "2024-10-10T15:20:33.307Z", "updated_at": "2024-10-10T15:20:33.307Z", "input": "Who is older, Biden or Trump?", "status": "processing" }