Get the annual allowance summary

Allowance, carry forward, time in lieu, leave used and remaining per person for one year.

GET https://cotlet.dev/api/v1/timetastic/annual-summary

read

Reads the Annual summary from Settings > Reporting & Backup and returns the Allowances sheet: allowance, brought forward, leave used, time in lieu and remaining per person. It does not return the Leave sheet; use get_monthly_summary for rows. The account must be able to open that page.

Parameters

Parameters: get_annual_summary
NameTypeDescription
year integer required integer Year such as 2026.

Request

cURL
curl "https://cotlet.dev/api/v1/timetastic/annual-summary?year=1" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("timetastic", "get_annual_summary", {"year":1})
Node.js
const result = await cotlet.call('timetastic', 'get_annual_summary', {"year":1});
CLI
cotlet call timetastic get_annual_summary --data '{"year":1}'

Example response

JSON

{
  "year": 2026,
  "unit": "days",
  "people": [
    {
      "employee": "Ana Torres",
      "allowance": 25,
      "carried_forward": 3,
      "used": 18,
      "time_in_lieu": 0,
      "remaining": 10
    },
    {
      "employee": "Ben Okafor",
      "allowance": 25,
      "carried_forward": 0,
      "used": 21,
      "time_in_lieu": 1,
      "remaining": 5
    }
  ]
}

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.