auth

Save Api Key

保存用户自己的 API Key(加密存储)。

put/api/auth/api-key

Request

  • Base URL: https://fojin.app (the document declares no server; this is the origin it was published from)
  • URL: https://fojin.app/api/auth/api-key
  • Auth: HTTP bearer

Request body

api_keystring required
providerstring
modelstring nullable
custom_urlstring nullable

Response

Successful Response

has_api_keyboolean required
providerstring nullable
modelstring nullable
key_previewstring nullable
custom_urlstring nullable

Changes

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