Storage Browser
Get project storage summary
Returns aggregated storage analytics for all backup destinations used by a project.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringProject ID (UUID)
OK
Get storage analytics
Returns the most recent storage scan result for a backup destination.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
OK
Browse backup destination
Lists files in a backup destination at an optional prefix path.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
Query Parameters
prefixstringExact opaque directory path returned by a previous browse response
cursorstringOpaque continuation cursor returned by the previous page
limitintegerPage size
150Minimum: 1Maximum: 500Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
OK
Trigger orphan file cleanup
Enqueues a cleanup job that deletes orphan files (not linked to any backup/snapshot) older than the retention window. Returns 202 Accepted.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Request Body
application/jsonRequiredRequires retention_days, snapshot_token, and exactly one of candidate_ids (maximum 100) or all_eligible=true
all_eligiblebooleancandidate_idsarray<string>retention_daysRequiredinteger1Maximum: 3650snapshot_tokenRequiredstringPath Parameters
destIdRequiredstringBackup Destination ID (UUID)
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
Accepted
Download file from destination
Streams file content through the authenticated API from any backup destination provider. Authenticate with the access_token session cookie or an Authorization header containing Bearer ocore_; JWT bearer headers are not supported. Native browser navigation should use the URL returned by the prepare endpoint.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
Query Parameters
pathRequiredstringExact opaque browser path returned by the browse endpoint
identity_tokenstringOpaque file identity token returned by the browse endpoint; required when the listed provider exposes exact revision identity
organization_idstringValidated organization ID returned by the prepare endpoint for cookie-session navigation
OK
Prepare a native storage download
Validates the destination, exact opaque browser path, tenant ownership, and provider access before returning a same-origin relative download URL. This browser-navigation endpoint requires the access_token session cookie; API-key clients should call the direct GET download endpoint with their Authorization header.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Request Body
application/jsonRequiredExact opaque browser path and identity_token returned by the browse endpoint
identity_tokenstringpathRequiredstringPath Parameters
destIdRequiredstringBackup Destination ID (UUID)
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
OK
Delete file from destination
Permanently removes the exact listed provider object. Listed-identity providers such as S3 require the opaque deletion token returned by the browse endpoint.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Request Body
application/jsonRequiredListed file path and opaque deletion identity token
deletion_tokenstringpathRequiredstringPath Parameters
destIdRequiredstringBackup Destination ID (UUID)
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
OK
List scan-confirmed orphan files
Returns a bounded, point-in-time cleanup preview. Candidate IDs and cursors are opaque and bound to the caller, organization, destination, scan, and retention window.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
Query Parameters
retention_daysintegerMinimum orphan age in days
30Minimum: 1Maximum: 3650cursorstringOpaque continuation cursor
limitintegerPage size
100Minimum: 1Maximum: 100Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
OK
Trigger storage scan
Enqueues a correlated background storage scan job for the destination. Returns 202 Accepted.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
Accepted
Scan and cleanup stale records
Enqueues a correlated storage scan that also removes stale backup/snapshot records whose remote files no longer exist. Returns 202 Accepted.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
Accepted
Get storage scan operation status
Returns the stable public lifecycle state for one correlated storage scan. Missing and cross-tenant operations are concealed as not found.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
operationIdRequiredstringOpaque scan operation ID (UUID)
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
OK
Upload file to destination
Uploads a file to the specified path in a backup destination.
Authorization
Cookie<token>Browser session JWT sent as the access_token cookie. Swagger 2 represents this cookie through the Cookie header.
In: header
Authorization<token>oCore API key sent as Authorization: Bearer ocore_. JWT bearer tokens are not accepted in this header for these operations.
In: header
Request Body
multipart/form-dataRequiredfileRequiredfileFile to upload (maximum request size 20 GB)
"binary"Path Parameters
destIdRequiredstringBackup Destination ID (UUID)
Query Parameters
pathRequiredstringTarget file path
Header Parameters
X-Organization-IDstringOrganization selector for a non-default membership
OK