time-entries
Search time entries
Default page size 100, maximum 500. Keep filters and pass nextCursor to continue. Data can change during pagination; use full export for a backup.
Request body
Required
application/json
Type: object
| Field | Type | Required | Description and constraints |
|---|---|---|---|
| fromDate | string | No | Inclusive filter start date {"format":"date"} |
| toDateExclusive | string | No | Exclusive filter end date {"format":"date"} |
| from | string | No | Inclusive start timestamp; provide with to {"format":"date-time"} |
| to | string | No | Exclusive end timestamp; provide with from {"format":"date-time"} |
| state | string | No | Entry, job or operation state; meaning depends on the endpoint {"enum":["running","stopped","invalid"]} |
| projectIds | array<string> | No | Project IDs; comma-separated in GET, array in POST {"minItems":1,"maxItems":100} |
| projectIds[] | string | No | {"minLength":1,"maxLength":512} |
| tagIds | array<string> | No | Tag IDs; comma-separated GET filter, array in bodies {"minItems":1,"maxItems":100} |
| tagIds[] | string | No | {"minLength":1,"maxLength":512} |
| tagMatch | string | No | Tag matching: any or all {"enum":["any","all"]} |
| noProject | boolean | No | Match entries without a project |
| noTags | boolean | No | Match entries without tags |
| includeDescendants | boolean | No | Include descendant tags when filtering |
| archived | string | No | Archive filter: active, only or all {"enum":["active","only","all"]} |
| match | string | No | Time matching: overlaps or startsWithin {"enum":["overlaps","startsWithin"]} |
| text | string | No | Search text; POST avoids putting it in URLs {"maxLength":500} |
| limit | integer | No | Page size; default 100, maximum 500 {"minimum":1,"maximum":500} |
| cursor | string | No | Opaque cursor; return unchanged, do not parse {"maxLength":8192} |
Complete JSON Schema
Request example
Replace path and request parameters with actual values. For requests with a body, save it as request.json using the schema above.
Responses
200
Successful response; status depends on the operation result.
application/json
Type: object
| Field | Type | Required | Description and constraints |
|---|---|---|---|
| items | array<object> | Yes | Resources, events or operation results |
| items[] | object | No | {"additionalProperties":false} |
| items[].id | string | Yes | Resource, job or operation identifier |
| items[].version | string | Yes | Version as a decimal string; do not convert to a floating-point number {"pattern":"^(0|[1-9][0-9]*)$"} |
| items[].etag | string | Yes | Concurrency tag; preserve quotes when sending If-Match |
| items[].updatedAt | string | Yes | Last server update timestamp |
| items[].operationId | string | No | Request receipt identifier; no status polling is needed |
| items[].deletedAt | string | No | Deletion timestamp |
| items[].startTime | string | null | No | Start timestamp in ISO 8601 with a time zone |
| items[].startTime (anyOf 1) | string | No | |
| items[].startTime (anyOf 2) | null | No | |
| items[].stopTime | string | null | No | Stop timestamp; null means running |
| items[].stopTime (anyOf 1) | string | No | |
| items[].stopTime (anyOf 2) | null | No | |
| items[].detail | string | null | No | Entry description |
| items[].detail (anyOf 1) | string | No | |
| items[].detail (anyOf 2) | null | No | |
| items[].note | string | null | No | Note |
| items[].note (anyOf 1) | string | No | |
| items[].note (anyOf 2) | null | No | |
| items[].projectId | string | null | No | Project ID, or null |
| items[].projectId (anyOf 1) | string | No | |
| items[].projectId (anyOf 2) | null | No | |
| items[].tagIds | array<string> | No | Tag IDs; comma-separated GET filter, array in bodies |
| items[].tagIds[] | string | No | |
| items[].source | string | null | No | Source label |
| items[].source (anyOf 1) | string | No | |
| items[].source (anyOf 2) | null | No | |
| items[].state | string | No | Entry, job or operation state; meaning depends on the endpoint |
| items[].durationSeconds | number | null | No | Duration in seconds; may be fractional |
| items[].durationSeconds (anyOf 1) | number | No | |
| items[].durationSeconds (anyOf 2) | null | No | |
| hasMore | boolean | Yes | Whether another page is available |
| nextCursor | string | null | Yes | Next-page cursor, or null on the final page |
| nextCursor (anyOf 1) | string | No | |
| nextCursor (anyOf 2) | null | No | |
| evaluatedAt | string | Yes | Server evaluation timestamp |
| effectiveRange | object | null | Yes | Fixed effective range for this query |
| effectiveRange (anyOf 1) | object | No | |
| effectiveRange (anyOf 1).from | string | Yes | Inclusive start timestamp; provide with to |
| effectiveRange (anyOf 1).to | string | Yes | Exclusive end timestamp; provide with from |
| effectiveRange (anyOf 2) | null | No |
Complete JSON Schema
400, 401, 403, 404, 413, 422, 429, 500, 503
Error response; branch on code.
application/json
Type: object
| Field | Type | Required | Description and constraints |
|---|---|---|---|
| code | string | Yes | Machine-readable error code |
| message | string | No | Error message; use code for program logic |
| requestId | string | No | Request trace identifier |
| operationId | string | No | Request receipt identifier; no status polling is needed |