Get service logs.
Changed onGet 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.
Request
- Base URL: https://app.coolify.io/api/v1
- URL: https://app.coolify.io/api/v1/services/{uuid}/logs
- Auth: HTTP bearer
Path parameters
UUID of the service.
Query parameters
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.
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 timestamps in the logs.
Response
Get service logs by UUID.
Changes
- breaking
for the
queryrequest parameterlines, default value100was removed - info
queryrequest parameterlineslist-of-types was widened by adding typesstring - info
for the
queryrequest parameterlines, the type was generalized fromintegerto no type, and format fromint32to no format
- breaking
- info
endpoint added
- info