Update a thread.
client = get_sync_client(url="http://localhost:2024")
thread = client.threads.update(
thread_id="my-thread-id",
metadata={"number":1},
ttl=43_200,
)Optional time-to-live in minutes for the thread. You can pass an
integer (minutes) or a mapping with keys ttl and optional
strategy (defaults to "delete").
If True, request a 204 response with no body.
Optional custom headers to include with the request.
Optional query parameters to include with the request.