ESG
Entities

Entities Summary

Generate summary about the entity

GET
https://api.textreveal.com/v3/entities/{entity_id}/esg/summary/stream

Request

The response will not be in JSON format.
Response will contain the Content-Type: text/event-stream header.

Parameters

  • entity_id*uuid

    Unique identifier of the entity

Response

Response - 200

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*number

    Position of the message in the stream

  • datastring
    Example: "Hello "
Response
"event: message\nid: 1\ndata: {\"data\":\"Hello \"}\n\nevent: done\nid: 2\n"