Entities Structure
Get Associated Universes
List the universes the entity is associated with.
GET
https://api.textreveal.com/v3/entities/{entity_id}/universes
Request
Response
Properties of the universes
data*object[]Properties of the universes. Only the universes available for your company are returned.
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": [
{
"universe_name": "Tech Asian companies",
"universe_id": "00000000-0000-0000-0000-000000000000",
"type": "PRIVATE",
"description": "The Asian companies that are in the Tech sector"
}
],
"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.
Response
{
"message": "Check the errors field for more details",
"code": 400,
"reason": "invalid",
"errors": [
{
"message": "string",
"field": "size",
"reason": "invalid_type"
}
]
}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"
Response
{
"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.