Change an experiment metric's direction
One step with Flagsmith. We can help you get access.
Get something done
Change an experiment metric's direction
with Flagsmith
Works with AI assistants
Use Flagsmith: its Flagsmith Environments API lets you change an experiment metric's direction in a single step (PATCH /api/v1/environments/{environment_api_key}/experiments/{experiment_experiment_id}/metrics/{id}/). 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.
- Can I change only the expected direction of a metric on an experiment?
- Is there a way to edit one field of an experiment's metric link?
Say it to your AI assistant
- Set expected direction of metric {id} on experiment {experiment_experiment_id}, {environment_api_key}, to {expected_direction}.
- Patch experiment {experiment_experiment_id} metric {id} in {environment_api_key} to aggregate by {aggregation}.
For your developer
PATCH /api/v1/environments/{environment_api_key}/experiments/{experiment_experiment_id}/metrics/{id}/ in Flagsmith Environments API. Full spec on APIs.io.