Create Router
Authorizations
Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
Path Parameters
The Account Id
Query Parameters
ID of the router.
Body
The deployment names to be covered by the router.
The model name to route requests to. model is only applicable to single-region deployments. For multi-region deployments, model must be empty.
Use replica count as weight.
Dynamically adjust traffic allocation to balance the load per replica across the deployments as much as possible.
True if the router is public (any account can query the underlying workload), false if the router is private (only the account that owns the router can query the underlying workload).
Response
A successful response.
The state of the router.
STATE_UNSPECIFIED, CREATING, READY, UPDATING, DELETING The deployment names to be covered by the router.
The model name to route requests to. model is only applicable to single-region deployments. For multi-region deployments, model must be empty.
Use replica count as weight.
Dynamically adjust traffic allocation to balance the load per replica across the deployments as much as possible.
auto_generated indicates this router was generated by the system for a deployment. Auto-generated routers cannot be updated or deleted by the user.
True if the router is public (any account can query the underlying workload), false if the router is private (only the account that owns the router can query the underlying workload).