# Type Alias AiExecution

AiExecution: {
completionTime?: string;
configurationId: AiConfigurationId;
configurationName?: AiConfigurationName;
createdAt: string;
executableId?: AiExecutableId;
executionScheduleId?: AiExecutionScheduleId;
id: AiExecutionId;
modifiedAt: string;
outputArtifacts?: AiArtifactArray;
scenarioId?: AiScenarioId;
startTime?: string;
status: AiExecutionStatus;
statusMessage?: AiExecutionStatusMessage;
submissionTime?: string;
targetStatus?: "COMPLETED" | "RUNNING" | "STOPPED" | "DELETED";
} & Record<string, any>

Execution that may generate artifacts

#### 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` executableId?: AiExecutableId

- ##### `Optional` executionScheduleId?: AiExecutionScheduleId

- ##### id: AiExecutionId

- ##### modifiedAt: string

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

- ##### `Optional` outputArtifacts?: AiArtifactArray

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

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

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

- ##### status: AiExecutionStatus

- ##### `Optional` statusMessage?: AiExecutionStatusMessage

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

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

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

  Target status of the execution

  #### Example

      "STOPPED"

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

- Defined in packages/ai-api/dist/client/AI_CORE_API/schema/ai-execution.d.ts:13