Service databases

Get service database logs

Changed on

Get Docker logs for a compose database container. Requires the read:sensitive or root token ability.

get/services/{uuid}/databases/{database_uuid}/logs

Request

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

Path parameters

uuidstring required
database_uuidstring required

Query parameters

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.

Response

Logs.

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