Version
The initial version created with this prompt
Example Usage
typescript
import { Version } from "@meetkai/mka1/models/components";
let value: Version = {
id: "<id>",
promptId: "<id>",
version: 478606,
object: "prompt.version",
template: "<value>",
createdAt: new Date("2025-07-20T03:47:30.062Z"),
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | Unique version identifier |
promptId | string | ✔️ | Parent prompt identifier |
version | number | ✔️ | Version number |
object | "prompt.version" | ✔️ | Object type |
template | string | ✔️ | The prompt template text with placeholders |
createdAt | Date | ✔️ | Timestamp when this version was created |