We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29078f5 commit d716070Copy full SHA for d716070
README.md
@@ -712,6 +712,15 @@ new_messages.each { |msg|
712
}
713
```
714
715
+You can also update metadata on messages, including messages that come from the assistant.
716
+
717
+```ruby
718
+metadata = {
719
+ user_id: "abc123"
720
+}
721
+message = client.messages.modify(id: message_id, thread_id: thread_id, parameters: { metadata: metadata })
722
+```
723
724
At any time you can list all runs which have been performed on a particular thread or are currently running:
725
726
```ruby
0 commit comments