コンテンツにスキップ

Get heatmap data

GET
/v1/projects/{id}/heatmap

Returns aggregated heatmap cells for a specific map. Each cell contains performance metrics (FPS, frame time, memory, GPU time) and event counts. Use in Performance mode (no eventName) for QA or Events mode (with eventName) for game design analysis.

id
required
string format: uuid

Project UUID.

mapId
required
string
<= 255 characters

User-specified map identifier to query heatmap data for.

cellSize
integer
default: 25
Allowed values: 5 10 25 50

Grid cell size in world units.

days
integer
default: 7
Allowed values: 1 7 14 30

Time period in days.

eventName
string

Filter by event name (e.g., player.death). Omit for performance mode.

Array of heatmap cells.

object
success
boolean
data
Array<object>

Aggregated performance and event data for a single grid cell.

object
x

Cell center X coordinate in world space.

number
y

Cell center Y coordinate in world space.

number
weight

Normalized weight for visualization.

number
event_count

Number of events in this cell.

integer
avg_fps

Average FPS across all samples in this cell.

number
avg_frame_time

Average frame time (ms) across all samples.

number
avg_memory

Average memory usage (MB) across all samples.

number
avg_gpu_time

Average GPU time (ms), or null if no GPU data available.

number | null
X-RateLimit-Limit
integer

Maximum number of requests allowed per hour.

X-RateLimit-Remaining
integer

Number of requests remaining in the current window.

X-RateLimit-Reset
integer

Unix timestamp when the rate limit window resets.

Invalid request parameters or body.

object
success
boolean
error

Human-readable error message.

string

Missing or invalid API key.

object
success
boolean
error

Human-readable error message.

string

Resource not found.

object
success
boolean
error

Human-readable error message.

string

Rate limit exceeded.

object
success
boolean
error

Human-readable error message.

string
X-RateLimit-Limit
integer

Maximum number of requests allowed per hour.

X-RateLimit-Remaining
integer

Number of requests remaining in the current window.

X-RateLimit-Reset
integer

Unix timestamp when the rate limit window resets.