model management
Model Deprecations
List models with known deprecation/sunset dates, bucketed by urgency.
Reads deprecation_date metadata from model_prices_and_context_window.json (and any per-deployment model_info.deprecation_date overrides) for the models configured on this proxy.
Parameters: warn_within_days: Window (in days) used to bucket "imminent" models, 30 by default.
Returns: A payload with three lists of ModelDeprecationInfo entries:
- `deprecated`: deprecation date is in the past, so these requests may
fail at any time.
- `imminent`: deprecation date is within `warn_within_days` from today.
- `upcoming`: deprecation date is further out.
Example:
curl -X GET 'http://localhost:4000/model/deprecations' \
-H 'Authorization: Bearer sk-1234'
get/v1/model/deprecations
Request
- Base URL: https://apiclaw.biz (the document declares no server; this is the origin it was published from)
- URL: https://apiclaw.biz/v1/model/deprecations
- Auth: API key in header x-litellm-api-key
Query parameters
warn_within_daysinteger
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.