GET
/v1/organizations/{organizationId}/postgres/{postgresId}/logsThis endpoint is in beta. API contract is stable, and no breaking changes are expected in the future.
Returns PostgreSQL server log entries for a Postgres service within the given time window, most recent first by default (override with sort_order). Results are paginated with limit/offset; advance offset until a page returns fewer than limit entries to read the full window. The time range must not exceed 30 days, and to_date must be after from_date.
Path parameters
Query parameters
Response
JSON
200
Successful response
400
The request cannot be processed due to a client error. Please verify your request parameters and try again.
500
An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.