Connect a provider
Connect a BYOK host and receive a tiered fleet.
POST/v1/providers/connect
mode*string
byok (required).
providerstring
Known id such as baseten or groq. Fills base_url.
labelstring
Human name. Defaults to the provider label.
base_urlstring
Only required for an unknown provider.
api_keystring
Required for byok. Sent only to the provider.
terminal.sh
BASH
| 1 | curl -s http://localhost:3000/api/v1/providers/connect \ |
| 2 | -H 'content-type: application/json' \ |
| 3 | -d '{"mode":"byok","provider":"baseten","api_key":"$BASETEN_API_KEY"}' |