Create Draft Policy
Create a draft routing policy for testing in the simulator.
Draft policies are temporary and expire after 1 hour. Use the returned draft_id as routing_policy_id in requests to test it.
Request
This endpoint expects an object.
name
Name for the policy
strategy
Routing strategy (e.g., ‘cost_optimized’, ‘single’)
providers
List of providers to route between
description
Optional description
Response
Successful Response
draft_id
name
strategy
providers
expires_in_seconds
message