# Type Alias AiDeployment

AiDeployment: {
completionTime?: string;
configurationId: AiConfigurationId;
configurationName?: AiConfigurationName;
createdAt: string;
deploymentUrl?: AiDeploymentUrl;
details?: AiDeploymentDetails;
executableId?: AiExecutableId;
id: AiDeploymentId;
lastOperation?: "CREATE" | "UPDATE" | "DELETE" | "CASCADE-UPDATE" | any;
latestRunningConfigurationId?: string;
modifiedAt: string;
scenarioId?: AiScenarioId;
startTime?: string;
status: AiDeploymentStatus;
statusMessage?: AiDeploymentStatusMessage;
submissionTime?: string;
targetStatus?: "RUNNING" | "STOPPED" | "DELETED";
ttl?: AiDeploymentTimeToLive;
} & Record<string, any>

Detailed data about a deployment

#### Type Declaration

- ##### `Optional` completionTime?: string

  Timestamp of job status changed to COMPLETED/DEAD/STOPPED Format: "date-time".

- ##### configurationId: AiConfigurationId

- ##### `Optional` configurationName?: AiConfigurationName

- ##### createdAt: string

  Timestamp of resource creation Format: "date-time".

- ##### `Optional` deploymentUrl?: AiDeploymentUrl

- ##### `Optional` details?: AiDeploymentDetails

- ##### `Optional` executableId?: AiExecutableId

- ##### id: AiDeploymentId

- ##### `Optional` lastOperation?: "CREATE" | "UPDATE" | "DELETE" | "CASCADE-UPDATE" | any

  Last operation applied to this deployment.

- ##### `Optional` latestRunningConfigurationId?: string

  configurationId that was running before a PATCH operation has modified the configurationId of the deployment. This can be used for a manual rollback in case the new configurationId results in a DEAD deployment

  #### Example

      "aa97b177-9383-4934-8543-0f91a7a0283a"
      Pattern: "^[\\w.-]{4,64}$".

- ##### modifiedAt: string

  Timestamp of latest resource modification Format: "date-time".

- ##### `Optional` scenarioId?: AiScenarioId

- ##### `Optional` startTime?: string

  Timestamp of job status changed to RUNNING Format: "date-time".

- ##### status: AiDeploymentStatus

- ##### `Optional` statusMessage?: AiDeploymentStatusMessage

- ##### `Optional` submissionTime?: string

  Timestamp of job submitted Format: "date-time".

- ##### `Optional` targetStatus?: "RUNNING" | "STOPPED" | "DELETED"

  Deployment target status

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- ##### `Optional` ttl?: AiDeploymentTimeToLive

- Defined in packages/ai-api/dist/client/AI_CORE_API/schema/ai-deployment.d.ts:14