Get users

Get Users

Get a paginated list of users, optionally filtered by role.

Used by the UI to populate the user lists.

Parameters: role: Optional[str] Filter users by role. Can be one of: - proxy_admin - proxy_admin_viewer - internal_user - internal_user_viewer page: int The page number to return page_size: int The number of items per page

Currently - admin-only endpoint.

GET/user/get_users
Authorization
Query parameters
Response

Successful Response

Body
any
Request
const response = await fetch('/user/get_users', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "detail": [
    {
      "loc": [
        "text"
      ],
      "msg": "text",
      "type": "text"
    }
  ]
}