time-entries #400
- userId
-
Fritz Skiles @fritz_skiles
- taskId
- tasks/104
- projectId
- —
- description
- Bug investigation and fix
- startedAt
- endedAt
- durationMinutes
- 38
- createdAt
Overview
time-entries / #400
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/400" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/400" ); 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/400"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/400"
)
time_entrie = res.json() Response
{
"id": 400,
"userId": 144,
"taskId": 104,
"projectId": null,
"description": "Bug investigation and fix",
"startedAt": "2026-05-21T07:36:03.315Z",
"endedAt": "2026-05-21T08:14:03.315Z",
"durationMinutes": 38,
"createdAt": "2026-05-21T08:14:03.315Z"
}