Headscale unofficial
GET/api/v1/node

List nodes

Lists nodes managed by the service. Supply user to filter the results to nodes associated with that user; omit it to list nodes without a user filter.

1 parameter
userstringoptional
Filter the returned nodes by user.

2 status codes
200Returns a `nodes` array containing node objects with their identifiers, names, user associations, keys, addresses, status, and route details.
nodesarray<object>required
defaultError
detailstringoptional
A human-readable explanation specific to this occurrence of the problem.
errorsarray<object>optional
Optional list of individual error details
instancestringoptional
A URI reference that identifies the specific occurrence of the problem.
statusintegeroptional
HTTP status code
titlestringoptional
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestringoptional
A URI reference to human-readable documentation for the error.
Default:about:blank

Error handling

The user query parameter is a string used to filter nodes by user.