Databases

List databases

Returns all databases the token has access to. Optionally filter by project ID.

get/v1/databases

Request

  • Base URL: https://api.prisma.io
  • URL: https://api.prisma.io/v1/databases
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
    • HTTP bearer

Query parameters

cursorstring nullable

Cursor for pagination

limitnumber

Limit for pagination

projectIdstring

Filter databases by project ID

logicalIdstring

Declared identity of the resource, unique within its branch. Set by the tool that declares the resource.

'unassigned'
OR
string
branchGitNamestring

Response

Returns the list of databases.

Changes

No recorded changes to this operation across all 1 revision of this API.