---
title: "Get project's pgbouncer config"
method: GET
path: "/v1/projects/{ref}/config/database/pgbouncer"
tags: ["Database"]
---

# Get project's pgbouncer config

`GET /v1/projects/{ref}/config/database/pgbouncer`

## Path parameters

- `ref` string, required

## Response `200`

- V1PgbouncerConfigResponse
  - `default_pool_size` integer
  - `ignore_startup_parameters` string
  - `max_client_conn` integer
  - `pool_mode` 'transaction' | 'session' | 'statement'
  - `connection_string` string
  - `server_idle_timeout` integer
  - `server_lifetime` integer
  - `query_wait_timeout` integer
  - `reserve_pool_size` integer

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded
- `500` — Failed to retrieve project's pgbouncer config

---

[API](https://skmtc.dev/supabase/apis/management-api.md) · [All operations](https://skmtc.dev/supabase/apis/management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/supabase/management-api/revisions/a7cb39418064/schema)
