GET
Get a baseball player's recent game log

Authorizations

Authorization
string
header
default:tok_public_demo
required

Send a workspace API token in the Authorization: Bearer <token> header.

Path Parameters

league
string
required

League identifier from the /v1/leagues catalog (e.g. mlb, nba, epl, nfl, nhl). Unknown values return 404 unsupported_league.

id
string
required

Query Parameters

role
enum<string>
Available options:
batting,
pitching
season
integer
Required range: 1920 <= x <= 2100
last
integer
default:25
Required range: x >= 1
provenance
boolean
default:false

When true, the response envelope includes per-field provenance metadata under _meta.provenance (source adapter, ingest run id, timestamp). Default: omitted.

Response

Recent batting or pitching game lines.