Topics

Get topics

Fetch topics for a given request ID


GET /topics/{topic_request_id}

Response

{
    "doc_id": 12345,
	"topics": [
		{
			"topic": "Cash Flow",
			"position": 1
		},
		{
			"topic": "Cash Connect",
			"position": 2
		}
	],
	"created": "2023-01-28T15:38:54",
	"modified": "2023-01-28T15:39:44"
}

Code Samples

Bash

curl --request GET \
  --url 'https://premium.aiera.com/api/nlu-v1/topics/{topic_request_id}' \
  --header 'X-API-Key: xxx'

Python

import requests
requests.request(
    "GET", 
    "https://premium.aiera.com/api/nlu-v1/topics/{topic_request_id}", 
    headers={"X-API-Key": "xxx"}
)
Previous
Create Topics