# IRIS API Samples

This folder contains sample code to call IRIS from the `soc-integrator` context.

## Python example

```bash
python soc-integrator/examples/iris_api_examples.py
```

Environment variables:

- `IRIS_BASE_URL` (default: `https://localhost:8443`)
- `IRIS_API_KEY` (optional)
- `IRIS_VERIFY_SSL` (default: `false`)
- `INTEGRATOR_URL` (default: `http://localhost:8088`)

## Curl example

```bash
bash soc-integrator/examples/iris_api_examples.sh
```

This script demonstrates:

1. Direct call to `IRIS /api/v2/cases`
2. Call through `soc-integrator /action/create-iris-case`
