Question about Edit/Update Model API endpoint #12879
Replies: 1 comment
-
|
At the moment, there is no public
So today, model configs are not editable via the public API after creation. If you need to change tokenizer settings, pricing, or other model metadata, the current workaround is to delete the custom model and recreate it with the new configuration. For built-in models, the supported approach is to create a project-level override instead of modifying the built-in definition directly. Internally, the UI uses a non-public upsert path that can update fields like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature or potential improvement
Hi Langfuse Team,
I'm working with the Models API and need some clarification around updating existing models programmatically.
Current Situation
I can successfully create models using
POST /api/public/modelsfrom the API reference documentation.However, I now need to update existing model configurations such as:
Questions
PUTorPATCHendpoint available for updating an existing model via the API?POST /api/public/modelsendpoint with an existingmodelIdto perform updates?Use Case
I'm managing custom models programmatically and need a way to update tokenizer configurations and pricing over time without deleting and recreating models.
Current Code Example
Additional Context
Any guidance on the recommended approach for updating existing models would be appreciated.
Thanks!
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions