Tailscale API guide
tailscale.com
Use Tailscale to inspect devices in your tailnet, check upcoming key expirations, review pending routes, and read access policy.
Actions and inputs
device getRead inventory details for a device in your tailnet.
Inputs device ID
devices expiryList devices with keys expiring within a chosen number of days.
Inputs days until expiry
routes overviewReview advertised routes and exit nodes, with an option to show only those awaiting approval.
Inputs optional pending-only filter
tailnet acl getRead the current access policy for your tailnet.
Saved Tailscale device expiry filter in Smith
- Create
Save a named device expiry filter in Smith for a tailnet you administer.
Inputs filter name, tailnet, days until expiry
- Read
Open the saved filter and review devices whose keys are due to expire.
Inputs saved filter ID
- Update
Change the saved filter name or expiry window.
Inputs saved filter ID, changed fields
- Delete
Remove the saved filter from Smith without changing any devices or keys.
Inputs saved filter ID