Magidoc

CreateTimeEntryInput
Input Object

Input for creating or updating a single time entry. If an entry already exists for the same user, container, category, and date, it will be updated (upserted) rather than duplicated.

Fields

#

billableStatus

Billing state for worksheet/invoice eligibility.

categoryId

Optional time category ID. Pass null or omit for uncategorized entries.

containerId

ID !
Non-null

ID of the project or leave type.

containerType

Non-null

Whether the entry is against a project or a leave type.

date

Non-null

Calendar date for the entry in ISO-8601 format (e.g. 2025-06-02). The server normalises to the start of day in UTC.

estimateLineId

Optional estimate line this time is actualizing.

loggedTime

Non-null

Duration in seconds (0–86400). For example, 1.5 hours = 5400.

serviceId

Optional service used for billing and estimate matching.

userId

ID !
Non-null

ID of the user this time entry belongs to. API keys act as their owning user and inherit that user's permissions; admin-owned keys may target other workspace members.

Usages

#

References

#

  • Argument entries of field createTimeEntries from type Mutation