Skip to main content
Lists the most recent MCP sessions for a user with their lifecycle status. The bearer token is never returned here — it is shown once at creation only.
curl "https://api.usenaive.ai/v1/users/USER_ID/sessions" \
  -H "Authorization: Bearer $NAIVE_API_KEY"
Returns { sessions: [{ id, status, expires_at, revoked_at, created_at }] } where status is one of active, expired, revoked. Use default as the user id for the api key’s default user.