Get Global Stat History

Returns a time series (string array) for a global aggregated stat after a successful Request Global Stats.
Inputs
Pin |
Type |
Description |
|---|---|---|
Stat API Name |
String |
Exact identifier defined in Steamworks. |
Stat Type |
Enum (Integer / Float / Average) |
Interprets history values accordingly. |
Num Samples Requested |
int32 |
Number of points to return (index 0 = most recent). |
Outputs
Pin |
Type |
Description |
|---|---|---|
History (String Array) |
String[] |
Ordered values (newest first). Length ≤ requested samples depending on available history. |
Success |
Bool |
true if history was returned. |
Notes
- Call Request Global Stats with a Days window that covers your desired history length.
- Index
0is the most recent value. - Values are stringified—convert to numbers to graph in your UI.