List all documents in a household
households.list_documents(strid, HouseholdListDocumentsParams**kwargs) -> DocumentList
/households/{id}/documents
Retrieve a paginated list of documents belonging to a specific household
Parameters
id: str
limit: Optional[int]
Maximum number of documents to return
maximum1000
minimum1
offset: Optional[int]
Number of documents to skip
minimum0
Returns
List all documents in a household
from withluminary import Luminary
client = Luminary()
document_list = client.households.list_documents(
id="id",
)
print(document_list.data)
{
"data": [
{
"id": "document_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2024-01-15T09:30:00Z",
"household_id": "household_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "Trust Agreement.pdf",
"type": "GRAT_DESIGN_SUMMARY",
"updated_at": "2024-01-20T14:45:00Z",
"client_profile_id": "client_profile_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"enable_ai_suggestions": true,
"entity_id": "entity_01ARZ3NDEKTSV4RRFFQ69G5FAV"
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 150
}
}
Returns Examples
{
"data": [
{
"id": "document_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"created_at": "2024-01-15T09:30:00Z",
"household_id": "household_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"name": "Trust Agreement.pdf",
"type": "GRAT_DESIGN_SUMMARY",
"updated_at": "2024-01-20T14:45:00Z",
"client_profile_id": "client_profile_01ARZ3NDEKTSV4RRFFQ69G5FAV",
"enable_ai_suggestions": true,
"entity_id": "entity_01ARZ3NDEKTSV4RRFFQ69G5FAV"
}
],
"pagination": {
"limit": 20,
"offset": 0,
"total": 150
}
}