Tailscale icon

Tailscale

Manage your Tailscale tailnet — devices, routes, and more

Device → Get Many

AI-generated

Summary

Retrieve the list of all devices within a specified Tailscale tailnet.

Inputs

  • Authentication — Select the authentication method to use: API Key or OAuth2.
  • Tailnet Name or ID (required) — Specify the Tailscale tailnet organization name or ID to query devices from. Choose from the dropdown or enter an expression. Selecting '-' uses the default tailnet of the authenticated user.

Output shape

a list of device objects from the specified tailnet

The operation issues a GET request to /api/v2/tailnet/{tailnet}/devices and extracts the 'devices' property from the JSON response. If no devices exist, an empty list is returned.

Examples

Example 1: Fetch all devices in the default tailnet using API Key authentication

Set Authentication to 'API Key' and Tailnet to '-'. Execute to receive the array of devices.

Links

Discussion