List qURLs
list_qurlsFind and audit qURL resources by status, creation or expiry date range, or full-text search, with cursor-based pagination.
Instructions
List qURL resources, paginated and optionally filtered by status, date range, or search text. When to use: discovery — finding qURLs by status (e.g. everything still active), auditing date ranges, or full-text search across descriptions and target URLs (via the q parameter). Filters AND together (e.g. status: 'active' + expires_before: '2026-05-01T00:00:00Z' returns active qURLs about to expire). When NOT to use: use get_qurl instead when you already have a specific resource ID — it returns the same per-resource shape more cheaply and includes the qurls[] per-token detail that list_qurls omits. Use resolve_qurl to actually open access to a target URL. Behavior: read-only and idempotent. An empty data[] with meta.has_more: false means no resource matched the filters (not an error). Pagination is cursor-based: when meta.has_more is true, pass meta.next_cursor as cursor on the next call to fetch the following page. Default page size is 20, configurable via limit up to 100. Omitting status applies no status filter: active and revoked resources may both be returned. Pass status: 'active' or status: 'revoked' to select one status. A past resource expires_at does not change its status; individual access tokens can expire. status: 'expired' is not a valid resource filter. Sort defaults to created_at:desc. A field without a direction uses asc. Override with sort: 'expires_at:asc' etc. Returns: { data: QURL[], meta: { has_more: boolean, next_cursor?: string, page_size?: number, request_id?: string } } — each data[] item is the same stable resource shape returned by get_qurl minus per-token detail. Example: list_qurls({ status: "active", sort: "expires_at:asc", limit: 10 }) returns the 10 active qURLs expiring soonest.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_qurls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query (searches description and target_url) | |
| sort | No | Sort field and direction as 'field:direction'. Valid fields: created_at, expires_at. Valid directions: asc, desc. A field without a direction uses asc. Example: 'created_at:desc'. | |
| limit | No | Maximum number of qURLs to return (default: 20) | |
| cursor | No | Pagination cursor from a previous response | |
| status | No | Filter by status (comma-separated, e.g. 'active,revoked'). Omitting status applies no status filter: active and revoked resources may both be returned. Only active and revoked are valid resource filters; expired is not accepted. | |
| created_after | No | Filter: created after this date (RFC 3339) | |
| expires_after | No | Filter: expires after this date (RFC 3339) | |
| created_before | No | Filter: created before this date (RFC 3339) | |
| expires_before | No | Filter: expires before this date (RFC 3339) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |