Get File Metrics

Beta
Retrieve the latest values of all metrics for a file in a Project's default branch

Path parameters

ownerKeyOrIdstringRequired
The key or ID of the Workspace that owns the Project
projectKeyOrIdstringRequired
The key or ID of the Project to retrieve metrics for

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

pathstringRequired
The path to the file for which to retrieve metrics

Response

This endpoint returns an object.
datalist of objects
List of Metric items returned in the response

Errors