Skip to main content
GET
Get a bouncer restart

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organization
string
required

Organization name slug from list_organizations. Example: acme.

database
string
required

Database name slug from list_databases. Example: app-db.

branch
string
required

Branch name from list_branches. Example: main.

bouncer
string
required

The name of the bouncer, or primary for the built-in PgBouncer of the primary instance

id
string
required

The ID of the restart

Response

Returns a bouncer restart

id
string
required

The ID of the restart

state
enum<string>
required

The state of the restart

Available options:
pending,
running,
succeeded,
failed,
canceled
target
enum<string>
required

dedicated restarts a dedicated bouncer; local restarts the built-in PgBouncer of the primary instance.

Available options:
dedicated,
local
bouncer
string
required

The name of the restarted bouncer, or primary for the built-in PgBouncer of the primary instance

started_at
string | null
required

When the restart was requested

completed_at
string | null
required

When the restart finished

created_at
string
required

When the restart was created

updated_at
string
required

When the restart was last updated

actor
object
required
error
string | null

Why the restart failed. A failed restart has an unconfirmed outcome: some instances may have restarted.