List the facts assistants are checked against, and whether they agree
/v1/results/accounts/presence/accuracy/tableLists the facts your account has recorded about a brand, each with how far assistants' latest answers agree with it. Send platforms to judge every fact by those assistants alone.
Facts are sorted with the most disputed first. search matches the fact.
For every check over some dates rather than the latest, see Get fact checks.
curl "https://api.eu.silktide.com/v1/results/accounts/presence/accuracy/table?workspaceId=1&brand=4&rowsPerPage=2" \
-H "Authorization: silktide token=$SILKTIDE_API_KEY"{
"result": {
"page": 1,
"minPage": 1,
"maxPage": 5,
"numRows": 9,
"rowsPerPage": 2,
"rows": [
{
"factId": 2,
"promptId": 88,
"text": "Fake Wine Barrel delivers within five working days.",
"question": "How long does Fake Wine Barrel take to deliver?",
"expectedAnswer": "Five working days or fewer.",
"status": "active",
"updated": 1793610000,
"agreement": 12.5,
"consensus": "disagree",
"platformCount": 8,
"lastCheckedAt": 1793610000,
"latestGrade": "disagree"
},
{
"factId": 9,
"promptId": 95,
"text": "Fake Wine Barrel was founded in 1987.",
"question": "When was Fake Wine Barrel founded?",
"expectedAnswer": "1987.",
"status": "active",
"updated": 1793610000,
"agreement": null,
"consensus": "",
"platformCount": null,
"lastCheckedAt": 0,
"latestGrade": ""
}
]
},
"selector": "/v1/results/accounts/presence/accuracy/table",
"duration": 0.07
}Request
Query parameters
workspaceIdintegerrequiredat least 1Where the account's markets live. Get the workspace answers with it.
brandintegerrequiredat least 1The brand whose facts to list, by id. Left out, or a brand that is not in the account or in a market the API key's user can see, and there are no rows.
platformsstringOnly these assistants, by id, comma-separated, such as
chatgpt,gemini. Left out, all of them. An unknown id matches nothing.columnsstringThe columns to return, comma-separated, such as
url,pageViews. Left out, the table's default columns. Send a string even in a JSON body: an array is ignored.sortstringThe column to sort by, then
:afor ascending or:dfor descending, such aspageViews:d. Left out, the table's own order.searchstringOnly rows matching this text. What it searches depends on the table, most often the URL or title.
pageintegerat least 1The page of rows to return, from
1. Defaults to1.rowsPerPageintegerat least 1How many rows a page holds. Defaults to
100.criteriastringFilters on the table's columns, as
column:value, joined with;.statustakescurrent(active and paused, the default),active,paused,deletedorall.verdicttakesagree,mixedordisagree.
Response
200JSON.
resultobjectrequiredThe answer.
Show 6 fieldsHide fields
pageintegerrequiredat least 1The page returned. Not always the page asked for, when that was out of range.
minPageintegerrequiredat least 1The first page. Always
1.maxPageintegerrequiredThe last page at this
rowsPerPage. With no rows,0or1depending on the table.numRowsintegerrequiredHow many rows there are across every page.
rowsPerPageintegerrequiredat least 1How many rows a page holds.
rowslist of objectsrequiredThe rows on this page.
Show 12 fieldsHide fields
factIdintegerrequiredat least 1The fact.
promptIdintegerrequiredThe prompt that checks it.
textstringrequiredThe fact, as your account states it.
questionstringWhat assistants are asked, to check it.
expectedAnswerstringWhat a right answer says.
statusstringactive(being checked),pausedordeleted.One of
activepauseddeletedupdatedintegerWhen the fact was last changed.
agreementnumberrequiredcan be null0 to 100How far assistants' latest answers agree with the fact, as a percentage to one decimal place. Null before it is checked.
consensusstringrequiredWhat they say between them. Empty before it is checked.
One of
agreemixeddisagreeplatformCountintegercan be nullHow many assistants that counts. Null before it is checked.
lastCheckedAtintegerrequiredWhen it was last checked.
0before it is.latestGradestringrequiredThe latest answer's grade, as
gradein Get fact checks. Empty before it is checked.
selectorstringrequiredThe query that answered, as its path:
/v1/results/scores.durationnumberrequiredSeconds Silktide took to answer.
Errors
| Status | Type | When |
|---|---|---|
| 200 | EditionNotAvailable | The account does not have Silktide 5. Its status is 403. The body is an error despite the status. |
| 200 | Runtime | No workspaceId was sent. Its status is 500, and its message does not say why. The body is an error despite the status. |
| 200 | AccessDenied | No such workspace or market exists in the account, or the API key's user cannot see it. Its status is 403. The body is an error despite the status. |
| 401 | NotLoggedIn | No API key was sent, or it is not a key for this region.(any operation) |
| 429 | TooManyRequests | Too many requests to this path in five seconds. Retry after the number of seconds in the Retry-After header, which properties.retryAfter repeats.(any operation) |
| 503 | - | Silktide is busy. Retry after the number of seconds in the Retry-After header.(any operation) |
Every error has the same body. See Errors.
Access
- Permission
- Can see this market
- Plan feature
- None
- Edition
- Silktide 5 only
- Cost
- Free
- Available since
- v1.2.0
Try it
Sends a real request to your account from this browser. Your key stays in this tab and goes only to the Silktide API.