Skip to main content
GET
Get file metrics

Authorizations

Authorization
string
header
required

Generate an API token at https://qlty.sh/user/settings/tokens

Path Parameters

ownerKeyOrId
string
required

Repository owner name (login) or workspace ID

Minimum string length: 3
Example:

"acme-corp"

projectKeyOrId
string
required

Repository name or project ID

Minimum string length: 3
Example:

"my-repo"

Query Parameters

path
string
required

File path to retrieve metrics for

Minimum string length: 1
Example:

"src/index.ts"

Response

Retrieve metrics for a file

data
object[]
required