Kimai icon

Kimai

Interact with Kimai time-tracking API

Activity → Update Meta

AI-generated

Summary

Updates a custom field value for a Kimai activity.

Inputs

  • id (required) — The ID of the activity to update.
  • metaName (required) — The name of the custom meta field to set.
  • metaValue (required) — The value to assign to the meta field.
  • requestOptions — Additional request configuration such as batching, SSL verification, proxy, and timeout.

Output shape

an object representing the updated activity record

Returns the full activity object after the meta update; may include pagination metadata if the endpoint wraps results.

Examples

Example 1: Set a custom tag count for activity with ID 123

id=123, metaName=tagCount, metaValue=5, requestOptions={}

Example 2: Apply a batch request to update meta for multiple activities

id=123, metaName=project, metaValue=ProjectX, requestOptions={'batchSize': 10}

Discussion