---
title: "Prisma integration for LuumenAI"
url: "https://www.luumen.ai/integrations/prisma/"
entity: SoftwareIntegration
category: "Databases & data platforms"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Prisma integration for LuumenAI

Read Prisma projects, databases, and usage; create and restore with approval

## What LuumenAI can do with Prisma

LuumenAI connects to Prisma with an API token and exposes 22 tools (13 read-only · 5 write · 4 destructive). Reads answer immediately; writes are shown as a plan and require approval by default, configurable per tool by an administrator.

## Key facts

- Authentication: API token
- Tools available: 22 tools (13 read-only · 5 write · 4 destructive)
- Plan: available on all plans
- Category: Databases & data platforms

## About Prisma with LuumenAI

Connect Prisma and your agent can see the shape of your data platform: projects, Postgres databases, schemas, connections, backups, and usage metrics. Ask about a slow environment or a missing table and get an answer from the live account. Changes like creating a database, issuing a connection key, or restoring a backup are previewed and held for approval first. Luumen authenticates with an API key.

## Example tools

Read-only (13 in total):

- `PRISMA_EXECUTE_SQL_QUERY` — Execute SQL SELECT queries against Prisma Postgres databases.
- `PRISMA_GET_DATABASE` — Retrieve specific Prisma database by ID.
- `PRISMA_GET_DATABASE_USAGE` — Retrieve usage metrics for a specific Prisma database.
- `PRISMA_GET_PROJECT` — Retrieve specific Prisma project by ID.
- `PRISMA_INSPECT_DATABASE_SCHEMA` — Inspect database schema structure and table information.
- `PRISMA_LIST_ACCELERATE_REGIONS` — Retrieve all available regions for Prisma Accelerate.
- `PRISMA_LIST_BACKUPS` — Retrieve list of available backups for a specific database.
- `PRISMA_LIST_CONNECTIONS` — Retrieve paginated list of connections for a specific database.

Write and destructive (9 in total, approval required by default):

- `PRISMA_CREATE_CONNECTION` — Create new API key connection for database access.
- `PRISMA_CREATE_DATABASE` — Create new postgres database in an existing Prisma project.
- `PRISMA_CREATE_PROJECT` — Create new Prisma project with managed postgres database.
- `PRISMA_DELETE_CONNECTION` — Permanently delete database connection and revoke API key access.
- `PRISMA_DELETE_DATABASE` — Permanently delete Prisma database and all stored data.
- `PRISMA_DELETE_PROJECT` — Permanently delete Prisma project and all associated resources.
- `PRISMA_EXECUTE_SQL_COMMAND` — Execute SQL commands that modify database data or structure.
- `PRISMA_RESTORE_BACKUP` — Restore database backup to new database instance.

## Frequently asked questions

### How does LuumenAI connect to Prisma?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Prisma on its own?

Read actions answer immediately. Anything that writes is shown as a plan and requires approval by default, including the 4 actions classified as destructive. Administrators configure that per tool.

### Is there an audit trail?

Every call to Prisma — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/prisma/
