OS Manuals

/usr/bin/postgrest

Serve a RESTful API from any PostgreSQL database

From postgrest 16.5-r0 (enterprise-packages), captured 2026-11-08 by running postgrest --help (exit 0). permalink

Usage: postgrest [-v|--version] [-e|--example]
                 [--dump-config | --dump-schema | --ready] [FILENAME]

  PostgREST 16.5 / create a REST API to an existing Postgres database

Available options:
  -h,--help                Show this help text
  -v,--version             Show the version information
  -e,--example             Show an example configuration file
  --dump-config            Dump loaded configuration and exit
  --dump-schema            Dump loaded schema as JSON and exit (for debugging,
                           output structure is unstable)
  --ready                  Checks the health of PostgREST by doing a request on
                           the admin server /ready endpoint
  FILENAME                 Path to configuration file
Options (6)
OptionDescriptionSource
-h, --helpShow this help texthelp
-v, --versionShow the version informationhelp
-e, --exampleShow an example configuration filehelp
--dump-configDump loaded configuration and exithelp
--dump-schemaDump loaded schema as JSON and exit (for debugging, output structure is unstable)help
--readyChecks the health of PostgREST by doing a request on the admin server /ready endpointhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.