Skip to main content
Prisma logo
  • Category: databases
  • Auth: OAUTH2, API_KEY
  • Composio-managed OAuth available? Yes
  • Tools: 22
  • Triggers: 0
  • Slug: PRISMA
  • Version: 20261101_00

Tools

Slug: PRISMA_CREATE_BUCKETCreate an object-store bucket in an existing Prisma project. Optionally set a display name, associate a branch by ID or Git name, and declare a logical identity unique within that branch. Returns bucket metadata.

Input Parameters

string
Display name for the bucket. Generated if omitted.
string
Branch to associate the bucket with. Mutually exclusive with branchGitName.
string
Declared resource identity, unique within its branch. Set by the tool declaring the resource.
string
required
ID of the project to create the bucket in.
string
Git name of the branch to associate the bucket with. Mutually exclusive with branchId.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_CREATE_BUCKET_KEYCreate an access key for an existing Prisma object-store bucket. Choose read-only or read/write access and optionally a display name. Returns connection details and a secretAccessKey that is returned exactly once and never stored by Prisma; copy it immediately.

Input Parameters

string
Display name for the key. Generated if omitted.
string ("read" | "read_write")
required
Access role for the key: ‘read’ or ‘read_write’.
string
required
ID of the bucket to create an access key for.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_CREATE_CONNECTIONCreate new API key connection for database access. Creates connection string with embedded credentials for application database access. Returns complete connection details ready for immediate use.

Input Parameters

string
required
Human-readable name for the new connection/API key. This will be displayed in UIs and used for identification. Choose descriptive names like ‘Production API Key’, ‘Analytics Access’, ‘Dev Environment’, etc.
string
required
Unique database identifier to create connection for (format: ‘db_xxxxx’). Must be a database the authenticated user has write access to. The new connection will provide API key access to this database.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_CREATE_DATABASECreate new postgres database in an existing Prisma project. Creates database in specified region with connection strings and API keys. Returns complete database details ready for immediate use.

Input Parameters

string
required
Human-readable name for the new database. This will be displayed in UIs and used for identification. Choose descriptive names like ‘Production DB’, ‘Analytics’, etc.
string
required
AWS region where the database will be deployed. Valid values: ‘us-east-1’, ‘us-west-1’, ‘eu-central-1’, ‘eu-west-3’, ‘ap-southeast-1’, ‘ap-northeast-1’. Choose region closest to your users for optimal performance. Use LIST_POSTGRES_REGIONS to get current available regions.
boolean
Whether this database should be the default for the project. Default false. Only one database can be default per project. Setting to true will make other databases non-default.
string
required
Unique project identifier to create database in (format: ‘prj_xxxxx’). Must be a project the authenticated user has write access to. The new database will belong to this project.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_CREATE_MANAGED_CONNECTIONCreate a managed connection for an existing Prisma database. Returns connection metadata and endpoint connection strings with credentials on creation. Use the returned endpoints for direct, pooled, or Accelerate access.

Input Parameters

string
required
Display name for the new connection (3–65 characters).
string
required
ID of the database to create the connection for.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_CREATE_MANAGED_DATABASECreate a managed database in a Prisma project, optionally cloning or restoring it. Omit source for an empty database. Select a region, default status, branch and declared logical identity as needed. Returns database and connection metadata.

Input Parameters

string
Database display name.
string ("us-east-1" | "us-west-1" | "eu-west-3" | "eu-central-1" | "ap-northeast-1" | "ap-southeast-1" | "inherit")
Defaults to us-east-1 when omitted. Use “inherit” for the project default region, falling back to its default database region.
string
Creation source. Omit to create an empty database.
string
Branch ID; mutually exclusive with branchGitName. Omit for the project’s default branch; null is rejected.
boolean
Whether this is the default database; defaults to false.
string
Declared identity, unique within its branch. Cannot be combined with branchGitName; use branchId instead.
string
required
ID of the project to create the database in.
string
Git branch name; creates the branch if absent. Mutually exclusive with branchId and logicalId. Omit for the default branch; null is rejected.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_CREATE_PROJECTCreate new Prisma project with managed postgres database. Creates project in authenticated user’s workspace with postgres database in specified region. Returns complete project details including connection strings and API keys.

