> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment API

> Create releases and deploy them to project environments.

For API groups, see [Deployment API](/docs/cloud/apis/deployment).

## Queries

| Operation | Description |
| - | - |
| [`domain`](/docs/cloud/graphql/operations/deployment-api/queries/domain) | Returns a custom domain. |
| [`domains`](/docs/cloud/graphql/operations/deployment-api/queries/domains) | Lists custom domains for the selected scope. |
| [`environmentById`](/docs/cloud/graphql/operations/deployment-api/queries/environmentbyid) | Get an environment with masked variable metadata. |
| [`environments`](/docs/cloud/graphql/operations/deployment-api/queries/environments) | Lists the environments of a project. |
| [`environmentVariableKeys`](/docs/cloud/graphql/operations/deployment-api/queries/environmentvariablekeys) | Lists environment variable names without returning their values. |
| [`getDeployment`](/docs/cloud/graphql/operations/deployment-api/queries/getdeployment) | Returns a deployment by ID. |
| [`getLatestRelease`](/docs/cloud/graphql/operations/deployment-api/queries/getlatestrelease) | Returns the most recent release in your selected project or account scope, or null when that scope has no accessible releases. |
| [`getRelease`](/docs/cloud/graphql/operations/deployment-api/queries/getrelease) | Returns a release by ID. |
| [`listDeployments`](/docs/cloud/graphql/operations/deployment-api/queries/listdeployments) | Lists deployments for a project. |
| [`listReleases`](/docs/cloud/graphql/operations/deployment-api/queries/listreleases) | Lists releases in your selected project or accessible account projects, newest first with the release ID as the tie-breaker. |
| [`server`](/docs/cloud/graphql/operations/deployment-api/queries/server) | Returns a server visible to the caller. |
| [`servers`](/docs/cloud/graphql/operations/deployment-api/queries/servers) | List project servers by creation time then ID, ascending. |

## Mutations

| Operation | Description |
| - | - |
| [`addDomain`](/docs/cloud/graphql/operations/deployment-api/mutations/adddomain) | Adds a custom domain to an environment. |
| [`createDeployment`](/docs/cloud/graphql/operations/deployment-api/mutations/createdeployment) | Creates a deployment that connects a release to an environment. |
| [`createEnvironment`](/docs/cloud/graphql/operations/deployment-api/mutations/createenvironment) | Creates a project environment. |
| [`createEnvironmentVariable`](/docs/cloud/graphql/operations/deployment-api/mutations/createenvironmentvariable) | Creates an environment variable. |
| [`createRelease`](/docs/cloud/graphql/operations/deployment-api/mutations/createrelease) | Creates a release from project source. |
| [`createServer`](/docs/cloud/graphql/operations/deployment-api/mutations/createserver) | Creates a server for an environment. |
| [`deleteDeployment`](/docs/cloud/graphql/operations/deployment-api/mutations/deletedeployment) | Deletes a deployment record. |
| [`deleteDomain`](/docs/cloud/graphql/operations/deployment-api/mutations/deletedomain) | Removes a custom domain from an environment. |
| [`deleteEnvironment`](/docs/cloud/graphql/operations/deployment-api/mutations/deleteenvironment) | Deletes a project environment. |
| [`deleteEnvironmentVariable`](/docs/cloud/graphql/operations/deployment-api/mutations/deleteenvironmentvariable) | Deletes an environment variable. |
| [`deleteRelease`](/docs/cloud/graphql/operations/deployment-api/mutations/deleterelease) | Deletes a release. |
| [`deleteServer`](/docs/cloud/graphql/operations/deployment-api/mutations/deleteserver) | Mark a project server deleting. |
| [`updateDomain`](/docs/cloud/graphql/operations/deployment-api/mutations/updatedomain) | Updates a custom domain. |
| [`updateEnvironment`](/docs/cloud/graphql/operations/deployment-api/mutations/updateenvironment) | Updates a project environment. |
| [`updateEnvironmentVariable`](/docs/cloud/graphql/operations/deployment-api/mutations/updateenvironmentvariable) | Updates an environment variable. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.