Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

session-threads changedmanaged-agents/session-threads

Nearest release: v2.1.317, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+3added
Lines−6removed
From line 79 where the diff opens
First seen 9 Oct 2026 this site's first read of the page
Recorded edits19to this page, all time

The whole hunk

from line 79, old and new numbered
/
lines
from line 79
7979 ```csharp C#
8080 await foreach (var sessionThread in (await client.Beta.Sessions.Threads.List(session.ID)).Paginate())
8181 {
82 var label = sessionThread.Agent.Name ?? sessionThread.Agent.Json.GetProperty("type").GetString();
82 var label = sessionThread.Agent.Name ?? sessionThread.Agent.Type.Raw();
8383 Console.WriteLine($"[{label}] {sessionThread.Status.Raw()}");
8484 }
8585 ```
from line 616
616616 var page = await client.Beta.Sessions.Threads.Events.List(thread.ID, new() { SessionID = session.ID });
617617 await foreach (var evt in page.Paginate())
618618 {
619 Console.WriteLine($"[{evt.Json.GetProperty("type").GetString()}] {evt.ProcessedAt}");
619 Console.WriteLine($"[{evt.Type.Raw()}] {evt.ProcessedAt}");
620620 }
621621 ```
622622 
from line 640
640640 .sessionId(session.id())
641641 .build()
642642 ).autoPager()) {
643 var type = event._json().orElseThrow() instanceof JsonObject json
644 ? json.values().get("type").asStringOrThrow()
645 : "unknown";
646643 var processedAt = event.processedAt().map(OffsetDateTime::toString).orElse("pending");
647 IO.println("[" + type + "] " + processedAt);
644 IO.println("[" + event.type().asString() + "] " + processedAt);
648645 }
649646 ```
650647 
Feedback