Entities
ESG

Entities ESG Events

Get events for one entity

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

Request

Parameters

  • entity_id*uuid

    Unique identifier of the entity

  • sizeinteger

    Number of records per page

    Default: 10Range: [1, 1000]
  • search_afteruuid

    The last ID on the page you're currently on when you want to fetch the next page.

  • scoreinteger (operator)

    Intensity score

    You can input an integer or use the following operators: lt (<), lte (≤), gt (>), gte (≥), neq (≠), in, nin (not in), between

    Range: [1, 5]
  • start_datedate (operator)

    Start date

    You can input a date or use the following operators: lt (<), lte (≤), gt (>), gte (≥), neq (≠), between

    Example: "between:2022-01-01;2022-01-02"
  • last_activitydate (operator)

    Last activity date

    You can input a date or use the following operators: lt (<), lte (≤), gt (>), gte (≥), neq (≠), between

    Example: "between:2022-01-01;2022-01-02"
  • case_iduuid[]

    Unique case identifier to retrieve the associated events

    You can specify multiple values

Response

Response - 200

Properties of the events

  • data*object[]

    Properties of the events.

  • size*integer

    Number of records per page requested.

    Example: 1
  • has_next*boolean

    True if there are more records available.

    Example: true
  • count*integer

    Number of records returned in the current page.

    Example: 1
  • search_after*string | null

    Cursor for next page.

Response
{
  "data": [
    {
      "id": "e7c2464e-0dc8-441a-970b-0d23eeabe3d1",
      "case_id": "5eb7182b-9b55-4f7a-b3e1-49062ee7cef9",
      "categories": [
        "E"
      ],
      "entity_id": "00000000-0000-0000-0000-000000000000",
      "dashboard_url": "https://dashboards.textreveal.com/event/e7c2464e-0dc8-441a-970b-0d23eeabe3d1",
      "last_activity": "2025-04-09T14:15:54.000Z",
      "score": 2,
      "start_date": "2025-04-09T14:15:54.000Z",
      "sub_categories": [
        "string"
      ],
      "summary": "string",
      "title": "string"
    }
  ],
  "size": 1,
  "has_next": true,
  "count": 1,
  "search_after": "string"
}