List all entities in a household
households.list_entities(strid, HouseholdListEntitiesParams**kwargs) -> SyncCursorPagination[Entity]
/households/{id}/entities
Retrieve a paginated list of entities belonging to a specific household
Parameters
id: str
after: Optional[str]
Cursor for forward pagination. Returns items after this cursor.
before: Optional[str]
Cursor for backward pagination. Returns items before this cursor.
limit: Optional[int]
Maximum number of items to return
maximum1000
minimum1
Returns
List all entities in a household
from withluminary import Luminary
client = Luminary()
page = client.households.list_entities(
id="id",
)
page = page.data[0]
print(page.id)
{
"data": [
{
"id": "entity_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2024-01-15T09:30:00Z",
"display_name": "My Revocable Trust",
"household_id": "household_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"in_estate_status": "in_estate",
"kind": "REVOCABLE_TRUST",
"stage": "PRE_CREATED",
"updated_at": "2024-01-20T14:45:00Z"
}
],
"page_info": {
"has_next_page": true,
"has_previous_page": false,
"end_cursor": "eyJpZCI6ImhvdXNlaG9sZF8wMUFSWjNOREVLVFNWNFJSRkZRNjlHNUZBViJ9",
"start_cursor": "eyJpZCI6ImhvdXNlaG9sZF8wMUFSWjNOREVLVFNWNFJSRkZRNjlHNUZBViJ9"
},
"total_count": 100
}
Returns Examples
{
"data": [
{
"id": "entity_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2024-01-15T09:30:00Z",
"display_name": "My Revocable Trust",
"household_id": "household_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"in_estate_status": "in_estate",
"kind": "REVOCABLE_TRUST",
"stage": "PRE_CREATED",
"updated_at": "2024-01-20T14:45:00Z"
}
],
"page_info": {
"has_next_page": true,
"has_previous_page": false,
"end_cursor": "eyJpZCI6ImhvdXNlaG9sZF8wMUFSWjNOREVLVFNWNFJSRkZRNjlHNUZBViJ9",
"start_cursor": "eyJpZCI6ImhvdXNlaG9sZF8wMUFSWjNOREVLVFNWNFJSRkZRNjlHNUZBViJ9"
},
"total_count": 100
}