Skip to content
BoxOpenAPI

Read runtime selection and lease

GET/api/box/v1/{boxId}/runtime

Lite returns lease:null and billing:null. Sandbox observes the selected or latest existing lease and may reconcile real allocation evidence, but never starts/resumes a VM. Lease timestamps are epoch milliseconds. An expired timer is not proof of provider stop; unknown retains billing uncertainty. Reads support inactive resources.

Organization API key authentication

Authorization: Bearer $SINECLOUD_API_KEY

Required scopes: fileRead

Parameters

boxId · path · Required
Existing Box resource ID selected in Console, not its parent product activation ID.
leaseId · query · Optional
Optional existing lease identity; omitted selects a pending lease first, otherwise the most recent.

Responses

200
Runtime and current durable lease/billing projection.
400
Invalid fields, identity, path, cursor or query. Unknown/duplicate fields are rejected where validated.
401
Missing, invalid, expired or revoked organization credential.
403
Current issuer membership, product scope, project, resource lifecycle or entitlement denies access.
404
Resource, execution, snapshot, restore or file not found within the authorized organization.
409
State/identity conflict or unresolved execution. Observe the original durable identity; do not create replacement work to bypass uncertainty.
500
The request could not be completed. Preserve any durable identity before retrying.
503
Runtime, deployment or recovery evidence is unavailable. Read existing status before retrying an uncertain mutation.

Loading API reference…

Box · Setup & authentication

Base URLhttps://sinecloud.dev/api/box/v1/{boxId}

Before your first request

Select your organization, prepare resources in Console, and issue an organization API key with the required product scopes. Current permissions, resource access, budget and available funds are checked on every call.

Create and select a Box in Console. Replace boxId with the actual Box resource ID, never the parent activation ID. The catalog covers workspace files, directories, command execution, durable status, Sandbox runtime windows and retained backups. Lite commands need no VM start step. Sandbox commands require an explicitly confirmed and funded runtime window; idle allocated VM time is also billed. File access never starts a VM.

Grant the scopes documented on each operation, such as boxRun, fileRead or fileWrite. Creating a backup requires both boxRun and fileRead. Resource creation, restore initiation and backup deletion use Console sessions. Retain the original execution identity when recovering uncertain work.

Organization key authentication and base URL

The production API origin is https://sinecloud.dev; the documentation origin does not serve product requests. The path prefix is /api/box/v1/{boxId}. Use the complete path documented for the operation, replacing resource IDs, models and endpoint revisions with your actual selections.

Authorization: Bearer $SINECLOUD_API_KEY

Set SINECLOUD_API_KEY to your own environment variable value; never use platform service credentials. Each operation lists required scopes in x-sinecloud-scopes.

This reference is read-only. Run requests in Console or your own client. Browsing documentation never creates a key, starts execution or incurs an execution charge. Keep request IDs and execution receipts; a lost connection does not cancel work. Follow the operation’s recovery instructions before submitting again.

Console

Type to search…

↑↓ navigate↵ selectEsc Close