Skip to main content
GET
See who can be answered from a document
Returns who an answer from this document is given to, as things stand now: the source’s source permissions switch, and what the source system reported about the document’s readers at its last sync. Requires a role that can manage knowledge: Owner, Administrator, Editor or Knowledge operator. The response can name the people a document is shared with. A document that does not exist, belongs to another organization or has a malformed ID returns 404.
string
required
The document ID, from List documents.

Response

string
required
The document.
string
required
The source the document came from.
boolean
required
The source’s switch.
string
required
Who is answered from the document now:
  • everyone_with_access_to_the_assistant: the switch is off.
  • everyone: the document is public in the source, so the website widget and API keys are answered from it too.
  • members: anyone signed in to your organization.
  • named_people_and_groups: only the people and groups below, and knowledge administrators.
  • administrators_only: the source reported nothing about the document’s readers.
An unknown list of readers is never treated as an open one.
string | null
required
What the source reported: public, organization or restricted. null when it reported nothing.
string[]
required
The email addresses the source named, for a restricted document. Empty otherwise.
string[]
required
The group names the source named, for a restricted document. Empty otherwise.
Last modified on November 12, 2026