Download database archive
databaseArchiveDownloadGet short-lived download links to the stored archive of one app’s archived managed database (state archived, or an unfinished restore of it) — Download the copy on the dashboard’s Database page. Only the owning account gets them, and they work for about ten minutes for whoever holds them: the links are bearer capabilities for the owning human’s private archive. artifact (the SQL a restore loads), manifest and, when the archive carries the app’s Storage files, files (one tar of them) each come with a size and SHA-256 to check the download. available: false carries a fixed code and a human-readable explanation instead of links; no_archive means the database is not archived, so there is no copy to download: while the database is ready, its data is the database itself. It changes nothing and returns no database credential.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "databaseArchiveDownload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| files | No | ||
| message | Yes | ||
| artifact | Yes | ||
| manifest | Yes | ||
| available | Yes | ||
| projectId | Yes | ||
| archivedAt | Yes | ||
| retainUntil | Yes |