Skip to main content
The deployments API lets you trigger production deployments, check their status, and roll back to previous versions.

List deployments

Returns deployments across all your projects, or for a specific project. Query parameters: Example request:
Example response:

Get deployment

Returns a single deployment with full details. Example response:

Trigger deployment

Manually trigger a deployment for a project. Deploys the current HEAD of the project’s connected branch. Request body: Example request:
Example response:
The deployment runs asynchronously. Poll GET /v1/deployments/{id} for status.

Rollback deployment

Roll back production to a previous deployment. The target deployment must have status: live or status: rolled_back. Example request:
Example response:
Nometria redeploys the exact code and environment variables from the target deployment — zero code changes needed.

Deployment logs

Returns build and deploy logs for a deployment. Example request:
Example response:

Deployment statuses


CI/CD integration

Use the API in your GitHub Actions workflow to trigger deployments after tests pass:
Store Nometria_API_KEY and Nometria_PROJECT_ID as GitHub repository secrets.