Developer Tools · Databases & Storage

Prisma

Prisma Data Platform provides database tools including Accelerate (global database cache), Optimize (AI-driven query analysis), and Prisma Postgres (managed PostgreSQL). Manage workspaces, projects, environments, and API keys programmatically.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • List Workspace Integrations

    Retrieve paginated list of integrations for a specific Prisma workspace. Returns integration details including OAuth client info, granted scopes, and creator. Use for security audits, integration management, and workspace administration.

  • List Prisma Workspaces

    Retrieve paginated list of Prisma workspaces accessible to authenticated user. Returns workspace IDs, names, creation timestamps with cursor-based pagination. Use for workspace discovery, UI selection flows, and administrative operations.

  • Poll Agent Approval

    Poll an approval for the authenticated agent to await the sponsor's decision. Only the agent the approval belongs to can read it. Inspect the returned status before retrying an operation that returned approval_required.

  • Restore Database Backup

    Restore database backup to new database instance. Creates new database from existing backup with specified name. Operation is asynchronous - monitor the returned database status for completion. Restoration may take several minutes.

  • Restore Database

    Destructively overwrite all target database data with a specified backup. This immediately and irreversibly replaces all data in the existing target; data written since the backup was taken is lost. Ensure you have a recent target backup before proceeding. Connections and credentials are preserved. Restore is asynchronous: status remains recovering until it completes.

  • Revoke Integration Tokens

    Revoke integration tokens for the specified client in the specified workspace. Returns a tool-local success acknowledgment after the provider accepts the revocation with no response body.

  • Rotate Connection Credentials

    Generate new credentials for an existing Prisma connection. Previous credentials are invalidated on a best-effort basis: revocation is not guaranteed. Update applications to use the returned new connection strings and credentials, and store them securely.

  • Transfer Prisma Project

    Transfer Prisma project ownership to another user's workspace. Transfers project ownership from the current authenticated user to the recipient specified by their OAuth2 access token. This is typically used in partner integrations where databases are provisioned on the partner's workspace and later transferred to end users. The project and all its databases are moved to the recipient's workspace. The current owner loses access unless the new owner explicitly grants it. Requirements: - Valid project ID owned by the current user - Valid OAuth2 access token for the recipient user - Recipient workspace must have sufficient quota for the project

  • Update Bucket

    Update a bucket's display label, logical identity, or branch. A display name change leaves the provider bucket name, objects, and access keys unchanged. Move the bucket separately from setting or clearing logicalId. To replace an existing logicalId, clear it with null first, then set the new one.

  • Update Database

    Update a database's display name, logical identity, or branch. Every database belongs to a branch; null branch selectors cannot detach it. Move the database separately from setting or clearing logicalId. To replace an existing logicalId, clear it with null first, then set the new one.

  • Update Project

    Update an existing Prisma project's display name or settings. Omitted fields are not sent. Returns the updated project metadata and its containing workspace.

PreviousPage 3 / 3