Page[T] object that supports standard Python iteration.
Agents
Pagination
Iterating over collections
List methods return a
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Iterating over collections
Page[T] object that supports standard Python iteration.
page = await client.agents.list()
for agent in page:
print(agent.name)
page = await client.agents.list()
agents = list(page)
page = await client.agents.list()
first = page[0]
count = len(page)
page = await client.agents.list()
print(page.data) # list[Agent]
