time-entries #380
- userId
-
Kathleen Lynch @kathleen_lynch1
- taskId
- —
- projectId
- projects/78
- description
- Architecture discussion
- startedAt
- endedAt
- durationMinutes
- 340
- createdAt
Overview
time-entries / #380
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/380" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/380" ); 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/380"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/380"
)
time_entrie = res.json() Response
{
"id": 380,
"userId": 139,
"taskId": null,
"projectId": 78,
"description": "Architecture discussion",
"startedAt": "2026-04-20T22:46:29.719Z",
"endedAt": "2026-04-21T04:26:29.719Z",
"durationMinutes": 340,
"createdAt": "2026-04-21T04:26:29.719Z"
}