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

Method updatePricing

studio/src/api/client.ts:131–136  ·  view source on GitHub ↗
(pricing: Partial<ModelPricing> & { model: string })

Source from the content-addressed store, hash-verified

129 }
130
131 async updatePricing(pricing: Partial<ModelPricing> & { model: string }): Promise<{ model: string; pricing: ModelPricing }> {
132 return this.fetch('/dashboard/pricing', {
133 method: 'PUT',
134 body: JSON.stringify(pricing),
135 });
136 }
137
138 // Sessions
139 async getSessions(opts: SessionQueryOpts = {}): Promise<SessionListResult> {

Callers 1

useUpdatePricingFunction · 0.80

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected