Documents
List all documents
client.documents.list(DocumentListParams { household_id, limit, offset, type } query?, RequestOptionsoptions?): DocumentList { data, pagination }
/documents
Upload a new document
client.documents.create(DocumentCreateParams { file, household_id, name, 4 more } body, RequestOptionsoptions?): Document { id, created_at, household_id, 6 more }
/documents
Get a document by ID
client.documents.retrieve(stringid, RequestOptionsoptions?): Document { id, created_at, household_id, 6 more }
/documents/{id}
Update a document
client.documents.update(stringid, DocumentUpdateParams { client_profile_id, enable_ai_suggestions, entity_id, 2 more } body, RequestOptionsoptions?): Document { id, created_at, household_id, 6 more }
/documents/{id}
Get summaries for a document
client.documents.getSummaries(stringid, RequestOptionsoptions?): DocumentGetSummariesResponse { data }
/documents/{id}/document-summaries
Download document file content
client.documents.download(stringid, RequestOptionsoptions?): Response
/documents/{id}/download