GetAppList
GET /apps
Returns all applications for the authenticated user.
*GetAppListResponse containing:
| Field | Type | Description |
|---|---|---|
DstackApps | []AppInfo | List of applications |
Page | int | Current page |
PageSize | int | Items per page |
Total | int | Total number of apps |
TotalPages | int | Total number of pages |
GetAppInfo
GET /apps/{appId}
Returns detailed information about a specific application, including its current CVM and profile.
| Field | Type | Required | Description |
|---|---|---|---|
appID | string | Yes | Application identifier |
*AppInfo with these key fields:
| Field | Type | Description |
|---|---|---|
ID | string | Internal ID |
Name | string | App name |
AppID | string | Public app ID |
KMSType | string | KMS type (e.g., "phala") |
CurrentCVM | *CVMInfo | Currently active CVM |
CVMs | []CVMInfo | All CVMs under this app |
CVMCount | int | Number of CVMs |
Profile | *AppProfile | Display name, avatar, description |
GetAppCVMs
GET /apps/{appId}/cvms
Returns all CVMs associated with an application. This is useful for apps that have replicas or multiple deployments.
| Field | Type | Required | Description |
|---|---|---|---|
appID | string | Yes | Application identifier |
[]GenericObject — a slice of CVM data as generic maps.
GetAppRevisions
GET /apps/{appId}/revisions
Returns the revision history for an application. Each revision represents a configuration change (deploy, update, restart, etc.).
| Field | Type | Required | Description |
|---|---|---|---|
appID | string | Yes | Application identifier |
opts | *PaginationOptions | No | Pagination (pass nil for defaults) |
| Field | Type | Description |
|---|---|---|
Page | *int | Page number |
PageSize | *int | Items per page |
*AppRevisionsResponse containing:
| Field | Type | Description |
|---|---|---|
Revisions | []AppRevision | List of revisions |
Total | int | Total revisions |
Page | int | Current page |
PageSize | int | Items per page |
TotalPages | int | Total pages |
GetAppRevisionDetail
GET /apps/{appId}/revisions/{revisionId}
Returns detailed information about a specific revision, including the full compose file and encrypted environment variables at that point in time.
| Field | Type | Required | Description |
|---|---|---|---|
appID | string | Yes | Application identifier |
revisionID | string | Yes | Revision identifier |
*AppRevisionDetail
GetAppAttestation
GET /apps/{appId}/attestations
Returns TEE attestation data for an application, including certificates and TCB info.
| Field | Type | Required | Description |
|---|---|---|---|
appID | string | Yes | Application identifier |
*AppAttestationResponse (generic map)
GetAppDeviceAllowlist
GET /apps/{appId}/device-allowlist
Returns the device allowlist for an on-chain KMS application. This shows which TEE devices are authorized to run the app.
| Field | Type | Required | Description |
|---|---|---|---|
appID | string | Yes | Application identifier |
*DeviceAllowlistResponse containing:
| Field | Type | Description |
|---|---|---|
IsOnchainKMS | bool | Whether the app uses on-chain KMS |
AllowAnyDevice | *bool | Whether any device is allowed |
ChainID | *int | Blockchain chain ID |
AppContractAddress | *string | On-chain app contract address |
Devices | []DeviceAllowlistItem | List of allowed devices |
GetAppFilterOptions
GET /apps/filter-options
Returns available filter options for the app list endpoint. Useful for building UI filters.
*AppFilterOptions (generic map)

