Server SDKs
Build AI agents, control calls, send messages, and more
Return the absolute path of the loaded config file, or null if configuration was loaded from an object via loadFromObject().
null
loadFromObject()
None.
string | null — The file path, or null if config was not loaded from a file.
string | null
1import { ConfigLoader } from '@signalwire/sdk';23const config = new ConfigLoader('./config.json');45console.log('Loaded from:', config.getFilePath());6// e.g., "/home/user/project/config.json"