Learn how to interpret the searchState.status field in verification responses.
The searchState.status field indicates the verification result:
Exact match found in the document. The citation is verified.
{
"searchState": {
"status": "found"
}
}
Some of the citation text was found, but not an exact match. This often occurs when:
{
"searchState": {
"status": "partial_text_found"
}
}
The short value/anchorText was found, but the full phrase was not. This indicates the key information exists but the surrounding context differs.
{
"searchState": {
"status": "found_anchor_text_only"
}
}
Citation found, but on a different page than specified. The content exists but the page reference was incorrect.
{
"searchState": {
"status": "found_on_other_page",
"expectedPage": 1,
"actualPage": 3
}
}
Citation found on the correct page, but on a different line than expected.
{
"searchState": {
"status": "found_on_other_line",
"expectedLineIds": [5, 6],
"actualLineIds": [12, 13]
}
}
Only the first word of the phrase was found. This may indicate a partial match or incorrect citation.
Citation could not be verified - text not found in document. This may indicate:
{
"searchState": {
"status": "not_found"
}
}
Verification is still in progress. Wait and retry.
{
"searchState": {
"status": "pending"
}
}
When a citation is found, the verificationImageBase64 field contains a cropped image of the source document showing the matched text. This provides visual proof for users.
The image is base64-encoded and includes the data URI prefix:
data:image/avif;base64,AAAAIGZ0eXBhdmlm...
| Format | Description |
|---|---|
avif |
Default, smallest file size |
jpeg |
Wide compatibility |
png |
Lossless, larger files |
Specify the format in the verification request with outputImageFormat.
When displaying citations, group statuses by user impact:
| Group | Statuses | UI Treatment |
|---|---|---|
| Verified | found |
Green checkmark, blue text |
| Partial | partial_text_found, found_anchor_text_only, found_on_other_page, found_on_other_line, first_word_found |
Orange indicator, blue text |
| Not Found | not_found |
Gray text, strikethrough optional |
| Loading | pending |
Spinner or skeleton |