cURL
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 } }
Extracts named entities from text and categorizes them. Costs 1 credit per request.
API key authentication
Successful entity extraction response
The response is of type object.
object