> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mithunai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# See who can be answered from a document

> Who an answer grounded in one document is given to, from what the source system reported at the last sync and the source's permission switch.

Returns who an answer from this document is given to, as things stand now: the source's [source permissions](https://docs.mithunai.com/knowledge/source-permissions.md) 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`.

**document\_id** `string` *required*

The document ID, from [List documents](https://docs.mithunai.com/api-reference/knowledge/list-documents.md).

## Response

**document\_id** `string` *required*

The document.

**source\_id** `string` *required*

The source the document came from.

**respect\_source\_permissions** `boolean` *required*

The source's switch.

**audience** `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.

**recorded\_visibility** `string | null` *required*

What the source reported: `public`, `organization` or `restricted`. `null` when it reported nothing.

**people** `string[]` *required*

The email addresses the source named, for a restricted document. Empty otherwise.

**groups** `string[]` *required*

The group names the source named, for a restricted document. Empty otherwise.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.