Input Parameters

string
required
Human-readable name for the new project. This will be displayed in UIs and used for identification. Choose descriptive names like ‘Production API’, ‘Dev Environment’, etc.
string
required
AWS region where the postgres database will be deployed. Available regions: ‘us-east-1’, ‘us-west-1’, ‘eu-central-1’, ‘eu-west-3’, ‘ap-southeast-1’, ‘ap-northeast-1’. Choose region closest to your users for optimal performance.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_CREATE_SERVICE_TOKENCreate a service token in a Prisma workspace, optionally limited to one project. Returns the secret value exactly once; copy it immediately. Expiry defaults to 90 days when omitted; explicitly pass null to create a token without expiry.

Input Parameters

string
required
Display name for the service token.
string
Expiry timestamp in the future. Omit for the provider’s 90-day default; pass null for no expiry.
string
Restrict access to this project. Omit or pass null for Full Workspace access.
string
required
ID of the workspace in which to create the service token.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_DELETE_BUCKETPermanently delete a bucket, all objects stored in it, and all its access keys. This action cannot be undone. Returns a tool-local success acknowledgment after the provider accepts the deletion with no response body.

Input Parameters

string
required
ID of the bucket to permanently delete, including all objects and access keys.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_DELETE_BUCKET_KEYRevoke and delete a bucket access key by its bucket and key IDs. Returns a tool-local success acknowledgment after the provider accepts the deletion with no response body.

Input Parameters

string
required
ID of the bucket access key to revoke and delete.
string
required
ID of the bucket that owns the access key.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_DELETE_CONNECTIONPermanently delete database connection and revoke API key access. WARNING: This immediately revokes database access for any applications using this connection string. Ensure no critical systems depend on this connection.

Input Parameters

string
required
Unique connection identifier to delete (format: ‘con_xxxxx’). WARNING: This permanently revokes API key access to the database. Any applications using this connection string will lose access immediately. This action cannot be undone - ensure no critical systems depend on this connection.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_DELETE_DATABASEPermanently delete Prisma database and all stored data. WARNING: This action cannot be undone. All data in the database will be permanently destroyed. Default databases typically cannot be deleted.

Input Parameters

string
required
Unique database identifier to delete (format: ‘db_xxxxx’). WARNING: This permanently deletes the database and all stored data. Default databases typically cannot be deleted. This action cannot be undone. Ensure all important data is backed up before deletion.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_DELETE_INTEGRATIONRevoke the integration tokens by integration ID. Returns a tool-local success acknowledgment after the provider accepts the revocation with no response body.

Input Parameters

string
required
ID of the integration whose tokens should be revoked.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_DELETE_PROJECTPermanently delete Prisma project and all associated resources. WARNING: This action cannot be undone. All databases, environments, and project data will be permanently destroyed. Use with extreme caution in production environments.

Input Parameters

string
required
Unique project identifier to delete (format: ‘proj_xxxxx’). WARNING: This permanently deletes the project and all associated data including databases, environments, and configurations. This action cannot be undone. Ensure all important data is backed up before deletion.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_DELETE_SERVICE_TOKENRevoke a workspace service token by deleting it. Returns a tool-local success acknowledgment after the provider accepts the deletion with no response body.

Input Parameters

string
required
ID of the workspace that owns the service token.
string
required
ID of the service token to revoke and delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_EXECUTE_SQL_COMMANDExecute SQL commands that modify database data or structure. Runs INSERT, UPDATE, DELETE, CREATE TABLE, and other data modification commands safely through PostgreSQL driver with parameterized query support.

Input Parameters

