API call to download table as CSV?

Is there a way to create a local backup of all documents/tables via API?

Thinking of just writing some functions to download data for each table and construct the CSV files myself.

Else an API call that would return a backup/CSVs of everything would be good.

1 Like

See API reference - Grist Help Center

/docs/{docId}/download to download the full document as a .grist (sqlite) file, or add /csv?tableId=... or /xlsx for other formats.

2 Likes