SDK Reference/list()
list()
Returns all cards issued by the agent wallet, with optional status filtering.
Signature
client.list(filters?: ListFilters): Promise<Card[]>Filters
| Filter | Type | Description |
|---|---|---|
| status | string | Filter by status: active | expired | revoked |
| limit | number | Max results to return (default 20, max 100) |
| offset | number | Pagination offset |
Example
list.ts
const cards = await client.list({ status: 'active', limit: 10 })
cards.forEach(card => {
console.log(card.id, card.status, card.expiry)
})