Search
Changed onSearch your organization's connected content and return ranked document results with cursor pagination. Use GET /api/search/filters to discover datasource identifiers and common filter fields. Built-in filter names are validated; other field names are accepted as custom filters and behavior depends on your Glean configuration and connected sources. Errors: HTTP 422 unprocessable_query returns no results or next_cursor. See warnings on the response for non-blocking issues such as partially available results. Not every query issue produces a warning or error.
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/api/search
- Auth: HTTP bearer
Request body
Example request
{
"query": "quarterly planning 2026"
}Response
Successful response.
Example response
{
"results": [
{
"url": "https://company.atlassian.net/wiki/spaces/ENG/pages/12345",
"title": "Q2 2026 Platform Roadmap",
"snippets": [
"The platform team will focus on API stability and..."
],
"datasource": "confluence",
"document_type": "page"
}
],
"warnings": [
{
"code": "results_incomplete"
}
]
}Changes
- breaking
the request property
became not nullable
- breaking
- warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to theresponse property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
spend_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to theresponse property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status - warning
added the new
token_limit_exceededenum value to the//response property for the response status
- warning