Variable: MastraDeleteThreadResponseSchema
constMastraDeleteThreadResponseSchema:ZodObject<{agentId:ZodString;deleted:ZodBoolean;ok:ZodLiteral<true>;threadId:ZodString; },$strip>
JSON payload returned by DELETE ${basePath}/threads (thread id
supplied via the thread-selection header / threadId query). Wipes
the named thread and every message on it.
Fields:
ok: literaltrueon success.agentId: agent whose thread was deleted.threadId: thread id that was removed.deleted:truewhen a thread row existed and was removed,falsewhen it was already gone (call is idempotent).