Ingest Baselines
Changed onIngest per-player biomech baselines and baseline frames.
New baselines are inserted normally. Replacing an existing baseline requires replace_existing=true; only then does the endpoint DELETE all existing biomech_baseline_frame rows for that player_id and bulk-insert the new ones. skip_existing=true leaves existing baselines unchanged. Each baseline is committed independently.
Player resolution: same caveat as /historical-stats — if player.alias triggers bootstrap, the new player_info row will have team_id=NULL. Establish player_info via POST /biomech/sessions or roster creation first to avoid teamless pitcher records.
Request
- Base URLhttps://developer.preciser.io
- URLhttps://developer.preciser.io/api/v1/biomech/baselines
- Authnone declared. Required headers: x-api-key, League
Headers
Required API key issued by Preciser.
Required tenant/database selector, for example pitchbio-master.
Request body
Response
Successful Response
Changes
- breaking
the
headerrequest parameterLeaguebecame required - breaking
the
headerrequest parameterx-api-keybecame required - breaking
headerrequest parameterLeaguelist-of-types was narrowed by removing typesnull - breaking
headerrequest parameterx-api-keylist-of-types was narrowed by removing typesnull - info
for the
headerrequest parameterLeague, the type was generalized from no type tostring - info
for the
headerrequest parameterx-api-key, the type was generalized from no type tostring
- breaking