Skip to main content
GET
/
services
List
curl --request GET \
  --url https://app.coolify.io/api/v1/services \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "uuid": "<string>",
    "name": "<string>",
    "environment_id": 123,
    "server_id": 123,
    "description": "<string>",
    "docker_compose_raw": "<string>",
    "docker_compose": "<string>",
    "destination_id": 123,
    "connect_to_docker_network": true,
    "is_container_label_escape_enabled": true,
    "is_container_label_readonly_enabled": true,
    "config_hash": "<string>",
    "service_type": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "deleted_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Go to Keys & Tokens / API tokens and create a new token. Use the token as the bearer token.

Response

Get all services

id
integer

The unique identifier of the service. Only used for database identification.

uuid
string

The unique identifier of the service.

name
string

The name of the service.

environment_id
integer

The unique identifier of the environment where the service is attached to.

server_id
integer

The unique identifier of the server where the service is running.

description
string

The description of the service.

docker_compose_raw
string

The raw docker-compose.yml file of the service.

docker_compose
string

The docker-compose.yml file that is parsed and modified by Coolify.

destination_id
integer

The unique identifier of the destination where the service is running.

connect_to_docker_network
boolean

The flag to connect the service to the predefined Docker network.

is_container_label_escape_enabled
boolean

The flag to enable the container label escape.

is_container_label_readonly_enabled
boolean

The flag to enable the container label readonly.

config_hash
string

The hash of the service configuration.

service_type
string

The type of the service.

created_at
string

The date and time when the service was created.

updated_at
string

The date and time when the service was last updated.

deleted_at
string

The date and time when the service was deleted.

I