get_assessment_json_output
Retrieve a machine-readable JSON execution plan from Terraform Cloud assessment results, detailing resource changes, metadata, and actions for infrastructure planning and analysis.
Instructions
Retrieve the JSON execution plan from an assessment result.
Gets the JSON representation of the plan execution details from an assessment, providing a machine-readable format of the planned resource changes.
API endpoint: GET /api/v2/assessment-results/{assessment_result_id}/json-output
Args: assessment_result_id: The ID of the assessment result to retrieve JSON output for (format: "asmtres-xxxxxxxx")
Returns: The complete JSON formatted plan with resource changes, metadata, and planned actions. The redirect is automatically followed.
Note: This endpoint requires admin level access to the workspace and cannot be accessed with organization tokens.
See: docs/tools/assessment_results.md for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assessment_result_id | Yes |