Retrieve an indexed document by its type and ID

A read-only endpoint that fetches an indexed document (optionally) along with its topics and labels.

Path Params
string
enum
required

The document type to fetch

string
required

The document ID to fetch

Query Params
boolean

If false, then the document's topics and labels are not returned in the response body.

integer

Truncates document fields to the given length using unicode ellipsis (\x2026) to indicate truncation

string

If true, any HTML content in the alert is sanitized to ensure it does not potentially contain malicious tags. If not used, be careful when rendering/using the alert/doc content. This param can also be specified as a json path in the alert document to sanitize and may be repeated in this case.

Headers
string
required

Your API key

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json