List Time Entries (lawmatics_list-time-entries)
List time entries from Lawmatics with optional pagination and sorting. Time entries record time spent on a matter or contact; durations are in hours and hourly rates are in integer cents. Each row carries a `relationships` envelope of to-one {id,type} pointers (the matter or contact billed to, staff and creating users, activity type, invoice).
Tool Input
pageinteger— Page number (1-based)(> 0)
sortBystring— Column to sort by(enum: "id", "created_at", "updated_at")
sortOrderstring— Sort direction; ascending or descending(enum: "asc", "desc")
Tool Output
timeEntriesarrayrequired— Time entries on this page of results
[]object
idstringrequired— Unique ID of the time entry
descriptionstringnullrequired— Description of the work performed; null if unset
durationnumberrequired— Duration in hours as a float (e.g. 1.5 = 1 hour 30 minutes), NOT minutes
durationRoundednumbernullrequired— Duration rounded to the firm's billing increment, in hours; null if not reported
billablebooleannullrequired— Whether the time is billable; null if not reported
rateFlatFeebooleannullrequired— Whether this is a flat-fee entry; null if not reported
rateCentsintegernullrequired— Hourly rate in integer cents (e.g. 12000 = $120.00/hr); null if not reported
rateCurrencystringnullrequired— ISO currency code of the rate (e.g. "USD"); null if not reported
runningSincestringnullrequired— When the entry's live timer started, as an ISO 8601 timestamp; null when no timer is running
startedAtstringnullrequired— When the time entry started, as an ISO 8601 timestamp; null if unset
completedAtstringnullrequired— When the time entry completed, as an ISO 8601 timestamp; null while incomplete (only completed entries can be added to invoices)
createdAtstringrequired— When the time entry record was created, as an ISO 8601 timestamp
updatedAtstringrequired— When the time entry record was last updated, as an ISO 8601 timestamp
relationshipsobjectrequired— To-one JSON:API relationship pointers as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own tool (e.g. type 'user' -> get-user, type 'prospect' -> get-matter, type 'contact' -> get-contact, type 'invoice' -> get-invoice).
5 fields
activityTypeobjectnullrequired— Billing activity type pointer; null when unset
2 fields
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
contactableobjectnullrequired— Pointer to the record the time is billed to; type is "prospect" for a matter or "contact" for a contact; null when unassociated
2 fields
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
createdByobjectnullrequired— Pointer to the user who created the record; null when unattributed
2 fields
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
invoiceobjectnullrequired— Pointer to the invoice this entry is attached to; null when not invoiced
2 fields
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
staffobjectnullrequired— Pointer to the user who performed the time entry; null when unattributed
2 fields
idstringrequired— ID of the referenced Lawmatics record
typestringrequired— JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
paginationobjectrequired— Pagination metadata derived from the API `meta` envelope
totalPagesnumberrequired— Total number of pages available
limitPerPagenumberrequired— Maximum time entries returned per page
totalEntriesnumberrequired— Total number of time entries across all pages
Related Tools