MCPcopy Create free account
hub / github.com/astercloud/aster / getPricing

Method getPricing

studio/src/api/client.ts:127–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125
126 // Pricing
127 async getPricing(): Promise<Record<string, ModelPricing>> {
128 return this.fetch<Record<string, ModelPricing>>('/dashboard/pricing');
129 }
130
131 async updatePricing(pricing: Partial<ModelPricing> & { model: string }): Promise<{ model: string; pricing: ModelPricing }> {
132 return this.fetch('/dashboard/pricing', {

Callers 1

usePricingFunction · 0.45

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected