Skip to content

Metrics v1

Reference for the Metrics v1 endpoints on Roblox.

Base URL: https://metrics.roblox.com

Method Path Name
POST /v1/bundle-metrics/report postBundleMetricsReport
POST /v1/thumbnails/load postThumbnailsLoad
GET /v1/thumbnails/metadata getThumbnailsMetadata

POST /v1/bundle-metrics/report

Records bundle load successes.

Usage
import { fetchApi } from 'rozod';
import { postBundleMetricsReport } from 'rozod/endpoints/metricsv1';
const data = await fetchApi(postBundleMetricsReport, {
body: { /* ... */ }
});
Field Type Description
bundleUrl string
bundleName string
loadTimeInMilliseconds number
cdnProviderName string
loadState `0 1
bundleContentType `0 1

Type: unknown

Status Description
400 1: The bundle url is invalid.

POST /v1/thumbnails/load

Records the time it takes for a thumbnail to get loaded in the UI.

Usage
import { fetchApi } from 'rozod';
import { postThumbnailsLoad } from 'rozod/endpoints/metricsv1';
const data = await fetchApi(postThumbnailsLoad, {
body: { /* ... */ }
});
Field Type Description
duration number
loadState `0 1
thumbnailType string

Type: unknown

Status Description
400 2: A required parameter is missing from the request
403 0: Token Validation Failed

GET /v1/thumbnails/metadata

Get metadata related to logging thumbnail load metrics.

Usage
import { fetchApi } from 'rozod';
import { getThumbnailsMetadata } from 'rozod/endpoints/metricsv1';
const data = await fetchApi(getThumbnailsMetadata, undefined);
Field Type Description
logRatio number