Skip to main content

agent.deleteThread()

Soft-deletes a thread. Notes:
  • Unavailable with readOnly: true (throws an error).

Signature

Example

See all agent methods or runtime basics.
Last modified on November 8, 2026