---
title: "Gets project's postgrest config"
method: GET
path: "/v1/projects/{ref}/postgrest"
tags: ["Rest"]
---

# Gets project's postgrest config

`GET /v1/projects/{ref}/postgrest`

## Path parameters

- `ref` string, required

## Response `200`

- PostgrestConfigWithJWTSecretResponse
  - `db_schema` string, required
  - `max_rows` integer, required
  - `db_extra_search_path` string, required
  - `db_pool` integer, nullable, required — If `null`, the value is automatically configured based on compute size.
  - `db_pool_acquisition_timeout` integer, nullable, required — If `null`, the value is automatically configured to 10.
  - `jwt_secret` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded
- `500` — Failed to retrieve project's postgrest 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)
