time-entries #597
- userId
-
Simeon Heathcote @simeon_heathcote75
- taskId
- tasks/715
- projectId
- —
- description
- Research and discovery
- startedAt
- endedAt
- durationMinutes
- 132
- createdAt
Overview
time-entries / #597
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/597" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/597" ); const timeEntry = 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 } from "./types/time-entries";
const res = await fetch(
"https://example-data.com/api/v1/time-entries/597"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/597"
)
time_entrie = res.json() Response
{
"id": 597,
"userId": 224,
"taskId": 715,
"projectId": null,
"description": "Research and discovery",
"startedAt": "2025-12-12T05:21:33.672Z",
"endedAt": "2025-12-12T07:33:33.672Z",
"durationMinutes": 132,
"createdAt": "2025-12-12T07:33:33.672Z"
}