Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Iterating over collections
PageIterator<T>
const page = await client.agents.list(); for await (const agent of page) { console.log(agent.name); }
const page = await client.agents.list(); const agents = await page.toArray();
const page = await client.agents.list(); console.log(page.data.length); console.log(page.data[0]);