Skip to main content
GET
List Game Segments
The Game Data API is in preview. Endpoints, fields and limits may change before release, and it is not yet available to call.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

game_id
string<uuid>
required

Game identifier. The game must belong to your organization.

Query Parameters

segment_type
string

One or more segment types, comma-separated.

team_id
string

Only this team, by team_id.

player_id
string

Only this roster entry.

period
integer

Only this period: 1 and 2 for halves, 3 and 4 for extra time, 5 for a penalty shootout.

Required range: 1 <= x <= 5
limit
integer
default:1000

Page size; integer 1 to 2,000. Defaults to 1,000.

Required range: 1 <= x <= 2000
offset
integer
default:0

Rows to skip. Defaults to 0.

Required range: x >= 0

Response

One page of the matching segments, in time order.

game_id
string<uuid>
run_id
string

The processing run the data comes from: a UTC timestamp and four hex characters, e.g. 20261116T203022Z-8c65. Don't parse it.

segment_count
integer

Segments in this page.

segments
object[]
total_count
integer

Matching segments in the game, across every page.

offset
integer
limit
integer