v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1442519.0 KB

Marks a rollout as complete, indicating that no further turns will be appended to the trajectory. After calling this operation, the trajectory is sealed and eligible for reward submission via the UpdateReward operation.

post/complete-rollout#X-Amzn-SageMaker-Job-Arn

Headers

X-Amzn-SageMaker-Job-Arnstring required

The job ARN.

Request body

TrajectoryIdstring required

The trajectory ID to mark as complete.

Status'ready' | 'failed'

Allowed target statuses for the CompleteTrajectory operation.

ClientTokenstring

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Response

Success

CompleteRolloutResponse required
All 4 operations