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

Create execution

Create a new execution.

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

Org is the organisation identifier.

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

Project is the project identifier.

Example: y
Header parameters
Harness-Accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 8
Body
pipelinestringRequired

The unique identifier for the associated pipeline

Example: Sequi ipsa ut atque.
pipeline_execution_idstringRequired

The unique identifier for the associated pipeline execution

Example: Consequatur architecto.
pipeline_stage_idstringRequired

The unique identifier for the associated pipeline stage

Example: Neque quia excepturi possimus.
workspacestringRequired

The unique identifier for the associated workspace

Example: Molestiae sint et est ut et error.
Responses
200

OK response.

application/json
accountstring · min: 1 · max: 128Required

Account is the internal customer account ID.

Example: 4ka
createdinteger · int64Required

Created is the unix timestamp at which the resource was originally created in milliseconds.

Example: 6557623726374506000
orgstring · min: 1 · max: 128Required

Org is the organisation identifier.

Example: 9zw
pipelinestringRequired

The unique identifier for the associated pipeline

Example: Rerum maxime ullam et.
pipeline_execution_idstringRequired

The unique identifier for the associated pipeline execution

Example: Qui pariatur.
pipeline_stage_idstringRequired

The unique identifier for the associated pipeline stage

Example: Id cupiditate aliquid corrupti beatae.
projectstring · min: 1 · max: 128Required

Project is the project identifier.

Example: y2z
statusstring · enumRequired

The overall status of the execution

Example: failurePossible values:
workspacestringRequired

The unique identifier for the associated workspace

Example: Fugiat autem pariatur.
post/api/orgs/{org}/projects/{project}/executions
POST /api/orgs/{org}/projects/{project}/executions HTTP/1.1
Host: localhost:80
Harness-Account: 8
Content-Type: application/json
Accept: */*
Content-Length: 200

{
  "pipeline": "Atque earum voluptatum.",
  "pipeline_execution_id": "Quo iste magni excepturi.",
  "pipeline_stage_id": "Quo provident dolorem.",
  "workspace": "Atque eum repellat consequatur accusamus deleniti."
}
{
  "account": "cs",
  "created": 2325267402126167600,
  "org": "zi",
  "pipeline": "Dolor dolor quos id consequatur corporis.",
  "pipeline_execution_id": "Nihil eaque perspiciatis tempore optio id nemo.",
  "pipeline_stage_id": "Quia amet impedit sunt sit.",
  "project": "s2",
  "status": "none",
  "workspace": "Dignissimos est eos."
}

Last updated

Was this helpful?