Export my data
post/hosting/sites/{id}/data/export
Export my data: the site's records and a dump of what it stores, checked after writing. Kept 30 days.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:write- Mcp
rivier_hosting_export_create- Graphql
Mutation.hostingDataExport- Sdk
hosting.data.export- Cli
hosting data export- Events
hosting.export.created
Parameters
- idstring (uuid)requiredIn the path
Responses
- 201application/jsonSuccess
- idstring (uuid)required
- projectIdstringrequired
- siteSlugstringrequired
- reasonstringrequiredOne of: owner, retention, erasure.
- statestringrequiredOne of: ready, deleted.
- partslist of objectrequired
- namestringrequiredOne of: records, database, storage.
- bytesnumberrequired
- sha256string or nullrequired
- backupIdstring or nullrequired
- notestringrequired
- namestringrequired
- expiresAtstringrequired
- createdAtstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring