Documents
List all documents
client.documents.list(DocumentListParams { after, before, household_id, 2 more } query?, RequestOptionsoptions?): CursorPagination<Document { id, created_at, household_id, 6 more } >
/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 { enable_ai_suggestions, entity_id, individual_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