training-jobs
Push Training Job To Huggingface
Changed onPush a completed training job's model to HuggingFace Hub.
Args: job_id: Training job UUID. request: Target repo, token, and commit metadata. auth: Authenticated caller admitted by the training-jobs rollout.
Returns: The hub push outcome.
Raises: HTTPException: 400/403/404/409/500 for validation, permission, lookup, conflict, and upload failures.
post/v1/training-jobs/{job_id}/push-to-hub
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
job_idstring required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info