string
required
SQL command to execute against the database (INSERT, UPDATE, DELETE, CREATE TABLE, etc.). Examples: ‘INSERT INTO users (name, email) VALUES ($1, $2)’, ‘UPDATE users SET active = $1 WHERE id = $2’, ‘DELETE FROM sessions WHERE expires_at < NOW()’, ‘CREATE TABLE logs (id SERIAL PRIMARY KEY, message TEXT, created_at TIMESTAMP DEFAULT NOW())’
array
Optional array of parameters for parameterized commands using $1, $2, etc. placeholders. Example: command=‘INSERT INTO users (name, email) VALUES ($1, $2)’, parameters=[‘John Doe’, ‘john@example.com’]. Parameters are automatically escaped to prevent SQL injection.
string
required
PostgreSQL connection string for direct database access. Use the standard format: ‘postgresql://USER:PASSWORD@HOST:PORT/DATABASE?sslmode=require’. Get credentials from create_connection or create_database response fields: use ‘user’ as USER, ‘pass’ as PASSWORD, and ‘host’ as HOST:PORT. Example: ‘postgresql://user:pass@db.prisma.io:5432/postgres?sslmode=require’. Note: Do NOT use Prisma Accelerate URLs (prisma+postgres://accelerate.prisma-data.net/…) - those are for Prisma Client SDK only. Use the direct connection credentials instead.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_EXECUTE_SQL_QUERYExecute SQL queries through a direct SSL PostgreSQL connection and return rows, row count, and execution time. SQL is not restricted to read-only statements; commands may modify data even if fetching results fails.

Input Parameters

string
required
Database host with port (format: ‘db.prisma.io:5432’). Obtain this from create_connection action response field ‘host’. This is the direct PostgreSQL endpoint for your Prisma Postgres database.
string
required
Database username (tenant ID from Prisma). Obtain this from create_connection action response field ‘user’. This is a unique identifier for your database tenant.
string
required
SQL SELECT query to execute against the database. Use standard PostgreSQL syntax. Common examples: ‘SELECT * FROM users LIMIT 10’, ‘SELECT name, email FROM customers WHERE active = true’, ‘SELECT table_name FROM information_schema.tables WHERE table_schema = ‘public”. Avoid INSERT/UPDATE/DELETE - use execute_sql_command for those operations.
string
required
Database password (secret key from Prisma). Obtain this from create_connection action response field ‘pass’. Format is typically ‘sk_xxxxx’. Keep this secure.
array
Optional array of parameters for parameterized queries using %s placeholders. Example: query=‘SELECT * FROM users WHERE id = %s AND active = %s’, parameters=[123, true]. Parameters are automatically escaped to prevent SQL injection. Use %s for each parameter in order they appear in the query.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_BUCKETGet an object-store bucket by ID, including its project and branch metadata.

Input Parameters

string
required
ID of the bucket to retrieve, with or without the bkt_ prefix.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_CONNECTIONGet a connection by ID, including its endpoints and database metadata.

Input Parameters

string
required
ID of the connection to retrieve, with or without the con_ prefix.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_CURRENT_PRINCIPALGet the user, workspace, and credential represented by the current token.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_DATABASERetrieve specific Prisma database by ID. Returns database details including status, project context, and regional deployment. Use for database monitoring, validation, and administrative operations.

Input Parameters

string
required
Unique database identifier to retrieve (format: ‘db_xxxxx’). This ID is obtained from database listing or creation operations. Must be a database the authenticated user has access to.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_DATABASE_USAGERetrieve usage metrics for a specific Prisma database. Returns metrics including storage usage and operation counts (reads/writes) for the specified time period. Use for monitoring resource consumption, cost analysis, and capacity planning.

Input Parameters

string
End date for metrics query in ISO 8601 format (e.g., ‘2025-07-31T23:59:59Z’). Defaults to current date if not provided. Will be set to end of day if a future date is provided.
string
Start date for metrics query in ISO 8601 format (e.g., ‘2025-07-01T00:00:00Z’). Defaults to start of current month if not provided. Use to specify custom date ranges for usage analysis.
string
required
Unique database identifier to retrieve usage metrics for (format: ‘db_xxxxx’). Must be a database the authenticated user has access to. This ID is obtained from database listing or creation operations.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_INTEGRATIONGet an integration by ID, including its scopes, client, and creating user.

