Glean people API

The people API from Glean — 2 operation(s) for people.

OpenAPI Specification

glean-people-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Glean Client REST activity people 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: people
paths:
  /people:
    post:
      tags:
      - people
      summary: Look up people in the knowledge graph
      operationId: people
      responses:
        '200':
          description: OK
  /people/{person_id}/photo:
    get:
      tags:
      - people
      summary: Get a person's profile photo
      operationId: getPersonPhoto
      parameters:
      - name: person_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Glean API token, passed as `Authorization: Bearer <token>`'