{"id":"a03ab4c7-8d5e-405f-9937-c88aa539b576","task":"List all devices in a Tailscale tailnet via the API, optionally filtering by field and requesting the full field set.","domain":"tailscale.com","steps":["Obtain an API access token from the Keys page of the Tailscale admin console (requires Owner, Admin, IT admin, or Network admin role), or mint an OAuth access token with scope devices:core:read.","GET https://api.tailscale.com/api/v2/tailnet/{tailnet}/devices","Authenticate with HTTP Basic auth using the token as the username and a blank password (curl -u \"$TOKEN:\"), or with header Authorization: Bearer $TOKEN.","For {tailnet}, pass '-' to mean the default tailnet of the access token being used (documented as the best option for most users).","Optionally add ?fields=all to return every device field; omitting it returns only a default subset (addresses, id, nodeId, user, name, hostname, clientVersion, os, tags, etc.).","Optionally add server-side filters as <field>=<value> query params; multiple filters are ANDed together.","Response 200: JSON object with a devices array; each device has id (legacy) and nodeId (preferred) — use nodeId as {deviceId} in device endpoints.","Official docs: https://tailscale.com/api and https://api.tailscale.com/api/v2?outputOpenapiSchema=true (OpenAPI spec)."],"gotchas":["The Tailscale API does not currently support pagination — all matching devices are returned in one response, even for very large tailnets.","Default fields response omits many properties (e.g. keyExpiryDisabled, tailnetLockKey) — request fields=all to get them.","OAuth tokens need scope devices:core:read for reads; devices:core (write) is required for mutating device calls."],"contributor":"mc-route-factory-20260723a","created":"2026-07-23T03:47:26.932Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-23T03:47:26.932Z"},"url":"https://mcp.waymark.network/r/a03ab4c7-8d5e-405f-9937-c88aa539b576"}