Prisma Connections API

Operations for managing database connection strings

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/connections List connections I have access to · List connections #
Ask an LLM
“Which database connections can my token see across all databases?”
“Can I filter the v1 connection list down to one database?”
Tell an agent
List all my connections.
Page through my v1 connections filtered to database {databaseId}.
POST /v1/connections Create a named connection for a database · Create connection #
Ask an LLM
“How do I create a named connection for a database with the v1 API?”
“What do I need to supply to add a connection to a database?”
Tell an agent
Create a connection named {name} for database {databaseId}.
Add connection {name} to {databaseId} through the v1 connections endpoint.
GET /v1/connections/{id} Get a connection by ID · Get connection #
Ask an LLM
“How do I look up one connection by its ID?”
“What does the v1 API return for a single connection?”
Tell an agent
Get connection {id}.
Show me the details of connection {id}.
DELETE /v1/connections/{id} Delete a connection · Delete connection #
Ask an LLM
“Can I delete a connection by ID with the v1 API?”
“Is removing a v1 connection reversible?”
Tell an agent destructive · confirm first
Delete connection {id}.
Remove connection {id} via the v1 connections endpoint.
POST /v1/connections/{id}/rotate Rotate a connection's credentials · Rotate connection credentials #
Ask an LLM
“How do I rotate credentials for a database connection?”
“Are the old credentials revoked immediately when I rotate them?”
Tell an agent
Rotate the credentials for connection {id}.
Generate fresh credentials for {id}.
GET /databases/{databaseId}/connections List a database's connection strings · Prisma List database connection strings #
Ask an LLM
“Where can I find the direct TCP connection details for a database?”
“Can I see the Prisma Postgres connection string for one database?”
Tell an agent
List connection strings for database {databaseId}.
Show the Prisma Postgres and direct TCP connection strings for {databaseId}.
POST /databases/{databaseId}/connections Generate a connection string for a database · Prisma Create a database connection string #
Ask an LLM
“How do I generate a pooled connection string for a database?”
“What connection types can I pick when generating a connection string?”
Tell an agent
Generate a {type} connection string for database {databaseId}.
Create a {type} connection string called {name} on {databaseId}.
DELETE /connections/{connectionId} Revoke a database connection string · Prisma Delete a connection string #
Ask an LLM
“Do clients lose database access as soon as a connection string is deleted?”
“How can I revoke a connection string that was exposed?”
Tell an agent destructive · confirm first
Revoke connection string {connectionId}.
Delete connection string {connectionId} so no client can use it.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/prisma:prisma-connections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

prisma-connections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prisma Connections API
  version: '1.0'
  description: 'Operations tagged Connections across 2 of this provider''s published API definitions: prisma-postgres-management-api-openapi.json, prisma-postgres-management-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prisma.io
- url: https://api.prisma.io/v1
  description: Prisma Management API production server
tags:


# --- truncated at 32 KB (35 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/prisma/refs/heads/main/openapi/prisma-connections-api-openapi.yml