Databases

Get database logs.

Changed on

Get database logs by UUID. Requires the read:sensitive or root token ability.

get/databases/{uuid}/logs

Request

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

Path parameters

uuidstring uuid required

UUID of the database.

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.

show_timestampsboolean

Show timestamps in the logs.

Response

Get database 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