Copy as Markdown[View as Markdown](/docs/sdk/functions/getEventCatalogConfigurationFile.md)

***

# Function: getEventCatalogConfigurationFile()

> **getEventCatalogConfigurationFile**(`directory`): () => `Promise`<`any`>

Defined in: eventcatalog.ts:70

Returns the event catalog configuration file. The event catalog configuration file is the file that contains the configuration for the event catalog.

## Parameters[​](#parameters "Direct link to Parameters")

| Parameter   | Type     | Description                   |
| ----------- | -------- | ----------------------------- |
| `directory` | `string` | The directory of the catalog. |

## Returns[​](#returns "Direct link to Returns")

`Function`

A JSON object with the configuration for the event catalog.

### Returns[​](#returns-1 "Direct link to Returns")

`Promise`<`any`>
