Get a timesheet

One timesheet with its break, comment and the shift it belongs to.

GET https://cotlet.dev/api/v1/deputy/timesheets/{timesheet_id}

read

Returns one timesheet with its start, end, break, comment and the scheduled shift next to it, so you can compare worked and rostered time. An unsubmitted timesheet, where nobody clocked in, comes back with no start.

Parameters

Parameters: get_timesheet
NameTypeDescription
timesheet_id integer required integer Timesheet ID from list_timesheets.

Request

cURL
curl https://cotlet.dev/api/v1/deputy/timesheets/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("deputy", "get_timesheet", {"timesheet_id":1})
Node.js
const result = await cotlet.call('deputy', 'get_timesheet', {"timesheet_id":1});
CLI
cotlet call deputy get_timesheet --data '{"timesheet_id":1}'

Example response

JSON

{
  "timesheet_id": 4821,
  "employee": "Ana Lopez",
  "date": "2026-10-12",
  "start": "09:00",
  "end": "17:30",
  "break_minutes": 30,
  "hours": 8,
  "comment": null,
  "status": "pending",
  "rostered": {
    "start": "09:00",
    "end": "17:30"
  }
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.