Interact with the BRX platform programmatically
The BRX Client is the primary way to interact with the BRX platform programmatically. It provides methods for fetching, creating, updating, and executing BRKs.
The BRX Client is available in multiple languages, with the official Node.js SDK (brx-node
) being the most feature-complete. The client handles:
To use the BRX Client, you need to initialize it with your API key:
The get
method fetches a BRK schema by its ID:
The create
method creates a new BRK:
The update
method updates an existing BRK:
The run
method executes a BRK:
The run
method also supports callbacks for handling streaming results:
The BRX Client uses WebSockets for real-time communication with the BRX platform. This allows for streaming results as they become available, rather than waiting for the entire execution to complete.
The BRX Client throws errors for various failure conditions:
Common errors include:
Interact with the BRX platform programmatically
The BRX Client is the primary way to interact with the BRX platform programmatically. It provides methods for fetching, creating, updating, and executing BRKs.
The BRX Client is available in multiple languages, with the official Node.js SDK (brx-node
) being the most feature-complete. The client handles:
To use the BRX Client, you need to initialize it with your API key:
The get
method fetches a BRK schema by its ID:
The create
method creates a new BRK:
The update
method updates an existing BRK:
The run
method executes a BRK:
The run
method also supports callbacks for handling streaming results:
The BRX Client uses WebSockets for real-time communication with the BRX platform. This allows for streaming results as they become available, rather than waiting for the entire execution to complete.
The BRX Client throws errors for various failure conditions:
Common errors include: