---
title: "GET /v1/projects/{scriptId}/metrics"
method: GET
path: "/v1/projects/{scriptId}/metrics"
tags: ["projects"]
---

# GET /v1/projects/{scriptId}/metrics

`GET /v1/projects/{scriptId}/metrics`

Get metrics data for scripts, such as number of executions and active users.

## Path parameters

- `scriptId` string, required

## Query parameters

- `metricsFilter.deploymentId` string
- `metricsGranularity` 'UNSPECIFIED_GRANULARITY' | 'WEEKLY' | 'DAILY'

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/script.md) · [All operations](https://skmtc.net/google/apis/script/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/script/versions/b83e197f53e2/schema)
