contentstack Deployments API
Deployments represent individual build and publish operations to a Launch environment. Each deployment has associated build logs, server logs, and status tracking.
Deployments represent individual build and publish operations to a Launch environment. Each deployment has associated build logs, server logs, and status tracking.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/contentstack-deployments-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Contentstack Launch Deployments API
description: The Contentstack Launch API allows developers to programmatically manage web application deployments within Contentstack Launch.
version: v1
contact:
name: Contentstack Support
url: https://www.contentstack.com/contact
termsOfService: https://www.contentstack.com/legal/terms-of-service
servers:
- url: https://launch-api.contentstack.com
description: AWS North America Production Server
- url: https://eu-launch-api.contentstack.com
description: AWS Europe Production Server
- url: https://au-launch-api.contentstack.com
description: AWS Australia Production Server
- url: https://azure-na-launch-api.contentstack.com
description: Azure North America Production Server
- url: https://azure-eu-launch-api.contentstack.com
description: Azure Europe Production Server
security:
- bearerAuth: []
- authtokenAuth: []
tags:
- name: Deployments
description: Deployments represent individual build and publish operations to a Launch environment. Each deployment has associated build logs, server logs, and status tracking.
paths:
/projects/{project_uid}/environments/{env_uid}/deployments:
get:
operationId: getAllDeployments
summary: Get all deployments
description: Retrieves all deployments for a specific environment, showing deployment history with status, creation times, and build metadata.
tags:
- Deployments
parameters:
- $ref: '#/components/parameters/ProjectUid'
- $ref: '#/components/parameters/EnvUid'
responses:
'200':
description: A list of deployments for the environment.
content:
application/json:
schema:
$ref: '#/components/schemas/DeploymentList'
'401':
$ref: '#/components/responses/Unauthorized'
post:
operationId: createDeployment
summary: Create a deployment
description: Triggers a new deployment to the specified environment. Requires a previously uploaded build artifact referenced by its upload URL. The deployment process builds and publishes the application to the environment's CDN infrastructure.
tags:
- Deployments
parameters:
- $ref: '#/components/parameters/ProjectUid'
- $ref: '#/components/parameters/EnvUid'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDeploymentRequest'
responses:
'201':
description: Deployment created and queued for processing.
content:
application/json:
schema:
$ref: '#/components/schemas/Deployment'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
/projects/{project_uid}/environments/{env_uid}/deployments/{deploy_uid}:
get:
operationId: getDeployment
summary: Get a deployment
description: Retrieves the full details of a specific deployment including its status, build configuration, and completion information.
tags:
- Deployments
parameters:
- $ref: '#/components/parameters/ProjectUid'
- $ref: '#/components/parameters/EnvUid'
- $ref: '#/components/parameters/DeployUid'
responses:
'200':
description: The requested deployment details.
content:
application/json:
schema:
$ref: '#/components/schemas/Deployment'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
/projects/{project_uid}/environments/{env_uid}/deployments/{deploy_uid}/logs:
get:
operationId: getDeploymentLogs
summary: Get deployment logs
description: Retrieves the build and deployment logs for a specific deployment, useful for debugging failed deployments and monitoring build progress.
tags:
- Deployments
parameters:
- $ref: '#/components/parameters/ProjectUid'
- $ref: '#/components/parameters/EnvUid'
- $ref: '#/components/parameters/DeployUid'
responses:
'200':
description: The deployment log output.
content:
application/json:
schema:
$ref: '#/components/schemas/LogResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
/projects/{project_uid}/environments/{env_uid}/deployments/{deploy_uid}/server-logs:
get:
operationId: getServerLogs
summary: Get server logs
description: Retrieves server-side runtime logs for a deployed environment, useful for debugging server-side rendering issues and monitoring application runtime behavior.
tags:
- Deployments
parameters:
- $ref: '#/components/parameters/ProjectUid'
- $ref: '#/components/parameters/EnvUid'
- $ref: '#/components/parameters/DeployUid'
responses:
'200':
description: The server runtime logs.
content:
application/json:
schema:
$ref: '#/components/schemas/LogResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
components:
responses:
BadRequest:
description: The request is malformed or contains invalid parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Authentication credentials are missing or invalid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: The requested resource was not found.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
DeploymentList:
type: object
description: A list of deployments.
properties:
data:
type: array
description: Array of deployment objects.
items:
$ref: '#/components/schemas/Deployment'
LogResponse:
type: object
description: Log output from a deployment or server.
properties:
logs:
type: array
description: Array of log line entries.
items:
$ref: '#/components/schemas/LogEntry'
Deployment:
type: object
description: A deployment operation to a Launch environment.
properties:
uid:
type: string
description: Unique identifier of the deployment.
status:
type: string
description: Current status of the deployment.
enum:
- queued
- building
- deploying
- live
- failed
- cancelled
created_at:
type: string
format: date-time
description: ISO 8601 timestamp when the deployment was created.
completed_at:
type: string
format: date-time
description: ISO 8601 timestamp when the deployment completed.
CreateDeploymentRequest:
type: object
description: Parameters for triggering a new deployment.
properties:
upload_uid:
type: string
description: The UID or reference to the previously uploaded build artifact.
branch:
type: string
description: The git branch to deploy from when using repository-linked deployments.
LogEntry:
type: object
description: A single log line entry.
properties:
timestamp:
type: string
format: date-time
description: ISO 8601 timestamp of the log entry.
level:
type: string
description: Log level.
enum:
- info
- warn
- error
- debug
message:
type: string
description: The log message content.
Error:
type: object
description: Standard error response.
properties:
message:
type: string
description: Human-readable description of the error.
error_code:
type: integer
description: Numeric error code.
parameters:
EnvUid:
name: env_uid
in: path
required: true
description: The unique identifier of the deployment environment.
schema:
type: string
ProjectUid:
name: project_uid
in: path
required: true
description: The unique identifier of the Launch project.
schema:
type: string
DeployUid:
name: deploy_uid
in: path
required: true
description: The unique identifier of the deployment.
schema:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: OAuth 2.0 Bearer token with launch:manage or launch.projects scopes.
authtokenAuth:
type: apiKey
in: header
name: authtoken
description: Contentstack user authtoken for session-based authentication.
externalDocs:
description: Contentstack Launch API Documentation
url: https://www.contentstack.com/docs/developers/apis/launch-api