v1

latestOpenAPI 3.1.02026-07-26363186558.0 KB
DTM Docs

Retrieve an indexed document by its type and ID

get/docs/{type}/{id}

Path parameters

type'document_analysis' | 'domain_discovery' | 'email_analysis' | 'forum_post' | 'paste' | 'shop_listing' | 'tweet' | 'web_content_publish' required

The document type to fetch

idstring required

The document ID to fetch

Query parameters

refsboolean

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

truncateinteger

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

sanitizestring

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

x-apikeystring required

Your API key

Acceptstring required

The accept type for the response

Response

OK

labels_urlstring uri required

The URL to the labels for this document.

topics_urlstring uri required

The URL to the topics for this document.