{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"lago_organization_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"code": "team",
"name": "Team",
"description": "Team that consumed the usage.",
"attribution_keys": [
"team",
"team_id"
],
"role": "hierarchical",
"lago_parent_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"parent_code": "department",
"created_at": "2022-04-29T08:59:51Z",
"updated_at": "2022-04-29T08:59:51Z"
}The governance entity object
This object represents a governance entity: one dimension you attribute usage to, such as a department, a team, a user or an API key. In the API, it is a usage attribution type.
Unique identifier of the usage attribution type, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Unique identifier of the organization, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Unique code used to identify the usage attribution type within the organization.
"team"
Name of the usage attribution type.
"Team"
Description of the usage attribution type.
"Team that consumed the usage."
Keys of the event properties that attribute usage to this type. A key belongs to a single usage attribution type of the organization.
["team", "team_id"]
Role of the usage attribution type:
hierarchical: the type can have a parent and children, and forms a level of the account tree.flat: the type stands on its own. It cannot have a parent or children.
hierarchical, flat "hierarchical"
Unique identifier of the parent usage attribution type, created by Lago. It is null when the type has no parent.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Code of the parent usage attribution type. It is null when the type has no parent.
"department"
Creation date of the usage attribution type, in UTC.
"2022-04-29T08:59:51Z"
Date of the last update of the usage attribution type, in UTC.
"2022-04-29T08:59:51Z"