# Remove API endpoints with no traffic for a full quarter

Endpoints nothing has called in a quarter, removed on traffic evidence after a deprecation window.

Category: Dead code and stale content
Source: https://letsship.ai/use-cases/remove-endpoints-with-no-traffic
Published: 2026-08-25

## Goal

Remove API endpoints that have received no traffic for a full quarter.

## Acceptance criteria

- Traffic evidence covering a full quarter is attached
- The endpoints return a deprecation signal for a stated window before removal
- Known integrators are notified
- Removal is a separate change from the deprecation

## What lands as proof

A quarter of traffic evidence, then a deprecation window, then removal. All three, in that order.

## Prompt

Copy this to an agent to open the ticket:

```text
Create a Linear issue in my team and assign it to the SHIP agent.

Title: Retire the unused {endpoints}

Description: Remove API endpoints that have received no traffic for a full quarter.

Acceptance criteria:
- Traffic evidence covering a full quarter is attached
- The endpoints return a deprecation signal for a stated window before removal
- Known integrators are notified
- Removal is a separate change from the deprecation

Before you create the issue, pull this repository's access logs for the last quarter and list endpoints with no requests. Replace {endpoints}.
```

## Questions

### What does the agent actually change?

The ticket is scoped to one outcome: remove API endpoints that have received no traffic for a full quarter. Work that serves that outcome is in scope, and anything outside it is left for a separate ticket, so the pull request stays reviewable.

### How do I know the work is done?

The pull request carries the evidence, not only the diff. Here that means traffic evidence attached to the plan before anything is deleted, so a reviewer can confirm the result without reproducing the work locally.

### How much oversight does this need?

The run stops for the plan, and the review bar is raised afterwards so that smaller suggestions block the merge too, not only serious findings.
