---
title: "POST /internal/analytics"
method: POST
path: "/internal/analytics"
tags: ["InternalAnalytics"]
---

# POST /internal/analytics

`POST /internal/analytics`

Get Analytics of your revert account

## Request body

- object
  - `userId` string, required
  - `environment` string, required

## Response `200`

- InternalGetAnalyticsResponse
  - `status` 'ok' | 'error', required
  - `result` CommonAnalytics, required
    - `totalConnections` integer, required
    - `connectedApps` CommonConnectedApps[], nullable
      - `appName` string, required
      - `imageSrc` string, required
    - `recentConnections` CommonRecentConnections[], nullable
      - `id` string, required
      - `createdAt` string, required
    - `recentApiCalls` CommonRecentApiCalls[], nullable
      - `method` string, required
      - `path` string, required
      - `status` integer, required

## Other responses

- `401`
- `500`

## Changes

- **2024-03-04** `52cc79f75cb0` — 2 warning
  - removed the optional property `result/summaryApiCalls` from the response with the `200` status
  - removed the optional property `result/totalApiCalls` from the response with the `200` status

[Change history](https://skmtc.dev/revertinc/apis/revert-api/changes/internal/analytics/post.md)

---

[API](https://skmtc.dev/revertinc/apis/revert-api.md) · [All operations](https://skmtc.dev/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/revertinc/revert-api/revisions/2a8d2830edec/schema)
