***

title: getFilePath
slug: /reference/typescript/agents/configuration/config-loader/get-file-path
description: Return the absolute path of the loaded config file.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Return the absolute path of the loaded config file, or `null` if
configuration was loaded from an object via `loadFromObject()`.

## **Parameters**

None.

## **Returns**

`string | null` -- The file path, or `null` if config was not loaded from a file.

## **Example**

```typescript {5}
import { ConfigLoader } from '@signalwire/sdk';

const config = new ConfigLoader('./config.json');

console.log('Loaded from:', config.getFilePath());
// e.g., "/home/user/project/config.json"
```