Skip to content

Conversation

@ashwinb
Copy link
Contributor

@ashwinb ashwinb commented Nov 7, 2025

Mark all register_* / unregister_* APIs as deprecated across models, shields, tool groups, datasets, benchmarks, and scoring functions. This is the first step toward moving resource mutations to an /admin namespace as outlined in #3809 (comment).

The deprecation flag will be reflected in the OpenAPI schema to warn API users that these endpoints are being phased out. Next step will be implementing the /admin route namespace for these resource management operations.

  • register_model / unregister_model
  • register_shield / unregister_shield
  • register_tool_group / unregister_toolgroup
  • register_dataset / unregister_dataset
  • register_benchmark / unregister_benchmark
  • register_scoring_function / unregister_scoring_function

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 7, 2025
@ashwinb ashwinb changed the title feat(api): deprecate register/unregister resource APIs feat(api)!: deprecate register/unregister resource APIs Nov 7, 2025
Mark all register_*/unregister_* APIs as deprecated across models, shields,
tool groups, datasets, benchmarks, and scoring functions. This is the first
step toward moving resource mutations to an /admin namespace as outlined in
llamastack#3809 (comment).

The deprecation flag will be reflected in the OpenAPI schema to warn API users
that these endpoints are being phased out. Next step will be implementing the
/admin route namespace for these resource management operations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant