---
title: "Get Experiment Viability"
method: GET
path: "/api/v1/campaigns/{campaign_id}/experiment-viability"
tags: ["experiments"]
---

# Get Experiment Viability

`GET /api/v1/campaigns/{campaign_id}/experiment-viability`

## Request

- Base URL: `https://api.outrival.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outrival.com/api/v1/campaigns/{campaign_id}/experiment-viability`
- Auth: HTTP bearer

Measure the campaign's own base rate, accrual shape and statistical power.

## Path parameters

- `campaign_id` string, required

## Query parameters

- `metric` 'transfer' | 'success' | 'contact_rate' | 'opted_out' | 'not_interested' | 'post_transfer_follow_up', required
- `allocation` integer, required: Percent of traffic in the treatment group (1-99)
- `targeting_rules` string, nullable: JSON targeting list for the proposed cohort. Omitted or [] is the whole workstream — today's call.

## Response `200`

Successful Response

- object

## Other responses

- `400`: Invalid campaign ID format
- `403`: User may not edit this campaign
- `404`: Campaign not found
- `422`: Unknown metric, or allocation outside 1-99
- `500`: Measurement failure

## Changes

- **2026-10-10** `15bec682217c`: 1 info
  - added the new enum value `post_transfer_follow_up` to the `query` request parameter `metric`
- **2026-10-10** `15bec682217c`: 1 info
  - added the new enum value `post_transfer_follow_up` to the `query` request parameter `metric`
- **2026-09-03** `219a10b80707`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outrival/apis/fastapi/changes/api/v1/campaigns/:campaign_id/experiment-viability/get.md)

---

[API](https://skmtc.dev/outrival/apis/fastapi.md) - [All operations](https://skmtc.dev/outrival/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/outrival/apis/fastapi/revisions/f27d90300b5e?raw)
