capabilities.work

Define a new experiment metric

One step with Flagsmith. We can help you get access.

Get something done

Define a new experiment metric

Works with AI assistants

Use Flagsmith: its Flagsmith MCP API lets you define a new experiment metric in a single step (POST /api/v1/environments/{environment_api_key}/experiment-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 define a metric to measure an experiment against?
  • Can I set whether a metric should go up or down when I create it?
Say it to your AI assistant
  • Create an experiment metric {name} in {environment_api_key} using event definition {definition}.
  • Add metric {name} to {environment_api_key} with aggregation {aggregation} and expected direction {direction}, defined by {definition}.
For your developer

POST /api/v1/environments/{environment_api_key}/experiment-metrics/ in Flagsmith MCP API. Full spec on APIs.io.