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

# Link tests to agent

> Link one or more tests to an agent. Tests that are already linked are skipped.

## Usage

```python theme={null}
from calibrate import Calibrate

client = Calibrate(
    api_key="your_api_key",
)

client.agent_tests.link(
    agent_uuid="f47ac10b-58cc-4372-a567-0e02b2c3d479",
    test_uuids=[
        "b1c2d3e4-f5a6-7890-bcde-f12345678901"
    ],
)
```

## API endpoint

See **POST /agent-tests** in the [API reference](/docs/api-reference/introduction) tab.
