---
title: "Add Metrics To Lab"
method: POST
path: "/v1/metrics-lab/lab/{lab_id}/metrics"
tags: ["Metrics Lab"]
---

# Add Metrics To Lab

`POST /v1/metrics-lab/lab/{lab_id}/metrics`

Add metrics to an existing lab.

## Path parameters

- `lab_id` string, uuid, required

## Headers

- `X-API-Key` string, required

## Request body

- AddMetricsToLabRequest — Request model for adding metrics to an existing lab
  - `lab_id` string, required — Lab ID (UUID as string)
  - `metric_ids` string[], required — List of custom metric IDs (UUIDs as strings) to add to the lab
  - `evaluate_conversations` boolean, nullable — Whether to evaluate conversations in the lab with the newly added metrics (copies existing evaluations where found, queues new evaluations only for metrics without results)

## Response `200`

Successful Response

- AddMetricsToLabResponse — Response model for adding metrics to a lab
  - `added_count` integer, required — Number of metrics successfully added
  - `skipped_count` integer, required — Number of metrics that were skipped (already existed)
  - `added_metric_ids` string[], required — List of metric IDs that were added
  - `evaluation_triggered` boolean — Whether evaluations were triggered for existing conversations
  - `evaluation_count` integer, nullable — Number of conversations that were evaluated (if evaluation_triggered is true)
  - `message` string, nullable — Human-readable message about the operation

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/getbluejay/apis/bluejay-api.md) · [All operations](https://skmtc.net/getbluejay/apis/bluejay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbluejay/bluejay-api/revisions/4ef94eeb836d/schema)
