New include_relationships Parameter for List Agents API

You can now leverage a more customized, lightweight response from the list agents API by setting the include_relationships parameter to which fields you’d like to fetch in the response.

1from letta_client import Letta
2client = Letta(
3 token="YOUR_API_KEY",
4)
5agents = client.agents.list(
6 include_relationships=["identities", "blocks", "tools"],
7)