example-data.com
Menu
Browse docs and collections

Overview

time-entries / #182

time-entries #182

userId
Kaden Brekke @kaden_brekke
taskId
projectId
projects/64
description
Customer call
startedAt
endedAt
durationMinutes
94
createdAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/time-entries/182" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/time-entries/182"
);
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/182"
);
const timeEntry = (await res.json()) as TimeEntry;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/time-entries/182"
)
time_entrie = res.json()

Response

{
  "id": 182,
  "userId": 67,
  "taskId": null,
  "projectId": 64,
  "description": "Customer call",
  "startedAt": "2026-01-14T14:14:11.102Z",
  "endedAt": "2026-01-14T15:48:11.102Z",
  "durationMinutes": 94,
  "createdAt": "2026-01-14T15:48:11.102Z"
}