Skip to main content
GET
List the project's issued database credentials

Authorizations

Authorization
string
header
required

WorkOS access JWT or a user-owned WorkOS API key. User keys are bound to one organization and restricted to their enabled product permissions. Session-only onboarding and session revocation require an interactive access JWT. No cookie session is assumed.

Headers

X-Request-Id
string

Optional caller-provided correlation identifier.

Required string length: 1 - 128

Path Parameters

project_id
string
required

Project identifier.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Query Parameters

environment
enum<string>

Restrict the listing to one application environment.

Available options:
dev,
prod

Response

The newest database credentials for this project, newest first.

items
object[]
required
Maximum array length: 50