POST
/
extract-entities
curl --request POST \
  --url https://www.norns.ai/api/v0/extract-entities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>"
}'
{
  "success": true,
  "data": {
    "entities": [
      {
        "text": "<string>",
        "type": "<string>",
        "startIndex": 123,
        "endIndex": 123
      }
    ],
    "usage": 123,
    "tokenCount": 123
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
text
string
required

The text to extract entities from

Response

200
application/json
Successful entity extraction response
success
boolean
data
object