Skip to main content
GET
cURL
Requires read:memory for documents or read:operational-rules for rules. For a document, Entendre reads the organization file first, then the firm file, then the default. layer shows which one was returned. If no file exists, the response is HTTP 200 with missing: true. With kind=rule, send rule_id instead of path. An unknown rule ID returns HTTP 404.
cURL

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Query Parameters

kind
enum<string>
default:document

document (the default) for a memory document, or rule for an operational rule.

Available options:
document,
rule
path
string

Document only, and required for documents. Relative file path, such as knowledge/vendors.md.

Minimum string length: 1
cursor
string

Document only. The next_cursor value from the previous page.

Maximum string length: 256
domain
enum<string>

Rule only. Limits the lookup to one rule domain.

Available options:
classification,
cash_application
rule_id
string

Rule only, and required for rules. Get it from List memory with kind=rule.

Required string length: 1 - 128

Response

The resolved document.

success
boolean
required

true when the request succeeded.

documents
object[]
required

Documents in the directory.

truncated
boolean
required

Some documents were left out because the response was too large. Truncation does not show that a document is absent or that another page follows.

next_cursor
string | null
required

Pass as cursor with the same filters to continue. Null when the listing is complete.