Aller au contenu principal

Get metrics

Get metrics

Path Parameters
workspaceId cuid2 — REQUIRED

Possible values: Value must match regular expression ^[0-9a-z]+$

websiteId string — REQUIRED
Query Parameters
type string — REQUIRED

Possible values: [url, language, referrer, title, browser, os, device, country, event, utm_source, utm_medium, utm_campaign, utm_term, utm_content]

startAt number — REQUIRED
endAt number — REQUIRED
url string
referrer string
title string
os string
browser string
device string
country string
region string
city string
language string
event string
utm_source string
utm_medium string
utm_campaign string
utm_term string
utm_content string
Responses
200

Successful response

Schema — OPTIONAL
object[]
x
y number
400

Invalid input data

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
401

Authorization not provided

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
403

Insufficient access

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
404

Not found

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string
500

Internal server error

Schema — OPTIONAL
message string

The error message

code string

The error code

issues object[] — OPTIONAL

An array of issues that were responsible for the error

message string