For the complete documentation index, see llms.txt. This page is also available as Markdown.

Upload dependency graph data

Upload dependency graph for an existing plan file.

post
Path parameters
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: i73
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: qt
workspacestringRequired

Workspace identifier

Example: workspace123
Query parameters
pipeline_idstringRequired

The unique identifier for the associated pipeline

Example: Dicta itaque.
stage_idstringRequired

The unique identifier for a stage

Example: Enim eum expedita quis.
pipeline_execution_idstringRequired

The unique identifier for the associated pipeline execution

Example: Voluptate perspiciatis beatae quia.
pipeline_stage_idstringRequired

The unique identifier for the associated pipeline execution stage

Example: Placeat asperiores.
provisioner_typestring · enumRequired

Type of provisioner that created the data

Example: awscdkPossible values:
data_typestring · enumRequired

Type of data stored

Example: cdk_treePossible values:
stack_pathstringOptional

Optional path to the stack module

Example: Est dolore.
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 9d
Content-Lengthinteger · int64Optional

Size in bytes of the graph data.

Example: 3514809502243081700
Responses
200

OK response.

application/json
idstringRequired

The unique identifier for the data

Example: dc538c61-de48-4220-958c-5f3c4f983daa
policy_evaluation_messagestringOptional

Pre-rendered message included when policy evaluation did not pass

Example: - instance type 'xlarge' is not permitted
policy_evaluation_statusstring · enumOptional

The overall status of policy evaluation (if it occurred) indicating whether it passed

Example: errorPossible values:
post/api/orgs/{org}/projects/{project}/workspaces/{workspace}/dependency-graph
POST /api/orgs/{org}/projects/{project}/workspaces/{workspace}/dependency-graph?pipeline_id=Dicta+itaque.&stage_id=Enim+eum+expedita+quis.&pipeline_execution_id=Voluptate+perspiciatis+beatae+quia.&pipeline_stage_id=Placeat+asperiores.&provisioner_type=awscdk&data_type=cdk_tree HTTP/1.1
Host: localhost:80
Harness-Account: 9d
Accept: */*
{
  "id": "dc538c61-de48-4220-958c-5f3c4f983daa",
  "policy_evaluation": [
    {
      "message": "Labore quas debitis numquam voluptatem et.",
      "policy_id": "Quisquam eos tempore amet aliquid molestias quisquam.",
      "policy_name": "Eum accusantium soluta ab non fugiat.",
      "policy_set_id": "Aut nihil quas est aspernatur illo qui.",
      "policy_set_name": "Autem dolorum itaque.",
      "policy_status": "Esse porro alias dolorem."
    },
    {
      "message": "Labore quas debitis numquam voluptatem et.",
      "policy_id": "Quisquam eos tempore amet aliquid molestias quisquam.",
      "policy_name": "Eum accusantium soluta ab non fugiat.",
      "policy_set_id": "Aut nihil quas est aspernatur illo qui.",
      "policy_set_name": "Autem dolorum itaque.",
      "policy_status": "Esse porro alias dolorem."
    }
  ],
  "policy_evaluation_message": "- instance type 'xlarge' is not permitted",
  "policy_evaluation_status": "error"
}

Last updated

Was this helpful?