Prisma
Prisma ORM gives TypeScript developers a schema-first workflow with a generated client, autocomplete, and compile-time guarantees.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 | oauth2 | available | — |
| API Key | api_key | available | — |
调用示例
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 目录
可用 Tools
94 个可调用操作
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
Permanently deletes the bucket with the given ID, all objects stored in it, and all its access keys. This action cannot be undone.
认证
需要 Connected AccountTags
Delete connectionPRISMA_DELETE_V1_CONNECTIONS_BY_IDDeletes the connection with the given ID.需要连接
Deletes the connection with the given ID.
认证
需要 Connected AccountTags
Delete databasePRISMA_DELETE_V1_DATABASES_BY_DATABASE_IDDeletes the database with the given ID.需要连接
Deletes the database with the given ID.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Delete integrationPRISMA_DELETE_V1_INTEGRATIONS_BY_IDRevokes the integration tokens by integration ID.需要连接
Revokes the integration tokens by integration ID.
认证
需要 Connected AccountTags
Delete projectPRISMA_DELETE_V1_PROJECTS_BY_IDDeletes the project with the given ID.需要连接
Deletes the project with the given ID.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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=.需要连接
⚠️ 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=.
认证
需要 Connected AccountTags
List bucketsPRISMA_GET_V1_BUCKETSReturns all object-store buckets the token has access to. Optionally filter by project ID.需要连接
Returns all object-store buckets the token has access to. Optionally filter by project ID.
认证
需要 Connected AccountTags
Get bucketPRISMA_GET_V1_BUCKETS_BY_BUCKET_IDReturns the bucket with the given ID.需要连接
Returns the bucket with the given ID.
认证
需要 Connected AccountTags
List bucket keysPRISMA_GET_V1_BUCKETS_BY_BUCKET_ID_KEYSReturns all access keys for the given bucket.需要连接
Returns all access keys for the given bucket.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
List connectionsPRISMA_GET_V1_CONNECTIONSReturns all connections the actor has access to, with optional database filter.需要连接
Returns all connections the actor has access to, with optional database filter.
认证
需要 Connected AccountTags
Get connectionPRISMA_GET_V1_CONNECTIONS_BY_IDReturns the connection with the given ID.需要连接
Returns the connection with the given ID.
认证
需要 Connected AccountTags
List databasesPRISMA_GET_V1_DATABASESReturns all databases the token has access to. Optionally filter by project ID.需要连接
Returns all databases the token has access to. Optionally filter by project ID.
认证
需要 Connected AccountTags
Get databasePRISMA_GET_V1_DATABASES_BY_DATABASE_IDReturns the database with the given ID.需要连接
Returns the database with the given ID.
认证
需要 Connected AccountTags
Get list of backupsPRISMA_GET_V1_DATABASES_BY_DATABASE_ID_BACKUPSReturns backups for the specified database.需要连接
Returns backups for the specified database.
认证
需要 Connected AccountTags
Get list of database connectionsPRISMA_GET_V1_DATABASES_BY_DATABASE_ID_CONNECTIONSReturns all connections for the given database.需要连接
Returns all connections for the given database.
认证
需要 Connected AccountTags
Get database usage metricsPRISMA_GET_V1_DATABASES_BY_DATABASE_ID_USAGEReturns usage metrics for the specified database.需要连接
Returns usage metrics for the specified database.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Get list of integrationsPRISMA_GET_V1_INTEGRATIONSReturns integrations filtered by workspace ID.需要连接
Returns integrations filtered by workspace ID.
认证
需要 Connected AccountTags
Get integration by IDPRISMA_GET_V1_INTEGRATIONS_BY_IDReturns a single integration by its ID.需要连接
Returns a single integration by its ID.
认证
需要 Connected AccountTags
Get current authenticated principalPRISMA_GET_V1_MEReturns the user, workspace, and credential represented by the current token.需要连接
Returns the user, workspace, and credential represented by the current token.
认证
需要 Connected AccountTags
Get list of projectsPRISMA_GET_V1_PROJECTSReturns the list of projects the token has access to.需要连接
Returns the list of projects the token has access to.
认证
需要 Connected AccountTags
Get projectPRISMA_GET_V1_PROJECTS_BY_IDReturns the project with the given ID.需要连接
Returns the project with the given ID.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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).需要连接
⚠️ 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).
认证
需要 Connected AccountTags
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".需要连接
⚠️ 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".
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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).需要连接
⚠️ 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).
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Get list of databasesPRISMA_GET_V1_PROJECTS_BY_PROJECT_ID_DATABASESReturns databases for the given project.需要连接
Returns databases for the given project.
认证
需要 Connected AccountTags
Get all regionsPRISMA_GET_V1_REGIONSReturns all available regions across products. Optionally filter by product.需要连接
Returns all available regions across products. Optionally filter by product.
认证
需要 Connected AccountTags
Get Prisma Accelerate regionsPRISMA_GET_V1_REGIONS_ACCELERATEReturns all available regions for Prisma Accelerate.需要连接
Returns all available regions for Prisma Accelerate.
认证
需要 Connected AccountTags
Get Prisma Postgres regionsPRISMA_GET_V1_REGIONS_POSTGRESReturns all available regions for Prisma Postgres.需要连接
Returns all available regions for Prisma Postgres.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Lists repositories accessible to the given SCM installation.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Returns a single source repository link by ID.
认证
需要 Connected AccountTags
Get list of workspacesPRISMA_GET_V1_WORKSPACESReturns the list of workspaces the current token can access.需要连接
Returns the list of workspaces the current token can access.
认证
需要 Connected AccountTags
Get workspacePRISMA_GET_V1_WORKSPACES_BY_IDReturns the workspace with the given ID.需要连接
Returns the workspace with the given ID.
认证
需要 Connected AccountTags
Get workspace subscriptionPRISMA_GET_V1_WORKSPACES_BY_ID_SUBSCRIPTIONReturns subscription information for the workspace with the given ID.需要连接
Returns subscription information for the workspace with the given ID.
认证
需要 Connected AccountTags
Get list of integrationsPRISMA_GET_V1_WORKSPACES_BY_WORKSPACE_ID_INTEGRATIONSReturns integrations for the given workspace.需要连接
Returns integrations for the given workspace.
认证
需要 Connected AccountTags
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.需要连接
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ Updates the display name of an app.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Update databasePRISMA_PATCH_V1_DATABASES_BY_DATABASE_IDUpdates the database with the given ID.需要连接
Updates the database with the given ID.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Update projectPRISMA_PATCH_V1_PROJECTS_BY_IDUpdates the project with the given ID.需要连接
Updates the project with the given ID.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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).需要连接
⚠️ 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).
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Create bucketPRISMA_POST_V1_BUCKETSCreates a new object-store bucket in the specified project.需要连接
Creates a new object-store bucket in the specified project.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Create connectionPRISMA_POST_V1_CONNECTIONSCreates a new connection for the specified database.需要连接
Creates a new connection for the specified database.
认证
需要 Connected AccountTags
Create databasePRISMA_POST_V1_DATABASESCreates a new database in the specified project.需要连接
Creates a new database in the specified project.
认证
需要 Connected AccountTags
Create database connection stringPRISMA_POST_V1_DATABASES_BY_DATABASE_ID_CONNECTIONSCreates a new connection string for the given database.需要连接
Creates a new connection string for the given database.
认证
需要 Connected AccountTags
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.需要连接
⚠️ **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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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).需要连接
⚠️ 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).
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Create project with a postgres databasePRISMA_POST_V1_PROJECTSCreates a new project with a postgres database.需要连接
Creates a new project with a postgres database.
认证
需要 Connected AccountTags
Transfer projectPRISMA_POST_V1_PROJECTS_BY_ID_TRANSFERTransfer the project with the given ID to the new owner's workspace需要连接
Transfer the project with the given ID to the new owner's workspace
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
Create databasePRISMA_POST_V1_PROJECTS_BY_PROJECT_ID_DATABASESCreates a new database for the given project.需要连接
Creates a new database for the given project.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags
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.需要连接
⚠️ 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.
认证
需要 Connected AccountTags