v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13163149.1 KB
projects

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

get/v1/projects/{scriptId}/metrics

Path parameters

scriptIdstring required

Required field indicating the script to get metrics for.

Query parameters

metricsFilter.deploymentIdstring

Optional field indicating a specific deployment to retrieve metrics from.

metricsGranularity'UNSPECIFIED_GRANULARITY' | 'WEEKLY' | 'DAILY'

Required field indicating what granularity of metrics are returned.

Response

Successful response