List all links
list_linksRetrieve a paginated list of short links for the authenticated workspace. Filter by domain, tags, folders, users, or search terms.
Instructions
Retrieve a paginated list of links for the authenticated workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | DEPRECATED. Use `startingAfter` instead. | |
| domain | No | The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned. | |
| search | No | The search term to filter the links by. The search term will be matched against the short link slug and the destination url. | |
| tag_id | No | Deprecated: Use `tagIds` instead. The tag ID to filter the links by. | |
| account | No | Exact configured private workspace profile label; not a tenant or provider account ID. | |
| tag_ids | No | The tag IDs to filter the links by. | |
| user_id | No | The user ID to filter the links by. | |
| folder_id | No | The folder ID to filter the links by. | |
| page_size | No | The number of items per page. | |
| tag_names | No | The unique name of the tags assigned to the short link (case insensitive). | |
| tenant_id | No | The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant. | |
| with_tags | No | DEPRECATED. Filter for links that have at least one tag assigned to them. | |
| ending_before | No | If specified, the query only searches for results before this cursor. Mutually exclusive with `startingAfter`. | |
| show_archived | No | Whether to include archived links in the response. Defaults to `false` if not provided. | |
| starting_after | No | If specified, the query only searches for results after this cursor. Mutually exclusive with `endingBefore`. |