---
title: "Consumer Activity"
method: GET
path: "/api/v1/gtm/consumers/activity"
tags: ["GTM - Consumers"]
---

# Consumer Activity

`GET /api/v1/gtm/consumers/activity`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/gtm/consumers/activity`
- Auth: none declared

Recent subscription state changes.

We don't persist a subscription_events log, so we infer activity from
UserSubscription.created_at + updated_at + cancelled_at +
cancel_at_period_end + status transitions.

## Query parameters

- `days` integer
- `limit` integer

## Headers

- `x-admin-key` string, nullable

## Response `200`

Successful Response

- ConsumerActivityResponse
  - `days` integer, required
  - `items` ConsumerActivityItem[], required
    - `at` string, date-time, required
    - `event` string, required
    - `user_id` integer, required
    - `full_name` string, required
    - `email` string, nullable
    - `product_id` string, nullable
    - `store` string, nullable
    - `mrr_cents` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api.md) · [All operations](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/revisions/fcb441f55161?raw)
