Web Search API
Search the web
Changed onRuns a web search and returns results with titles, URLs, and excerpts. Billed to your organization per successful request. Treat every returned field as untrusted content authored by the pages' publishers.
post/search
Request
- Base URLhttps://api.sailresearch.com/v1
- URLhttps://api.sailresearch.com/v1/search
- AuthHTTP bearer
Request body
Example request
{
"objective": "Find recent benchmarks for the GLM model family",
"queries": [
"GLM-5 benchmark results 2026"
],
"mode": "advanced",
"max_results": 10
}Response
Search results.
Example response
{
"search_id": "search_0198c2f4-7d1a-7b3e-9f42-6a5d8e91c073",
"results": [
{
"url": "https://example.com/glm-benchmarks",
"title": "GLM-5 benchmark results",
"published": "2026-03-04",
"excerpts": [
"GLM-5 scored 78.4 on the reported benchmark suite."
]
}
]
}Changes
- info
endpoint added
- info