Skip to navigation

Promote a deployment to the next environment

Authentication

X-API-KEYstring

PolyAI API key. Send it in the X-API-KEY header.

Path parameters

agentIdstringRequired
deploymentIdstringRequired

Request

This endpoint expects an object.
deploymentMessagestringOptionalDefaults to
targetEnvironmentenumOptional
Allowed values:

Response

Promoted deployment with triggered test run IDs
deploymentobject
testRunIdslist of strings
IDs of test runs triggered by the deployment.

Errors

404
Not Found Error