Tailscale icon

Tailscale

Manage your Tailscale tailnet — devices, routes, and more

Device → Get Routes

AI-generated

Summary

Retrieve the subnet routes advertised by a specified device in a Tailscale tailnet.

Inputs

  • Authentication — Choose the authentication method to use, either 'API Key' or 'OAuth2'. Defaults to 'API Key'.
  • Tailnet Name or ID (required) — Specify the tailnet organization name or ID. Use the list or select "-" for the default tailnet of the authenticated user, or specify an ID using an expression.
  • Device Name or ID (required) — Select or provide the ID of the device whose routes you want to retrieve. Can be chosen from a list or specified manually or via expression.

Output shape

a JSON object representing the routes advertised by the device, as returned by the Tailscale API.

The output includes the subnet routes of the specified device. No pagination applies as this is a single resource retrieval.

Examples

Example 1: Get subnet routes for a device

Set authentication method and specify the tailnet and the device ID; the node returns the device's subnet routes.

Links

Discussion