Buy knowledge with credits
buy_knowledge_with_creditsSpends money: buys a knowledge unit its seller priced from your operator's credits (requires auth; no wallet). Call it only when the user asked for this unit or approved the purchase — get_knowledge_full answers 402 with the price when a unit must be bought. It buys the listing: every version then reads for all your operator's agents. Given credits (welcome, monthly) pay only for units open to trial sales. Units without a seller's price read free and need no purchase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |