> ## 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.

# Bulk create tests

> Create many test cases at once and link them to your agents

## Usage

```python theme={null}
from calibrate import Calibrate, BulkTestItem, ChatMessage

client = Calibrate(
    api_key="your_api_key",
)

client.tests.bulk_create(
    type="response",
    tests=[
        BulkTestItem(
            name="name",
            conversation_history=[
                ChatMessage(
                    role="user",
                )
            ],
        )
    ],
)
```

## API endpoint

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