Skip to main content

Deploy To Environment

POST 

https://cloud.agenta.ai/api/environments/deploy

Deploys a given variant to an environment

Args: environment_name: Name of the environment to deploy to. variant_id: variant id to deploy. stoken_session: . Defaults to Depends(verify_session()).

Raises: HTTPException: If the deployment fails.

Request

Body

required

    environment_name Environment Name (string)required
    variant_id Variant Id (string)required

Responses

Successful Response

Schema

    any


Request Collapse all
Base URL
https://cloud.agenta.ai/api
Auth
Body required
{
  "environment_name": "string",
  "variant_id": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!