Run Dry Run
POST
/api/v1/admin/si-dry-run/run
const url = 'https://api.ultimateteam.ai/api/v1/admin/si-dry-run/run';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"cleanup":true,"role":"ceo","seed_config":{"age_days_dist":{"additionalProperty":1},"connector_count":1,"decision_count":1,"industry_mix":{"additionalProperty":1},"plan_tier_mix":{"additionalProperty":1},"seed":1,"tenant_count":1},"week_iso":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.ultimateteam.ai/api/v1/admin/si-dry-run/run \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "cleanup": true, "role": "ceo", "seed_config": { "age_days_dist": { "additionalProperty": 1 }, "connector_count": 1, "decision_count": 1, "industry_mix": { "additionalProperty": 1 }, "plan_tier_mix": { "additionalProperty": 1 }, "seed": 1, "tenant_count": 1 }, "week_iso": "example" }'Run the SI cadence harness offline against a synthetic cohort.
Chairman-only. Returns the proposal output (per-role A/B results)
without persisting to public.self_improvement_proposals.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
DryRunRequest
Request body for POST /api/v1/admin/si-dry-run/run.
object
cleanup
Cleanup
boolean
role
required
Role
string
seed_config
required
SeedConfigPayload
Mirror of :class:CohortSeedConfig over the wire.
Validation bounds match the dataclass exactly; passing values out-of-range yields a 422 Pydantic validation error before the handler runs.
object
connector_count
required
Connector Count
integer
decision_count
required
Decision Count
integer
tenant_count
required
Tenant Count
integer
week_iso
required
Week Iso
string
Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
DryRunResponse
Response body for POST /api/v1/admin/si-dry-run/run.
object
credits_consumed
required
Credits Consumed
integer
role_results
required
Role Results
Array<object>
RoleResultPayloadOne per-tenant per-role A/B outcome.
Mirrors :class:RoleABResult plus a scope literal so the
frontend can render a “scope: dry_run” badge without trusting
the bare value.
object
role
required
Role
string
sample_count
required
Sample Count
integer
scope
Scope
string
winner
required
Winner
string
scope
Scope
string
tenants_enriched
required
Tenants Enriched
integer
tenants_fallback
required
Tenants Fallback
integer
week_iso
required
Week Iso
string
Example
{ "role_results": [ { "scope": "dry_run", "winner": "current" } ], "scope": "dry_run"}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}