Skip to main content

getAppList

GET /apps Returns a paginated, filterable list of apps. Parameters: Returns: Paginated list of apps (version-aware schema). Example:

getAppInfo

GET /apps/{app_id} Returns detailed information about a specific app. Parameters: Returns: AppInfo — version-aware app details.

getAppCvms

GET /apps/{app_id}/cvms Returns the list of CVMs associated with an app. Parameters: Returns: Array of CVM objects.

getAppRevisions

GET /apps/{app_id}/revisions Returns the revision history for an app. Parameters: Returns: Array of app revisions.

getAppRevisionDetail

GET /apps/{app_id}/revisions/{revision_id} Returns details about a specific app revision. Parameters: Returns: AppRevisionDetail — revision details including compose file and configuration.

getAppFilterOptions

GET /apps/filter-options Returns the available filter values for app list queries. Parameters: None Returns: AppFilterOptions — available values for status, base_image, instance_type, kms_slug, etc. Example:

getAppAttestation

GET /apps/{appId}/attestations Returns TEE attestation details for all CVM instances under an app. This includes per-instance certificates, TCB measurements, and KMS metadata, giving you a single view of the app’s attestation posture. Parameters: Returns: AppAttestationResponse Example:

getAppDeviceAllowlist

GET /apps/{appId}/device-allowlist Returns the device allowlist status for all CVMs under an app. For on-chain KMS apps, this queries the blockchain in real-time to check which devices are registered in the app contract. For offchain KMS apps, returns basic info with is_onchain_kms: false. Parameters: Returns: DeviceAllowlistResponse Example:

checkAppIsAllowed

POST /apps/{appId}/is-allowed Checks whether a deployment is allowed by an on-chain dstack App contract. This queries the blockchain to verify that the compose hash and device are registered. You can use this for pre-flight checks before deploying or updating a CVM. Parameters: Returns: IsAllowedResult Example:

checkAppCvmsIsAllowed

POST /apps/{appId}/cvms/is-allowed Batch-checks on-chain deployment allowance for all CVMs under an app. For on-chain KMS apps, this queries the blockchain via multicall to check compose hash and device allowance for each CVM in a single operation. For offchain KMS apps, returns is_onchain: false with no results. Parameters: Returns: AppCvmsBatchIsAllowedResponse Example: