Search
Retrieve a search
Changed onReturns the retained search resource exactly as it was returned by POST /search: results, attempts, warnings, usage, and expires_at. No provider is called and nothing is billed. Use it to look up a search by ID for debugging, cost review, or to recover result IDs before calling the contents endpoint. Inline content fetched at search time is included; content fetched later through the contents endpoint is not merged in. Missing, expired, or inaccessible searches return 404.
get/search/{id}
Request
- Base URLhttps://api.onkernel.com
- URLhttps://api.onkernel.com/search/{id}
- AuthHTTP bearer
Path parameters
idstring required
Search resource ID returned by POST /search.
Response
The retained search.
Example response
{
"id": "srch_abc123",
"results": [
{
"id": "srchr_def456"
}
]
}Changes
- info
endpoint added
- info