Input Parameters

string
required
ID of the integration to retrieve, with or without the itgr_ prefix.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_PROJECTRetrieve specific Prisma project by ID. Returns project details including name, creation timestamp, and workspace information. Use for project detail views, validation, and administrative operations.

Input Parameters

string
required
Unique project identifier to retrieve (format: ‘proj_xxxxx’). This ID is obtained from project listing or creation operations. Must be a project the authenticated user has access to.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_WORKSPACEGet a workspace by ID, including its name, resource URL, and creation time.

Input Parameters

string
required
ID of the workspace to retrieve, with or without the wksp_ prefix.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_GET_WORKSPACE_SUBSCRIPTIONGet a workspace’s subscription plan, usage-blocked status, and upgrade URL.

Input Parameters

string
required
ID of the workspace, with or without the wksp_ prefix.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_INSPECT_DATABASE_SCHEMAInspect tables and columns in the public database schema, optionally for a named table. Returns data types, nullability, defaults, primary and foreign key information, and row counts.

Input Parameters

string
required
Database host with port (format: ‘db.prisma.io:5432’). Obtain this from create_connection action response field ‘host’. This is the direct PostgreSQL endpoint for your Prisma Postgres database.
string
required
Database username (tenant ID from Prisma). Obtain this from create_connection action response field ‘user’. This is a unique identifier for your database tenant.
string
required
Database password (secret key from Prisma). Obtain this from create_connection action response field ‘pass’. Format is typically ‘sk_xxxxx’. Keep this secure.
string
Optional specific table name to inspect. If provided, returns detailed column information for that table only. If omitted, returns overview of all tables in the database. Use for focused schema analysis of specific tables.
boolean
Whether to include index information in the schema results. When true, shows primary keys, foreign keys, and other indexes. Useful for understanding table relationships and query optimization.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_ACCELERATE_REGIONSRetrieve all available regions for Prisma Accelerate. Returns regions where Accelerate global database cache can be deployed. Use for cache region selection to minimize latency for your users.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_ALL_CONNECTIONSList all accessible connections, optionally filtered by database. Returns one page with endpoint and database metadata. Pass pagination.nextCursor as cursor to retrieve the next page, retaining the database filter if used.

Input Parameters

number
Maximum connections per page; defaults to 100.
string
Pagination cursor from the previous response’s nextCursor.
string
Filter connections by database ID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_ALL_DATABASESList databases across all projects accessible to the authenticated token. Optionally filter by project, declared identity, branch ID or Git branch name. Pass pagination.nextCursor as cursor with the same filters to fetch another page.

Input Parameters

number
Page size; defaults to 100.
string
Pagination cursor from the previous response’s nextCursor.
string
Filter by branch ID, or ‘unassigned’ for databases without a branch.
string
Declared resource identity, unique within its branch.
string
Filter databases by project ID.
string
Filter by the branch’s Git name.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_BACKUPSRetrieve list of available backups for a specific database. Returns backup details including status, size, type, and restoration readiness. Use for backup monitoring, restoration planning, and compliance auditing.

Input Parameters

integer
Maximum number of backups to return in a single request. Defaults to 25 if not specified. Typical range is 1-100. Use smaller values (10-25) for UI pagination, larger values (50-100) for processing.
string
required
Unique database identifier to list backups for (format: ‘db_xxxxx’). Must be a database the authenticated user has access to. All available backups for this database will be returned.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_BUCKET_KEYSList access-key metadata for a bucket, without returning secret access keys. Returns one page. Pass pagination.nextCursor as cursor with the same bucketId to retrieve the next page.

Input Parameters

integer
Maximum keys per page, from 1 to 100.
string
Pagination cursor from the previous response’s nextCursor.
string
required
Identifier of the bucket whose access keys to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_BUCKETSList accessible object-store buckets with optional project and branch filters. Returns one page of bucket metadata. Pass pagination.nextCursor as cursor to retrieve the next page, retaining any filters used for the first page.

Input Parameters

