> ## 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 lineage component export

Export a CODE component's lineage for a run, with its connected components.

## Usage

```bash theme={null}
gable lineage component export [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. |
| `--run-id` | text | ✓ | | Run (scan version) ID of the CODE component to export. |
| `--output-path` | text | | | Write the export to a file instead of stdout. |


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