---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/orchestration/type-aliases/CreateResult.md
description: >-
  The outcome of minting a plan (`createPlan` / `clonePlan`). On success it
  carries the new plan's revision and digest; on failure it names which
  precondition was violated.
---

# Type Alias: CreateResult

```ts
type CreateResult =
  | {
      digest: string;
      ok: true;
      planId: string;
      revision: number;
    }
  | {
      ok: false;
      reason: "duplicate_id" | "source_missing" | "revision_missing";
    };
```

Defined in: [src/batteries/orchestration/store.ts:177](https://github.com/NHTIO/ADK/blob/v1.20260906.0/src/src/batteries/orchestration/store.ts#L177)

The outcome of minting a plan (`createPlan` / `clonePlan`). On success it carries the new
plan's revision and digest; on failure it names which precondition was violated.
