Get one stored web search by document id

View as Markdown

Fetch-by-id, NOT a search: rebuilds one historical web-search result from a stored source-document version (the resolved request and normalized items) identified by documentId. To run a search, use the search web operation. Requires the edit_cache permission.

Authentication

AuthorizationBearer

User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key

OR
X-API-Keystring

Admin API key for system-to-system write operations

Path parameters

documentIdstringRequiredformat: "uuid"
Source document id

Response

OK
documentobject

Source-document ledger row backing this result

resultlist of objects
Normalized result items in provider rank order
searchobject
Web search request represented by this result

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error