---
updatedAt: 2026-04-21T06:53:47.000Z
agentTools:
  projectIndex: https://developers.piwik.pro/llms.txt
---

# Fetch activation usage statistics

Fetches activation usage statistics - the number of activations executed in this month. Requires no permissions.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Web API",
    "version": "master"
  },
  "servers": [
    {
      "url": "https://{account}.piwik.pro",
      "variables": {
        "account": {
          "default": "example"
        }
      }
    }
  ],
  "security": [
    {
      "OAuth2ClientCredentials": []
    }
  ],
  "paths": {
    "/api/cdp/v3/profiles/usage": {
      "get": {
        "summary": "Fetch activation usage statistics",
        "security": [
          {
            "JWTAuth": []
          }
        ],
        "operationId": "get-profiles-activation-usage-stats",
        "description": "Fetches activation usage statistics - the number of activations executed in this month. Requires no permissions.",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "Organization-wide activation usage statistics",
                  "required": [
                    "activation_count"
                  ],
                  "properties": {
                    "activation_count": {
                      "description": "The number of activations in this month",
                      "type": "integer",
                      "format": "int64",
                      "example": 1827
                    }
                  }
                }
              }
            },
            "description": "An object containing the number of activations"
          },
          "400": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Request parameters deserialization error."
                }
              }
            },
            "description": "Bad request response (e.g. missing GET parameter, parameter value out of bounds)"
          },
          "401": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": ""
                }
              }
            },
            "description": "Access token is missing or invalid"
          },
          "402": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Module disabled."
                }
              }
            },
            "description": "Data Activation module is disabled"
          },
          "500": {
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "example": "Internal error occurred. Check logs"
                }
              }
            },
            "description": "Internal application error response (some service encountered unexpected error)"
          }
        },
        "tags": [
          "Data Activation"
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "OAuth2ClientCredentials": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/auth/token",
            "scopes": {}
          }
        }
      },
      "JWTAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "x-api-checksum": "f30b118d8e5a9d203105c80d9cf4000e1fd797fefe12353beea7e379e41e6e6c"
}
```