"reviews": { // run reviews
"current": { // reviews for the current state
"approvals": [{ // positive reviews
"author": "string - reviewer username",
"request": { // request data of the review
"remote_ip": "string - user IP",
"timestamp_ns": "number - review creation Unix timestamp in nanoseconds",
"session": { // session data of the review
"login": "string - username of the reviewer",
"name": "string - full name of the reviewer",
"teams": ["string - names of teams the reviewer was a member of"]
"state": "string - the state of the run at the time of the approval",
"rejections": [/* negative reviews, see "approvals" for schema */]
"older": [/* reviews for previous state(s), see "current" for schema */]
"run": { // the run metadata
"based_on_local_workspace": "boolean - whether the run stems from a local preview",
"command": "string or null, set when the run type is TASK",
"created_at": "number - creation Unix timestamp in nanoseconds",
"before_init": ["string - command to run before run initialization"],
"project_root": "string - root of the Terraform project",
"runner_image": "string - Docker image used to execute the run",
"terraform_version": "string - Terraform version used to for the run"
"triggered_by": "string or null - user or trigger policy who triggered the run, if applicable",
"type": "string - type of the run",
"updated_at": "number - last update Unix timestamp in nanoseconds"
"user_provided_metadata": ["string - blobs of metadata provided using spacectl or the API when interacting with this run"]
"stack": { // the stack metadata
"administrative": "boolean - is the stack administrative",
"autodeploy": "boolean - is the stack currently set to autodeploy",
"branch": "string - tracked branch of the stack",
"labels": ["string - list of arbitrary, user-defined selectors"],
"locked_by": "optional string - if the stack is locked, this is the name of the user who did it",
"name": "string - name of the stack",
"namespace": "string - repository namespace, only relevant to GitLab repositories",
"project_root": "optional string - project root as set on the Stack, if any",
"repository": "string - name of the source GitHub repository",
"state": "string - current state of the stack",
"terraform_version": "string or null - last Terraform version used to apply changes"