CVMs
List CVMs
Changed onReturns CVMs in current workspace.
get/api/v1/cvms
Request
- Base URLhttps://cloud-api.phala.com
- AuthOAuth 2Authorization codeToken URLtoken
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
family'all' | 'cpu' | 'gpu'
Filter by instance family
instance_typesstring[] nullable
Filter by one or more instance type IDs
Response
List of CVM summaries
Example response
[
{
"managed_user": {
"id": "usr_0123abcd"
},
"project_id": "prj_0123abcd",
"kms_info": {
"id": "kms_0123abcd"
}
}
]Changes
- warning
deleted the
queryrequest parameterteepod_id - warning
deleted the
queryrequest parameteruser_id - info
the endpoint scheme security
APIKeyHeaderwas removed from the API - info
added the new optional
queryrequest parameterfamily - info
added the new optional
queryrequest parameterinstance_types - info
added
subschema #1subschema #2to the response bodyanyOflist for the response status - info
removed
subschema #1subschema #2from the response bodyanyOflist for the response status
- warning