Hi everyone,
I run a chatbot company and have noticed that after 1 or 2 months, some thread_ids lose all their data and behave as if they are new thread_ids. Has anyone else experienced this issue? If so, is there a known solution to prevent this from happening?
Thanks in advance for your help.
Hi @heitor1 welcome to the Community!
As far as I know, that is the known behavior, take a look at the second paragraph here.
If I were you, I would persist the threads by my own persistence mechanism such as an external database.
but it has note below:
** Objects related to the Assistants API are deleted from our servers 30 days after you delete them via the API or the dashboard. Objects that are not deleted via the API or dashboard are retained indefinitely.
there seem to be no indication they deleted the thread. i suspect the result of message retrieval is paginated.
can you elaborate what do you mean by the threads lose their data?