Assistants magically disappear

Martin Nikolov 0 Reputation points
2025-02-07T13:24:01.3833333+00:00

It often happens our gpt-4o-mini assistants to be deleted without calling delete for them. Also, it happens a lot to have files not uploaded as attachments to thread even if they exist as file objects. The assistant says that can't found the files.

What is the problem? How to see historical calls to the API?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,238 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kothapally Snigdha 1,715 Reputation points Microsoft External Staff
    2025-02-07T21:43:14.3733333+00:00

    Hi Martin Nikolov

    Greetings & Welcome to the Microsoft Q&A forum! Thank you for sharing your query.

    It seems that the issues you're experiencing with your GPT-4o-mini assistants disappearing and files not being uploaded could be related to the stateful nature of the Assistants API. The API retains data such as threads, messages, and runs, but if there are problems with the API calls or if the assistants are being unintentionally deleted, it may not be immediately clear why this is happening.

    Unfortunately, the provided context does not specify a way to view historical API calls directly. You might want to check your implementation to ensure that the assistants are being managed correctly and that the API calls are being logged or monitored in your system.

    kindly refer these document https://learn.microsoft.com/en-us/azure/ai-services/openai/assistants-reference?tabs=python#delete-assistant

    I hope these helps you. Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.