Exports
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
The 20 most recent exports, newest first. Ready ones carry a fresh download link.
application/json- response
exports*array<>curl -X GET 'https://example.com/v1/exports'{ "exports": [ { "id": "string", "status": "pending", "item_count": 0, "file_count": 0, "size_bytes": 0, "error": "string", "error_code": "string", "error_params": { "property1": "string", "property2": "string" }, "expires_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}Queues a ZIP of everything the user saved: items.jsonl, a Markdown file per item, bookmarks.html,
the items' stored files, and lists, spaces, rules and reminders (see docs/EXPORTS.md). It is built
in the background; poll GET /v1/exports/{id} or wait for the export.ready push. Allowed while
the library is read-only over its plan's limits. 409 when an export is already waiting or running;
429 after three exports in 24 hours.
bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
The export, queued to run in the background
application/json- response
id*stringstatus*string"pending""running""done""failed"item_count*integerfile_count*integerStored files copied into the archive
size_bytes*|The ZIP's size, once done
error*|Why the export failed, in words the user can read
error_code?|error as a code: stopped. Null when there is no error. Show error for a code you do not know.
error_params?|nullexpires_at*|When the file is deleted (7 days after it finished)
date-timefinished_at*|date-timeurl?stringSigned download link, valid for one hour; present only while the export is done and not expired. Fetch the export again for a new one.
created_at*stringdate-timeupdated_at*stringdate-timecurl -X POST 'https://example.com/v1/exports'{ "id": "string", "status": "pending", "item_count": 0, "file_count": 0, "size_bytes": 0, "error": "string", "error_code": "string", "error_params": { "property1": "string", "property2": "string" }, "expires_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
id*stringThe export
application/json- response
id*stringstatus*string"pending""running""done""failed"item_count*integerfile_count*integerStored files copied into the archive
size_bytes*|The ZIP's size, once done
error*|Why the export failed, in words the user can read
error_code?|error as a code: stopped. Null when there is no error. Show error for a code you do not know.
error_params?|nullexpires_at*|When the file is deleted (7 days after it finished)
date-timefinished_at*|date-timeurl?stringSigned download link, valid for one hour; present only while the export is done and not expired. Fetch the export again for a new one.
created_at*stringdate-timeupdated_at*stringdate-timecurl -X GET 'https://example.com/v1/exports/string'{ "id": "string", "status": "pending", "item_count": 0, "file_count": 0, "size_bytes": 0, "error": "string", "error_code": "string", "error_params": { "property1": "string", "property2": "string" }, "expires_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z", "url": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}bearerAuthorizationBearer <token>Supabase access token (JWT) or personal API key (ga_…). A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
id*stringDeleted
curl -X DELETE 'https://example.com/v1/exports/string'