Topics
Get Topic
Get a topic by ID
GET /topics/{topic_id}
Parameter | Type | DataType | Description |
---|---|---|---|
include_metrics | query | boolean | Optional flag to include topic metrics |
Request
https://premium.aiera.com/api/topics/11
Response
{
"topic_id": "11",
"topic": "COVID"
}
Code Samples
Bash
curl --request GET \
--url 'https://premium.aiera.com/api/topics/{topic_id}' \
--header 'X-API-Key: xxx'
Python
import requests
requests.get("https://premium.aiera.com/api/topics/{topic_id}", headers={"X-API-Key": "xxx"})