Skip to navigation

Get shadow comparison

Baseline-vs-candidate runtime metrics from shadow-mirror traffic.

Same window scoping as the dashboard: default lower bound = current shadow-run start; upper bound = the cutover instant once completed/reverted; explicit start_time / end_time override. Returns zeroed sides when ES logging isn’t configured, the migration never shadowed, or nothing has been mirrored yet.

Authentication

AuthorizationBearer

Your gateway API key (mg_ prefix), the same key used for /v1/responses

Path parameters

migration_idstringRequiredformat: "uuid"

Query parameters

start_timestring or nullOptional
end_timestring or nullOptional

Response

Successful Response
migration_idstringformat: "uuid"
baselineobject

Aggregated runtime metrics for one side of a migration (baseline or candidate).

candidateobject

Aggregated runtime metrics for one side of a migration (baseline or candidate).

Errors

422
Unprocessable Entity Error