prompts.history
The prompts the user sent from omfp: the thread’s first, then its workspace’s, then the rest, newest first within each (PRT-127, DMN-216).
Params: PromptHistoryParams
Section titled “Params: PromptHistoryParams”/** `prompts.history` params (PRT-127): the prompts the user sent from omfp, ranked for one composer. */export type PromptHistoryParams = { /** At most this many prompts; default 100, capped at 1000. */ limit?: number | null; /** Only prompts containing this text, case-insensitive (ASCII); absent or empty: all. */ query?: string | null; /** Ranks this thread's prompts first (it filters nothing). */ threadId?: string | null; /** Ranks this workspace's prompts next (it filters nothing). */ workspaceId?: string | null;};Result: PromptHistory
Section titled “Result: PromptHistory”/** `prompts.history` result (PRT-127). */export type PromptHistory = { /** The given thread's prompts, then the given workspace's, then the others; newest first within each. */ prompts: PromptHistoryEntry[];};Types they use
Section titled “Types they use”/** One prompt of the history (PRT-127, DMN-216): each text once, with its latest submission. */export type PromptHistoryEntry = { /** When it was last sent (Unix milliseconds). */ at: number; text: string; /** The thread it was last sent to. */ threadId: string; /** That thread's workspace when it was sent. */ workspaceId: string;};