Weights sync
Submits a weights-sync operation that makes the session’s current trained parameters available for sampling. Call this after optim-step when you want subsequent samples to use the updated policy.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Required key that makes retries return the original operation; use a new key for changed request bodies.
Path Parameters
Training session ID
Body
Request body for publishing updated policy parameters for sampling.
How updated parameters are made available for sampling. See WeightSyncType for accepted values.
WEIGHT_SYNC_TYPE_SYNCHRONOUS, WEIGHT_SYNC_TYPE_BACKGROUND_PUBLISH, WEIGHT_SYNC_TYPE_PIPELINE Response
Weights-sync operation details
Async weights-sync operation
Operation ID
"550e8400-e29b-41d4-a716-446655440000"
Operation status
TRAINING_OPERATION_STATUS_UNSPECIFIED, TRAINING_OPERATION_STATUS_PENDING, TRAINING_OPERATION_STATUS_RUNNING, TRAINING_OPERATION_STATUS_COMPLETED, TRAINING_OPERATION_STATUS_FAILED Result on success
Error details on failure