Kimai icon

Kimai

Interact with Kimai time-tracking API

Activity → Update

AI-generated

Summary

Updates an existing activity.

Inputs

  • id (required) — Activity ID to update
  • name (required) — New name of the activity
  • project — Project ID to assign to the activity
  • teams — Team ID to assign to the activity
  • number — Activity number
  • comment — Comment for the activity
  • billable — Whether the activity is billable
  • visible — Visibility status
  • color — Color identifier for the activity
  • invoiceText — Invoice text associated with the activity
  • requestOptions — Additional request configuration options (batching, SSL, proxy, timeout)

Output shape

a single activity object returned by the API

The response contains the updated activity resource with all fields returned as defined by Kimai.

Examples

Example 1: Update activity name and set it as billable

Activity ID=123, Name='Team Meeting', Billable=true

Example 2: Change project and visibility

Activity ID=456, Project=789, Visible=false

Example 3: Batch update with custom batching

IDs=1,2,3; requestOptions.batching.batchSize=100; Name='Task'; Billable=true

Discussion