Deprecated API usage banner not showing for admins
Last updated: December 2, 2026
Symptom
Your org or workspace still has API keys calling deprecated (pre-SmithDB) API endpoints, but the "deprecated API usage" migration banner (the one showing "N days left to migrate off deprecated API endpoints... How to migrate") no longer appears in the LangSmith UI for an admin, even though deprecated calls are still happening.
Cause
This is expected behavior, not a bug. The "How to migrate" control in the banner is scoped to the specific user who personally owns the API key(s) still calling deprecated endpoints. If you're an org or workspace admin but don't personally own any of the offending keys, you won't see "How to migrate" in the banner anymore. You'll instead see a link to view org/workspace usage.
This means the prompt can look like it disappeared for an admin, even though other users in the same org or workspace who do own affected keys still see it.
Resolution
You don't need the banner to find affected keys or get the migration prompt. Use the Settings page or the usage API instead.
In the UI, go to Settings → Deprecated API Usage (available to org or workspace admins). It lists every affected API key, its owner, the deprecated endpoint(s) called, SDK version, and calls per day over the last month. Each row has a menu with a "Copy migration prompt" action (or "Open app" if the caller is identified as a LangSmith custom app).
Via API, the endpoint you call depends on your role:
GET /api/v1/workspaces/current/legacy-api-usage— returns your own deprecated-endpoint usage (same data shown in the banner).GET /api/v1/workspaces/current/deprecated-api-usage— for workspace admins, returns a per-key, per-owner usage report for the whole workspace.GET /api/v1/platform/orgs/current/deprecated-api-usage— for org admins, returns usage across all workspaces in the org.
For a generic migration prompt not tied to a specific key, use the "Migrate with an AI agent" prompt from the SmithDB SDK migration guide. Paste it into a coding agent to find and migrate deprecated SDK/API calls in your codebase.