Services

Get service logs.

Changed on

Get logs for a specific service sub-resource by service UUID. The sub_service_name query parameter must match the name field of one of the service applications or databases returned by GET /services/{uuid}. Requires the read:sensitive or root token ability.

get/services/{uuid}/logs

Request

  • Base URL: https://app.coolify.io/api/v1
  • URL: https://app.coolify.io/api/v1/services/{uuid}/logs
  • Auth: HTTP bearer

Path parameters

uuidstring uuid required

UUID of the service.

Query parameters

sub_service_namestring required
Example:appwrite-console

Sub-service name from GET /services/{uuid} under applications[].name or databases[].name. Do not use human_name or the Docker container name with the service UUID suffix.

integer
OR
'all'

Number of lines to show from the end of the logs. Use all to return all logs. -1 remains available as a compatibility alias.

show_timestampsboolean

Show timestamps in the logs.

Response

Get service logs by UUID.

logsstring

Changes

    • breaking

      for the query request parameter lines, default value 100 was removed

    • info

      query request parameter lines list-of-types was widened by adding types string

    • info

      for the query request parameter lines, the type was generalized from integer to no type, and format from int32 to no format

    • info

      endpoint added