Skip to main content
GET
/
{slug}
/
metrics
/
pkl-metrics
List PKL metrics
curl --request GET \
  --url https://api.dimred.com/api/v2/{slug}/metrics/pkl-metrics \
  --header 'X-API-Key: <api-key>'
{
  "project_id": "<string>",
  "metrics": [
    {
      "metric_id": "<string>",
      "metric_name": "<string>",
      "s3_path": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "metric_config": {},
      "description": "<string>"
    }
  ],
  "count": 123
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

slug
string
required

Organization slug

Query Parameters

project_id
string

Project ID to filter by

Response

200 - application/json

PKL metrics retrieved successfully

project_id
string
required

Project ID

metrics
object[]
required

List of metrics

count
integer
required

Number of metrics

I