v1

latestOpenAPI 3.1.02026-07-26363186558.0 KB
DTM Docs

Fetch the topics for an existing document

get/docs/{type}/{id}/topics

Path parameters

typestring required

The type of document for which the topics will be searched.

idstring required

The ID of the document to fetch the topics for.

Headers

x-apikeystring required

Your API key

Response

OK

Example response

{
  "topics": [
    {
      "confidence": 100,
      "entity_locations": [
        {
          "element_path": "body"
        }
      ],
      "extractor": "analysis-pipeline.preprocessor",
      "id": "c46bbad1-b542-4d66-9ddb-db84ed16b41f",
      "type": "domain",
      "value": "mydomain.com",
      "version": "1.0.0"
    }
  ]
}