Skip to content

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

FieldTypeRequiredDescription
idstring✔️Unique version identifier
promptIdstring✔️Parent prompt identifier
versionnumber✔️Version number
object"prompt.version"✔️Object type
templatestring✔️The prompt template text with placeholders
createdAtDate✔️Timestamp when this version was created