DeployStep

The `DeployStep` entity.

Definition

TypeScript
interface DeployStep {
  id: string;
  deployId: string;
  name: string;
  status: "pending" | "failed" | "running" | "completed" | "skipped";
  order: number;
  error: string | null;
  log: string | null;
  metadata: Record<string, unknown> | null;
  startedAt: string | null;
  completedAt: string | null;
  createdAt: string;
}

Fields

FieldTypeNotes
idstringreadonly required
deployIdstringrequired — Deploy this step belongs to.
namestringrequired — Human-readable step name.
status"pending" | "failed" | "running" | "completed" | "skipped"required — Step status (pending, running, succeeded, failed, skipped).
ordernumberrequired — Zero-based ordering index for displaying steps in sequence.
errorstring | nullrequired — Error message when the step failed, otherwise null.
logstring | nullrequired — Captured log output for this step, if any.
metadataRecord<string, unknown> | nullrequired — Free-form step metadata (timings, URLs, etc.).
startedAtstring | nullrequired — ISO-8601 timestamp when the step began executing.
completedAtstring | nullrequired — ISO-8601 timestamp when the step finished.
createdAtstringreadonly required — ISO-8601 timestamp of creation.