<b>An API for checking the context of inputs and managing those contextChecks</b>
<b>An API for checking the context of inputs and managing those contextChecks</b>
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.
https://docs.blackbird.ai/_mock/context/
https://api.blackbird.ai/compass/
The input to generate context for
The version of the model to use to generate the context. Defaults to "1.0"
Any metadata tags to apply to the context check. Not used by Compass, but can be useful for associating caller metadata.
https://docs.blackbird.ai/_mock/context/contextChecks
https://api.blackbird.ai/compass/contextChecks
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" }
https://docs.blackbird.ai/_mock/context/contextChecks
https://api.blackbird.ai/compass/contextChecks
curl -i -X GET \
'https://docs.blackbird.ai/_mock/context/contextChecks?end=2019-08-24T14%3A15%3A22Z&filter=string&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": [ { … } ] }
https://docs.blackbird.ai/_mock/context/contextChecks/{id}
https://api.blackbird.ai/compass/contextChecks/{id}
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" }