Get Deprecation Plan
get_deprecation_planCheck an endpoint's or published version's deprecation plan to see phase, sunset date, successor, and migration guide. Include usage data to confirm active callers before retiring it.
Instructions
Get the deprecation plan of one endpoint or published version, including its phase, sunset date, successor and migration guide. Returns null when nothing is deprecated. Set includeUsage to also see whether anyone still calls it — do that before retiring. Requires project context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Public ID (GUID) of the API specification | |
| entityId | Yes | Public ID (GUID) of that endpoint or version | |
| entityType | Yes | What is deprecated: 'endpoint' or 'specVersion' | |
| includeUsage | No | Also return recent traffic and top consumers (default false) | |
| usageDaysBack | No | How many days of usage to look back (default 30) |