Assessment Results API
An Assessment Result is the record of an instance of continuous validation.
Show Assessment Result
GET api/v2/assessment-results/:assessment_result_id
Parameter | Description |
---|---|
:assessment_result_id | The assessment result ID |
Sample Request
Sample Response
Retrieve the JSON output from the assessment execution
The following endpoints retrieve files documenting the plan, schema, and logged runtime associated with the specified assessment result. They provide complete context for an assessment result. The responses do not adhere to JSON API spec.
You cannot access these endpoints with organization tokens. You must access them with a user token or team token that has admin level access to the workspace. Refer to Permissions for details.
JSON Plan
The following endpoint returns the JSON plan output associated with the assessment result.
GET api/v2/assessment-results/:assessment_result_id/json-output
Sample Request
JSON Schema file
The following endpoint returns the JSON provider schema associated with the assessment result.
GET api/v2/assessment-results/:assessment_result_id/json-schema
Sample Request
JSON Log Output
The following endpoint returns Terraform JSON log output.
GET api/v2/assessment-results/assessment_result_id/log-output
Sample Request