Attach a metric to an experiment
One step with Flagsmith. We can help you get access.
Get something done
Attach a metric to an experiment
with Flagsmith
Works with AI assistants
Use Flagsmith: its Flagsmith Environments API lets you attach a metric to an experiment in a single step (POST /api/v1/environments/{environment_api_key}/experiments/{experiment_experiment_id}/metrics/). Flagsmith also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I add a conversion metric to an experiment?
- Do I have to say whether a metric should go up or down when attaching it?
Say it to your AI assistant
- Attach metric {metric} to experiment {experiment_experiment_id} in {environment_api_key}, expecting {expected_direction}.
- Track metric {metric} on experiment {experiment_experiment_id}, {environment_api_key}, and expect it to move {expected_direction}.
For your developer
POST /api/v1/environments/{environment_api_key}/experiments/{experiment_experiment_id}/metrics/ in Flagsmith Environments API. Full spec on APIs.io.