Send a chat completion request through LedgerBeaver's unified AI gateway. Automatically routes to the best available provider based on company routing rules. Falls back through the provider chain if the primary is unavailable.

post/api/v1/provider-chat

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-chat
  • Auth: API key in header X-API-Key

Request body

companyIdstring required
messagesstring required
rolestring required
contentstring required
modelstring required
taskTypestring required
maxTokensnumber required
temperaturenumber required

Response

Successful response

Changes

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