Configure an AI provider for the company. Set API key, enable/disable, set default model. API keys are stored encrypted and never returned in full.

post/api/v1/provider-configure

Request

  • Base URL: https://app.ledgerbeaver.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.ledgerbeaver.com/api/v1/provider-configure
  • Auth: API key in header X-API-Key

Request body

companyIdstring required
providerSlugstring required
apiKeystring required
isEnabledboolean required
defaultModelstring required
maxTokensPerMonthnumber required

Response

Successful response

Changes

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