RL
Weights sync
Changed onSubmits 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.
post/v1/rl/training-sessions/{session_id}/operations/weights-sync
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v1/rl/training-sessions/{session_id}/operations/weights-sync
- AuthHTTP bearer
Path parameters
session_idstring required
Training session ID
Headers
Idempotency-Keystring required
Required key that makes retries return the original operation; use a new key for changed request bodies.
Request body
Response
Weights-sync operation details
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"error": {
"message": "Operation timed out"
}
}Changes
- info
endpoint added
- info