Type Alias: StoredActiveRun
StoredActiveRun =
Omit<z.infer<typeofStoredActiveRunSchema>,"userMessage"> &object
Reload-recoverable metadata for one active Mastra background run.
Type Declaration
Section titled “Type Declaration”userMessage
Section titled “userMessage”userMessage:
UIMessage
StoredActiveRun fields
Section titled “StoredActiveRun fields”Reload-recoverable Mastra background run metadata.
threadId: Mastra thread receiving the background turn.runId: Mastra background run identifier.assistantId: Client assistant message identifier.userMessage: Submitted user message restored before stream replay.startedAt: Client epoch time when the run started.