admin

List Users

List all users with their memory statistics.

Admin-only endpoint.

Issue #164: Extended with search/filter capabilities and workspace info.

Args: user: Authenticated admin user db: Database session limit: Maximum number of users to return offset: Pagination offset include_workspaces: Include workspace membership info search: Search by email or name (partial match) workspace_id: Filter by workspace ID role: Filter by system role (admin/user) plan: Filter by plan tier (free/basic/pro/promax) sort: Sort field (created_at, last_login, memory_count)

Returns: List of users with memory counts, storage usage, and optionally workspace info

get/api/v1/admin/users

Request

  • Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://memory.kagura-ai.com/api/v1/admin/users
  • Auth: none declared

Query parameters

limitinteger
offsetinteger
include_workspacesboolean
searchstring nullable
workspace_idstring nullable
rolestring nullable
planstring nullable
sortstring

Response

Successful Response

totalinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.