{
  "version": "1.0",
  "examples": {
    "CompleteRollout": [
      {
        "input": {
          "JobArn": "arn:aws:sagemaker:us-east-1:123456789012:job/AgentRFT/my-training-job",
          "Status": "ready",
          "TrajectoryId": "trajectory-001"
        },
        "output": {},
        "description": "Marks a rollout as complete so the trajectory is sealed and eligible for reward submission.",
        "id": "example-1",
        "title": "Invoke CompleteRollout"
      }
    ],
    "Sample": [
      {
        "input": {
          "Body": "eyJtb2RlbCI6Im15LW1vZGVsIiwibWVzc2FnZXMiOlt7InJvbGUiOiJ1c2VyIiwiY29udGVudCI6IkhlbGxvIn1dfQ==",
          "JobArn": "arn:aws:sagemaker:us-east-1:123456789012:job/AgentRFT/my-training-job",
          "TrajectoryId": "trajectory-001"
        },
        "description": "Sends an inference request to the model and receives the response.",
        "id": "example-1",
        "title": "Invoke Sample"
      }
    ],
    "SampleWithResponseStream": [
      {
        "input": {
          "Body": "eyJtb2RlbCI6Im15LW1vZGVsIiwibWVzc2FnZXMiOlt7InJvbGUiOiJ1c2VyIiwiY29udGVudCI6IkhlbGxvIn1dfQ==",
          "JobArn": "arn:aws:sagemaker:us-east-1:123456789012:job/AgentRFT/my-training-job",
          "TrajectoryId": "trajectory-001"
        },
        "description": "Sends a streaming inference request and receives the response as a stream of payload chunks.",
        "id": "example-1",
        "title": "Invoke SampleWithResponseStream"
      }
    ],
    "UpdateReward": [
      {
        "input": {
          "JobArn": "arn:aws:sagemaker:us-east-1:123456789012:job/AgentRFT/my-training-job",
          "Rewards": [
            0.85,
            0.92,
            0.78
          ],
          "TrajectoryId": "trajectory-001"
        },
        "output": {},
        "description": "Updates the reward values for a completed trajectory.",
        "id": "example-1",
        "title": "Invoke UpdateReward"
      }
    ]
  }
}
