All Applications Status
curl --request GET \
--url https://api.vertracloud.app/v1/apps/statusimport requests
url = "https://api.vertracloud.app/v1/apps/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vertracloud.app/v1/apps/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/apps/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/apps/status"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vertracloud.app/v1/apps/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/apps/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"response": [
{
"id": "app-abc123def456",
"cpu": "25.50%",
"ram": "512.00 MB",
"running": true
},
{
"id": "app-xyz789mno012",
"cpu": "0.00%",
"ram": "0.00 MB",
"running": false
}
]
}
Applications
All Applications Status
Retrieves the status of all applications for the authenticated user or a specified workspace.
GET
/
v1
/
apps
/
status
All Applications Status
curl --request GET \
--url https://api.vertracloud.app/v1/apps/statusimport requests
url = "https://api.vertracloud.app/v1/apps/status"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vertracloud.app/v1/apps/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vertracloud.app/v1/apps/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.vertracloud.app/v1/apps/status"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vertracloud.app/v1/apps/status")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vertracloud.app/v1/apps/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"response": [
{
"id": "app-abc123def456",
"cpu": "25.50%",
"ram": "512.00 MB",
"running": true
},
{
"id": "app-xyz789mno012",
"cpu": "0.00%",
"ram": "0.00 MB",
"running": false
}
]
}
string
The workspace ID to retrieve application status, if applicable.
Response
array
An array of status objects for each application.
Show Toggle object
Show Toggle object
string
The application ID.
string
CPU usage percentage (e.g.,
25.5%).string
RAM usage (e.g.,
512 MB).boolean
Indicates if the application is running.
boolean
Present and
true while dependencies are being installed or the application is rebuilding. During this time, running can be false even though work is in progress.{
"response": [
{
"id": "app-abc123def456",
"cpu": "25.50%",
"ram": "512.00 MB",
"running": true
},
{
"id": "app-xyz789mno012",
"cpu": "0.00%",
"ram": "0.00 MB",
"running": false
}
]
}
Error Responses
string
The error code indicating the reason for the failure. Possible values:
UNAUTHORIZED: The user is not authenticated or does not have sufficient permissions.WORKSPACE_NOT_FOUND: The specified workspace does not exist.USER_NOT_IN_WORKSPACE: The user is not a member of the specified workspace.
string
A descriptive message providing additional details about the error.
{
"code": "UNAUTHORIZED"
}
{
"code": "WORKSPACE_NOT_FOUND"
}
{
"code": "USER_NOT_IN_WORKSPACE"
}