The enrolled nodes
GET
/api/v1/nodes
const url = 'https://deck.example.com/api/v1/nodes';const options = {method: 'GET', headers: {cookie: 'qd_auth=<qd_auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://deck.example.com/api/v1/nodes \ --cookie qd_auth=<qd_auth>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
A node as the deck serves it.
object
last_seen_at
string | null
name
required
string
no_handler
The action types the runner handed to its agent for lack of a handler, most often first: candidates for the next handler. Types only, no counts.
Array
online
required
boolean
runner
required
boolean
runner_types
required
Array
version
string | null
Example
[ { "no_handler": [], "runner_types": [ "archive" ] }]default
Section titled “default”An error, with its message.
Media typeapplication/json
Every error the REST API returns, with an HTTP status.
object
error
required
string
Example generated
{ "error": "example"}