Glean search API

The search API from Glean — 5 operation(s) for search.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/glean-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

glean-search-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Glean Client REST activity search API
  version: 0.9.0
  description: 'Subset of Glean''s Client REST API. Glean exposes search, chat, agents,

    answers, announcements, collections, documents, people, summarize,

    insights, recommendations, tools, governance, and verification endpoints

    against the customer''s Glean instance.


    Derived from the public OpenAPI definition published at

    https://gleanwork.github.io/open-api/specs/final/client_rest.yaml

    '
  contact:
    name: Glean Developers
    url: https://developers.glean.com/
servers:
- url: https://{instance}-be.glean.com/rest/api/v1
  description: Glean customer instance
  variables:
    instance:
      default: customer
      description: Glean instance subdomain
security:
- bearerAuth: []
tags:
- name: search
paths:
  /search:
    post:
      tags:
      - search
      summary: Run a unified, permission-aware search across connected sources
      operationId: search
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Search results
        '401':
          description: Not authorized
        '422':
          description: Invalid query
        '429':
          description: Too many requests
  /adminsearch:
    post:
      tags:
      - search
      summary: Search across all content (admin scope, bypasses user ACLs)
      operationId: adminSearch
      responses:
        '200':
          description: OK
  /autocomplete:
    post:
      tags:
      - search
      summary: Get query autocompletion suggestions
      operationId: autocomplete
      responses:
        '200':
          description: OK
  /recommendations:
    post:
      tags:
      - search
      summary: Get personalized content recommendations for the user
      operationId: recommendations
      responses:
        '200':
          description: OK
  /feed:
    post:
      tags:
      - search
      summary: Get the user's personalized activity feed
      operationId: feed
      responses:
        '200':
          description: OK
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Glean API token, passed as `Authorization: Bearer <token>`'