Ingest Historical Stats
Ingest biomech historical stat rows.
Player resolution: if a row uses player.alias for a pitcher that does not yet exist in player_info, this endpoint will bootstrap the row with team_id=NULL (no team binding is available at this stage). Callers should establish player_info first — either via POST /biomech/sessions (which can resolve team_id from the session's team_id field) or by pre-creating rosters — to avoid teamless pitcher records.
Headers
Required API key issued by Preciser.
Required API key issued by Preciser.
Required tenant/database selector, for example pitchbio-master.
Required tenant/database selector, for example pitchbio-master.
Request body
Response
Successful Response
Changes
Changed in 1 of the 10 revisions of this API.42
- ▲
the
headerrequest parameterLeaguebecame requiredrequest-parameter-became-required
- ▲
the
headerrequest parameterx-api-keybecame requiredrequest-parameter-became-required
- ▲
headerrequest parameterLeaguelist-of-types was narrowed by removing typesnullrequest-parameter-list-of-types-narrowed
- ▲
headerrequest parameterx-api-keylist-of-types was narrowed by removing typesnullrequest-parameter-list-of-types-narrowed
- ○
for the
headerrequest parameterLeague, the type/format was generalized from/tostring/request-parameter-type-generalized
- ○
for the
headerrequest parameterx-api-key, the type/format was generalized from/tostring/request-parameter-type-generalized
- ▲