ESG
Entities

Entities Summary

Generate summary about the entity

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

Request

Parameters

  • entity_id*uuid

    Permanent ID of the entity

    Example: "753c48d6-23c8-5fb0-9230-b099898452b5"

Response

Response - 200

  • text*string

    Markdown summary of the entity.

    Will contain a list of the most relevant cases since 2020. Each key point will be linked to the corresponding dashboard url to see the full context.

    Example: "Since 2020, [company_name] has faced ongoing controversies, including **cybersecurity breaches and service outages** that ..."
Response
{
  "text": "Since 2020, [company_name] has faced ongoing controversies, including **cybersecurity breaches and service outages** that ..."
}

Error

Error - 400

Bad request

  • message*string

    Error message.

    Example: "Check the errors field for more details"
  • code*number (enum)

    Error code.

    Values: 400
  • reason*string (enum)

    Error reason.

    Values: "invalid"
  • errorsobject[]

    Possible error causes.

Response
{
  "message": "Check the errors field for more details",
  "code": 400,
  "reason": "invalid",
  "errors": [
    {
      "message": "string",
      "field": "entity_id",
      "reason": "invalid_type"
    }
  ]
}

Error - 404

Not found

  • message*string

    Error message.

    Example: "The requested entity does not exist or is not visible to your company."
  • code*number (enum)

    Error code.

    Values: 404
  • reason*string (enum)

    Error reason.

    Values: "not_found"
Response
{
  "message": "The requested entity does not exist or is not visible to your company.",
  "code": 404,
  "reason": "not_found"
}

Generic errors are not shown, see Errors for more details.