Universes ESG Events UNGC Statistics
For each universe, this endpoint aggregates all events belonging to its entities and returns the distribution of events by UNGC classification.
Request
Parameters
universe_id*uuidUnique identifier of the universe.
Example: "75ebc096-749e-4b8f-b690-df13daf49c62"sizeintegerNumber of records per page
Default: 10Range: [1, 10000]search_afterstringsearch_afterfield value from the previous pagedatedate (operator)Filters events whose
Example: "between:2022-01-01;2022-01-02"last_activityis after the minimum bound and whosestart_dateis before the maximum bound.category(string (enum))[]Filter by category.
Values: "E", "S", "G"sub_category(string (enum))[]Filter by a sub category.
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 ...contentstring[]Search for keywords inside the
titleandsummary.Note: symbols are ignored in the query, if you use
hello@world, the query will behello world, accentuated letters are preserved.Example:
wordwill matchWORD,wordsand any conjugated forms such aswording.However, it will not match
keyword. To match both terms, you must add each one separately.Example:
hard drivewill return result mentioninghard drivesbut alsohard disk drives, but will not mention document that matchdriveonly. To match those you'll have to search them separately.orderfield:direction[]Order to apply to the result.
Possible fields are:
ungc_classification.violator,ungc_classification.watchlist,count.Possible directions are:
ascanddesc.You can specify multiples values.
Default: [ungc_classification.violator:desc, ungc_classification.watchlist:desc, count:desc]Array length: [1, 3]Example: "ungc_classification.violator:desc"
Response
data*object[]Properties of the events.
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.
{
"data": [
{
"entity_id": "00000000-0000-0000-0000-000000000000",
"count": 11,
"max_ungc_classification": "violator",
"ungc_classification": {
"low risk": 10,
"watchlist": 4,
"violator": 7
},
"ungc_principle": {
"Principle 1: Businesses should support and respect the protection of internationally proclaimed human rights.": 2,
"Principle 2: Businesses should make sure that they are not complicit in human rights abuses.": 0,
"Principle 3: Businesses should uphold the freedom of association and the effective recognition of the right to collective bargaining.": 0,
"Principle 4: Businesses should uphold the elimination of all forms of forced and compulsory labour.": 0,
"Principle 5: Businesses should uphold the effective abolition of child labour.": 0,
"Principle 6: Businesses should uphold the elimination of discrimination in respect of employment and occupation.": 0,
"Principle 7: Businesses should support a precautionary approach to environmental challenges.": 0,
"Principle 8: Businesses should undertake initiatives to promote greater environmental responsibility.": 0,
"Principle 9: Businesses should encourage the development and diffusion of environmentally friendly technologies.": 0,
"Principle 10: Businesses should work against corruption in all its forms, including extortion and bribery.": 0
}
}
],
"size": 1,
"has_next": true,
"count": 1,
"search_after": "string"
}Error
Bad request
message*stringError message.
Example: "Check the errors field for more details"code*numberError code.
Example: 400reason*stringError reason.
Example: "invalid"errorsobject[]Possible error causes.
{
"message": "Check the errors field for more details",
"code": 400,
"reason": "invalid",
"errors": [
{
"message": "string",
"field": "size",
"reason": "invalid_type"
}
]
}Unauthorized
message*stringError message.
Example: "Authorization header is expected"code*numberError code.
Example: 401reason*stringError reason.
Example: "unauthorized"errors*object[]Array length: [1, 1]
{
"message": "Authorization header is expected",
"code": 401,
"reason": "unauthorized",
"errors": [
{
"message": "Required",
"field": "headers.authorization",
"reason": "invalid_type"
}
]
}Payment required
message*stringError message.
Example: "Your account does not have access to this entity. Contact SESAMm sales for more information."code*numberError code.
Example: 402reason*stringError reason.
Example: "forbidden"
{
"message": "Your account does not have access to this entity. Contact SESAMm sales for more information.",
"code": 402,
"reason": "forbidden"
}Forbidden
message*stringError message.
Example: "Missing required permissions to perform this action."code*numberError code.
Example: 403reason*stringError reason.
Example: "forbidden"
{
"message": "Missing required permissions to perform this action.",
"code": 403,
"reason": "forbidden"
}Not found
message*stringError message.
Example: "The requested universe does not exist or is not visible to your company."code*numberError code.
Example: 404reason*stringError reason.
Example: "not_found"
{
"message": "The requested universe 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.