Model Providers

Encrypt and save credentials for one AI model provider

Validate and store one model provider connection with server-side envelope encryption.

put/api/user/model-providers/{provider_id}

Request

  • Base URL: https://foresea.ink (the document declares no server; this is the origin it was published from)
  • URL: https://foresea.ink/api/user/model-providers/{provider_id}
  • Auth: none declared

Path parameters

provider_idstring required

Request body

api_keystring nullable
default_modelstring nullable
custom_base_urlstring nullable

Response

Successful Response

provider_idstring required
namestring required
categorystring required
descriptionstring required
connectedboolean required
default_modelstring required
popular_modelsstring[] required
default_base_urlstring required
custom_base_urlstring nullable
docs_urlstring
updated_atstring nullable
key_prefixstring
masked_keystring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.