KalmiaKalmia

Resources

Learn how to get the most out of Kalmia.

Guides, references, and examples to help you debug and improve your AI agents.

Example: Register an experiment

After your agent runs are logged to Braintrust, group them into an experiment with one API call.

Request

curl -X POST /api/experiments \
  -H "Content-Type: application/json" \
  -d '{
    "name": "RAG vs no-RAG",
    "correlationIds": [
      "run-abc-123",
      "run-def-456"
    ]
  }'

Response

{
  "id": "exp-uuid-789",
  "url": "https://kalmia.app/dashboard
    ?mode=experiments
    &experiment=exp-uuid-789",
  "traceCount": 2,
  "createdAt": "2026-03-01T..."
}