rerouting

Create a reroute rule (owner or admin only)

A cross-provider reroute requires an ACTIVE stored provider key for the target, which only a human can add. Without one this returns 400 missing_provider_key.

post/api/reroutes

Request

  • Base URL: https://www.spendline.ai
  • URL: https://www.spendline.ai/api/reroutes
  • Auth: API key in header x-spendline-key

Request body

idstring uuid
from_modelstring required
to_modelstring required

Must be routable and must differ from from_model.

rollout_percentnumber

Response

Created.

Changes

No recorded changes to this operation across all 1 revision of this API.