This page shows you how to update an assistant.

Update an existing assistant

Use the update_assistant operation to update the instructions for an existing assistant. Instructions are a short description or directive for the assistant to apply to all of its responses. For example, you can update the instructions to reflect the assistant’s role or purpose.

For example:

The example above returns a result like the following:

{
    "name":"example-assistant",
    "instructions":"You are ABC company's assistant and are extremely polite",
    "metadata":{"updated":"2024-09-30"},
    "status":"Ready",
    "created_at":"2024-06-14T14:58:06.573004549Z","updated_at":"2024-10-01T19:44:32.813235817Z"
}