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

# gable contract publish

Publishes data contracts to Gable

## Usage

```bash theme={null}
gable contract publish [CONTRACT_FILES] [OPTIONS]
```

## Options

| Option       | Type | Required | Default | Description                                                                                                                                                                        |
| ------------ | ---- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--endpoint` | text |          |         | Customer API endpoint for Gable, in the format [https://api.company.gable.ai/](https://api.company.gable.ai/). Can also be set with the GABLE\_API\_ENDPOINT environment variable. |
| `--api-key`  | text |          |         | API Key for Gable. Can also be set with the GABLE\_API\_KEY environment variable.                                                                                                  |

## Arguments

**`CONTRACT_FILES`** — Optional

## Example

```bash theme={null}
gable contract publish contract1.yaml

    gable contract publish **/*.yaml
```
