| id |
Integer |
Unique identifier of the observing account. |
| owner_id |
Integer |
No description |
| managing_group_id |
Integer (Optional) |
No description |
| name |
String(256) (Optional) |
No description |
| slug |
String(256) (Optional) |
No description |
| source_account_id |
Integer (Optional) |
The ID of the parent node in the hierarchy. Null if this node is a root. |
| source_account_grant_id |
Integer (Optional) |
The ID of the delegated observing grant that links this subaccount to its parent. Composite FK in table_args enforces that the grant's account_id matches source_account_id. |
| path |
LtreeType() (Optional) |
The materialized path using the PostgreSQL ltree type, representing the hierarchical structure for efficient querying. [Automatically set by trigger] |
| credits_used |
Float |
No description |
| is_deleted |
Boolean |
Whether the observing account has been archived. |
| order |
Integer |
The order used to prioritize the account among its siblings. Lower values are higher priority. |
| last_activity_on |
DateTime (Optional) |
No description |
| observing_policy_id |
Integer (Optional) |
No description |