App

The `App` entity.

Definition

TypeScript
interface App {
  id: string;
  workspaceId: string;
  name: string;
  description: string | null;
  handle: string | null;
  defaultVersionId: string | null;
  status: "draft" | "live";
  publicAccess: boolean;
  pagesProjectId: string | null;
  apiKeyId: string | null;
  config: {
    [x: string]: unknown;
    nodeVersion?: string | undefined;
    env?: Record<string, string> | undefined;
  };
  createdBy: string;
  deletedAt: string | null;
  retentionTier: "short" | "medium" | "long" | "none" | null;
  createdAt: string;
  updatedAt: string;
}

Fields

FieldTypeNotes
idstringreadonly required
workspaceIdstringrequired — Workspace that owns this app.
namestringrequired — Human-readable name shown in the UI.
descriptionstring | nullrequired — Optional longer-form description.
handlestring | nullrequired — URL slug used in the deployed hostname ({handle}.aeontel.app).
defaultVersionIdstring | nullrequired — App version served as the default; null until first deploy.
status"draft" | "live"required — Current lifecycle status of the app.
publicAccessbooleanrequired — When true, the deployed app is reachable without auth from any visitor; when false, the route worker enforces auth before serving.
pagesProjectIdstring | nullrequired — Cloudflare Pages project ID backing deploys, if provisioned.
apiKeyIdstring | nullrequired — API key the app uses to call Aeontel from its runtime.
config{ [x: string]: unknown; nodeVersion?: string | undefined; env?: Record<string, string> | undefined; }required — Per-app runtime configuration (node version, env, etc.).
createdBystringrequired — User who created the app.
deletedAtstring | nullrequired — ISO-8601 timestamp of soft-delete; null while active. Cleanup worker hard-deletes once deletedAt + retentionTier.days passes.
retentionTier"short" | "medium" | "long" | "none" | nullrequired — Retention tier snapshotted at delete time. short=7d, medium=30d, long=90d, none=never. Null while active.
createdAtstringreadonly required — ISO-8601 timestamp of creation.
updatedAtstringreadonly required — ISO-8601 timestamp of the last update.