---
title: "Read a user's active days in a UTC year"
method: GET
path: "/api/activity/calendar"
tags: ["Activity"]
---

# Read a user's active days in a UTC year

`GET /api/activity/calendar`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Query parameters

- `userId` string, required
- `year` integer, required

## Response `200`

Response for status 200

- object
  - `userId` string, required
  - `year` number, required
  - `days` object[], required
    - `day` string, required
    - `visits` number, required
    - `pageViews` number, required

## Other responses

- `400`: Response for status 400
- `403`: Response for status 403

## Changes

- **2026-10-18** `acc4f81854a0`: 1 info
  - endpoint added
- **2026-10-14** `59a844bdcb75`: 1 breaking
  - api path removed without deprecation
- **2026-10-12** `25ac51b05541`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sixb-ai/apis/sixb-api/changes/api/activity/calendar/get.md)

---

[API](https://skmtc.dev/sixb-ai/apis/sixb-api.md) - [All operations](https://skmtc.dev/sixb-ai/apis/sixb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sixb-ai/apis/sixb-api/revisions/a227d682eaa2?raw)
