External Services

Reset all statistics accumulated by `pg_stat_statements` for a Postgres service. This affects every user, database, and normalized query tracked by the target Postgres instance and cannot be undone.

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

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/reset
  • Auth: HTTP bearer

Path parameters

service_idinteger required

ID of the provisioned Postgres service

Request body

confirmboolean required

Must be true to acknowledge the global, irreversible reset.

Response

All accumulated pg_stat_statements statistics cleared

messagestring required

Human-readable message confirming the destructive action.

Changes

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