v1

latestOpenAPI 3.0.32026-07-26131237.0 KB
Scorecards

Retrieve scorecard (one game)

Returns the scorecard statistics limited to a single environment. Only the entry matching game_id is present in environments; all top-level counters are recomputed for that environment alone.

Useful for dashboards that present per-game progress without fetching the full scorecard payload.

get/api/scorecard/{card_id}/{game_id}

Path parameters

card_idstring required

Identifier returned by /scorecard/open.

game_idstring required

Game identifier to filter by (e.g. ls20-1d57d6daeb05).

Response

scorecard found; statistics for the requested game.

card_idstring required

The scorecard ID returned by OpenScorecardResponse.

scoreinteger required

Aggregate score for this scorecard (sum of per-level scores).

source_urlstring uri

Link originally supplied in the OpenScorecardRequest.

tagsstring[]

Arbitrary labels echoed back from the open request.

user_namestring

Display name of the user who opened/ran this scorecard.

user_idstring

Stable identifier of the user (e.g. provider subject id).

published_atstring date-time

When the scorecard was closed/published (absent if still open).

opaqueobject

Free-form JSON blob (≤ 16 KB) exactly as provided when the scorecard was opened. Absent if none was supplied.

open_atstring date-time required

When the scorecard was opened.

last_updatestring date-time required

When the scorecard was last updated (e.g. last action or close).

total_environments_completedinteger required

Number of environments that reached a terminal state (WIN or GAME_OVER).

total_environmentsinteger required

Total number of environments in this scorecard.

total_levels_completedinteger required

Cumulative levels completed across all runs.

total_levelsinteger required

Total number of levels across all environments.

total_actionsinteger required

Cumulative number of actions taken across all plays.