integer
Maximum buckets per page, from 1 to 100.
string
Pagination cursor from the previous response’s nextCursor.
string
Filter by branch ID, or use ‘unassigned’ for buckets without a branch.
string
Filter by the resource’s declared identity, unique within its branch.
string
Filter buckets by project ID.
string
Filter by the branch’s Git name.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_CONNECTIONSRetrieve paginated list of connections for a specific database. Returns connection details including names, creation dates, and database context. Use for API key management, security audits, and access control.

Input Parameters

integer
Maximum number of connections to return in a single request. Defaults to 100 if not specified. Valid range is typically 1-500. Use smaller values (10-50) for faster responses when you only need a few connections, or larger values (100-500) when bulk processing.
string
Pagination cursor for retrieving the next page of results. Use the ‘nextCursor’ value from a previous response to get subsequent pages. Leave as None/null for the first page. Enables efficient pagination through large numbers of connections without missing or duplicating entries.
string
required
Unique database identifier to list connections for (format: ‘db_xxxxx’). Must be a database the authenticated user has access to. All connection strings and API keys for this database will be returned.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_DATABASESRetrieve paginated list of databases for a specific Prisma project. Returns database details including status, region, and project context. Use for database discovery, monitoring, and project administration.

Input Parameters

integer
Maximum number of databases to return in a single request. Defaults to 100 if not specified. Valid range is typically 1-500. Use smaller values (10-50) for faster responses when you only need a few databases, or larger values (100-500) when bulk processing.
string
Pagination cursor for retrieving the next page of results. Use the ‘nextCursor’ value from a previous response to get subsequent pages. Leave as None/null for the first page. Enables efficient pagination through large numbers of databases without missing or duplicating entries.
string
required
Unique project identifier to list databases for (format: ‘prj_xxxxx’). Must be a project the authenticated user has access to. All databases belonging to this project will be returned.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_INTEGRATIONSList integrations for a workspace, including clients, creators, and scopes. Returns one page. Pass pagination.nextCursor as cursor to retrieve the next page, retaining the same workspaceId.

Input Parameters

number
Maximum integrations per page; defaults to 100.
string
Pagination cursor from the previous response’s nextCursor.
string
required
Workspace ID whose integrations to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_POSTGRES_REGIONSRetrieve all available regions for Prisma Postgres. Returns regions where Prisma Postgres databases can be deployed with current availability status. Use for region selection during database creation and capacity planning.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_PROJECTSRetrieve paginated list of Prisma projects accessible to authenticated user. Returns project IDs, names, workspace info, and timestamps with cursor-based pagination. Use for project discovery, UI selection flows, and administrative operations.

Input Parameters

integer
Maximum number of projects to return in a single request. Defaults to 100 if not specified. Valid range is typically 1-500. Use smaller values (10-50) for faster responses when you only need a few projects, or larger values (100-500) when bulk processing. The API may return fewer results than requested if fewer projects exist.
string
Pagination cursor for retrieving the next page of results. Use the ‘nextCursor’ value from a previous response to get subsequent pages. Leave as None/null for the first page. This enables efficient pagination through large numbers of projects without missing or duplicating entries.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_REGIONSList all available regions across products, optionally filtered by product. Returns region identifiers, names, products, and availability status when provided.

Input Parameters

string ("postgres" | "accelerate")
Filter regions by product; omit to list all products.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_SERVICE_TOKENSList workspace service-token metadata, newest first, without secret values. Returns one page. Pass pagination.nextCursor as cursor with the same workspaceId to retrieve the next page. The list is empty when the workspace does not exist or the caller is not a member of it.

Input Parameters

integer
Maximum tokens per page, from 1 to 100.
string
Pagination cursor from the previous response’s nextCursor.
string
required
Identifier of the workspace whose service tokens to list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_WORKSPACE_INTEGRATIONSRetrieve 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.

Input Parameters

