---
title: "POST /get-analytics-data"
method: POST
path: "/get-analytics-data"
tags: ["General"]
---

# POST /get-analytics-data

`POST /get-analytics-data`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/get-analytics-data`
- Auth: none declared

## Request body

- GetAnalyticsData
  - `json` boolean: Set output format to JSON
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

getAnalyticsDataResponse wraps response body.

- AllAnalyticsData
  - `analytics_data` object
  - `certificates_expiry_data` CertificateAnalyticAggregation
    - `account_id` string
    - `ca_counts` object
    - `risk_counts` object
  - `clients_usage_reports` object
  - `date_updated` integer
  - `usage_reports` object

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/account-settings.md) - [All operations](https://skmtc.dev/akeyless/apis/account-settings/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/account-settings/revisions/6beb28d274ac?raw)
