Kimai icon

Kimai

Interact with Kimai time-tracking API

User → Get Me

AI-generated

Summary

Retrieves the current authenticated user from Kimai via a GET request to /api/users/me. No resource-specific parameters are required; only general request options apply.

Inputs

  • requestOptions — Optional request configuration affecting transport and throttling. All sub-options are optional and use declared defaults when omitted.
  • batching — FixedCollection with batchSize (number, min -1, default 50) and batchInterval (number, min 0, default 1000 ms). Batching is disabled by default; -1 disables, 0 treats as 1 request per interval.
  • allowUnauthorizedCerts — Boolean (default false). When true, accepts responses even if SSL certificate validation fails.
  • proxy — String (default empty). HTTP proxy URL, e.g. http://username:password@myproxy:3128.
  • timeout — Number (min 1, default 10000 ms). Time in ms to wait for server response headers before aborting.

Output shape

User object as returned by the Kimai API endpoint /api/users/me. Contains the authenticated user's details (e.g., ID, username, email, roles, etc.).

The operation issues a GET request; no request body or path parameters are needed beyond the URL /api/users/me.

Examples

Example 1: Basic fetch of current user.

Leave all requestOptions at defaults; the node will perform a GET /api/users/me and pass through the JSON response.

Discussion