integer
Maximum number of integrations to return in a single request. Defaults to 100 if not specified. Valid range is typically 1-500. Use smaller values (10-50) for faster responses when you only need a few integrations, or larger values (100-500) when bulk processing.
string
Pagination cursor for retrieving the next page of results. Use the ‘nextCursor’ value from a previous response to get subsequent pages. Leave as None/null for the first page. Enables efficient pagination through large numbers of integrations without missing or duplicating entries.
string
required
Unique workspace identifier to list integrations for (format: ‘wksp_xxxxx’). Must be a workspace the authenticated user has access to. All integrations belonging to this workspace will be returned.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_LIST_WORKSPACESRetrieve 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.

Input Parameters

integer
Maximum number of workspaces to return in a single request. Defaults to 100 if not specified. Valid range is typically 1-500. Use smaller values (10-50) for faster responses when you only need a few workspaces, or larger values (100-500) when bulk processing. The API may return fewer results than requested if fewer workspaces exist.
string
Pagination cursor for retrieving the next page of results. Use the ‘nextCursor’ value from a previous response to get subsequent pages. Leave as None/null for the first page. This enables efficient pagination through large numbers of workspaces without missing or duplicating entries.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_POLL_AGENT_APPROVALPoll 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.

Input Parameters

string
required
ID of the approval to poll.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_RESTORE_BACKUPRestore 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.

Input Parameters

string
required
Unique backup identifier to restore. Must be a completed backup from the specified database. Use list_backups action to find available backup IDs.
string
required
Unique source database identifier containing the backup (format: ‘db_xxxxx’). Must be a database the authenticated user has access to. The backup will be restored from this database’s backup collection.
string
required
Name for the new database created from backup restoration. This will be displayed in UIs and used for identification. Choose descriptive names like ‘Restored DB 2025-01-20’, ‘Production Rollback’, etc.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_RESTORE_DATABASEDestructively 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.

Input Parameters

object
required
Backup source, including type, source database ID and backup ID.
string
required
ID of the existing target database whose data will be overwritten.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_REVOKE_INTEGRATION_TOKENSRevoke 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.

Input Parameters

string
required
Client ID of the integration whose tokens to revoke in the specified workspace.
string
required
ID of the workspace containing the integration.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_ROTATE_CONNECTION_CREDENTIALSGenerate 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.

Input Parameters

string
required
ID of the connection whose credentials to rotate.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_TRANSFER_PROJECTTransfer 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

Input Parameters

string
required
Unique project identifier to transfer (format: ‘proj_xxxxx’). Obtain from PRISMA_LIST_PROJECTS or PRISMA_CREATE_PROJECT response. Must be a project owned by the authenticated user’s workspace. After transfer, the current user loses access unless explicitly granted by the new owner.
string
required
OAuth2 access token of the recipient user who will receive project ownership. This token must be obtained through Prisma’s OAuth2 flow for the recipient user. The recipient workspace must have sufficient quota to receive the project. Typically used in partner integrations to transfer provisioned databases to end users.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_UPDATE_BUCKETUpdate 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.

Input Parameters

string
Target branch ID. Mutually exclusive with branchGitName and logicalId.
string
required
ID of the bucket to update.
string
Declared identity, unique in its branch. Send null to clear; omit to retain. Cannot accompany a branch move.
string
New display label; does not change the provider bucket name.
string
Target Git branch name; created if absent. Cannot accompany branchId or logicalId.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_UPDATE_DATABASEUpdate 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.

Input Parameters

string
New display name for the database.
string
Target branch ID. Mutually exclusive with branchGitName and logicalId. Null (detach) is rejected.
string
Declared identity, unique in its branch. Send null to clear; omit to retain. Cannot accompany a branch move.
string
required
ID of the database to update.
string
Target Git branch name; created if absent. Cannot accompany branchId or logicalId. Null (detach) is rejected.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: PRISMA_UPDATE_PROJECTUpdate an existing Prisma project’s display name or settings. Omitted fields are not sent. Returns the updated project metadata and its containing workspace.

Input Parameters

string
required
ID of the project to update.
string
New project display name. Omit to leave the name unchanged.
object
Project settings object. Omit to leave settings unchanged.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not