> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interchange.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Measurement tasks

> Per-operation reference for the buyer measurement API

Each page below documents a single measurement operation — request, parameters, response shape, and errors. Measurement endpoints are scoped to an advertiser: you configure which features are active, register the sources that feed the engine, define test cohorts for incrementality, then upload outcome and context records and check coverage. For the conceptual model and end-to-end walkthrough, see the [Measurement & Incrementality overview](/v2/guides/measurement-incrementality).

## Config

<CardGroup cols={2}>
  <Card title="Get measurement config" href="/v2/buyer/measurement/tasks/get-measurement-config" icon="magnifying-glass">
    `GET /measurement-config` — read MMM, incrementality, and brand-lift settings
  </Card>

  <Card title="Update measurement config" href="/v2/buyer/measurement/tasks/update-measurement-config" icon="pen">
    `PUT /measurement-config` — enable features and set MMM options
  </Card>
</CardGroup>

## Sources

<CardGroup cols={2}>
  <Card title="List measurement sources" href="/v2/buyer/measurement/tasks/list-measurement-sources" icon="list">
    `GET /measurement-sources` — filter by outcome type and status
  </Card>

  <Card title="Create measurement source" href="/v2/buyer/measurement/tasks/create-measurement-source" icon="plus">
    `POST /measurement-sources` — register an MMM or brand-lift feed
  </Card>

  <Card title="Get measurement source" href="/v2/buyer/measurement/tasks/get-measurement-source" icon="magnifying-glass">
    `GET /measurement-sources/:sourceId` — full resource
  </Card>

  <Card title="Update measurement source" href="/v2/buyer/measurement/tasks/update-measurement-source" icon="pen">
    `PATCH /measurement-sources/:sourceId` — partial update
  </Card>
</CardGroup>

## Test cohorts

<CardGroup cols={2}>
  <Card title="List test cohorts" href="/v2/buyer/measurement/tasks/list-test-cohorts" icon="list">
    `GET /test-cohorts` — filter by role and active status
  </Card>

  <Card title="Create test cohort" href="/v2/buyer/measurement/tasks/create-test-cohort" icon="plus">
    `POST /test-cohorts` — define a treatment, control, or observation arm
  </Card>

  <Card title="Get test cohort" href="/v2/buyer/measurement/tasks/get-test-cohort" icon="magnifying-glass">
    `GET /test-cohorts/:cohortId` — full resource
  </Card>

  <Card title="Update test cohort" href="/v2/buyer/measurement/tasks/update-test-cohort" icon="pen">
    `PUT /test-cohorts/:cohortId` — update definition or role
  </Card>

  <Card title="Delete test cohort" href="/v2/buyer/measurement/tasks/delete-test-cohort" icon="trash">
    `DELETE /test-cohorts/:cohortId` — archive a cohort
  </Card>
</CardGroup>

## Records

<CardGroup cols={2}>
  <Card title="Sync measurement data" href="/v2/buyer/measurement/tasks/sync-measurement-data" icon="arrows-rotate">
    `POST /measurement-data/sync` — ADCP time-series upsert
  </Card>

  <Card title="Upload measurement records" href="/v2/buyer/measurement/tasks/upload-measurement-records" icon="upload">
    `POST /measurement-records` — batch per-geo outcomes
  </Card>

  <Card title="List measurement records" href="/v2/buyer/measurement/tasks/list-measurement-records" icon="list">
    `GET /measurement-records` — filter by outcome, geo, date
  </Card>

  <Card title="Upload context records" href="/v2/buyer/measurement/tasks/upload-context-records" icon="cloud">
    `POST /context-records` — promos, weather, seasonality
  </Card>
</CardGroup>

## Freshness

<CardGroup cols={2}>
  <Card title="Get measurement freshness" href="/v2/buyer/measurement/tasks/get-measurement-freshness" icon="clock">
    `GET /measurement-freshness` — coverage gaps vs. flight schedule
  </Card>
</CardGroup>
