project-versions
Select a milestone version's champion model
Changed onRecord a model as the milestone's champion and route traffic to it.
Args: project_id: Project the milestone belongs to. version_id: Milestone to record the champion on. request: Exactly one champion target, plus an optional reason. auth: Authenticated caller.
Returns: The updated milestone, the deployment record, and the live pointer.
post/v1/projects/{project_id}/versions/{version_id}/champion
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring uuid required
version_idstring uuid required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info