Skip to content

Use /v3/session for status account info; stop probing account lifecycle endpoints - #39

Merged
Prasanna721 merged 1 commit into
mainfrom
fix/status-account-info-session
Aug 10, 2026
Merged

Use /v3/session for status account info; stop probing account lifecycle endpoints#39
Prasanna721 merged 1 commit into
mainfrom
fix/status-account-info-session

Conversation

@Dhravya

@Dhravya Dhravya commented Aug 10, 2026

Copy link
Copy Markdown
Member

Why?

The status skill probed /v3/auth/account/memberships (plus two other guessed paths) with the user's API key just to display account info. That endpoint is part of the console's account-deletion flow and is session-only — every API-key request deterministically 403s with API keys cannot access account lifecycle endpoints, feeding Sentry issue SUPERMEMORY-BACKEND-108R. Same fix as supermemoryai/opencode-supermemory#68.

What?

  • getAccountInfo now calls GET /v3/session — the whoami endpoint that works with API-key auth (same one the MCP server uses) — and reads user.email/user.name/user.id/org.name directly.
  • Removes the generic walk-the-JSON account scraper and the three-endpoint probe list.
  • Bumps version to 1.0.13.

🤖 Generated with Claude Code

…fecycle endpoints

The status skill probed /v3/auth/account/memberships (and two other
guessed paths) with the user's API key to scrape account info. That
endpoint is session-only — every API-key request 403s with 'API keys
cannot access account lifecycle endpoints' (Sentry issue
SUPERMEMORY-BACKEND-108R).

/v3/session is the whoami endpoint that works with API-key auth (it's
what the MCP server uses) and returns user email/name/id and org name
directly, so the generic JSON scraper is gone too. Bumps to 1.0.13.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Dhravya commented Aug 10, 2026

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Dhravya Dhravya changed the title Use /v3/session for status account info instead of probing account lifecycle endpoints Use /v3/session for status account info; stop probing account lifecycle endpoints Aug 10, 2026
@Dhravya
Dhravya marked this pull request as ready for review August 10, 2026 20:08
@Prasanna721
Prasanna721 merged commit 75fc6cc into main Aug 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants