Processes
List processes
Retrieve a paginated list of all processes for an application, ordered by their display order and creation time. Each process includes its runtime configuration, scaling strategy, and resource limits.
GET
/
applications
/
{id}
/
processes
List processes
curl --request GET \
--url https://api.sevalla.com/v3/applications/{id}/processes \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sevalla.com/v3/applications/{id}/processes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sevalla.com/v3/applications/{id}/processes', 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.sevalla.com/v3/applications/{id}/processes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.sevalla.com/v3/applications/{id}/processes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.sevalla.com/v3/applications/{id}/processes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sevalla.com/v3/applications/{id}/processes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"app_id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"key": "web",
"type": "web",
"display_name": "Web Process",
"entrypoint": "npm start",
"port": 8080,
"is_ingress_enabled": true,
"ingress_protocol": "http",
"scaling_strategy": {
"type": "manual",
"config": {
"instanceCount": 1
}
},
"resource_type_id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"resource_type_name": "s1",
"cpu_limit": 500,
"memory_limit": 512,
"schedule": "0 * * * *",
"time_zone": "America/New_York",
"concurrency_policy": "Forbid",
"active_deadline_seconds": 3600,
"job_start_policy": "afterSuccessDeployment",
"liveness_probe": {
"httpGet": {
"path": "/health",
"port": 8080,
"scheme": "HTTP"
}
},
"readiness_probe": {
"httpGet": {
"path": "/ready",
"port": 8080,
"scheme": "HTTP"
}
},
"internal_hostname": "my-app-web.my-app-abc123.svc.cluster.local",
"created_at": "2025-01-30T00:00:00.000Z",
"updated_at": "2025-01-30T00:00:00.000Z"
}
],
"total": 42,
"offset": 0,
"limit": 25
}{
"message": "Unauthorized",
"status": 401,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Forbidden",
"status": 403,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Not found",
"status": 404,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Internal Server Error",
"status": 500,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}Authorizations
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Path Parameters
Application identifier
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Example:
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Query Parameters
Maximum number of items per page
Required range:
1 <= x <= 100Example:
25
Number of items to skip
Required range:
0 <= x <= 10000Example:
0
Response
Default Response
List of items
Show child attributes
Show child attributes
Total number of items matching the query
Required range:
0 <= x <= 10000Example:
42
Current pagination offset
Required range:
0 <= x <= 10000Example:
0
Current pagination limit
Required range:
1 <= x <= 100Example:
25
Was this page helpful?
⌘I
List processes
curl --request GET \
--url https://api.sevalla.com/v3/applications/{id}/processes \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sevalla.com/v3/applications/{id}/processes"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sevalla.com/v3/applications/{id}/processes', 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.sevalla.com/v3/applications/{id}/processes",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.sevalla.com/v3/applications/{id}/processes"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.sevalla.com/v3/applications/{id}/processes")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sevalla.com/v3/applications/{id}/processes")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"app_id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"key": "web",
"type": "web",
"display_name": "Web Process",
"entrypoint": "npm start",
"port": 8080,
"is_ingress_enabled": true,
"ingress_protocol": "http",
"scaling_strategy": {
"type": "manual",
"config": {
"instanceCount": 1
}
},
"resource_type_id": "fb5e5168-4281-4bec-94c5-0d1584e9e657",
"resource_type_name": "s1",
"cpu_limit": 500,
"memory_limit": 512,
"schedule": "0 * * * *",
"time_zone": "America/New_York",
"concurrency_policy": "Forbid",
"active_deadline_seconds": 3600,
"job_start_policy": "afterSuccessDeployment",
"liveness_probe": {
"httpGet": {
"path": "/health",
"port": 8080,
"scheme": "HTTP"
}
},
"readiness_probe": {
"httpGet": {
"path": "/ready",
"port": 8080,
"scheme": "HTTP"
}
},
"internal_hostname": "my-app-web.my-app-abc123.svc.cluster.local",
"created_at": "2025-01-30T00:00:00.000Z",
"updated_at": "2025-01-30T00:00:00.000Z"
}
],
"total": 42,
"offset": 0,
"limit": 25
}{
"message": "Unauthorized",
"status": 401,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Forbidden",
"status": 403,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Not found",
"status": 404,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}{
"message": "Internal Server Error",
"status": 500,
"data": {
"code": "err-abc-123",
"message": "If you need assistance, please contact support and provide this error code."
}
}