example-data.com
Menu
Browse docs and collections

time-entries

time-entries

Page 10 of 28.

Overview

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/time-entries?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/time-entries?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/time-entries.d.ts https://example-data.com/types/time-entries.d.ts
import type { TimeEntry, ListEnvelope } from "./types/time-entries";

const res = await fetch(
  "https://example-data.com/api/v1/time-entries?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<TimeEntry>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/time-entries",
    params={"limit": 25},
)
data = res.json()

Response

{
  "data": [
    {
      "id": 217,
      "userId": 78,
      "taskId": 290,
      "projectId": null,
      "description": "Performance profiling",
      "startedAt": "2026-02-21T17:51:34.976Z",
      "endedAt": "2026-02-21T21:23:34.976Z",
      "durationMinutes": 212,
      "createdAt": "2026-02-21T21:23:34.976Z"
    },
    {
      "id": 218,
      "userId": 78,
      "taskId": null,
      "projectId": 17,
      "description": "Customer call",
      "startedAt": "2026-02-20T22:05:27.435Z",
      "endedAt": "2026-02-21T00:29:27.435Z",
      "durationMinutes": 144,
      "createdAt": "2026-02-21T00:29:27.435Z"
    },
    {
      "id": 219,
      "userId": 79,
      "taskId": null,
      "projectId": 47,
      "description": "Bug investigation and fix",
      "startedAt": "2026-02-22T10:28:08.829Z",
      "endedAt": "2026-02-22T14:30:08.829Z",
      "durationMinutes": 242,
      "createdAt": "2026-02-22T14:30:08.829Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 661,
    "totalPages": 28
  },
  "links": {
    "self": "/api/v1/time-entries?page=10&limit=24",
    "first": "/api/v1/time-entries?page=1&limit=24",
    "last": "/api/v1/time-entries?page=28&limit=24",
    "next": "/api/v1/time-entries?page=11&limit=24",
    "prev": "/api/v1/time-entries?page=9&limit=24"
  }
}