ESG
Universes
Universes ESG Cases Statistics
Get number of cases per entity in the given range.
GET
https://api.textreveal.com/v3/universes/{universe_id}/esg/cases/stats
Request
Parameters
universe_id*uuidUnique identifier of the universe
sizeintegerNumber of records per page
Default: 10Range: [1, 1000]search_afterstringsearch_afterfield value from the previous pagedatedate (operator)Filters cases whose
Example: "between:2022-01-01;2022-01-02"last_activityis after the minimum bound and whosestart_dateis before the maximum bound.categorystring (enum)Filter by category.
Values: "E", "S", "G"sub_category(string (enum))[]Filter by one or many sub_categories.
Values: "Animal Welfare", "Atmospheric Pollution", "Biodiversity And Ecosystems", "Climate Change", "Energy & Natural Resources Management", "Environmental Misreporting", "Food Waste", "Industrial Accidents & Physical Risk", "Land And Soil Pollution", "Other Pollutions", "Waste Management", "Water Consumption", "Water Pollution", "Child Labor", "Community Health And Safety", "Customer Relations", "Diversity & Inclusion (Beyond The Workplace)", "Forced Labor", "Freedom Of Association And Collective Bargaining", "Fundamental Human Rights", "Occupational Health & Safety", "Rights Of Indigenous Communities", "Right To Property", "Social Misreporting", "Violation Of Human Rights In Conflict Or High Risk Zones", "Working Conditions", "Workplace Diversity & Inclusion", "Accounting And Securities Fraud", "Anti-Competitive Practices", "Board Of Directors & Senior Management", "Corruption And Bribery", "Csr Misreporting", "Data Privacy & Cyber Security", "Embezzlement", "Executive Pay", "Fraud", "Legal And Investigative Exposure", "Marketing & Communication", "Money Laundering", "Price Fixing", "Supply Chain", "Tax Strategy", "Terrorism Financing"
Response
Number of cases per entity in the given range.
data*object[]Properties of the cases.
size*integerNumber of records per page requested.
Example: 1has_next*booleanTrue if there are more records available.
Example: truecount*integerNumber of records returned in the current page.
Example: 1search_after*string | nullCursor for next page.
Response
{
"data": [
{
"entity_id": "f337e172-528e-4808-b46e-be1ad6db7fbb",
"count": 27,
"max_score": 1,
"score": {
"1": 10,
"2": 4,
"3": 7,
"4": 0,
"5": 6
}
}
],
"size": 1,
"has_next": true,
"count": 1,
"search_after": "string"
}