Entities

Get entities

Fetch entities for a given request ID


GET /entities/{entity_request_id}

Response

{
	"doc_id": 12345,
	"model": "classic",
	"entities": {
        "kpi": [
            "Sales estimates",
            "interest rates"
        ],
        "company": [
            "Amazon"
        ],
        "product": [
            "AWS"
        ],
        "question": [
            "What is your thoughts on the FCF estimates for Q3?"
        ]
    },
	"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/entities/{entity_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 Entities