Prisma
Prisma ORM gives TypeScript developers a schema-first workflow with a generated client, autocomplete, and compile-time guarantees.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
| API Key | api_key | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "PRISMA_DELETE_V1_APPS_BY_APP_ID", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("PRISMA_DELETE_V1_APPS_BY_APP_ID", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute PRISMA_DELETE_V1_APPS_BY_APP_ID --data '{ }'Tool catalog
Available tools
94 callable operations
Delete appPRISMA_DELETE_V1_APPS_BY_APP_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Deletes an app. Deployments under the app are deleted before the app is deleted.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Deletes an app. Deployments under the app are deleted before the app is deleted.
Authentication
Connected account requiredTags
Soft-delete a branchPRISMA_DELETE_V1_BRANCHES_BY_BRANCH_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Soft-deletes a Branch (sets deletedAt). Refuses if the Branch is the Project's current default, the Project's production Branch, or has live members.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Soft-deletes a Branch (sets deletedAt). Refuses if the Branch is the Project's current default, the Project's production Branch, or has live members.
Authentication
Connected account requiredTags
Delete bucketPRISMA_DELETE_V1_BUCKETS_BY_BUCKET_IDPermanently deletes the bucket with the given ID, all objects stored in it, and all its access keys. This action cannot be undone.Connection
Permanently deletes the bucket with the given ID, all objects stored in it, and all its access keys. This action cannot be undone.
Authentication
Connected account requiredTags
Delete connectionPRISMA_DELETE_V1_CONNECTIONS_BY_IDDeletes the connection with the given ID.Connection
Deletes the connection with the given ID.
Authentication
Connected account requiredTags
Delete databasePRISMA_DELETE_V1_DATABASES_BY_DATABASE_IDDeletes the database with the given ID.Connection
Deletes the database with the given ID.
Authentication
Connected account requiredTags
Delete deploymentPRISMA_DELETE_V1_DEPLOYMENTS_BY_DEPLOYMENT_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Permanently deletes the deployment, its metadata, and any associated VM. The deployment must be stopped or in the `new` state before it can be deleted.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Permanently deletes the deployment, its metadata, and any associated VM. The deployment must be stopped or in the `new` state before it can be deleted.
Authentication
Connected account requiredTags
Delete a custom domainPRISMA_DELETE_V1_DOMAINS_BY_DOMAIN_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Removes a custom domain binding. Authorization is derived from the parent compute service's workspace.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Removes a custom domain binding. Authorization is derived from the parent compute service's workspace.
Authentication
Connected account requiredTags
Delete an environment variablePRISMA_DELETE_V1_ENVIRONMENT_VARIABLES_BY_ENV_VAR_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Removes an environment variable. A second delete of the same variable returns 404.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Removes an environment variable. A second delete of the same variable returns 404.
Authentication
Connected account requiredTags
Delete integrationPRISMA_DELETE_V1_INTEGRATIONS_BY_IDRevokes the integration tokens by integration ID.Connection
Revokes the integration tokens by integration ID.
Authentication
Connected account requiredTags
Delete projectPRISMA_DELETE_V1_PROJECTS_BY_IDDeletes the project with the given ID.Connection
Deletes the project with the given ID.
Authentication
Connected account requiredTags
Release Alchemy deploy leasePRISMA_DELETE_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_LEASE⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Releases the deploy lease addressed by the Alchemy-State-Lease-Id header on clean deploy exit. A missing, replaced, or expired lease returns 404 — a lost lease at release time is surfaced, not idempotently swallowed.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Releases the deploy lease addressed by the Alchemy-State-Lease-Id header on clean deploy exit. A missing, replaced, or expired lease returns 404 — a lost lease at release time is surfaced, not idempotently swallowed.
Authentication
Connected account requiredTags
Delete Alchemy stack statePRISMA_DELETE_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Deletes every resource-state and output row of the stack, or only the given stage's rows when the stage query parameter is set. Requires a live deploy lease on the affected stage; without a stage it additionally requires that no other stage of the stack holds a live lease, so one stage's deploy can never delete state another stage's deploy is using. Idempotent.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Deletes every resource-state and output row of the stack, or only the given stage's rows when the stage query parameter is set. Requires a live deploy lease on the affected stage; without a stage it additionally requires that no other stage of the stack holds a live lease, so one stage's deploy can never delete state another stage's deploy is using. Idempotent.
Authentication
Connected account requiredTags
Delete Alchemy resource statePRISMA_DELETE_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES_BY_STAGE_RESOURCES_BY_FQN⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Deletes the resource state row. Idempotent: deleting an absent row also returns 204.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Deletes the resource state row. Idempotent: deleting an absent row also returns 204.
Authentication
Connected account requiredTags
Disconnect a source repositoryPRISMA_DELETE_V1_SOURCE_REPOSITORIES_BY_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Disconnects the source repository link. Existing branches and their attached resources are preserved.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Disconnects the source repository link. Existing branches and their attached resources are preserved.
Authentication
Connected account requiredTags
List appsPRISMA_GET_V1_APPS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns all apps the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns all apps the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.
Authentication
Connected account requiredTags
Get appPRISMA_GET_V1_APPS_BY_APP_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns an app by ID, including its region and active promoted deployment reference.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns an app by ID, including its region and active promoted deployment reference.
Authentication
Connected account requiredTags
List deploymentsPRISMA_GET_V1_APPS_BY_APP_ID_DEPLOYMENTS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns all deployments belonging to an app, ordered by creation time (newest first). Supports cursor-based pagination.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns all deployments belonging to an app, ordered by creation time (newest first). Supports cursor-based pagination.
Authentication
Connected account requiredTags
List custom domains for an appPRISMA_GET_V1_APPS_BY_APP_ID_DOMAINS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns all custom domains attached to any deployment of the app. Domains are aggregated across all deployments since Foundry lists per deployment.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns all custom domains attached to any deployment of the app. Domains are aggregated across all deployments since Foundry lists per deployment.
Authentication
Connected account requiredTags
Get a branchPRISMA_GET_V1_BRANCHES_BY_BRANCH_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a single Branch by ID. Member resources are not inlined — list them via /v1/databases?branchId= and /v1/apps?branchId=.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a single Branch by ID. Member resources are not inlined — list them via /v1/databases?branchId= and /v1/apps?branchId=.
Authentication
Connected account requiredTags
List bucketsPRISMA_GET_V1_BUCKETSReturns all object-store buckets the token has access to. Optionally filter by project ID.Connection
Returns all object-store buckets the token has access to. Optionally filter by project ID.
Authentication
Connected account requiredTags
Get bucketPRISMA_GET_V1_BUCKETS_BY_BUCKET_IDReturns the bucket with the given ID.Connection
Returns the bucket with the given ID.
Authentication
Connected account requiredTags
List bucket keysPRISMA_GET_V1_BUCKETS_BY_BUCKET_ID_KEYSReturns all access keys for the given bucket.Connection
Returns all access keys for the given bucket.
Authentication
Connected account requiredTags
List buildsPRISMA_GET_V1_BUILDS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the builds of the caller's workspace, newest first, filtered by project, branch, or state. `cursor` is opaque: pass back the `nextCursor` the previous page returned.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the builds of the caller's workspace, newest first, filtered by project, branch, or state. `cursor` is opaque: pass back the `nextCursor` the previous page returned.
Authentication
Connected account requiredTags
Get a buildPRISMA_GET_V1_BUILDS_BY_BUILD_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns one build with the resources it reported acting on.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns one build with the resources it reported acting on.
Authentication
Connected account requiredTags
Stream build logsPRISMA_GET_V1_BUILDS_BY_BUILD_ID_LOGS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Streams the full build log for a build as newline-delimited JSON (`application/x-ndjson`). Each line is a JSON object discriminated by `type`: `log` (a build output line) or `terminal` (end-of-stream marker with a `cursor` for resumption). The default is a finite dump that ends once the stream is drained; pass `follow=true` to keep the connection open for an in-flight build, and `cursor` to resume from a prior terminal cursor.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Streams the full build log for a build as newline-delimited JSON (`application/x-ndjson`). Each line is a JSON object discriminated by `type`: `log` (a build output line) or `terminal` (end-of-stream marker with a `cursor` for resumption). The default is a finite dump that ends once the stream is drained; pass `follow=true` to keep the connection open for an in-flight build, and `cursor` to resume from a prior terminal cursor.
Authentication
Connected account requiredTags
List connectionsPRISMA_GET_V1_CONNECTIONSReturns all connections the actor has access to, with optional database filter.Connection
Returns all connections the actor has access to, with optional database filter.
Authentication
Connected account requiredTags
Get connectionPRISMA_GET_V1_CONNECTIONS_BY_IDReturns the connection with the given ID.Connection
Returns the connection with the given ID.
Authentication
Connected account requiredTags
List databasesPRISMA_GET_V1_DATABASESReturns all databases the token has access to. Optionally filter by project ID.Connection
Returns all databases the token has access to. Optionally filter by project ID.
Authentication
Connected account requiredTags
Get databasePRISMA_GET_V1_DATABASES_BY_DATABASE_IDReturns the database with the given ID.Connection
Returns the database with the given ID.
Authentication
Connected account requiredTags
Get list of backupsPRISMA_GET_V1_DATABASES_BY_DATABASE_ID_BACKUPSReturns backups for the specified database.Connection
Returns backups for the specified database.
Authentication
Connected account requiredTags
Get list of database connectionsPRISMA_GET_V1_DATABASES_BY_DATABASE_ID_CONNECTIONSReturns all connections for the given database.Connection
Returns all connections for the given database.
Authentication
Connected account requiredTags
Get database usage metricsPRISMA_GET_V1_DATABASES_BY_DATABASE_ID_USAGEReturns usage metrics for the specified database.Connection
Returns usage metrics for the specified database.
Authentication
Connected account requiredTags
Get deploymentPRISMA_GET_V1_DEPLOYMENTS_BY_DEPLOYMENT_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a deployment by ID, including its current status derived from the underlying VM state.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a deployment by ID, including its current status derived from the underlying VM state.
Authentication
Connected account requiredTags
Get deployment logsPRISMA_GET_V1_DEPLOYMENTS_BY_DEPLOYMENT_ID_LOGS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns log output for the specified deployment. Each record is a JSON object with `type: "log"` (log text + byte metadata) or `type: "terminal"` (end-of-page signal with a resume cursor). A plain GET responds with newline-delimited JSON (`application/x-ndjson`): it drains the requested window (`tail`, `from_start`, or `cursor`), ends with a terminal record carrying the cursor for the next page, and closes. Send an `Upgrade: websocket` header to follow the log live instead; a live segment ends after 10 minutes with the same terminal/cursor mechanism.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns log output for the specified deployment. Each record is a JSON object with `type: "log"` (log text + byte metadata) or `type: "terminal"` (end-of-page signal with a resume cursor). A plain GET responds with newline-delimited JSON (`application/x-ndjson`): it drains the requested window (`tail`, `from_start`, or `cursor`), ends with a terminal record carrying the cursor for the next page, and closes. Send an `Upgrade: websocket` header to follow the log live instead; a live segment ends after 10 minutes with the same terminal/cursor mechanism.
Authentication
Connected account requiredTags
Get a custom domainPRISMA_GET_V1_DOMAINS_BY_DOMAIN_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns details for a custom domain by id. Authorization is derived from the parent compute service's workspace.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns details for a custom domain by id. Authorization is derived from the parent compute service's workspace.
Authentication
Connected account requiredTags
List environment variablesPRISMA_GET_V1_ENVIRONMENT_VARIABLES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a paginated list of environment variables. All filters are optional; combine `projectId`, `class`, and `key` to look up a specific variable by name.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a paginated list of environment variables. All filters are optional; combine `projectId`, `class`, and `key` to look up a specific variable by name.
Authentication
Connected account requiredTags
Get an environment variablePRISMA_GET_V1_ENVIRONMENT_VARIABLES_BY_ENV_VAR_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a single environment variable's metadata. The value is not returned.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a single environment variable's metadata. The value is not returned.
Authentication
Connected account requiredTags
Get list of integrationsPRISMA_GET_V1_INTEGRATIONSReturns integrations filtered by workspace ID.Connection
Returns integrations filtered by workspace ID.
Authentication
Connected account requiredTags
Get integration by IDPRISMA_GET_V1_INTEGRATIONS_BY_IDReturns a single integration by its ID.Connection
Returns a single integration by its ID.
Authentication
Connected account requiredTags
Get current authenticated principalPRISMA_GET_V1_MEReturns the user, workspace, and credential represented by the current token.Connection
Returns the user, workspace, and credential represented by the current token.
Authentication
Connected account requiredTags
Get list of projectsPRISMA_GET_V1_PROJECTSReturns the list of projects the token has access to.Connection
Returns the list of projects the token has access to.
Authentication
Connected account requiredTags
Get projectPRISMA_GET_V1_PROJECTS_BY_IDReturns the project with the given ID.Connection
Returns the project with the given ID.
Authentication
Connected account requiredTags
List branches in a projectPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the live Branches of a Project. Supports two mutually exclusive filters: ?gitName= (exact match — at most one row), ?gitNameContains= (case-sensitive substring). Soft-deleted Branches are not returned. Ordered by createdAt ascending.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the live Branches of a Project. Supports two mutually exclusive filters: ?gitName= (exact match — at most one row), ?gitNameContains= (case-sensitive substring). Soft-deleted Branches are not returned. Ordered by createdAt ascending.
Authentication
Connected account requiredTags
List Alchemy stacksPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the distinct stack names with state or output rows on the branch. Requires no deploy lease: the stock client's auth probe (checkHttpStateStoreAuth) calls this endpoint bare, and it exposes stack names only.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the distinct stack names with state or output rows on the branch. Requires no deploy lease: the stock client's auth probe (checkHttpStateStoreAuth) calls this endpoint bare, and it exposes stack names only.
Authentication
Connected account requiredTags
List Alchemy stagesPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the distinct stage names with state or output rows for the stack. Accepts a live deploy lease on any stage of the stack.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the distinct stage names with state or output rows for the stack. Accepts a live deploy lease on any stage of the stack.
Authentication
Connected account requiredTags
Get Alchemy stack outputPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES_BY_STAGE_OUTPUT⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the stored stack output for the stage, or a JSON null body when absent (the stock client maps null to undefined).Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the stored stack output for the stage, or a JSON null body when absent (the stock client maps null to undefined).
Authentication
Connected account requiredTags
List replaced Alchemy resourcesPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES_BY_STAGE_REPLACED_RESOURCES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the decrypted resource states of the stage whose status is "replaced".Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the decrypted resource states of the stage whose status is "replaced".
Authentication
Connected account requiredTags
List Alchemy resourcesPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES_BY_STAGE_RESOURCES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the resource FQNs stored for the stage, ordered by FQN.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists the resource FQNs stored for the stage, ordered by FQN.
Authentication
Connected account requiredTags
Get Alchemy resource statePRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES_BY_STAGE_RESOURCES_BY_FQN⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the stored resource state, or a JSON null body when absent (the stock client maps null to undefined).Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns the stored resource state, or a JSON null body when absent (the stock client maps null to undefined).
Authentication
Connected account requiredTags
Alchemy state store versionPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_VERSION⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Unauthenticated contract-version probe served verbatim from the pinned alchemy HttpStateApi contract. Returns the constant only and never inspects the addressed project or branch.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Unauthenticated contract-version probe served verbatim from the pinned alchemy HttpStateApi contract. Returns the constant only and never inspects the addressed project or branch.
Authentication
Connected account requiredTags
Get list of databasesPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_DATABASESReturns databases for the given project.Connection
Returns databases for the given project.
Authentication
Connected account requiredTags
Get all regionsPRISMA_GET_V1_REGIONSReturns all available regions across products. Optionally filter by product.Connection
Returns all available regions across products. Optionally filter by product.
Authentication
Connected account requiredTags
Get Prisma Accelerate regionsPRISMA_GET_V1_REGIONS_ACCELERATEReturns all available regions for Prisma Accelerate.Connection
Returns all available regions for Prisma Accelerate.
Authentication
Connected account requiredTags
Get Prisma Postgres regionsPRISMA_GET_V1_REGIONS_POSTGRESReturns all available regions for Prisma Postgres.Connection
Returns all available regions for Prisma Postgres.
Authentication
Connected account requiredTags
List SCM installations for a workspacePRISMA_GET_V1_SCM_INSTALLATIONS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists active SCM installations connected to the given workspace.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists active SCM installations connected to the given workspace.
Authentication
Connected account requiredTags
List repositories accessible to an SCM installationPRISMA_GET_V1_SCM_INSTALLATIONS_BY_INSTALLATION_ID_REPOSITORIES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists repositories accessible to the given SCM installation.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists repositories accessible to the given SCM installation.
Authentication
Connected account requiredTags
List source repositoriesPRISMA_GET_V1_SOURCE_REPOSITORIES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns source repositories linked to a project. Requires projectId query parameter.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns source repositories linked to a project. Requires projectId query parameter.
Authentication
Connected account requiredTags
Get a source repositoryPRISMA_GET_V1_SOURCE_REPOSITORIES_BY_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a single source repository link by ID.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a single source repository link by ID.
Authentication
Connected account requiredTags
Get list of workspacesPRISMA_GET_V1_WORKSPACESReturns the list of workspaces the current token can access.Connection
Returns the list of workspaces the current token can access.
Authentication
Connected account requiredTags
Get workspacePRISMA_GET_V1_WORKSPACES_BY_IDReturns the workspace with the given ID.Connection
Returns the workspace with the given ID.
Authentication
Connected account requiredTags
Get workspace subscriptionPRISMA_GET_V1_WORKSPACES_BY_ID_SUBSCRIPTIONReturns subscription information for the workspace with the given ID.Connection
Returns subscription information for the workspace with the given ID.
Authentication
Connected account requiredTags
Get list of integrationsPRISMA_GET_V1_WORKSPACES_BY_WORKSPACE_ID_INTEGRATIONSReturns integrations for the given workspace.Connection
Returns integrations for the given workspace.
Authentication
Connected account requiredTags
Update appPRISMA_PATCH_V1_APPS_BY_APP_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Updates the display name of an app.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Updates the display name of an app.
Authentication
Connected account requiredTags
Update a branchPRISMA_PATCH_V1_BRANCHES_BY_BRANCH_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Promotes a Branch to be the Project's default. Only isDefault is mutable — gitName rename and role changes are rejected.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Promotes a Branch to be the Project's default. Only isDefault is mutable — gitName rename and role changes are rejected.
Authentication
Connected account requiredTags
Update a buildPRISMA_PATCH_V1_BUILDS_BY_BUILD_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Records progress on a build. Any holder of the workspace token may patch any field — the webhook, the CI run and Composer each report the part of a deploy they can see, and the token is the boundary. Reaching `running` stamps `startedAt` and reaching a terminal state stamps `finishedAt`, both only if unset, so re-reporting the same state does not move the clock. `projectId`, `branchId`, `appId` and `deployedUrl` are fill-only: a reporter that resolves them partway through a deploy sets them here, but a value already recorded cannot be changed and the attempt is a conflict. Sending the value already recorded is accepted and changes nothing. An anchor must belong to the caller's workspace and agree with the anchors the build already carries, so an app from another project is refused.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Records progress on a build. Any holder of the workspace token may patch any field — the webhook, the CI run and Composer each report the part of a deploy they can see, and the token is the boundary. Reaching `running` stamps `startedAt` and reaching a terminal state stamps `finishedAt`, both only if unset, so re-reporting the same state does not move the clock. `projectId`, `branchId`, `appId` and `deployedUrl` are fill-only: a reporter that resolves them partway through a deploy sets them here, but a value already recorded cannot be changed and the attempt is a conflict. Sending the value already recorded is accepted and changes nothing. An anchor must belong to the caller's workspace and agree with the anchors the build already carries, so an app from another project is refused.
Authentication
Connected account requiredTags
Update databasePRISMA_PATCH_V1_DATABASES_BY_DATABASE_IDUpdates the database with the given ID.Connection
Updates the database with the given ID.
Authentication
Connected account requiredTags
Update an environment variable's valuePRISMA_PATCH_V1_ENVIRONMENT_VARIABLES_BY_ENV_VAR_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.
Authentication
Connected account requiredTags
Update projectPRISMA_PATCH_V1_PROJECTS_BY_IDUpdates the project with the given ID.Connection
Updates the project with the given ID.
Authentication
Connected account requiredTags
Heartbeat Alchemy deploy leasePRISMA_PATCH_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_LEASE⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Extends the unexpired deploy lease addressed by the Alchemy-State-Lease-Id header from now. A missing, replaced, or expired lease returns 404 — the lost-lease signal; an expired lease can never be revived.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Extends the unexpired deploy lease addressed by the Alchemy-State-Lease-Id header from now. A missing, replaced, or expired lease returns 404 — the lost-lease signal; an expired lease can never be revived.
Authentication
Connected account requiredTags
Create appPRISMA_POST_V1_APPS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a new app under the specified project. The `projectId` is required in the request body. The app is placed in the given region, or the project's default region if omitted (falling back to us-east-1). Returns `409 Conflict` with the existing app's id, name, and branch if an app with the same name already exists on the resolved branch.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a new app under the specified project. The `projectId` is required in the request body. The app is placed in the given region, or the project's default region if omitted (falling back to us-east-1). Returns `409 Conflict` with the existing app's id, name, and branch if an app with the same name already exists on the resolved branch.
Authentication
Connected account requiredTags
Create deploymentPRISMA_POST_V1_APPS_BY_APP_ID_DEPLOYMENTS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a new deployment under the specified app. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the active promoted deployment's artifact). Environment variables are resolved automatically from the app's attached Branch (production-class templates for the production Branch; preview-class templates for preview Branches). Manage env vars via the `/v1/environment-variables` endpoints, not as part of the deploy payload.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a new deployment under the specified app. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the active promoted deployment's artifact). Environment variables are resolved automatically from the app's attached Branch (production-class templates for the production Branch; preview-class templates for preview Branches). Manage env vars via the `/v1/environment-variables` endpoints, not as part of the deploy payload.
Authentication
Connected account requiredTags
Create a custom domainPRISMA_POST_V1_APPS_BY_APP_ID_DOMAINS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Registers a custom hostname for the app. The hostname must CNAME to the regional switchboard target before DNS verification can succeed. Returns 429 if the app has reached its domain quota (default: 3).Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Registers a custom hostname for the app. The hostname must CNAME to the regional switchboard target before DNS verification can succeed. Returns 429 if the app has reached its domain quota (default: 3).
Authentication
Connected account requiredTags
Promote deploymentPRISMA_POST_V1_APPS_BY_APP_ID_PROMOTE⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Promotes a deployment to be the active deployment behind the app's stable endpoint. The deployment must be running. Returns the app endpoint domain.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Promotes a deployment to be the active deployment behind the app's stable endpoint. The deployment must be running. Returns the app endpoint domain.
Authentication
Connected account requiredTags
Roll an app back to an existing deploymentPRISMA_POST_V1_APPS_BY_APP_ID_ROLLBACK⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Makes any eligible existing deployment live behind the app's stable endpoint (rollback or roll-forward). Unlike promote, a stopped target is started and waited until it is running before the endpoint is switched, so the currently-live deployment keeps serving with zero downtime. Returns the app endpoint domain.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Makes any eligible existing deployment live behind the app's stable endpoint (rollback or roll-forward). Unlike promote, a stopped target is started and waited until it is running before the endpoint is switched, so the currently-live deployment keeps serving with zero downtime. Returns the app endpoint domain.
Authentication
Connected account requiredTags
Create bucketPRISMA_POST_V1_BUCKETSCreates a new object-store bucket in the specified project.Connection
Creates a new object-store bucket in the specified project.
Authentication
Connected account requiredTags
Report a buildPRISMA_POST_V1_BUILDS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Records a build any deploy tool is running — a CI workflow, a deploy script, or Composer from a laptop. The workspace comes from the token, never from the body, which is what lets a build be reported before the project it will create exists. Supplying `runIdentity` makes the call idempotent: a repeat for the same run returns the build already recorded rather than a second one. The response is the same either way; a caller cannot tell whether it created the build or joined one. A build reported with no `runIdentity` has no dedup key, so a client that retries a lost response creates a second build. Supply a `runIdentity` whenever the run has one.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Records a build any deploy tool is running — a CI workflow, a deploy script, or Composer from a laptop. The workspace comes from the token, never from the body, which is what lets a build be reported before the project it will create exists. Supplying `runIdentity` makes the call idempotent: a repeat for the same run returns the build already recorded rather than a second one. The response is the same either way; a caller cannot tell whether it created the build or joined one. A build reported with no `runIdentity` has no dedup key, so a client that retries a lost response creates a second build. Supply a `runIdentity` whenever the run has one.
Authentication
Connected account requiredTags
Create connectionPRISMA_POST_V1_CONNECTIONSCreates a new connection for the specified database.Connection
Creates a new connection for the specified database.
Authentication
Connected account requiredTags
Create databasePRISMA_POST_V1_DATABASESCreates a new database in the specified project.Connection
Creates a new database in the specified project.
Authentication
Connected account requiredTags
Create database connection stringPRISMA_POST_V1_DATABASES_BY_DATABASE_ID_CONNECTIONSCreates a new connection string for the given database.Connection
Creates a new connection string for the given database.
Authentication
Connected account requiredTags
Restore database (destructive)PRISMA_POST_V1_DATABASES_BY_TARGET_DATABASE_ID_RESTORE⚠️ **Destructive operation** — this immediately and irreversibly overwrites all data in the target database with the contents of the specified backup. Any data written since the backup was taken will be lost. Ensure you have a recent backup of the target database before proceeding. Replaces the data in an existing database from a backup. Connections and credentials are preserved — only the data layer is replaced.Connection
⚠️ **Destructive operation** — this immediately and irreversibly overwrites all data in the target database with the contents of the specified backup. Any data written since the backup was taken will be lost. Ensure you have a recent backup of the target database before proceeding. Replaces the data in an existing database from a backup. Connections and credentials are preserved — only the data layer is replaced.
Authentication
Connected account requiredTags
Start deploymentPRISMA_POST_V1_DEPLOYMENTS_BY_DEPLOYMENT_ID_START⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Requests VM creation and startup for the deployment. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Requests VM creation and startup for the deployment. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.
Authentication
Connected account requiredTags
Stop deploymentPRISMA_POST_V1_DEPLOYMENTS_BY_DEPLOYMENT_ID_STOP⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Requests VM shutdown for the deployment. The deployment record and metadata are retained. Poll the status endpoint until `stopped` is reached.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Requests VM shutdown for the deployment. The deployment record and metadata are retained. Poll the status endpoint until `stopped` is reached.
Authentication
Connected account requiredTags
Retry custom domain provisioningPRISMA_POST_V1_DOMAINS_BY_DOMAIN_ID_RETRY⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Retries DNS verification and certificate issuance for a failed or pending domain. Returns 409 if the domain is not yet eligible for retry (e.g. still provisioning).Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Retries DNS verification and certificate issuance for a failed or pending domain. Returns 409 if the domain is not yet eligible for retry (e.g. still provisioning).
Authentication
Connected account requiredTags
Create an environment variablePRISMA_POST_V1_ENVIRONMENT_VARIABLES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a new environment variable in a project's `production` or `preview` environment, or a preview branch override when `branchId` is supplied. Returns 409 if a variable with the same key already exists in that scope — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a new environment variable in a project's `production` or `preview` environment, or a preview branch override when `branchId` is supplied. Returns 409 if a variable with the same key already exists in that scope — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.
Authentication
Connected account requiredTags
Create project with a postgres databasePRISMA_POST_V1_PROJECTSCreates a new project with a postgres database.Connection
Creates a new project with a postgres database.
Authentication
Connected account requiredTags
Transfer projectPRISMA_POST_V1_PROJECTS_BY_ID_TRANSFERTransfer the project with the given ID to the new owner's workspaceConnection
Transfer the project with the given ID to the new owner's workspace
Authentication
Connected account requiredTags
Create a branchPRISMA_POST_V1_PROJECTS_BY_PROJECT_ID_BRANCHES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a Branch under the specified Project. The first Branch in a Project is always created with isDefault=true and role=production regardless of the body value. Later Branches are created with role=preview. Setting isDefault=true while another Branch already holds the default atomically swaps the default flag only.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates a Branch under the specified Project. The first Branch in a Project is always created with isDefault=true and role=production regardless of the body value. Later Branches are created with role=preview. Setting isDefault=true while another Branch already holds the default atomically swaps the default flag only.
Authentication
Connected account requiredTags
Acquire Alchemy deploy leasePRISMA_POST_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_LEASE⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Acquires the deploy lease for a (branch, stack, stage). An expired lease is replaced atomically; a live lease fails fast with 409 naming the current holder — there is no queueing. Every Alchemy state operation requires a live deploy lease.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Acquires the deploy lease for a (branch, stack, stage). An expired lease is replaced atomically; a live lease fails fast with 409 naming the current holder — there is no queueing. Every Alchemy state operation requires a live deploy lease.
Authentication
Connected account requiredTags
Create databasePRISMA_POST_V1_PROJECTS_BY_PROJECT_ID_DATABASESCreates a new database for the given project.Connection
Creates a new database for the given project.
Authentication
Connected account requiredTags
Create an SCM App installation intentPRISMA_POST_V1_SCM_INSTALLATIONS_INSTALL_INTENTS⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates an installation intent for the given workspace and returns a provider-specific URL that the user opens to install the SCM app. Currently only `github` is supported.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Creates an installation intent for the given workspace and returns a provider-specific URL that the user opens to install the SCM app. Currently only `github` is supported.
Authentication
Connected account requiredTags
Link a source repository to a projectPRISMA_POST_V1_SOURCE_REPOSITORIES⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Links a GitHub repository to a Prisma project via an existing SCM installation.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Links a GitHub repository to a Prisma project via an existing SCM installation.
Authentication
Connected account requiredTags
Report a resource a build acted onPRISMA_PUT_V1_BUILDS_BY_BUILD_ID_RESOURCES_BY_RESOURCE_TYPE_BY_RESOURCE_ID⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Records that the build created, acted on, or deleted a platform resource — the provenance a deploy run leaves behind. Idempotent: re-reporting the same resource updates the row rather than adding one, and never weakens the recorded action. The resource must belong to the caller's workspace, and must still be findable: a soft-deleted resource can be reported, but `project`, `database`, `service_key` and `config_variable` leave no row behind, so a build that deletes one must report it before deleting it. Reporting a deployment as `created` also attaches the deployment to the build and records the app it deployed into, both in the same transaction, because a deployment relates its build to that app whether or not the reporter says so.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Records that the build created, acted on, or deleted a platform resource — the provenance a deploy run leaves behind. Idempotent: re-reporting the same resource updates the row rather than adding one, and never weakens the recorded action. The resource must belong to the caller's workspace, and must still be findable: a soft-deleted resource can be reported, but `project`, `database`, `service_key` and `config_variable` leave no row behind, so a build that deletes one must report it before deleting it. Reporting a deployment as `created` also attaches the deployment to the build and records the app it deployed into, both in the same transaction, because a deployment relates its build to that app whether or not the reporter says so.
Authentication
Connected account requiredTags
Set Alchemy stack outputPRISMA_PUT_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES_BY_STAGE_OUTPUT⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Overwrites the stack output for the stage, encrypted at rest, and echoes the stored value.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Overwrites the stack output for the stage, encrypted at rest, and echoes the stored value.
Authentication
Connected account requiredTags
Set Alchemy resource statePRISMA_PUT_V1_PROJECTS_BY_PROJECT_ID_BRANCHES_BY_BRANCH_ID_ALCHEMY_STATE_STATE_STACKS_BY_STACK_STAGES_BY_STAGE_RESOURCES_BY_FQN⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Stores the resource state encrypted at rest and echoes the stored value.Connection
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Stores the resource state encrypted at rest and echoes the stored value.
Authentication
Connected account requiredTags