Inference Providers
Update a Smart Router
Changed onReplaces a Smart Router's name and models with their tasks; who it applies to is kept. Tasks no model uses anymore are removed from the organization. Requires the Manage Gateway providers permission and a recent sign-in. Returns the whole list and the router's id.
put/v1/org/auto-routers/{routerId}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
routerId, string typeid required
Den TypeID with 'aur_' prefix and a 26-character base32 suffix.
Request body
Auto Router Write required
name, string required
models, Auto Router Model Write[] required
Response
Smart Router saved.
Auto Router Saved required
routing, 'ready' | 'missing_key' | 'unknown' required
canEdit, boolean required
routers, Auto Router[] required
tasks, string[] required
routerId, string required
Changes
- warning
removed the request property
assignment - info
added the required property
routerIdto the response with the status
- warning
- info
endpoint added
- info