Inference Providers

Set who a Smart Router applies to

Changed on

Replaces who a Smart Router applies to: everyone, teams and members. Members it applies to get "Smart: <name>" in the desktop at their next provider sync, when they can use at least one of its models. Making it apply to everyone also needs the Share with everyone permission. 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}/assignment

Request

  • Base URL
    https://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

AutoRouterAssignmentWrite required
assignment, AutoRouterAssignment required

Response

Who the Smart Router applies to was saved.

AutoRouterSaved required
routing, 'ready' | 'missing_key' | 'unknown' required
canEdit, boolean required
routers, AutoRouter[] required
tasks, string[] required
routerId, string required

Changes