Thread
Reference for the Thread schema.
export type = {
// required
: string
: string
// optional
?: number
?: number
?: number
}Sources
The sources whose types keep a conversation apart inside a larger one, as a thread; Claude Code's Projects do the same but publish no type. The others make the session itself the conversation; see Session.
Mastra
https://mastra.ai/docs/memory/overview
type = {
:
: string
?: <string, unknown>
: string
?: string
:
}OpenAI Codex
https://learn.chatgpt.com/docs/app-server#threads
type = {
: string | null
: string | null
: string
: number
: string
: boolean
: string | null
: GitInfo | null
: ThreadHistoryMode
: string
: string | null
: string
: string | null
: string | null
: string | null
: string | null
: string
: string | null
: string | null
: number | null
: ThreadSection | null
: number | null
: string
: SessionSource
: ThreadStatus
: string | null
: Turn[]
: number
}