> ## Documentation Index
> Fetch the complete documentation index at: https://buildbuddy-io-buildbuddy.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# API Configuration

> [!NOTE]
>
> The API is only configurable in the [Enterprise version](https://buildbuddy-io-buildbuddy.mintlify.site/enterprise.md) of BuildBuddy. For more information, view the [API Documentation](https://buildbuddy-io-buildbuddy.mintlify.site/enterprise-api.md).

The API section enables the BuildBuddy API over both gRPC(s) and REST HTTP(s).

## Configuration Options

**enable\_api** `boolean`

Whether or not to enable the BuildBuddy API.

**api\_key** `string`

The default API key to use for on-prem enterprise deploys with a single organization/group.

## Example Configuration

```yaml config.yaml theme={null}
api:
  enable_api: true
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.