Skip to content

List running containers for an app

GET
/apps/{slug}/services
curl --request GET \
--url https://your-server.example/api/apps/example/services \
--cookie session=<session>
slug
required
string

App slug (lowercase, dash-separated).

Service status.

Media typeapplication/json
Array<object>

Aggregated status for one compose service across all replicas.

object
service
string
state

Worst-case state across replicas (running, restarting, stopped, …).

string
health
string
replicas

Number of running containers for this service.

integer
scalable

Whether the service is eligible for replica scaling.

boolean
scale_reason

When scalable is false, explains why (e.g. ‘stateful image (postgres)’).

string

Example

[
{
"state": "running",
"health": "healthy"
}
]