ESG
Entities
GET
https://api.textreveal.com/v3/entities/{entity_id}/esg/summary/stream
Request
Response
Using the event-stream, you can have errors in a 2xx status response. Check error example.
Error in JSON format can still be returned
event*string (enum)Values: "message", "error", "done"id*numberPosition of the message in the stream
datastringExample: "Hello "
Response
"event: message\nid: 1\ndata: {\"data\":\"Hello \"}\n\nevent: done\nid: 2\n"