githubEdit

get__node

GET /node

List Nodes

Get all available Flashback nodes. Returns a structured response with success status, data array, and total count.

TypeScript Client Library

// Using the Flashback TypeScript client
import { FlashbackClient } from '@flashback/client';

const client = new FlashbackClient({
  accessToken: 'your-access-token'
});

// Get all available nodes
try {
  const result = await client.nodes.list();
  console.log('Available nodes:', result);
} catch (error) {
  console.error('Failed to retrieve nodes:', error);
}

Code Samples

Example responses

200 Response

Responses

Status
Meaning
Description
Schema

200

Nodes retrieved successfully

Inline

Response Schema

Status Code 200

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

Indicates if the request was successful

» data

[NodeInfo]

false

none

Array of available nodes

» total

number

false

none

Total number of nodes returned

NodeInfo Object

Name
Type
Required
Restrictions
Description

» url

string

false

none

Endpoint URL of the node

» ip

string

false

none

IP address of the node

» region

string

false

none

Geographic region of the node

» version

string

false

none

Version of the node software

» status

string

false

none

Current status of the node

» lastUpdated

string(date-time)

false

none

Last update timestamp

Last updated

Was this helpful?