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

# Link Metrics

> Link metrics to a specification.

## Example

```python theme={"system"}
galtea.specifications.link_metrics(
    specification_id=specification.id,
    metric_ids=[metric_id],
)
```

## Parameters

<ResponseField name="specification_id" type="string" required>
  The ID of the specification to link metrics to.
</ResponseField>

<ResponseField name="metric_ids" type="list[string]" required>
  List of metric IDs to link to the specification.
</ResponseField>
