Universes SDG Documents Statistics
Get the maximum intensity score per SDG goal for each entity in one universe.
Request
Parameters
universe_id*uuidUnique identifier of the universe.
Example: "75ebc096-749e-4b8f-b690-df13daf49c62"sizeintegerNumber of records per page
Default: 10Range: [1, 1000]search_afterstringsearch_afterfield value from the previous pageextract_datedate (operator)Extraction date of the documents
You can input a date or use the following operators: lt (<), lte (≤), gt (>), gte (≥), neq (≠), between
Example: "between:2022-01-01;2022-01-02"
Response
Maximum intensity score for each of the 17 SDG goals, grouped by entity.
data*object[]Statistics about the SDG documents of the universe, grouped by entity.
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": 67,
"category": {
"SDG:1": {
"score": {
"max": 3
}
},
"SDG:2": {
"score": {
"max": 3
}
},
"SDG:3": {
"score": {
"max": 3
}
},
"SDG:4": {
"score": {
"max": 3
}
},
"SDG:5": {
"score": {
"max": 3
}
},
"SDG:6": {
"score": {
"max": 3
}
},
"SDG:7": {
"score": {
"max": 3
}
},
"SDG:8": {
"score": {
"max": 3
}
},
"SDG:9": {
"score": {
"max": 3
}
},
"SDG:10": {
"score": {
"max": 3
}
},
"SDG:11": {
"score": {
"max": 3
}
},
"SDG:12": {
"score": {
"max": 3
}
},
"SDG:13": {
"score": {
"max": 3
}
},
"SDG:14": {
"score": {
"max": 3
}
},
"SDG:15": {
"score": {
"max": 3
}
},
"SDG:16": {
"score": {
"max": 3
}
},
"SDG:17": {
"score": {
"max": 3
}
}
}
}
],
"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.