External Services

Enable `pg_stat_statements` on a standalone Postgres service.

Stops the container and restarts it so that the shared_preload_libraries=pg_stat_statements CMD flag (baked into every new standalone Postgres container) takes effect. The named data volume is reused unchanged — no data is lost.

Clustered (HA) services are rejected with 422 — a blind single-container restart bypasses controlled failover. For clustered services the response body describes the manual rolling-restart steps.

Confirmation is the caller's responsibility (UI dialog / CLI --yes flag) before invoking this endpoint.

post/external-services/{service_id}/pg-stat-statements/enable

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/external-services/{service_id}/pg-stat-statements/enable
  • Auth: HTTP bearer

Path parameters

service_idinteger required

ID of the provisioned standalone Postgres service

Response

Container restarted; pg_stat_statements now active

messagestring required

Human-readable message confirming the action.

Changes

No recorded changes to this operation across all 50 revisions of this API.