Kimai icon

Kimai

Interact with Kimai time-tracking API

Activity → Get

AI-generated

Summary

Retrieve an activity by ID

Inputs

  • id (required) — Activity ID to retrieve; mandatory for the Get operation.
  • requestOptions — Configuration for the HTTP request, including batching, SSL verification, proxy, and timeout settings

Output shape

a single activity object

Returns a JSON object representing the activity, typically containing fields such as id, name, project, user, and other activity properties; optional fields may be omitted

Examples

Example 1: Fetch a single activity

Enter the activity's ID in the 'Activity ID' field; leave 'Request Options' unchanged; execute the node

Example 2: Retrieve activity with custom headers

Set 'Activity ID' to the target ID and add required headers (e.g., Authorization) via the 'Proxy' or other options in 'Request Options'; then run the node

Example 3: Adjust request timeout

Modify the 'Timeout' value in 'Request Options' (e.g., 30000 ms) to increase wait time; keep other settings default; execute the node

Discussion