> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Datamart API

APIs to create, delete, and list datamart configurations associated with datasource.

## API Endpoints

### Cloud Databrain Endpoint

```bash theme={"dark"}
POST https://api.usedatabrain.com/api/v2/dataApp/datamart/{method_path}
```

### Self-hosted Databrain Endpoint

```bash theme={"dark"}
POST <SELF_HOSTED_URL>/api/v2/dataApp/datamart/{method_path}
```

<ParamField header="Authorization" type="string" required>
  Bearer token for API authentication. Format: `Bearer YOUR_API_TOKEN`.
</ParamField>
