Skip to main content
PATCH
Set the default provider order

Authorizations

X-API-Key
string
header
required

Body

application/json

The provider order a workspace's new waterfall columns start with.

default_preset
enum<string>
required

recommended, cheapest or keys_first. custom is one column's own list.

Available options:
recommended,
cheapest,
keys_first,
custom

Response

Successful Response

What holds for the workspace's own keys: its plan, the default order and the key fee.

default_preset
enum<string>
required

The provider order a new waterfall column starts with, as it applies: a workspace on no paid plan reads recommended, whatever it stored while it was on one.

Available options:
recommended,
cheapest,
keys_first,
custom
key_fee_credits
number
required

What a row one of the workspace's keys answers costs, in credits.

paid
boolean
required

Whether the workspace is on a paid plan; keys need one.