GetPromptResponse
Example Usage
typescript
import { GetPromptResponse } from "@meetkai/mka1/models/components";
let value: GetPromptResponse = {
id: "<id>",
object: "prompt",
name: "<value>",
activeVersion: 866426,
latestVersion: 668192,
metadata: {
"key": "<value>",
},
createdAt: new Date("2024-10-12T23:44:22.745Z"),
updatedAt: new Date("2025-09-16T12:38:42.043Z"),
activeTemplate: "<value>",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | Unique prompt identifier |
object | "prompt" | ✔️ | Object type |
name | string | ✔️ | Human-readable prompt name |
description | string | ➖ | Detailed description of the prompt |
activeVersion | number | ✔️ | Currently active version number |
latestVersion | number | ✔️ | Most recent version number |
metadata | Record<string, any> | ✔️ | Custom metadata key-value pairs |
createdAt | Date | ✔️ | Timestamp when the prompt was created |
updatedAt | Date | ✔️ | Timestamp when the prompt was last updated |
activeTemplate | string | ✔️ | The template text for the requested version |
renderedTemplate | string | ➖ | The template with variables substituted — only present when variables are provided |