Skip to main content
POST
/
postgresgateway
/
list
Python SDK
user_list = client.postgres_gateway.users.list(limit=5)

for user in client.postgres_gateway.users:
    user # do something with the user

for user_list in client.postgres_gateway.users(chunk_size=25):
    user_list # do something with the users
{
  "items": [
    {
      "username": "<string>",
      "createdTime": 1730204346000,
      "lastUpdatedTime": 1730204346000,
      "sessionId": 4503599627370496
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Body

application/json
limit
integer<int32>
Required range: 1 <= x <= 10
cursor
string

Cursor for pagination

Response

List of users paginated

items
Items · object[]
required
Maximum array length: 100
nextCursor
string

Cursor for pagination

Last modified on April 23, 2026