Universes Management

Get Universe Metadata

Get information about a universe

GET
https://api.textreveal.com/v3/universes/{universe_id}

Request

Parameters

  • universe_id*uuid

    Unique identifier of the universe.

    Example: "75ebc096-749e-4b8f-b690-df13daf49c62"

Response

Response - 200

Properties of the universe

  • name*string

    Name of the universe.

    Example: "Tech Asian companies"
  • description*string | null

    Description of the universe

    Example: "The Asian companies that are in the Tech sector"
  • type*string (enum)

    Universe kind.

    • PRIVATE: visible to the owners, to the users with account management rights and to the users it is shared with.

    • SHARED: also shared with an organization.

    • SESAMM: managed by SESAMm, no owner, only SESAMm admins can manage it.

    What the caller may do is given by access_level.

    Values: "PRIVATE", "SHARED", "SESAMM"
  • entity_count*integer

    Number of entities in the universe

    Minimum: 0
  • owner_id*uuid | null(deprecated)

    When present, the user owning the universe (only owners can manage it). null for a SESAMm universe.

  • organization_ids*uuid[](deprecated)

    With which organizations is the universe shared

  • company_ids*uuid[](deprecated)

    Deprecated alias of organization_ids.

  • access_level*string (enum)

    The caller's effective right on the universe, the highest of: a grant to the caller, a grant to the caller's organization (callers holding the route's permission at scope company), OWNER through account management (detail route only, when no grant of the caller makes the universe visible) or the SESAMm admin scope, READ_ONLY on a public universe (detail route; a public universe is never listed) and for a universe visible only through a read-only organization grant. READ_ONLY cannot change the universe or its entities; READ_WRITE can add and remove entities; OWNER can also rename and delete it (with the permission of the route). Ownership is transferred with POST /acl. For an account manager the level of a grant on a colleague's universe is a lower bound: the account manager manages every universe of which an owner belongs to their organization, whatever this level. For a SESAMm admin OWNER means full rights (a SESAMm universe has no owner).

    Values: "OWNER", "READ_WRITE", "READ_ONLY"
Response
{
  "name": "Tech Asian companies",
  "description": "The Asian companies that are in the Tech sector",
  "type": "PRIVATE",
  "entity_count": 123,
  "owner_id": "00000000-0000-0000-0000-000000000000",
  "organization_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "company_ids": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "access_level": "OWNER"
}

Error

Error - 400

Bad request

  • message*string

    Error message.

    Example: "Check the errors field for more details"
  • code*number (enum)

    Error code.

    Values: 400
  • reason*string (enum)

    Error reason.

    Values: "invalid"
  • errorsobject[]

    Possible error causes.

    Array length: [1, ∞]
Response
{
  "message": "Check the errors field for more details",
  "code": 400,
  "reason": "invalid",
  "errors": [
    {
      "message": "string",
      "field": "universe_id",
      "reason": "invalid_type"
    }
  ]
}

Error - 404

Not found

  • message*string

    Error message.

    Example: "The requested universe does not exist or is not visible to your organization."
  • code*number (enum)

    Error code.

    Values: 404
  • reason*string (enum)

    Error reason.

    Values: "not_found"
Response
{
  "message": "The requested universe does not exist or is not visible to your organization.",
  "code": 404,
  "reason": "not_found"
}

Generic errors are not shown, see Errors for more details.