OpsChain API (v1)

Download OpenAPI specification:

Introduction

OpsChain is an orchestration and change automation platform based in GitOps principles with a core objective to Unify Change. Connect, automate, and orchestrate people, processes, and tools across your on-premise and cloud platforms.

version: 2026-11-04 (8ab7a04bf)

Projects

Endpoints to interact with projects.

Notes:

  • The show and list response payloads include links to the project's assets, changes, scheduled activity, bookmarks and MintModels endpoints. These endpoints act like the assets, changes, scheduled activity, bookmarks and MintModels endpoints respectively.
  • The list, create, show, update and archive asset endpoints are available via the /<path/to/asset/owner>/assets path. The example endpoints in this section reflect assets owned by a project.

List projects

Lists all projects (including archived projects).

Each project in the response includes a link to:

  • the project's changes endpoint for managing changes belonging to this project. It acts like the changes endpoint.
  • the project's scheduled_activities endpoint for managing scheduled activities belonging to this project. It acts like a scheduled activities endpoint.
  • the project's bookmarks endpoint for managing the bookmarks belonging to this project. It acts like a bookmarks endpoint.
  • the project's mintmodels endpoint for managing the MintModels belonging to this project. It acts like a MintModels endpoint.
  • the project's mintmodel_history endpoint for viewing this project's MintModel history. It acts like a MintModel history endpoint.
  • the project's workflows endpoint for viewing this project's workflows. It acts like a Workflows endpoint. .
query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=opc

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

download
string
Example: download=projects.csv

Download the projects in CSV format with the specified file name. The projects will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-b2f1-7f7f-86e1-c075c593f3ea",
      • "type": "project",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create project

Creates a project.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "code": "opc",
      • "name": "OpsChain",
      • "description": "OpsChain project"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-b40e-70a3-8c9e-d529e961b324",
    • "type": "project",
    • "attributes": {
      • "code": "edhic",
      • "name": "nihil822",
      • "description": "Minima minus ipsum adipisci.",
      • "archived": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user"
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "children": {
        },
      • "bookmarks": {
        }
      },
    • "links": {
      • "self": "/api/projects/edhic",
      • "artifacts": "/api/projects/edhic/artifacts",
      • "bookmarks": "/api/projects/edhic/bookmarks",
      • "changes": "/api/projects/edhic/changes",
      • "scheduled_activities": "/api/projects/edhic/scheduled_activities",
      • "git_remotes": "/api/projects/edhic/git_remotes",
      • "workflows": "/api/projects/edhic/workflows",
      • "workflow_runs": "/api/projects/edhic/workflow_runs",
      • "templates": "/api/projects/edhic/templates",
      • "environments": "/api/projects/edhic/environments",
      • "assets": "/api/projects/edhic/assets",
      • "agents": "/api/projects/edhic/agents"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": true,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": true,
      • "requires_template": false,
      • "child_node_types": [
        ],
      • "can_have_workflows": true,
      • "can_have_actions": false,
      • "authorisations": {
        }
      }
    }
}

Show project

Shows a project, including any direct children.

The response includes a link to:

  • the project's changes endpoint for managing changes belonging to this project. It acts like the changes endpoint.
  • the project's scheduled_activities endpoint for managing scheduled activities belonging to this project. It acts like a scheduled activities endpoint.
  • the project's bookmarks endpoint for managing the bookmarks belonging to this project. It acts like a bookmarks endpoint.
  • the project's mintmodels endpoint for managing the MintModels belonging to this project. It acts like a MintModels endpoint.
  • the project's mintmodel_history endpoint for viewing this project's MintModel history. It acts like a MintModel history endpoint.
  • the project's workflows endpoint for viewing this project's workflows. It acts like a Workflows endpoint. .
path Parameters
project_code
required
string
Example: opc

project code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-b6a0-77cc-890c-c48da9708c98",
    • "type": "project",
    • "attributes": {
      • "code": "opc",
      • "name": "OpsChain",
      • "description": "OpsChain project",
      • "archived": false,
      • "created_by": "elza.turcotte-2941",
      • "created_by_name": "elza.turcotte-2941"
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "children": {
        },
      • "bookmarks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc",
      • "artifacts": "/api/projects/opc/artifacts",
      • "bookmarks": "/api/projects/opc/bookmarks",
      • "changes": "/api/projects/opc/changes",
      • "scheduled_activities": "/api/projects/opc/scheduled_activities",
      • "git_remotes": "/api/projects/opc/git_remotes",
      • "workflows": "/api/projects/opc/workflows",
      • "workflow_runs": "/api/projects/opc/workflow_runs",
      • "templates": "/api/projects/opc/templates",
      • "environments": "/api/projects/opc/environments",
      • "assets": "/api/projects/opc/assets",
      • "agents": "/api/projects/opc/agents"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": true,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": true,
      • "requires_template": false,
      • "child_node_types": [
        ],
      • "can_have_workflows": true,
      • "can_have_actions": false,
      • "authorisations": {
        },
      • "secret_vault": {
        }
      }
    },
  • "included": [ ]
}

Update project

Updates a project.

path Parameters
project_code
required
string
Example: opc

project code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "name": "Modified",
      • "description": "The updated project",
      • "archived": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-b8a1-72c0-a2fc-a415d14a85ec",
    • "type": "project",
    • "attributes": {
      • "code": "opc",
      • "name": "hic834",
      • "description": "Exercitationem aut autem corporis.",
      • "archived": true,
      • "created_by": "cami-2947",
      • "created_by_name": "cami-2947"
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "children": {
        },
      • "bookmarks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc",
      • "artifacts": "/api/projects/opc/artifacts",
      • "bookmarks": "/api/projects/opc/bookmarks",
      • "changes": "/api/projects/opc/changes",
      • "scheduled_activities": "/api/projects/opc/scheduled_activities",
      • "git_remotes": "/api/projects/opc/git_remotes",
      • "workflows": "/api/projects/opc/workflows",
      • "workflow_runs": "/api/projects/opc/workflow_runs",
      • "templates": "/api/projects/opc/templates",
      • "environments": "/api/projects/opc/environments",
      • "assets": "/api/projects/opc/assets",
      • "agents": "/api/projects/opc/agents"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": true,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": true,
      • "requires_template": false,
      • "child_node_types": [
        ],
      • "can_have_workflows": true,
      • "can_have_actions": false,
      • "authorisations": {
        }
      }
    }
}

Archive project

Archives a project.

path Parameters
project_code
required
string
Example: opc

project code

query Parameters
ignore_in_use
boolean

When true and the requesting user is a superuser, bypasses in use checks and force-destroys the project.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the project",
      • "detail": "Your authorisation rules let you view the project but not delete it."
      }
    ]
}

Environments

Endpoints to interact with environments.

Notes:

  • The show and list response payloads include links to the environment's assets, changes, scheduled activity, bookmarks and MintModels endpoints. These endpoints act like the assets, changes, scheduled activity, bookmarks and MintModels endpoints respectively.
  • The list, create, show, update and archive asset endpoints are available via the /<path/to/asset/owner>/assets path. The example endpoints in this section reflect assets owned by a project.

List environments

Lists all project environments (including archived environments).

Each environment in the response includes a link to:

  • the environment's changes endpoint for managing changes belonging to this environment. It acts like the changes endpoint.
  • the environment's scheduled_activities endpoint for managing scheduled activities belonging to this environment. It acts like a scheduled activities endpoint.
  • the environment's bookmarks endpoint for managing the bookmarks belonging to this environment. It acts like a bookmarks endpoint.
  • the environment's mintmodels endpoint for managing the MintModels belonging to this environment. It acts like a MintModels endpoint.
  • the environment's mintmodel_history endpoint for viewing this environment's MintModel history. It acts like a MintModel history endpoint.
  • the environment's workflows endpoint for viewing this environment's workflows. It acts like a Workflows endpoint. .
path Parameters
project_code
required
string
Example: opc

project code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_eq]=Test

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

download
string
Example: download=environments.csv

Download the project environments in CSV format with the specified file name. The environments will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-40fe-77d7-90b3-54c57670eeed",
      • "type": "environment",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create environment

Creates an environment.

path Parameters
project_code
required
string
Example: opc

project code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "code": "dev",
      • "name": "Development",
      • "description": "OpsChain development environment"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-43fa-744e-b89d-037053b907af",
    • "type": "environment",
    • "attributes": {
      • "code": "adoag",
      • "name": "eaque728",
      • "description": "Sit quo neque consequatur.",
      • "archived": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user"
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "children": {
        },
      • "bookmarks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/adoag",
      • "artifacts": "/api/projects/opc/environments/adoag/artifacts",
      • "bookmarks": "/api/projects/opc/environments/adoag/bookmarks",
      • "changes": "/api/projects/opc/environments/adoag/changes",
      • "scheduled_activities": "/api/projects/opc/environments/adoag/scheduled_activities",
      • "parent": "/api/projects/opc",
      • "assets": "/api/projects/opc/environments/adoag/assets"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": true,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": false,
      • "child_node_types": [
        ],
      • "can_have_workflows": false,
      • "can_have_actions": false,
      • "authorisations": {
        }
      }
    }
}

Show environment

Shows an environment.

The response includes a link to:

  • the environment's changes endpoint for managing changes belonging to this environment. It acts like the changes endpoint.
  • the environment's scheduled_activities endpoint for managing scheduled activities belonging to this environment. It acts like a scheduled activities endpoint.
  • the environment's bookmarks endpoint for managing the bookmarks belonging to this environment. It acts like a bookmarks endpoint.
  • the environment's mintmodels endpoint for managing the MintModels belonging to this environment. It acts like a MintModels endpoint.
  • the environment's mintmodel_history endpoint for viewing this environment's MintModel history. It acts like a MintModel history endpoint.
  • the environment's workflows endpoint for viewing this environment's workflows. It acts like a Workflows endpoint. .
path Parameters
project_code
required
string
Example: opc

project code

environment_code
required
string
Example: dev

environment code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-47fe-7da7-b786-cdfbaebdb7d7",
    • "type": "environment",
    • "attributes": {
      • "code": "dev",
      • "name": "Development",
      • "description": "OpsChain development environment",
      • "archived": false,
      • "created_by": "grady-2528",
      • "created_by_name": "grady-2528"
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "children": {
        },
      • "bookmarks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev",
      • "artifacts": "/api/projects/opc/environments/dev/artifacts",
      • "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
      • "changes": "/api/projects/opc/environments/dev/changes",
      • "scheduled_activities": "/api/projects/opc/environments/dev/scheduled_activities",
      • "parent": "/api/projects/opc",
      • "assets": "/api/projects/opc/environments/dev/assets"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": true,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": false,
      • "child_node_types": [
        ],
      • "can_have_workflows": false,
      • "can_have_actions": false,
      • "authorisations": {
        },
      • "secret_vault": {
        }
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ec-47b9-75da-b03f-efa3da031084",
      • "type": "project",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ]
}

Update environment

Updates an environment.

path Parameters
project_code
required
string
Example: opc

project code

environment_code
required
string
Example: dev

environment code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "name": "Modified",
      • "description": "The updated environment",
      • "archived": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-4aaf-7985-8131-3679df85546c",
    • "type": "environment",
    • "attributes": {
      • "code": "dev",
      • "name": "sit742",
      • "description": "Fugiat temporibus repudiandae omnis.",
      • "archived": true,
      • "created_by": "ali-2536",
      • "created_by_name": "ali-2536"
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "children": {
        },
      • "bookmarks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev",
      • "artifacts": "/api/projects/opc/environments/dev/artifacts",
      • "bookmarks": "/api/projects/opc/environments/dev/bookmarks",
      • "changes": "/api/projects/opc/environments/dev/changes",
      • "scheduled_activities": "/api/projects/opc/environments/dev/scheduled_activities",
      • "parent": "/api/projects/opc",
      • "assets": "/api/projects/opc/environments/dev/assets"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": true,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": false,
      • "child_node_types": [
        ],
      • "can_have_workflows": false,
      • "can_have_actions": false,
      • "authorisations": {
        }
      }
    }
}

Archive environment

Archives an environment.

path Parameters
project_code
required
string
Example: opc

project code

environment_code
required
string
Example: dev

environment code

query Parameters
ignore_in_use
boolean

When true and the requesting user is a superuser, bypasses in use checks and force-destroys the environment.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the environment",
      • "detail": "Your authorisation rules let you view the environment but not delete it."
      }
    ]
}

Show converged settings

Show the converged settings for this environment, merged from the project and environment settings. Unless include_global=true is passed, only the values that differ from the global settings are returned: a setting whose converged value matches the global value is omitted, even when it is set directly on a node, so the response is empty when nothing differs from the global settings.

The response includes a setting_sources meta object that attributes each setting value to its originating source.

path Parameters
project_code
required
string
Example: opc

project code

environment_code
required
string
Example: dev

environment code

query Parameters
include_global
boolean
Example: include_global=true

Also return the settings whose converged value matches the global settings

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "dev",
    • "type": "converged_settings",
    • "attributes": {
      • "data": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev/converged_settings"
      },
    • "meta": {
      • "setting_sources": {
        }
      }
    }
}

Show converged properties

Show the converged properties for this environment, merged from all database properties sources in the hierarchy (project and environment properties).

The API response will also include the individual database properties that were included in the result.

path Parameters
project_code
required
string
Example: opc

project code

environment_code
required
string
Example: dev

environment code

query Parameters
converge_date
string
Example: converge_date=2026-11-04T04:55:15+00:00

Specify the date (and optionally time), to derive the active environment properties from.

exclude_layers[]
string
Example: exclude_layers[]=template

Exclude a property layer from the converged result. Repeat the parameter to exclude several layers, e.g. > exclude_layers[]=template&exclude_layers[]=asset. Suffix a layer with _repository or _database to exclude only that half of it, e.g. > exclude_layers[]=asset_repository. The layers available for the node, and whether each one is currently included, are listed in the property_layers response meta. The template layer covers the properties files held under the <template code> folder of the template repository, as well as the template's database properties; the template_version layer covers the template version database properties only. Excluding a layer is a preview - the result is not cached and nothing is persisted.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "dev",
    • "type": "converged_properties",
    • "attributes": {
      • "data": {
        }
      },
    • "relationships": {
      • "repository_properties": {
        },
      • "properties": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev/converged_properties"
      },
    • "meta": {
      • "property_sources": {
        },
      • "property_layers": [
        ]
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ec-551a-7a74-bd33-c8d115c0ea1b",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ec-5568-717c-b8ed-0058bb1a5463",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ]
}

Agents

Endpoints to interact with agents.

Notes:

  • The show and list response payloads include links to the agent's assets, changes, scheduled activity, bookmarks and MintModels endpoints. These endpoints act like the assets, changes, scheduled activity, bookmarks and MintModels endpoints respectively.
  • The list, create, show, update and archive asset endpoints are available via the /<path/to/asset/owner>/assets path. The example endpoints in this section reflect assets owned by a project.

Build agent image

Builds the container image for an agent. Note, this does not restart the agent.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4e9-a158-7637-9613-99490d5126f4",
    • "type": "node_background_task",
    • "attributes": {
      • "request_number": 2,
      • "status_code": "initializing",
      • "error_message": null,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "task_type": "BuildAgentImageTask",
      • "created_at": "2026-11-04T04:55:37.047339Z",
      • "updated_at": "2026-11-04T04:55:37.047339Z",
      • "image_sha": null,
      • "image_purged": false,
      • "image_in_use": false
      },
    • "relationships": {
      • "template_version_history": {
        },
      • "owner": {
        }
      },
    • "links": {
      • "template_version": "/api/projects/opc/templates/01a1a4e9-a075-7212-b8e6-3f51c1ad3bc0/versions/2026_Q1_2",
      • "self": "/api/projects/opc/agents/agent1/node_background_tasks/01a1a4e9-a158-7637-9613-99490d5126f4",
      • "agent": "/api/projects/opc/agents/agent1",
      • "log_lines": "/api/node_background_task_log_lines?node_background_task_id=01a1a4e9-a158-7637-9613-99490d5126f4"
      }
    }
}

List agent background tasks

Lists the image build, start and stop tasks run for the agent's current template version.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[request_number_eq]=1

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of tasks returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4e9-a55c-703a-a298-c3b3159edf13",
      • "type": "node_background_task",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      },
    • "partial_response": false
    }
}

Show agent background task

Show a specific agent image build, start or stop task.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

node_background_task_id
required
string
Example: 01a1a4e9-320f-7887-a20f-56e729ae1a4e

agent background task id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4e9-a803-70e0-b90e-8cf44af43bbe",
    • "type": "node_background_task",
    • "attributes": {
      • "request_number": 1,
      • "status_code": "success",
      • "error_message": null,
      • "created_by": "laila-374",
      • "created_by_name": "laila-374",
      • "task_type": "BuildAgentImageTask",
      • "created_at": "2026-11-04T04:55:38.754275Z",
      • "updated_at": "2026-11-04T04:55:38.769155Z",
      • "image_sha": "sha256:7655e0d4a9fe96130dc9e62dd8d85536e3ba743398d5e5ba5801a9fb0bbd2082",
      • "image_purged": false,
      • "image_in_use": true
      },
    • "relationships": {
      • "template_version_history": {
        },
      • "owner": {
        }
      },
    • "links": {
      • "template_version": "/api/projects/opc/templates/01a1a4e9-a75b-7918-8a06-c0269cbe8c31/versions/2026_Q1_2",
      • "self": "/api/projects/opc/agents/agent1/node_background_tasks/01a1a4e9-a803-70e0-b90e-8cf44af43bbe",
      • "agent": "/api/projects/opc/agents/agent1",
      • "log_lines": "/api/node_background_task_log_lines?node_background_task_id=01a1a4e9-a803-70e0-b90e-8cf44af43bbe"
      }
    }
}

Show agent status

Shows the status for an agent.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4e9-a9d0-77ea-841e-e20777196e3e",
    • "type": "agent_status",
    • "attributes": {
      • "desired_status": "running",
      • "status": "initializing",
      • "image_build_status": "ready",
      • "active_image_sha": null,
      • "newest_image_sha": "sha256:7655e0d4a9fe96130dc9e62dd8d85536e3ba743398d5e5ba5801a9fb0bbd2082",
      • "cluster_name": "opschain-db",
      • "failure_reason": null
      },
    • "relationships": {
      • "node": {
        },
      • "referenced_build_agent_image_task": {
        },
      • "available_build_agent_image_tasks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/agents/agent1/status",
      • "log_lines": "/api/projects/opc/agents/agent1/status/log_lines"
      }
    },
  • "included": [
    • {
      • "id": "01a1a4e9-a9cd-798b-9c25-ea2a0c39c3cd",
      • "type": "node_background_task",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Update agent status

Update an agent status.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "desired_status": "running",
      • "image_sha": "sha256:de10faf919fc71ba4eb1dd7bd6449566d012b0c9436b1c61bfee21d621b009aa"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4e9-abb2-7aa5-bbb9-bb10da2e8e61",
    • "type": "agent_status",
    • "attributes": {
      • "desired_status": "running",
      • "status": "initializing",
      • "image_build_status": "ready",
      • "active_image_sha": null,
      • "newest_image_sha": "sha256:7655e0d4a9fe96130dc9e62dd8d85536e3ba743398d5e5ba5801a9fb0bbd2082",
      • "cluster_name": "opschain-db",
      • "failure_reason": null
      },
    • "relationships": {
      • "node": {
        },
      • "referenced_build_agent_image_task": {
        },
      • "available_build_agent_image_tasks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/agents/agent1/status",
      • "log_lines": "/api/projects/opc/agents/agent1/status/log_lines"
      }
    },
  • "included": [
    • {
      • "id": "01a1a4e9-abb1-73aa-807d-95dc14b97126",
      • "type": "node_background_task",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Show agent log lines

Shows log lines for the agent.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
limit
integer [ 1 .. 10000 ]
Default: 10000
Example: limit=50

Limit the number of log lines returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4e9-b4df-70ce-9552-7c979f576f9f",
      • "type": "agent_log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Show agent Kubernetes events

Shows Kubernetes events for the agent. When the agent is not deployed in Kubernetes, the list is empty and meta.agent_deployed is false.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "0",
      • "type": "agent_event",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "agent_deployed": true
    }
}

List agents

Lists all agents (including archived agents) that belong to the project.

Each agent in the response includes a link to:

  • the agent's changes endpoint for managing changes belonging to this agent. It acts like the changes endpoint.
  • the agent's scheduled_activities endpoint for managing scheduled activities belonging to this agent. It acts like a scheduled activities endpoint.
  • the agent's bookmarks endpoint for managing the bookmarks belonging to this agent. It acts like a bookmarks endpoint.
  • the agent's mintmodels endpoint for managing the MintModels belonging to this agent. It acts like a MintModels endpoint.
  • the agent's mintmodel_history endpoint for viewing this agent's MintModel history. It acts like a MintModel history endpoint.
  • the agent's workflows endpoint for viewing this agent's workflows. It acts like a Workflows endpoint. .
path Parameters
project_code
required
string
Example: opc

project code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_eq]=Test

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

download
string
Example: download=agents.csv

Download the agents in CSV format with the specified file name. The agents will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-ddc8-76d8-b934-c51413b5221c",
      • "type": "agent",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create agent

Creates an agent.

path Parameters
project_code
required
string
Example: opc

project code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "code": "agent1",
      • "name": "Agent",
      • "description": "Asset description",
      • "template_code": "agn",
      • "template_version": "2026_Q1_2"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-e199-7b70-87d1-e9f3626f7481",
    • "type": "agent",
    • "attributes": {
      • "code": "ov1fy",
      • "name": "et626",
      • "description": "Aspernatur et quo aut.",
      • "archived": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "task_active": true
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "template_version": {
        },
      • "bookmarks": {
        },
      • "template": {
        },
      • "latest_node_background_tasks": {
        },
      • "agent_status": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/agents/ov1fy",
      • "bookmarks": "/api/projects/opc/agents/ov1fy/bookmarks",
      • "converged_properties": "/api/projects/opc/agents/ov1fy/converged_properties",
      • "parent": "/api/projects/opc",
      • "node_background_tasks": "/api/projects/opc/agents/ov1fy/node_background_tasks",
      • "version_history": "/api/projects/opc/agents/ov1fy/version_history"
      },
    • "meta": {
      • "can_have_changes": false,
      • "can_have_children": false,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": true,
      • "child_node_types": [ ],
      • "can_have_workflows": false,
      • "can_have_actions": false,
      • "authorisations": {
        }
      }
    }
}

Show agent

Shows an agent belonging to a project.

The response includes a link to:

  • the agent's changes endpoint for managing changes belonging to this agent. It acts like the changes endpoint.
  • the agent's scheduled_activities endpoint for managing scheduled activities belonging to this agent. It acts like a scheduled activities endpoint.
  • the agent's bookmarks endpoint for managing the bookmarks belonging to this agent. It acts like a bookmarks endpoint.
  • the agent's mintmodels endpoint for managing the MintModels belonging to this agent. It acts like a MintModels endpoint.
  • the agent's mintmodel_history endpoint for viewing this agent's MintModel history. It acts like a MintModel history endpoint.
  • the agent's workflows endpoint for viewing this agent's workflows. It acts like a Workflows endpoint. .
path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-e888-79ba-a25b-928a53f5ab2d",
    • "type": "agent",
    • "attributes": {
      • "code": "agent1",
      • "name": "Agent",
      • "description": "Asset description",
      • "archived": false,
      • "created_by": "deandre.russel-2217",
      • "created_by_name": "deandre.russel-2217",
      • "task_active": false
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "template_version": {
        },
      • "bookmarks": {
        },
      • "template": {
        },
      • "latest_node_background_tasks": {
        },
      • "agent_status": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/agents/agent1",
      • "bookmarks": "/api/projects/opc/agents/agent1/bookmarks",
      • "converged_properties": "/api/projects/opc/agents/agent1/converged_properties",
      • "parent": "/api/projects/opc",
      • "node_background_tasks": "/api/projects/opc/agents/agent1/node_background_tasks",
      • "version_history": "/api/projects/opc/agents/agent1/version_history"
      },
    • "meta": {
      • "can_have_changes": false,
      • "can_have_children": false,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": true,
      • "child_node_types": [ ],
      • "can_have_workflows": false,
      • "can_have_actions": false,
      • "authorisations": {
        },
      • "secret_vault": {
        }
      }
    },
  • "included": [
    • {
      • "id": "01a1a4eb-e711-7652-a5f3-fe6c5342d368",
      • "type": "project",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4eb-e74b-7035-85e1-d76961dcbba8",
      • "type": "template",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4eb-e796-7098-b2d0-42dcc2c192fa",
      • "type": "template_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4eb-e8c1-7424-a64d-bda12b9b4bb4",
      • "type": "node_background_task",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4eb-e8c2-7bc4-834b-6f37ccd5a7bf",
      • "type": "agent_status",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Update agent

Updates an agent belonging to a project.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "name": "Modified",
      • "description": "The updated agent",
      • "archived": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-ec89-76ac-8658-12ffb31c06e4",
    • "type": "agent",
    • "attributes": {
      • "code": "agent1",
      • "name": "sint640",
      • "description": "Iste libero ab vero.",
      • "archived": true,
      • "created_by": "cherly.stracke-2226",
      • "created_by_name": "cherly.stracke-2226",
      • "task_active": false
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "template_version": {
        },
      • "bookmarks": {
        },
      • "template": {
        },
      • "latest_node_background_tasks": {
        },
      • "agent_status": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/agents/agent1",
      • "bookmarks": "/api/projects/opc/agents/agent1/bookmarks",
      • "converged_properties": "/api/projects/opc/agents/agent1/converged_properties",
      • "parent": "/api/projects/opc",
      • "node_background_tasks": "/api/projects/opc/agents/agent1/node_background_tasks",
      • "version_history": "/api/projects/opc/agents/agent1/version_history"
      },
    • "meta": {
      • "can_have_changes": false,
      • "can_have_children": false,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": true,
      • "child_node_types": [ ],
      • "can_have_workflows": false,
      • "can_have_actions": false,
      • "authorisations": {
        }
      }
    }
}

Archive agent

Archives an agent belonging to a project.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

query Parameters
ignore_in_use
boolean

When true and the requesting user is a superuser, bypasses in use checks and force-destroys the agent.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the agent",
      • "detail": "Your authorisation rules let you view the agent but not delete it."
      }
    ]
}

Show converged settings

Show the converged settings for this agent, merged from the project and agent settings. Unless include_global=true is passed, only the values that differ from the global settings are returned: a setting whose converged value matches the global value is omitted, even when it is set directly on a node, so the response is empty when nothing differs from the global settings.

The response includes a setting_sources meta object that attributes each setting value to its originating source.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

query Parameters
include_global
boolean
Example: include_global=true

Also return the settings whose converged value matches the global settings

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "agent1",
    • "type": "converged_settings",
    • "attributes": {
      • "data": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/agents/agent1/converged_settings"
      },
    • "meta": {
      • "setting_sources": {
        }
      }
    }
}

Show converged properties

Show the converged properties as they will appear for this agent. i.e. the endpoint will

  1. merge any template (repository) properties from the agent's template (in the order described in the documentation)
  2. merge any project properties
  3. merge any properties assigned to the agent

The API response will also include all the individual repository and database properties that were included in the result.

path Parameters
project_code
required
string
Example: opc

project code

agent_code
required
string
Example: agent1

agent code

query Parameters
converge_date
string
Example: converge_date=2026-11-04T04:55:15+00:00

Specify the date (and optionally time), to derive the active template version and agent properties from.

exclude_layers[]
string
Example: exclude_layers[]=template

Exclude a property layer from the converged result. Repeat the parameter to exclude several layers, e.g. > exclude_layers[]=template&exclude_layers[]=asset. Suffix a layer with _repository or _database to exclude only that half of it, e.g. > exclude_layers[]=asset_repository. The layers available for the node, and whether each one is currently included, are listed in the property_layers response meta. The template layer covers the properties files held under the <template code> folder of the template repository, as well as the template's database properties; the template_version layer covers the template version database properties only. Excluding a layer is a preview - the result is not cached and nothing is persisted.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "agent1",
    • "type": "converged_properties",
    • "attributes": {
      • "data": {
        }
      },
    • "relationships": {
      • "repository_properties": {
        },
      • "properties": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/agents/agent1/converged_properties"
      },
    • "meta": {
      • "property_sources": {
        },
      • "property_layers": [
        ]
      }
    },
  • "included": [
    • {
      • "id": "01a1a4eb-ff49-7d2c-b339-3945381cbaac",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4eb-ff8d-75aa-a85e-001d522fff75",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4eb-ffcd-7e58-b0d1-c1ed56a24e84",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4ec-001a-7331-a0e6-b376fc995289",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "properties/properties.yaml",
      • "type": "repository_properties",
      • "attributes": {
        },
      • "links": {
        }
      },
    • {
      • "id": "properties/projects/opc/properties.yaml",
      • "type": "repository_properties",
      • "attributes": {
        },
      • "links": {
        }
      }
    ]
}

Assets

Endpoints to interact with assets.

Notes:

  • The show and list response payloads include links to the asset's changes, scheduled activity, bookmarks and MintModels endpoints. These endpoints act like the changes, scheduled activity, bookmarks and MintModels endpoints respectively.
  • The list, create, show, update and archive asset endpoints are available via the /<path/to/asset/owner>/assets path. The example endpoints in this section reflect assets owned by a project.

List asset summaries

Lists a summary of each asset accessible to the user, combining the asset with its project, environment, template, template version, background task and latest change details.

Notes:

  1. Exactly one of filter[parent_path_eq] or filter[template_version_id_eq] must be supplied. filter[parent_path_eq] lists the assets directly under a project or environment, and filter[template_version_id_eq] lists the assets using a template version, across every project the user can access.
  2. Each asset's meta.authorisations reports what the user may do to that asset.
  3. The top level meta.authorisations reports whether the user may create (update) or delete assets under the parent, and is only returned for a filter[parent_path_eq] request.
query Parameters
required
object

API filtering guide Exactly one of filter[parent_path_eq] or filter[template_version_id_eq] is required.

download
string
Example: download=assets.csv

Download the asset summaries in CSV format with the specified file name.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-1770-7eaf-9fec-4e022622eff1",
      • "type": "asset",
      • "attributes": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

List assets

Lists all assets (including archived assets) that belong to the project.

Each asset in the response includes a link to:

  • the asset's changes endpoint for managing changes belonging to this asset. It acts like the changes endpoint.
  • the asset's scheduled_activities endpoint for managing scheduled activities belonging to this asset. It acts like a scheduled activities endpoint.
  • the asset's bookmarks endpoint for managing the bookmarks belonging to this asset. It acts like a bookmarks endpoint.
  • the asset's mintmodels endpoint for managing the MintModels belonging to this asset. It acts like a MintModels endpoint.
  • the asset's mintmodel_history endpoint for viewing this asset's MintModel history. It acts like a MintModel history endpoint.
  • the asset's workflows endpoint for viewing this asset's workflows. It acts like a Workflows endpoint. .
path Parameters
project_code
required
string
Example: opc

project code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_eq]=Test

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

download
string
Example: download=assets.csv

Download the project assets in CSV format with the specified file name. The assets will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-026c-7873-8ef4-79810e2bcd61",
      • "type": "asset",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create asset

Creates an asset belonging to the project.

path Parameters
project_code
required
string
Example: opc

project code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "code": "prj_soa",
      • "name": "Project asset",
      • "description": "Project asset description",
      • "template_code": "soa",
      • "template_version": "2023_Q4_2"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-0691-768d-ba8a-2ecf9446ae28",
    • "type": "asset",
    • "attributes": {
      • "code": "fgp0u",
      • "name": "unde666",
      • "description": "Minima est incidunt eos.",
      • "archived": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "task_active": true
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "template_version": {
        },
      • "bookmarks": {
        },
      • "template": {
        },
      • "latest_node_background_tasks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/fgp0u",
      • "actions": "/api/projects/opc/assets/fgp0u/actions",
      • "artifacts": "/api/projects/opc/assets/fgp0u/artifacts",
      • "bookmarks": "/api/projects/opc/assets/fgp0u/bookmarks",
      • "changes": "/api/projects/opc/assets/fgp0u/changes",
      • "scheduled_activities": "/api/projects/opc/assets/fgp0u/scheduled_activities",
      • "converged_properties": "/api/projects/opc/assets/fgp0u/converged_properties",
      • "mintmodels": "/api/projects/opc/assets/fgp0u/mintmodels",
      • "mintmodel_history": "/api/projects/opc/assets/fgp0u/mintmodel_history",
      • "parent": "/api/projects/opc",
      • "node_background_tasks": "/api/projects/opc/assets/fgp0u/node_background_tasks",
      • "version_history": "/api/projects/opc/assets/fgp0u/version_history"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": false,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": true,
      • "child_node_types": [ ],
      • "can_have_workflows": false,
      • "can_have_actions": true,
      • "authorisations": {
        }
      }
    }
}

Show asset

Shows an asset belonging to a project.

The response includes a link to:

  • the asset's changes endpoint for managing changes belonging to this asset. It acts like the changes endpoint.
  • the asset's scheduled_activities endpoint for managing scheduled activities belonging to this asset. It acts like a scheduled activities endpoint.
  • the asset's bookmarks endpoint for managing the bookmarks belonging to this asset. It acts like a bookmarks endpoint.
  • the asset's mintmodels endpoint for managing the MintModels belonging to this asset. It acts like a MintModels endpoint.
  • the asset's mintmodel_history endpoint for viewing this asset's MintModel history. It acts like a MintModel history endpoint.
  • the asset's workflows endpoint for viewing this asset's workflows. It acts like a Workflows endpoint. .
path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-0eb0-7a28-a264-b77f11917fae",
    • "type": "asset",
    • "attributes": {
      • "code": "prj_soa",
      • "name": "Project asset",
      • "description": "Project asset description",
      • "archived": false,
      • "created_by": "jordan-2324",
      • "created_by_name": "jordan-2324",
      • "mintmodel_valid": true,
      • "mintmodel_invalid_reason": null,
      • "erb_file_content": "<MintModel erb file contents>",
      • "task_active": false
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "template_version": {
        },
      • "bookmarks": {
        },
      • "template": {
        },
      • "latest_node_background_tasks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa",
      • "actions": "/api/projects/opc/assets/prj_soa/actions",
      • "artifacts": "/api/projects/opc/assets/prj_soa/artifacts",
      • "bookmarks": "/api/projects/opc/assets/prj_soa/bookmarks",
      • "changes": "/api/projects/opc/assets/prj_soa/changes",
      • "scheduled_activities": "/api/projects/opc/assets/prj_soa/scheduled_activities",
      • "converged_properties": "/api/projects/opc/assets/prj_soa/converged_properties",
      • "mintmodels": "/api/projects/opc/assets/prj_soa/mintmodels",
      • "mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history",
      • "parent": "/api/projects/opc",
      • "node_background_tasks": "/api/projects/opc/assets/prj_soa/node_background_tasks",
      • "version_history": "/api/projects/opc/assets/prj_soa/version_history"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": false,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": true,
      • "child_node_types": [ ],
      • "can_have_workflows": false,
      • "can_have_actions": true,
      • "authorisations": {
        },
      • "secret_vault": {
        }
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ec-0dfc-770f-9be0-1e736935c4aa",
      • "type": "project",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4ec-0eee-730a-a15a-ffbc878e8ddb",
      • "type": "bookmark",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ec-0e2f-7358-a4a4-8e057c8831b5",
      • "type": "template",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ec-0e6b-78d6-b856-487d7e367f43",
      • "type": "template_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Update asset

Updates an asset belonging to a project.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "name": "Modified",
      • "description": "The updated asset",
      • "archived": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-11d8-757b-be09-04874acb7255",
    • "type": "asset",
    • "attributes": {
      • "code": "prj_soa",
      • "name": "voluptas680",
      • "description": "Quia odit assumenda tempore.",
      • "archived": true,
      • "created_by": "tanika_torp-2334",
      • "created_by_name": "tanika_torp-2334",
      • "task_active": false
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "settings": {
        },
      • "parent": {
        },
      • "project": {
        },
      • "template_version": {
        },
      • "bookmarks": {
        },
      • "template": {
        },
      • "latest_node_background_tasks": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa",
      • "actions": "/api/projects/opc/assets/prj_soa/actions",
      • "artifacts": "/api/projects/opc/assets/prj_soa/artifacts",
      • "bookmarks": "/api/projects/opc/assets/prj_soa/bookmarks",
      • "changes": "/api/projects/opc/assets/prj_soa/changes",
      • "scheduled_activities": "/api/projects/opc/assets/prj_soa/scheduled_activities",
      • "converged_properties": "/api/projects/opc/assets/prj_soa/converged_properties",
      • "mintmodels": "/api/projects/opc/assets/prj_soa/mintmodels",
      • "mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history",
      • "parent": "/api/projects/opc",
      • "node_background_tasks": "/api/projects/opc/assets/prj_soa/node_background_tasks",
      • "version_history": "/api/projects/opc/assets/prj_soa/version_history"
      },
    • "meta": {
      • "can_have_changes": true,
      • "can_have_children": false,
      • "can_have_properties": true,
      • "can_have_settings": true,
      • "can_have_templates": false,
      • "requires_template": true,
      • "child_node_types": [ ],
      • "can_have_workflows": false,
      • "can_have_actions": true,
      • "authorisations": {
        }
      }
    }
}

Archive asset

Archives an asset belonging to a project.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
ignore_in_use
boolean

When true and the requesting user is a superuser, bypasses in use checks and force-destroys the asset.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the asset",
      • "detail": "Your authorisation rules let you view the asset but not delete it."
      }
    ]
}

Show converged settings

Show the converged settings for this asset, merged from the project, environment and asset settings. Unless include_global=true is passed, only the values that differ from the global settings are returned: a setting whose converged value matches the global value is omitted, even when it is set directly on a node, so the response is empty when nothing differs from the global settings.

The response includes a setting_sources meta object that attributes each setting value to its originating source.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
include_global
boolean
Example: include_global=true

Also return the settings whose converged value matches the global settings

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "prj_soa",
    • "type": "converged_settings",
    • "attributes": {
      • "data": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/converged_settings"
      },
    • "meta": {
      • "setting_sources": {
        }
      }
    }
}

Show converged properties

Show the converged properties as they will appear to actions run on this asset. i.e. the endpoint will

  1. merge any template (repository) properties from the asset's template (in the order described in the documentation)
  2. merge any project properties
  3. merge any properties assigned to the project asset

The API response will also include all the individual repository and database properties that were included in the result.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
converge_date
string
Example: converge_date=2026-11-04T04:55:15+00:00

Specify the date (and optionally time), to derive the active template version and asset properties from.

exclude_layers[]
string
Example: exclude_layers[]=template

Exclude a property layer from the converged result. Repeat the parameter to exclude several layers, e.g. > exclude_layers[]=template&exclude_layers[]=asset. Suffix a layer with _repository or _database to exclude only that half of it, e.g. > exclude_layers[]=asset_repository. The layers available for the node, and whether each one is currently included, are listed in the property_layers response meta. The template layer covers the properties files held under the <template code> folder of the template repository, as well as the template's database properties; the template_version layer covers the template version database properties only. Excluding a layer is a preview - the result is not cached and nothing is persisted.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "prj_soa",
    • "type": "converged_properties",
    • "attributes": {
      • "data": {
        }
      },
    • "relationships": {
      • "repository_properties": {
        },
      • "properties": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/converged_properties"
      },
    • "meta": {
      • "property_sources": {
        },
      • "property_layers": [
        ]
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ec-235f-7826-b781-13555e57410e",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ec-23d9-737f-9a70-20ae9bcd7320",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ec-2404-7620-a8e9-6af01c428f18",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4ec-243a-7232-aef7-7a0ae56c23a7",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "properties/properties.yaml",
      • "type": "repository_properties",
      • "attributes": {
        },
      • "links": {
        }
      },
    • {
      • "id": "properties/projects/opc/properties.yaml",
      • "type": "repository_properties",
      • "attributes": {
        },
      • "links": {
        }
      }
    ]
}

List generate actions request log lines

List the log lines generated while building an image and querying the actions available for this asset / template version combination.

Note: See the list filtered log lines API docs for filtering options.

query Parameters
node_background_task_id
required
string
Example: node_background_task_id=01a1a4e9-29ca-70c9-960f-752f5ae9331c
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
download
string
Example: download=change.log

Download the log lines with the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

limit
integer [ 1 .. 10000 ]
Default: 10000
Example: limit=50

Limit the number of log lines returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-2663-7729-b77f-18fc1c20a7fa",
      • "type": "node_background_task_log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Create generate actions request

Create a request to refresh the actions list for an asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "build_without_cache": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-2c7b-7286-aa3e-2882cf6c386b",
    • "type": "node_background_task",
    • "attributes": {
      • "request_number": 3,
      • "status_code": "initializing",
      • "error_message": null,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "actions_count": 0,
      • "task_type": "GenerateActionsRequest",
      • "created_at": "2026-11-04T04:58:23.737414Z",
      • "updated_at": "2026-11-04T04:58:23.737414Z",
      • "build_without_cache": false
      },
    • "relationships": {
      • "template_version_history": {
        },
      • "owner": {
        }
      },
    • "links": {
      • "template_version": "/api/projects/opc/templates/01a1a4ec-2ac8-7585-92c8-4db50110d57e/versions/2023_Q4_2",
      • "self": "/api/projects/opc/assets/prj_soa/node_background_tasks/01a1a4ec-2c7b-7286-aa3e-2882cf6c386b",
      • "asset": "/api/projects/opc/assets/prj_soa",
      • "log_lines": "/api/node_background_task_log_lines?node_background_task_id=01a1a4ec-2c7b-7286-aa3e-2882cf6c386b"
      }
    }
}

List generate actions requests

Lists all generate actions requests made for the asset's current template version.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[request_number_eq]=1

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of requests returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-3245-7f87-b3c3-31c3aa078eac",
      • "type": "node_background_task",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ec-3221-7ddf-8428-1d4ec0390c56",
      • "type": "node_background_task",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      },
    • "partial_response": false
    }
}

Show generate actions request

Show a specific actions generation request.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

node_background_task_id
required
string
Example: 01a1a4e9-29ca-70c9-960f-752f5ae9331c

generate actions request id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-3497-72e2-ac54-0cc18c041216",
    • "type": "node_background_task",
    • "attributes": {
      • "request_number": 1,
      • "status_code": "success",
      • "error_message": null,
      • "created_by": "sirena-2459",
      • "created_by_name": "sirena-2459",
      • "actions": [
        ],
      • "actions_count": 1,
      • "task_type": "GenerateActionsRequest",
      • "created_at": "2026-11-04T04:58:25.813320Z",
      • "updated_at": "2026-11-04T04:58:25.826549Z",
      • "build_without_cache": false
      },
    • "relationships": {
      • "template_version_history": {
        },
      • "owner": {
        }
      },
    • "links": {
      • "template_version": "/api/projects/opc/templates/01a1a4ec-3386-77b1-ac93-fd943e546d3f/versions/2023_Q4_2",
      • "self": "/api/projects/opc/assets/prj_soa/node_background_tasks/01a1a4ec-3497-72e2-ac54-0cc18c041216",
      • "asset": "/api/projects/opc/assets/prj_soa",
      • "log_lines": "/api/node_background_task_log_lines?node_background_task_id=01a1a4ec-3497-72e2-ac54-0cc18c041216"
      }
    }
}

Cancel generate actions request

Cancels the generate actions request.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

node_background_task_id
required
string
Example: 01a1a4e9-29ca-70c9-960f-752f5ae9331c

generate actions request id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to cancel the generate actions request",
      • "detail": "Your authorisation rules let you view the generate actions request but not cancel it."
      }
    ]
}

List properties history

Lists all properties versions and template versions for the asset and its parents.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-c133-7229-83f2-2b8080cb7b74",
      • "type": "project",
      • "attributes": {
        }
      },
    • {
      • "id": "01a1a4ec-c182-7e99-8e85-745db89cf91d",
      • "type": "template",
      • "attributes": {
        }
      },
    • {
      • "id": "01a1a4ec-c209-7e45-8eca-f77f9cc78b85",
      • "type": "asset",
      • "attributes": {
        }
      }
    ]
}

List template version history

Lists the template versions that have been assigned to the asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_eq]=Test

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-ae05-76a2-aceb-ae31a86bbf2e",
      • "type": "template_version_history",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      }
    }
}

Show template version history

Shows a specific project asset's template version history record.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

id
required
string
Example: 01a1a4e9-296a-785d-8080-1333bb6f5e4a

version history id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-afe5-7e0e-a0f6-0d545fe42c63",
    • "type": "template_version_history",
    • "attributes": {
      • "created_by": "kris.simonis-3563",
      • "created_by_name": "kris.simonis-3563",
      • "commit_sha": "c80c2ae446081611dffc29b9d47f7a36f033b804",
      • "active_from": "2026-11-04T05:00:02.916436Z",
      • "active_to": null
      },
    • "relationships": {
      • "owner": {
        },
      • "template_version": {
        },
      • "node_background_tasks": {
        }
      },
    • "links": {
      • "template_version": "/api/projects/opc/templates/01a1a4ed-af59-72c6-8e1a-976c2c52a120/versions/2023_Q4_2",
      • "self": "/api/projects/opc/assets/prj_soa/version_history/01a1a4ed-afe5-7e0e-a0f6-0d545fe42c63",
      • "asset": "/api/projects/opc/assets/prj_soa"
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ed-afc6-75de-ae6c-da1416c56574",
      • "type": "asset",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4ed-af90-7b5d-bc77-a376dce73074",
      • "type": "template_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Actions

Endpoints to query the action step trees available for a templated node.

Notes:

  • The list and show action endpoints are routed for any templated node, via the /<path/to/node>/actions path, but only assets build an action catalog; an agent's action list is always empty. The example endpoints in this section reflect the actions of a project asset.
  • Only the top level actions of the catalog are addressable, by their action name or their step_name. Child actions are not individually addressable - they are included in each action's children attribute by the show endpoint, and by the list endpoint when include_children is set.

List actions

Lists every action available for the asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
include_children
boolean
Example: include_children=true

By default each action is returned without its children. Set this to return the full step tree of every action.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "deploy",
      • "type": "action",
      • "links": {
        },
      • "attributes": {
        }
      },
    • {
      • "id": "provision",
      • "type": "action",
      • "links": {
        },
      • "attributes": {
        }
      }
    ]
}

Show action

Shows the step tree of one of the asset's actions. The action can be identified by its action name or its step_name.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

id
required
string
Example: deploy

action name or step name

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "deploy",
    • "type": "action",
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/actions/deploy"
      },
    • "attributes": {
      • "action": "deploy",
      • "children": [
        ],
      • "pre_reqs": [ ],
      • "full_path": "deploy",
      • "step_name": "deploy",
      • "stage_step": false,
      • "description": "Deploy the asset",
      • "ignore_failure": false,
      • "child_execution_strategy": "sequential"
      }
    }
}

Templates

Templates provide the available actions and a base set of repository properties that will be used to configure the asset.

Create template

Create a template.

path Parameters
project_code
required
string
Example: opc

project code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "code": "soa",
      • "name": "Oracle SOA template",
      • "template_type": "asset",
      • "description": "Oracle SOA Suite 12c (12.2.1.4.0)",
      • "git_remote_name": "github"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-8d7a-7227-9a45-019d8fd1fa20",
    • "type": "template",
    • "attributes": {
      • "code": "ypvsb",
      • "name": "katharyn_zboncak",
      • "description": "Soluta occaecati iste numquam.",
      • "archived": false,
      • "disabled": false,
      • "template_type": "asset",
      • "created_at": "2026-11-04T04:59:54.105131Z",
      • "updated_at": "2026-11-04T04:59:54.105131Z"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "git_remote": {
        },
      • "template_versions": {
        },
      • "nodes": {
        },
      • "project": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-8d7a-7227-9a45-019d8fd1fa20",
      • "template_versions": "/api/projects/opc/templates/01a1a4ed-8d7a-7227-9a45-019d8fd1fa20/versions",
      • "project": "/api/projects/opc"
      }
    }
}

List templates

Lists all templates for a project.

path Parameters
project_code
required
string
Example: opc

project code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_cont]=base
exclude_archived_nodes
boolean
Example: exclude_archived_nodes=true

when true, excludes archived nodes from each template's nodes relationship

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-9395-7532-82bd-872a07c9bbd1",
      • "type": "template",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Show template

Shows a project template.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

query Parameters
exclude_archived_nodes
boolean
Example: exclude_archived_nodes=true

when true, excludes archived nodes from each template's nodes relationship

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-9588-75b3-b633-6fdfea7129d9",
    • "type": "template",
    • "attributes": {
      • "code": "soa",
      • "name": "Oracle SOA template",
      • "description": "Oracle SOA Suite 12c (12.2.1.4.0)",
      • "archived": false,
      • "disabled": false,
      • "template_type": "asset",
      • "created_at": "2026-11-04T04:59:56.167619Z",
      • "updated_at": "2026-11-04T04:59:56.167619Z"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "git_remote": {
        },
      • "template_versions": {
        },
      • "nodes": {
        },
      • "project": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-9588-75b3-b633-6fdfea7129d9",
      • "template_versions": "/api/projects/opc/templates/01a1a4ed-9588-75b3-b633-6fdfea7129d9/versions",
      • "project": "/api/projects/opc"
      }
    },
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Archive template

Archives/unarchives a template.

path Parameters
project_code
required
string
Example: opc

project code

id_to_archive
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "archived": true
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-9793-72ac-94ef-5d24a85466be",
    • "type": "template",
    • "attributes": {
      • "code": "soa",
      • "name": "Oracle SOA template",
      • "description": "Oracle SOA Suite 12c (12.2.1.4.0)",
      • "archived": true,
      • "disabled": false,
      • "template_type": "asset",
      • "created_at": "2026-11-04T04:59:56.690399Z",
      • "updated_at": "2026-11-04T04:59:56.789170Z"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "git_remote": {
        },
      • "template_versions": {
        },
      • "nodes": {
        },
      • "project": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-9793-72ac-94ef-5d24a85466be",
      • "template_versions": "/api/projects/opc/templates/01a1a4ed-9793-72ac-94ef-5d24a85466be/versions",
      • "project": "/api/projects/opc"
      }
    }
}

Update template

Update a templates details.

path Parameters
project_code
required
string
Example: opc

project code

id_to_update
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "name": "Oracle SOA template",
      • "description": "Oracle SOA Suite 12c (12.2.1.4.0)",
      • "git_remote_name": "github",
      • "disabled": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-9be3-7cb4-a812-5d18e2addfb5",
    • "type": "template",
    • "attributes": {
      • "code": "soa",
      • "name": "updated_name",
      • "description": "updated_description",
      • "archived": false,
      • "disabled": false,
      • "template_type": "asset",
      • "created_at": "2026-11-04T04:59:57.794671Z",
      • "updated_at": "2026-11-04T04:59:57.853841Z"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "git_remote": {
        },
      • "template_versions": {
        },
      • "nodes": {
        },
      • "project": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-9be3-7cb4-a812-5d18e2addfb5",
      • "template_versions": "/api/projects/opc/templates/01a1a4ed-9be3-7cb4-a812-5d18e2addfb5/versions",
      • "project": "/api/projects/opc"
      }
    }
}

Delete template

Deletes a project template. A template cannot be deleted while it is assigned to a node or referenced by a change.

path Parameters
project_code
required
string
Example: opc

project code

id_to_delete
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the template",
      • "detail": "Your authorisation rules let you view the template but not delete it."
      }
    ]
}

Show converged settings

Show the converged settings for this template, merged from the global, project and template settings. Unless include_global=true is passed, only the values that differ from the global settings are returned: a setting whose converged value matches the global value is omitted, so the response is empty when nothing differs from the global settings.

The response includes a setting_sources meta object that attributes each setting value to its originating source.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

query Parameters
include_global
boolean
Example: include_global=true

Also return the settings whose converged value matches the global settings

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-a5dc-7e18-8f5e-81910c6dc5d2",
    • "type": "converged_settings",
    • "attributes": {
      • "data": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-a5dc-7e18-8f5e-81910c6dc5d2/converged_settings"
      },
    • "meta": {
      • "setting_sources": {
        }
      }
    }
}

Show converged properties

Show the converged properties for this template, merged from the global, project and template settings, merged from the database properties of the project and the template.

The API response will also include the individual database properties that were included in the result.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

query Parameters
converge_date
string
Example: converge_date=2026-11-04T04:55:16+00:00

Specify the date (and optionally time), to derive the active properties from.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-aa0b-7711-89d6-8f4f5dd5728d",
    • "type": "converged_properties",
    • "attributes": {
      • "data": {
        }
      },
    • "relationships": {
      • "repository_properties": {
        },
      • "properties": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-aa0b-7711-89d6-8f4f5dd5728d/converged_properties"
      },
    • "meta": {
      • "property_sources": {
        },
      • "property_layers": [
        ]
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ed-a9cf-7909-9f0d-05590868aef4",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-aa24-73c5-85d2-2415dc525237",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ]
}

List template versions

Lists all versions of a specific template.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[version_cont]=1.0

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-b17d-7abc-95c9-1bce3c4eaf25",
      • "type": "template_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create or update a template version

Create or update a template version.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

version
required
string
Example: 2023_Q4_2

template version

Request Body schema: application/vnd.api+json
required
object
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "description": "Added additional configuration options",
      • "git_rev": "multi-byte",
      • "archived": "false",
      • "locked": "false",
      • "float_git_rev": "false"
      }
    },
  • "meta": {
    • "ignore_in_use": false,
    • "fetch_revision": false
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-b54e-71e1-9dd1-1d741d352917",
    • "type": "template_version",
    • "attributes": {
      • "version": "2023_Q4_2",
      • "description": "Quibusdam cum laboriosam at ratione et",
      • "state": "initializing",
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "archived": false,
      • "initialization_error": null,
      • "locked": false,
      • "float_git_rev": false,
      • "float_refresh_error": null,
      • "created_at": "2026-11-04T05:00:04.301059Z",
      • "updated_at": "2026-11-04T05:00:04.301059Z",
      • "committed_at": null,
      • "has_mintmodel": false,
      • "git_rev": "online",
      • "commit_sha": null,
      • "git_remote_name": "github"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "project": {
        },
      • "template": {
        },
      • "pending_commit": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-b439-7681-ba87-abfc6535b3e5/versions/2023_Q4_2",
      • "template": "/api/projects/opc/templates/01a1a4ed-b439-7681-ba87-abfc6535b3e5"
      }
    }
}

Show template version

Shows a specific template version.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

version
required
string
Example: 2023_Q4_2

template version

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-bf30-7e52-8649-0f6e0893339e",
    • "type": "template_version",
    • "attributes": {
      • "version": "2023_Q4_2",
      • "description": "Added additional configuration options",
      • "state": "ready",
      • "created_by": "marchelle-3607",
      • "created_by_name": "marchelle-3607",
      • "archived": false,
      • "initialization_error": null,
      • "locked": false,
      • "float_git_rev": false,
      • "float_refresh_error": null,
      • "created_at": "2026-11-04T05:00:06.831599Z",
      • "updated_at": "2026-11-04T05:00:06.831599Z",
      • "committed_at": null,
      • "has_mintmodel": true,
      • "git_rev": "digital",
      • "commit_sha": "d32e782b176d0eb8cf05efce970b026febf90b2d",
      • "git_remote_name": "github"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "project": {
        },
      • "template": {
        },
      • "pending_commit": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-beda-7b90-99a7-dc7789437715/versions/2023_Q4_2",
      • "template": "/api/projects/opc/templates/01a1a4ed-beda-7b90-99a7-dc7789437715"
      }
    },
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Delete template version

Delete or archive a template version.

  • If the template version has never been assigned to an asset, it will be deleted.
  • If the template version has previously been assigned to an asset, it will be archived so the assignment history is preserved.
  • If the template version is currently assigned to an asset, it can be neither deleted nor archived.
path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

version
required
string
Example: 2023_Q4_2

template version

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-c5c7-7201-8594-685095c1c6a1",
    • "type": "template_version",
    • "attributes": {
      • "version": "2023_Q4_2",
      • "description": "Added additional configuration options",
      • "state": "ready",
      • "created_by": "latrisha_runte-3619",
      • "created_by_name": "latrisha_runte-3619",
      • "archived": true,
      • "initialization_error": null,
      • "locked": false,
      • "float_git_rev": false,
      • "float_refresh_error": null,
      • "created_at": "2026-11-04T05:00:08.517876Z",
      • "updated_at": "2026-11-04T05:00:08.890530Z",
      • "committed_at": null,
      • "has_mintmodel": true,
      • "git_rev": "neural",
      • "commit_sha": "27ca7c9fe170fc6a61d3bab078862cce2579c9ef",
      • "git_remote_name": "github"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "project": {
        },
      • "template": {
        },
      • "pending_commit": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-c56f-7ce0-a01c-b5ebdceb3729/versions/2023_Q4_2",
      • "template": "/api/projects/opc/templates/01a1a4ed-c56f-7ce0-a01c-b5ebdceb3729"
      }
    }
}

Bulk assign assets to template versions

Assign assets to the template version.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

version
required
string
Example: 2023_Q4_2

template version

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "asset_paths": [
        ]
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-cf26-7781-b4dd-7bea5c6e535c",
    • "type": "template_version",
    • "attributes": {
      • "version": "2023_Q4_2",
      • "description": "Added additional configuration options",
      • "state": "ready",
      • "created_by": "bryan.beer-3646",
      • "created_by_name": "bryan.beer-3646",
      • "archived": false,
      • "initialization_error": null,
      • "locked": false,
      • "float_git_rev": false,
      • "float_refresh_error": null,
      • "created_at": "2026-11-04T05:00:10.917475Z",
      • "updated_at": "2026-11-04T05:00:10.917475Z",
      • "committed_at": null,
      • "has_mintmodel": true,
      • "git_rev": "virtual",
      • "commit_sha": "3f5594c1b69694d2265ae997293a5e2dd175e938",
      • "git_remote_name": "github"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "project": {
        },
      • "template": {
        },
      • "pending_commit": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-ceeb-732d-a6db-760087d6d052/versions/2023_Q4_2",
      • "template": "/api/projects/opc/templates/01a1a4ed-ceeb-732d-a6db-760087d6d052"
      }
    }
}

Cancel a template version Git SHA refresh

Cancel an in-progress Git SHA refresh for the template version. When the version was previously resolved it is returned to that commit, otherwise the version is left broken.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

version
required
string
Example: 2023_Q4_2

template version

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-d7cf-78a6-9de1-0a550b7b2c92",
    • "type": "template_version",
    • "attributes": {
      • "version": "9bqri",
      • "description": "Sapiente similique expedita debitis repudiandae dolore in maxime rerum vel illum consequuntur inventore",
      • "state": "ready",
      • "created_by": "wilbert.adams-3675",
      • "created_by_name": "wilbert.adams-3675",
      • "archived": false,
      • "initialization_error": null,
      • "locked": false,
      • "float_git_rev": false,
      • "float_refresh_error": null,
      • "created_at": "2026-11-04T05:00:13.134727Z",
      • "updated_at": "2026-11-04T05:00:13.197850Z",
      • "committed_at": null,
      • "has_mintmodel": false,
      • "git_rev": "haptic",
      • "commit_sha": "d6f855d9c8fb0d9e2302ef748b405ffea2f983ef",
      • "git_remote_name": "bob_koepp"
      },
    • "relationships": {
      • "properties": {
        },
      • "settings": {
        },
      • "project": {
        },
      • "template": {
        },
      • "pending_commit": {
        }
      },
    • "links": {
      • "self": "/api/projects/o8azr/templates/01a1a4ed-d7a3-7b45-8d90-87f07e95c338/versions/9bqri",
      • "template": "/api/projects/o8azr/templates/01a1a4ed-d7a3-7b45-8d90-87f07e95c338"
      }
    }
}

Show converged settings

Show the converged settings for this template version, merged from the global, project, template and template version settings. Unless include_global=true is passed, only the values that differ from the global settings are returned: a setting whose converged value matches the global value is omitted, so the response is empty when nothing differs from the global settings.

The response includes a setting_sources meta object that attributes each setting value to its originating source.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

version
required
string
Example: 2023_Q4_2

template version

query Parameters
include_global
boolean
Example: include_global=true

Also return the settings whose converged value matches the global settings

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "2023_Q4_2",
    • "type": "converged_settings",
    • "attributes": {
      • "data": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-dd0c-7c60-b3c7-564b09d333b3/versions/2023_Q4_2/converged_settings"
      },
    • "meta": {
      • "setting_sources": {
        }
      }
    }
}

Show converged properties

Show the converged properties for this template version, merged from the global, project, template and template version settings, merged from the database properties of the project and the template and template version.

The API response will also include the individual database properties that were included in the result.

path Parameters
project_code
required
string
Example: opc

project code

template_id
required
string
Example: 01a1a4e9-274c-7cd6-b2b5-8be4ea183125

template id

version
required
string
Example: 2023_Q4_2

template version

query Parameters
converge_date
string
Example: converge_date=2026-11-04T04:55:16+00:00

Specify the date (and optionally time), to derive the active properties from.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "2023_Q4_2",
    • "type": "converged_properties",
    • "attributes": {
      • "data": {
        }
      },
    • "relationships": {
      • "repository_properties": {
        },
      • "properties": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/templates/01a1a4ed-e042-7c33-9571-7191659f3d8e/versions/2023_Q4_2/converged_properties"
      },
    • "meta": {
      • "property_sources": {
        },
      • "property_layers": [
        ]
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ed-e007-7716-b6fd-49205ba7121e",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-e058-70e1-b522-bd7b5a1f615e",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-e0a4-76d0-8c63-94666de6d379",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ]
}

Git remotes

Endpoints to interact with git remotes.

Create Git remote

Create a project Git remote.

For HTTP(S) remotes provide the user and password credentials. For SSH remotes provide the ssh_key_data private key and, if the key is encrypted, its passphrase. Supplying password for an SSH remote (or passphrase for an HTTP(S) remote) is rejected.

When meta.add_known_host is true and the remote uses an SSH URL, OpsChain scans the host with ssh-keyscan and stores the fetched host key in the global known_hosts setting before validating the connection, so the same request - and all future fetches - trust the host. On success the response meta.known_hosts_added lists the registered host key lines. This requires superuser access (a non-superuser receives a 403). The scanned key is trusted on first use (TOFU); verify the reported host key out of band.

path Parameters
project_code
required
string
Example: opc

project code

Request Body schema: application/vnd.api+json
required
object
object

Responses

Request samples

Content type
application/vnd.api+json
{}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-a707-721d-91df-d33637fe3d92",
    • "type": "git_remote",
    • "attributes": {
      • "name": "github",
      • "public_url": null,
      • "archived": false,
      • "disabled": false,
      • "periodic_fetch_interval": null,
      • "created_at": "2026-11-04T04:57:49.573779Z",
      • "updated_at": "2026-11-04T04:57:49.573779Z",
      • "user": null,
      • "ssh_key_data": null,
      • "password": null,
      • "passphrase": null
      },
    • "relationships": {
      • "templates": {
        },
      • "project": {
        }
      },
    • "links": {
      • "project": "/api/projects/opc",
      • "templates": "/api/projects/opc/templates?filter%5Bgit_remote_name_eq%5D=github",
      • "self": "/api/projects/opc/git_remotes/01a1a4eb-a707-721d-91df-d33637fe3d92"
      },
    • "meta": null
    }
}

List Git remotes

Lists all Git remotes for a project.

path Parameters
project_code
required
string
Example: opc

project code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_cont]=origin

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-ac50-7a7a-a99a-9078cc0d851a",
      • "type": "git_remote",
      • "attributes": {},
      • "relationships": {
        },
      • "links": {
        },
      • "meta": null
      },
    • {
      • "id": "01a1a4eb-ac56-70e0-bdbb-a9438d589d44",
      • "type": "git_remote",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": null
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      },
    • "default_periodic_fetch_interval": 900
    }
}

Show Git remote

Shows a project Git remote.

Note: Git remote credentials are obfuscated for security reasons.

path Parameters
project_code
required
string
Example: opc

project code

remote_id
required
string
Example: 01a1a4e9-26ed-76bf-b0ca-218ceec45bd9

remote id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-ae9d-76e0-99e5-504082ab8802",
    • "type": "git_remote",
    • "attributes": {},
    • "relationships": {
      • "templates": {
        },
      • "project": {
        }
      },
    • "links": {
      • "project": "/api/projects/opc",
      • "templates": "/api/projects/opc/templates?filter%5Bgit_remote_name_eq%5D=github",
      • "self": "/api/projects/opc/git_remotes/01a1a4eb-ae9d-76e0-99e5-504082ab8802"
      },
    • "meta": null
    }
}

Archive Git remote

Archives/unarchives a project Git remote.

path Parameters
project_code
required
string
Example: opc

project code

id_to_archive
required
string
Example: 01a1a4e9-26ed-76bf-b0ca-218ceec45bd9

remote id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "archived": true
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-b02e-7090-a10c-e32bd37211ac",
    • "type": "git_remote",
    • "attributes": {},
    • "relationships": {
      • "templates": {
        },
      • "project": {
        }
      },
    • "links": {
      • "project": "/api/projects/opc",
      • "templates": "/api/projects/opc/templates?filter%5Bgit_remote_name_eq%5D=github",
      • "self": "/api/projects/opc/git_remotes/01a1a4eb-b02e-7090-a10c-e32bd37211ac"
      },
    • "meta": null
    }
}

Update Git remote

Update the URL and/or credentials of a project Git remote. The remote must be active (not archived), and OpsChain verifies the remote is reachable with the updated values before saving. The URL may only be edited to change its credentials, scheme, or port - the host and path cannot change (delete and recreate the remote to point at a different repository).

For HTTP(S) remotes provide the user and password credentials. For SSH remotes provide the ssh_key_data private key and, if the key is encrypted, its passphrase. Supplying password for an SSH remote (or passphrase for an HTTP(S) remote) is rejected. Changing a remote's protocol clears the existing credentials - supply the new protocol's credentials in the same request.

When meta.add_known_host is true and the request changes the URL to an SSH URL, OpsChain scans the new host with ssh-keyscan and stores the fetched host key in the global known_hosts setting before validating the connection. On success the response meta.known_hosts_added lists the registered host key lines. This requires superuser access (a non-superuser receives a 403). The scanned key is trusted on first use (TOFU); verify the reported host key out of band.

path Parameters
project_code
required
string
Example: opc

project code

id_to_update
required
string
Example: 01a1a4e9-26ed-76bf-b0ca-218ceec45bd9

remote id

Request Body schema: application/vnd.api+json
required
object
object

Responses

Request samples

Content type
application/vnd.api+json
{}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-b382-720b-97e1-b2293cb5dd39",
    • "type": "git_remote",
    • "attributes": {},
    • "relationships": {
      • "templates": {
        },
      • "project": {
        }
      },
    • "links": {
      • "project": "/api/projects/opc",
      • "templates": "/api/projects/opc/templates?filter%5Bgit_remote_name_eq%5D=github",
      • "self": "/api/projects/opc/git_remotes/01a1a4eb-b382-720b-97e1-b2293cb5dd39"
      },
    • "meta": null
    }
}

Delete Git remote

Deletes a project Git remote if it has no changes, otherwise it removes the credentials.

path Parameters
project_code
required
string
Example: opc

project code

id_to_delete
required
string
Example: 01a1a4e9-26ed-76bf-b0ca-218ceec45bd9

remote id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-b935-7969-8c3a-97e3ae906043",
    • "type": "git_remote",
    • "attributes": {},
    • "relationships": {
      • "templates": {
        },
      • "project": {
        }
      },
    • "links": {
      • "project": "/api/projects/opc",
      • "templates": "/api/projects/opc/templates?filter%5Bgit_remote_name_eq%5D=github",
      • "self": "/api/projects/opc/git_remotes/01a1a4eb-b935-7969-8c3a-97e3ae906043"
      },
    • "meta": {
      • "credentials_removed": true,
      • "messages": [
        ]
      }
    }
}

Bookmarks

Endpoints to interact with bookmarks.

Notes:

  • The list, create, show, update and delete bookmark endpoints are available via the /<path/to/bookmark/owner>/bookmarks path. The example endpoints in this section reflect bookmarks owned by a project asset.

Create bookmark

Create a bookmark for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-cc51-7ded-aa2c-e449cf2e29f3",
    • "type": "bookmark",
    • "attributes": {
      • "description": "Voluptatem nulla illum molestias. 1",
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:56:53.584944Z",
      • "updated_at": "2026-11-04T04:56:53.584944Z"
      },
    • "relationships": {
      • "parent": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/bookmarks/01a1a4ea-cc51-7ded-aa2c-e449cf2e29f3",
      • "parent": "/api/projects/opc/assets/prj_soa"
      }
    }
}

List bookmarks

Lists all bookmarks for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[description_cont]=server

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-d673-79a6-9ae4-f2a59ff57c32",
      • "type": "bookmark",
      • "attributes": {},
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Show bookmark

Show a bookmark for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

bookmark_id
required
string
Example: 01a1a4e9-2a19-7a70-a29b-895922dcaeef

bookmark id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-d8b0-7fba-86fd-405343959fa0",
    • "type": "bookmark",
    • "attributes": {
      • "description": "SOA administration console",
      • "created_by": "chia.trantow-1380",
      • "created_by_name": "chia.trantow-1380",
      • "created_at": "2026-11-04T04:56:56.751897Z",
      • "updated_at": "2026-11-04T04:56:56.751897Z"
      },
    • "relationships": {
      • "parent": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/bookmarks/01a1a4ea-d8b0-7fba-86fd-405343959fa0",
      • "parent": "/api/projects/opc/assets/prj_soa"
      }
    }
}

Update bookmark

Update a bookmark for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

bookmark_id
required
string
Example: 01a1a4e9-2a19-7a70-a29b-895922dcaeef

bookmark id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-dce7-7ce7-9b28-6241252a21a4",
    • "type": "bookmark",
    • "attributes": {
      • "description": "Updated server console path",
      • "created_by": "bruno-1394",
      • "created_by_name": "bruno-1394",
      • "created_at": "2026-11-04T04:56:57.830983Z",
      • "updated_at": "2026-11-04T04:56:57.871157Z"
      },
    • "relationships": {
      • "parent": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/bookmarks/01a1a4ea-dce7-7ce7-9b28-6241252a21a4",
      • "parent": "/api/projects/opc/assets/prj_soa"
      }
    }
}

Delete bookmark

Delete a bookmark for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

bookmark_id
required
string
Example: 01a1a4e9-2a19-7a70-a29b-895922dcaeef

bookmark id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the bookmark",
      • "detail": "Your authorisation rules let you view the bookmark but not delete it."
      }
    ]
}

MintModels

Endpoints to query and generate MintModels for assets.

Notes:

  • The list, show and generate MintModel endpoints are available for all assets, via the /<path/to/mintmodel/owner>/mintmodels path. The example endpoints in this section reflect MintModels owned by a project asset.
  • The list and show endpoints will display all MintModels for the asset, regardless whether they were applied successfully or not. Use the parent_mintmodel_history link in the API response to access the asset's MintModel history.

List MintModel history

Lists the asset's MintModel history.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[created_at_gteq]=2026-01-01
limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of MintModel history records returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-c988-7e51-9165-05b0f593f232",
      • "type": "mintmodel_history",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Show MintModel history

Shows an asset's MintModel history record.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

id
required
string
Example: 01a1a4e9-4c68-7dd9-b619-24872bceff99

MintModel history id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-cbfa-7c77-b007-f16b1ca590a6",
    • "type": "mintmodel_history",
    • "attributes": {
      • "created_at": "2026-11-04T04:57:59.033388Z",
      • "updated_at": "2026-11-04T04:57:59.033388Z"
      },
    • "relationships": {
      • "parents": {
        },
      • "mintmodel": {
        },
      • "opschain_changes": {
        },
      • "template_version": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/mintmodel_history/01a1a4eb-cbfa-7c77-b007-f16b1ca590a6"
      }
    },
  • "included": [
    • {
      • "id": "01a1a4eb-cbf0-7e11-a55a-71dacbb88e4e",
      • "type": "mintmodel",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

List MintModels

List all MintModels for an asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
version
string
Example: version=2023_Q4_2

Return only the unique MintModels that have been generated for the asset while this version of its template was assigned. Returns an error if the version has never been assigned to the asset.

filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[created_at_gteq]=2026-01-01
limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of MintModels returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-ccbf-72f4-8922-b9540cdd46f5",
      • "type": "mintmodel",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Generate MintModel diff

Generate a MintModel of the differences between two existing MintModels.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

old_mintmodel_id
required
string
Example: 01a1a4e9-47a4-7025-a7d1-4c3e3bda2fc2

old MintModel id

new_mintmodel_id
required
string
Example: 01a1a4e9-47b9-75a5-aea8-f46d1acff243

new MintModel id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "MintModelDiff",
    • "type": "diff_mintmodel",
    • "attributes": {
      • "diff_mintmodel": {
        },
      • "step_trees": [
        ]
      },
    • "links": {
      • "old_mintmodel": "/projects/opc/assets/prj_soa/mintmodels/01a1a4eb-d1f9-7fd4-9232-38d5a68fb8b7",
      • "new_mintmodel": "/projects/opc/assets/prj_soa/mintmodels/01a1a4eb-d20e-79b1-8fc6-5b80d8d924b1",
      • "parent": "/projects/opc/assets/prj_soa"
      }
    }
}

Show MintModel

Shows an asset MintModel.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

mintmodel_id
required
string
Example: 01a1a4e9-2a76-7ac2-bfa6-32e56ced7ac8

MintModel id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-d69b-7c8c-bfa0-eccdc1f88206",
    • "type": "mintmodel",
    • "attributes": {
      • "data": {
        },
      • "sha256": "77526a9ef926aee8c98f90ec845f5bd12f58cd7afb29fb2db5ef8f95deec44f8",
      • "created_at": "2026-11-04T04:58:01.754728Z",
      • "updated_at": "2026-11-04T04:58:01.754728Z",
      • "render_logs": {
        },
      • "phase_output": { }
      },
    • "relationships": {
      • "mintmodel_history": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/assets/prj_soa/mintmodels/01a1a4eb-d69b-7c8c-bfa0-eccdc1f88206",
      • "parent_mintmodel_history": "/api/projects/opc/assets/prj_soa/mintmodel_history"
      }
    }
}

Concretise MintModel

Concretise the MintModel for this asset in the background, using the latest properties and template version.

Note: This enqueues a MintModel concretisation task and returns it immediately. Poll the returned task to track its progress; the concretised MintModel is assigned to the asset once the task completes successfully.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-dbd6-7a92-af62-1c2c5ac0e620",
    • "type": "node_background_task",
    • "attributes": {
      • "request_number": 2,
      • "status_code": "initializing",
      • "error_message": null,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "actions_count": 0,
      • "task_type": "MintModelConcretiseTask",
      • "created_at": "2026-11-04T04:58:03.092775Z",
      • "updated_at": "2026-11-04T04:58:03.092775Z"
      },
    • "relationships": {
      • "template_version_history": {
        },
      • "owner": {
        }
      },
    • "links": {
      • "template_version": "/api/projects/opc/templates/01a1a4eb-dad8-78c2-81a0-1e3bf3fee916/versions/2023_Q4_2",
      • "self": "/api/projects/opc/assets/prj_soa/node_background_tasks/01a1a4eb-dbd6-7a92-af62-1c2c5ac0e620",
      • "asset": "/api/projects/opc/assets/prj_soa",
      • "log_lines": "/api/node_background_task_log_lines?node_background_task_id=01a1a4eb-dbd6-7a92-af62-1c2c5ac0e620"
      }
    }
}

Workflows

Endpoints to interact with project workflows

List workflows

Lists all workflows for a project.

path Parameters
project_code
required
string
Example: opc

project code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_cont]=deploy

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of workflows returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4f0-64da-7683-b3f2-c6dacd5bf999",
      • "type": "workflow",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      },
    • "partial_response": false
    }
}

Create workflow

Create a workflow

path Parameters
project_code
required
string
Example: opc

project code

Request Body schema: application/vnd.api+json
required
object
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "code": "edwtv",
      • "archived": false,
      • "name": "nbd7janftl",
      • "description": "Try to reboot the RSS hard drive, maybe it will copy the multi-byte matrix!",
      • "steps": [
        ],
      • "draft": true
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-684e-7d33-963e-860006552cb4",
    • "type": "workflow",
    • "attributes": {
      • "code": "assets_new",
      • "name": "assets workflow_new",
      • "description": null,
      • "draft": false,
      • "archived": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T05:03:01.197103Z",
      • "updated_at": "2026-11-04T05:03:01.197103Z",
      • "source_yaml": "---\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
      • "steps": [
        ],
      • "resolved_steps": [ ],
      • "sample_properties": { },
      • "latest_version": 1,
      • "latest_published_version": 1
      },
    • "relationships": {
      • "parent": {
        },
      • "versions": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets_new",
      • "runs": "/api/projects/opc/workflows/assets_new/runs",
      • "versions": "/api/projects/opc/workflows/assets_new/versions",
      • "latest_version": "/api/projects/opc/workflows/assets_new/versions/1",
      • "latest_published_version": "/api/projects/opc/workflows/assets_new/versions/1"
      }
    }
}

Show workflow

Shows a workflow.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-719d-7c79-ae8e-b81f0e4dafa0",
    • "type": "workflow",
    • "attributes": {
      • "code": "assets",
      • "name": "assets workflow",
      • "description": "workflow for assets",
      • "draft": false,
      • "archived": false,
      • "created_by": "dwain-5933",
      • "created_by_name": "dwain-5933",
      • "created_at": "2026-11-04T05:03:03.580919Z",
      • "updated_at": "2026-11-04T05:03:03.580919Z",
      • "source_yaml": "---\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
      • "steps": [
        ],
      • "resolved_steps": [ ],
      • "sample_properties": {
        },
      • "latest_version": 2,
      • "latest_published_version": 2
      },
    • "relationships": {
      • "parent": {
        },
      • "versions": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets",
      • "runs": "/api/projects/opc/workflows/assets/runs",
      • "versions": "/api/projects/opc/workflows/assets/versions",
      • "latest_version": "/api/projects/opc/workflows/assets/versions/2",
      • "latest_published_version": "/api/projects/opc/workflows/assets/versions/2"
      }
    }
}

Update workflow

Update a workflow.

Once the workflow has been run (or scheduled to run), its steps, source YAML and draft state can no longer be changed. A validation request that supplies custom sample properties (property_overrides with validate_flag set) is still permitted, so the stored steps can be validated against those properties.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

Request Body schema: application/vnd.api+json
required
object
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "archived": false,
      • "name": "hdprpuvodz",
      • "description": "I'll synthesize the multi-byte JSON matrix, that should transmitter the XSS bandwidth!",
      • "steps": [
        ],
      • "draft": true
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-7620-72d8-93c6-98d41167f776",
    • "type": "workflow",
    • "attributes": {
      • "code": "assets",
      • "name": "new workflow name",
      • "description": "new description",
      • "draft": false,
      • "archived": false,
      • "created_by": "carter_mckenzie-5951",
      • "created_by_name": "carter_mckenzie-5951",
      • "created_at": "2026-11-04T05:03:04.735479Z",
      • "updated_at": "2026-11-04T05:03:04.833180Z",
      • "source_yaml": "---\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
      • "steps": [
        ],
      • "resolved_steps": [
        ],
      • "sample_properties": {
        },
      • "latest_version": 2,
      • "latest_published_version": 2
      },
    • "relationships": {
      • "parent": {
        },
      • "versions": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets",
      • "runs": "/api/projects/opc/workflows/assets/runs",
      • "versions": "/api/projects/opc/workflows/assets/versions",
      • "latest_version": "/api/projects/opc/workflows/assets/versions/2",
      • "latest_published_version": "/api/projects/opc/workflows/assets/versions/2"
      }
    }
}

Delete workflow

Delete or archive a workflow.

  • If the workflow has not been run before, it will be deleted.
  • If the workflow has been run before, it will be archived and all draft and unused versions will be deleted..
path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the workflow",
      • "detail": "Your authorisation rules let you view the workflow but not delete it."
      }
    ]
}

Workflow versions

List workflow versions

Lists all versions for a workflow.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4f0-8ab6-7041-9e6f-913a24ae403f",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4f0-8aa4-7f99-9758-1655f6eec35b",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true,
      • "execute": true
      }
    }
}

Delete draft workflow versions

Deletes all draft versions of a workflow.

Note: At least one version will remain. If all versions are drafts, the latest draft version will be kept.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-93fc-7cbc-bec7-adcc078841a3",
    • "type": "workflow",
    • "attributes": {
      • "code": "assets",
      • "name": "assets workflow",
      • "description": "workflow for assets",
      • "draft": false,
      • "archived": false,
      • "created_by": "albert.olson-6058",
      • "created_by_name": "albert.olson-6058",
      • "created_at": "2026-11-04T05:03:12.380058Z",
      • "updated_at": "2026-11-04T05:03:12.380058Z",
      • "source_yaml": "---\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
      • "steps": [
        ],
      • "resolved_steps": [ ],
      • "sample_properties": {
        },
      • "latest_version": 2,
      • "latest_published_version": 2
      },
    • "relationships": {
      • "parent": {
        },
      • "versions": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets",
      • "runs": "/api/projects/opc/workflows/assets/runs",
      • "versions": "/api/projects/opc/workflows/assets/versions",
      • "latest_version": "/api/projects/opc/workflows/assets/versions/2",
      • "latest_published_version": "/api/projects/opc/workflows/assets/versions/2"
      }
    }
}

Show workflow version

Shows a workflow version.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

version
required
string
Example: 2

version

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-9f48-79dc-93dc-1eab61039c1e",
    • "type": "workflow_version",
    • "attributes": {
      • "code": "assets",
      • "name": "assets workflow",
      • "description": "workflow for assets",
      • "draft": false,
      • "archived": false,
      • "created_by": "lavette-6098",
      • "created_by_name": "lavette-6098",
      • "created_at": "2026-11-04T05:03:15.270506Z",
      • "updated_at": "2026-11-04T05:03:15.326397Z",
      • "source_yaml": "---\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
      • "steps": [
        ],
      • "resolved_steps": [ ],
      • "sample_properties": {
        },
      • "version": 2
      },
    • "relationships": {
      • "parent": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/versions/2",
      • "runs": "/api/projects/opc/workflows/assets/versions/2/runs",
      • "workflow": "/api/projects/opc/workflows/assets"
      }
    }
}

Update workflow

Update a workflow version.

Once the workflow version has been run (or scheduled to run), its steps, source YAML and draft state can no longer be changed. A validation request that supplies custom sample properties (property_overrides with validate_flag set) is still permitted, so the stored steps can be validated against those properties.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

version
required
string
Example: 2

version

Request Body schema: application/vnd.api+json
required
object
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "code": "ldjlp",
      • "node_id": "01a1a4e9-7b77-7f68-a380-3e330b4cc499",
      • "archived": false,
      • "name": "bhjbxt9evw",
      • "description": "Use the primary XML transmitter, then you can hack the wireless transmitter!",
      • "steps": [
        ],
      • "draft": true
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-a9ca-72bf-8751-a6fe8c9a5dc3",
    • "type": "workflow_version",
    • "attributes": {
      • "code": "assets",
      • "name": "new workflow name",
      • "description": "new description",
      • "draft": true,
      • "archived": false,
      • "created_by": "lance.torp-6134",
      • "created_by_name": "lance.torp-6134",
      • "created_at": "2026-11-04T05:03:17.961086Z",
      • "updated_at": "2026-11-04T05:03:18.015708Z",
      • "source_yaml": "---\nsteps:\n- type: change\n name: run asset action\n target: \"/projects/opc/assets/prj_soa\"\n action: run\n",
      • "steps": [
        ],
      • "resolved_steps": [ ],
      • "sample_properties": {
        },
      • "version": 2
      },
    • "relationships": {
      • "parent": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/versions/2",
      • "runs": "/api/projects/opc/workflows/assets/versions/2/runs",
      • "workflow": "/api/projects/opc/workflows/assets"
      }
    }
}

Delete workflow version

Delete or archive a workflow version.

  • If the workflow version has not been run before, it will be deleted.
  • If the workflow version has been run before, it will be archived.
path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

version
required
string
Example: 2

version

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the workflow version",
      • "detail": "Your authorisation rules let you view the workflow version but not delete it."
      }
    ]
}

Clone nodes

Clone an environment or asset

Clones an environment's properties, settings and assets, or a single asset's properties and settings, into a new or existing node of the same type in the same project. Assets may be cloned between the project and its environments. Nothing is removed from the target, and nothing is written if any node fails validation.

Secrets in the cloned documents are cloned as they are, and listed by key path in warnings. Set dry_run to see the report without writing anything. Actions for created assets are generated in the background after the clone returns.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "source_path": "/projects/opc/environments/dev",
      • "target_path": "/projects/opc/environments/uat",
      • "target": {
        },
      • "properties": "skip",
      • "settings": "skip",
      • "assets": {
        },
      • "dry_run": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "/projects/opc/environments/dev:/projects/opc/environments/uat",
    • "type": "node_clone",
    • "attributes": {
      • "source_path": "/projects/opc/environments/dev",
      • "target_path": "/projects/opc/environments/uat",
      • "dry_run": true,
      • "summary": {
        },
      • "nodes": [
        ],
      • "warnings": [ ]
      }
    }
}

Properties

Endpoints to interact with properties.

Show properties

Shows the current properties JSON and its version.

path Parameters
properties_id
required
string
Example: 01a1a4e9-2649-7569-ae33-cfba664709b5

properties id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-c37c-79bf-b52f-ae811f83109f",
    • "type": "properties",
    • "attributes": {
      • "data": {
        },
      • "version": 1,
      • "created_at": "2026-11-04T04:59:02.395260Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/properties/01a1a4ec-c37c-79bf-b52f-ae811f83109f",
      • "current_version": "/api/properties/01a1a4ec-c37c-79bf-b52f-ae811f83109f/versions/1",
      • "versions": "/api/properties/01a1a4ec-c37c-79bf-b52f-ae811f83109f/versions"
      }
    }
}

Update properties

Updates a properties JSON if the included version matches the current properties version.

path Parameters
id_to_update
required
string
Example: 01a1a4e9-2649-7569-ae33-cfba664709b5

properties id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "data": {
        },
      • "version": 1
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-c557-72b1-a6a5-5af40dbabca3",
    • "type": "properties",
    • "attributes": {
      • "data": {
        },
      • "version": 2,
      • "created_at": "2026-11-04T04:59:02.870260Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/properties/01a1a4ec-c557-72b1-a6a5-5af40dbabca3",
      • "current_version": "/api/properties/01a1a4ec-c557-72b1-a6a5-5af40dbabca3/versions/2",
      • "versions": "/api/properties/01a1a4ec-c557-72b1-a6a5-5af40dbabca3/versions"
      }
    }
}

Update properties (unsafe)

Updates a properties JSON, without any version checking (always updates).

path Parameters
id_to_set
required
string
Example: 01a1a4e9-2649-7569-ae33-cfba664709b5

properties id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "data": {
        }
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-c9d5-7a94-808f-35687c4a14c5",
    • "type": "properties",
    • "attributes": {
      • "data": {
        },
      • "version": 2,
      • "created_at": "2026-11-04T04:59:04.020517Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/properties/01a1a4ec-c9d5-7a94-808f-35687c4a14c5",
      • "current_version": "/api/properties/01a1a4ec-c9d5-7a94-808f-35687c4a14c5/versions/2",
      • "versions": "/api/properties/01a1a4ec-c9d5-7a94-808f-35687c4a14c5/versions"
      }
    }
}

Create or update a file property

Create or update a file property in the properties.

Notes:

  • When the file is stored in the secret vault and you hold no secret vault credential for the properties owner and its vault, the request is rejected, and the error's meta.secret_vault_credential_required lists the vault a credential is needed for.
path Parameters
properties_id
required
string
Example: 01a1a4e9-2649-7569-ae33-cfba664709b5

properties id

Request Body schema: multipart/form-data
file_path
string (Path to write the file within /opt/opschain)
mode
string (Linux octal file mode)
format
string (How the file content is serialised (default: 'raw'))
Enum: "base64" "json" "raw"
replace_file
string (Replace the file property if it exists (default: false))
secret_path
string (Path to write the secret key into)
secret_key
string
replace_secret
string (Replace the secret vault value if it exists (default: false))
file
string <binary>

File to use. The filename is ignored.

Responses

Request samples

Content type
multipart/form-data
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="mode"

0600
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="file_path"

/opt/opschain/sample.txt
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="format"

raw
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="replace_file"

true
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="file"; filename="sample.txt"
content-type: text/plain
content-length: 21

Sample file property

------------XnJLe9ZIbbGUYtzPQJ16u1--

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-cd40-73e7-a9e8-ad55c770e114",
    • "type": "properties",
    • "attributes": {
      • "data": {
        },
      • "version": 2,
      • "created_at": "2026-11-04T04:59:04.895123Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/properties/01a1a4ec-cd40-73e7-a9e8-ad55c770e114",
      • "current_version": "/api/properties/01a1a4ec-cd40-73e7-a9e8-ad55c770e114/versions/2",
      • "versions": "/api/properties/01a1a4ec-cd40-73e7-a9e8-ad55c770e114/versions"
      }
    }
}

Properties versions

Endpoints to interact with the version history for properties.

List properties versions

Lists all versions of an OpsChain properties.

path Parameters
properties_id
required
string
Example: 01a1a4e9-2649-7569-ae33-cfba664709b5

properties id

query Parameters
limit
integer [ 1 .. 10000 ]
Default: 1000
Example: limit=50

Limit the number of properties versions returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

exclude_data
boolean
Default: false
Example: exclude_data=true

Exclude the data attribute from each of the properties versions returned. Use the show endpoint to fetch the data for an individual version.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-cf4e-7f55-82bb-6a03e7d27eef",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Show properties version

Shows the properties JSON for this properties version.

path Parameters
properties_id
required
string
Example: 01a1a4e9-2649-7569-ae33-cfba664709b5

properties id

version_number
required
integer
Example: 1

version number

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-d160-71e8-a694-6259459bff37",
    • "type": "properties_version",
    • "attributes": {
      • "data": {
        },
      • "version": 1,
      • "created_at": "2026-11-04T04:59:05.951478Z",
      • "owner_type": "Project"
      },
    • "relationships": {
      • "properties": {
        }
      },
    • "links": {
      • "versions": "/api/properties/01a1a4ec-d159-78f4-ae07-0317efef3bac/versions",
      • "owner": "/api/projects/opc",
      • "self": "/api/properties/01a1a4ec-d159-78f4-ae07-0317efef3bac/versions/1"
      },
    • "meta": { }
    }
}

Activities

Endpoints to interact with activities (changes and workflow runs combined).

List activities

Lists all activities (changes and workflow runs) accessible to the user.

query Parameters
limit
integer [ 1 .. 1000 ]
Default: 100
Example: limit=100

The maximum number of activities to return. When more records match than the limit a 206 response is returned and meta.partial_response is true.

exact_count
boolean
Example: exact_count=true

By default meta.total_matching_filter stops counting at 1000 and meta.total_matching_filter_exact reports false. Set this to count every matching activity instead - this is significantly slower on instances with a large activity history.

filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[created_by_cont]=opschain

API filtering guide. Named filters: filter[active_over], filter[exclude_archived]. Use filter[exclude_archived]=true to leave out changes whose node, one of its ancestors or git remote is archived, and workflow runs whose workflow, workflow version or project is archived.

download
string
Example: download=activities.csv

Download activities in CSV format with the specified file name. The activities will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order or limit requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4e9-902b-7983-8950-04349543066e",
      • "type": "workflow_run",
      • "attributes": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4e9-8f07-7aed-9977-0f04c12ee9dc",
      • "type": "change",
      • "attributes": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4e9-8cca-77e5-9353-9218128df983",
      • "type": "change",
      • "attributes": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4e9-8b6d-7bbe-9df8-1d8482fc6a94",
      • "type": "workflow_run",
      • "attributes": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4e9-88fa-7540-8cc2-a048bb5cd01a",
      • "type": "change",
      • "attributes": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false,
    • "has_any": true,
    • "total_matching_filter": 5,
    • "total_matching_filter_exact": true
    }
}

Changes

Endpoints to interact with changes.

List changes

Lists all changes.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[environment_code_eq]=dev

API filtering guide. Named filters: filter[active], filter[active_over], filter[created_by_eq], filter[created_by_in], filter[exclude_archived], filter[finished], filter[step_action_or_name_eq], filter[step_action_or_name_in], filter[waiting_to_run]. filter[step_action_or_name_eq]=<action or step name> returns every change with a step whose action or step name matches, at any depth in the step tree, e.g. > filter[step_action_or_name_eq]=provision. The comparison ignores case. filter[step_action_or_name_in][]=<action or step name> does the same for several values, e.g. > filter[step_action_or_name_in][]=provision&filter[step_action_or_name_in][]=destroy. The /api/ui_support/step_actions?prefix=<prefix> endpoint lists the actions and step names available to these filters. Use filter[exclude_archived]=true to leave out changes whose node, one of its ancestors or git remote is archived.

download
string
Example: download=changes.csv

Download changes in CSV format with the specified file name. The changes will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

include
string
Example: include=steps,parents

Include the change steps and parents in the response

fields[<resource_type>]
string
Example: fields[<resource_type>]=code,status,action
limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of changes returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

include_children
boolean
Example: include_children=true

Only applies when the changes are being listed for a node - via a node path or parent_path. Include the changes of the node's descendants as well as its own.

total_count
boolean
Example: total_count=true

Report the number of changes matching the filter in meta.total_matching_filter, stopping at 1000 - meta.total_matching_filter_exact reports whether the count is exact. No count is computed unless this or exact_count is supplied.

exact_count
boolean
Example: exact_count=true

Report meta.total_matching_filter without a cap - this is significantly slower on instances with a large change history.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-f0aa-7ae3-888d-996adbb75eab",
      • "type": "change",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ],
  • "included": [
    • {
      • "id": "01a1a4ea-f0b0-7125-9a1a-988629bdc2e7",
      • "type": "step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ea-ef81-7836-968d-3c6a2a44f503",
      • "type": "project",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4ea-f001-7fb9-bac1-954e67e495b4",
      • "type": "environment",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true,
      • "execute": true
      },
    • "partial_response": false,
    • "has_any": true
    }
}

Create change

Creates a change in a specific project, environment or asset.

Notes:

  1. When creating changes via a project, environment or asset changes path (e.g. POST to /api/projects/{project_code}/changes) the parent_path request attributes must not be supplied as the parent will be derived from the path.
  2. When creating changes for assets (e.g. POST to /api/projects/{project_code}/assets/{asset_code}/changes) the git_remote_name and git_rev attributes must not be supplied as the Git remote and revision will be derived from the asset's template.
  3. Supplying the retry attribute (together with a change relationship) retries an existing change that finished in an error, cancelled or aborted state instead of creating a change from scratch. The retry creates a new change that reuses the original change's action, commit, properties and step tree; steps that already succeeded are preserved and are not run again. The original change is left untouched.
Request Body schema: application/vnd.api+json
One of
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "metadata": {
        },
      • "scheduled_activity_id": null,
      • "build_without_cache": false,
      • "pod_per_step": true,
      • "action_path": null,
      • "static_settings": { },
      • "state_timing_summary": { },
      • "notify": { },
      • "api_key_id": null,
      • "skip_steps": [ ],
      • "auto_continue_wait_steps": false,
      • "starting_step": null,
      • "generate_actions_request_id": null,
      • "paused_at": null,
      • "executor_queue_name": null,
      • "action": "calculate",
      • "parent_path": "/projects/opc/environments/dev/assets/env_soa",
      • "template_version": "2023_Q4_2"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-f5c2-77d8-8ad5-043ea836c3b7",
    • "type": "change",
    • "attributes": {
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "step_name": "connect",
      • "action": "connect",
      • "build_without_cache": false,
      • "auto_continue_wait_steps": false,
      • "initial_step_tree": { },
      • "metadata": {
        },
      • "scheduled": false,
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "cancelled_by": null,
      • "state_timing": {
        },
      • "state_timing_summary": { },
      • "notify": { },
      • "skip_steps": [ ],
      • "starting_step": null,
      • "cluster_name": null,
      • "pause_state": "none",
      • "status_code": "initializing",
      • "paused": false,
      • "paused_by": [ ],
      • "created_at": "2026-11-04T04:57:04.193254Z",
      • "started_at": "2026-11-04T04:57:04.155148Z",
      • "finished_at": null,
      • "updated_at": "2026-11-04T04:57:04.205342Z",
      • "paused_at": null,
      • "asset_name": null,
      • "environment_name": "Development",
      • "project_name": "OpsChain",
      • "git_remote_name": "github",
      • "git_rev": "main",
      • "commit_sha": null,
      • "requires_approval_from": null
      },
    • "relationships": {
      • "parents": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "workflow_run": {
        },
      • "workflow": {
        },
      • "override_properties": {
        },
      • "override_settings": {
        }
      },
    • "links": {
      • "git_remote": "/api/projects/opc/git_remotes/01a1a4ea-f387-789b-a3cc-92f766c68313",
      • "project": "/api/projects/opc",
      • "parent": "/api/projects/opc/environments/dev",
      • "self": "/api/projects/opc/environments/dev/changes/01a1a4ea-f5c2-77d8-8ad5-043ea836c3b7",
      • "log_lines": "/api/changes/01a1a4ea-f5c2-77d8-8ad5-043ea836c3b7/log_lines",
      • "pause": "/api/changes/01a1a4ea-f5c2-77d8-8ad5-043ea836c3b7/pause"
      },
    • "meta": { }
    },
  • "included": [
    • {
      • "id": "01a1a4ea-f5c7-7c49-b8b8-2258f852cffc",
      • "type": "step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ]
}

Show change

Shows a change, including it's parent nodes.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

query Parameters
include
string
Example: include=steps,parents

Include the change steps and parents in the response

fields[<resource_type>]
string
Example: fields[<resource_type>]=code,status,action

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-fd56-75db-a588-8185dcd029bb",
    • "type": "change",
    • "attributes": {
      • "created_by": "berry-1486",
      • "created_by_name": "berry-1486",
      • "step_name": "navigate",
      • "action": "navigate",
      • "build_without_cache": false,
      • "auto_continue_wait_steps": false,
      • "initial_step_tree": { },
      • "metadata": {
        },
      • "scheduled": false,
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "cancelled_by": null,
      • "state_timing": {
        },
      • "state_timing_summary": { },
      • "notify": { },
      • "skip_steps": [ ],
      • "starting_step": null,
      • "cluster_name": null,
      • "pause_state": "none",
      • "status_code": "success",
      • "paused": false,
      • "paused_by": [ ],
      • "created_at": "2026-11-04T04:57:06.132318Z",
      • "started_at": "2026-11-04T04:48:52.685727Z",
      • "finished_at": "2026-11-04T04:52:37.909785Z",
      • "updated_at": "2026-11-04T04:57:06.146310Z",
      • "paused_at": null,
      • "asset_name": null,
      • "environment_name": "Development",
      • "project_name": "OpsChain",
      • "git_remote_name": "github",
      • "git_rev": "main",
      • "commit_sha": "fe58a1f93f4e6d39520c58624c288aa4a57c9f84",
      • "requires_approval_from": null
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "workflow_run": {
        },
      • "workflow": {
        },
      • "override_properties": {
        },
      • "override_settings": {
        }
      },
    • "links": {
      • "git_remote": "/api/projects/opc/git_remotes/01a1a4ea-fd26-762a-9ccf-8f6f47a50a2d",
      • "project": "/api/projects/opc",
      • "parent": "/api/projects/opc/environments/dev",
      • "self": "/api/projects/opc/environments/dev/changes/01a1a4ea-fd56-75db-a588-8185dcd029bb",
      • "log_lines": "/api/changes/01a1a4ea-fd56-75db-a588-8185dcd029bb/log_lines"
      },
    • "meta": {
      • "wait_queue": [ ],
      • "blocking_queue": [ ],
      • "authorisations": {
        }
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ea-fd5c-70ad-89a1-3b7526fdf0ab",
      • "type": "step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ea-fcbd-79c1-87ba-ea7956b767aa",
      • "type": "project",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4ea-fcff-75b4-b118-ab4a427fa319",
      • "type": "environment",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ]
}

Cancel change

Cancels a change.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to cancel the change",
      • "detail": "Your authorisation rules let you view the change but not cancel it."
      }
    ]
}

Pause change

Pauses a running change. Steps already running finish, but no further steps are dispatched until the change is resumed.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "reason": "Holding this change until the database maintenance window closes"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-0887-76be-814f-9c979013477d",
    • "type": "change",
    • "attributes": {
      • "created_by": "santos-1520",
      • "created_by_name": "santos-1520",
      • "step_name": "transmit",
      • "action": "transmit",
      • "build_without_cache": false,
      • "auto_continue_wait_steps": false,
      • "initial_step_tree": { },
      • "metadata": {
        },
      • "scheduled": false,
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "cancelled_by": null,
      • "state_timing": {
        },
      • "state_timing_summary": { },
      • "notify": { },
      • "skip_steps": [ ],
      • "starting_step": null,
      • "cluster_name": null,
      • "pause_state": "pausing",
      • "status_code": "running",
      • "paused": true,
      • "paused_by": [
        ],
      • "created_at": "2026-11-04T04:57:08.997245Z",
      • "started_at": "2026-11-04T04:48:42.703636Z",
      • "finished_at": null,
      • "updated_at": "2026-11-04T04:57:09.012110Z",
      • "paused_at": "2026-11-04T04:57:09.136706Z",
      • "asset_name": null,
      • "environment_name": "Development",
      • "project_name": "OpsChain",
      • "git_remote_name": "github",
      • "git_rev": "main",
      • "commit_sha": "a248aa15c19f9fba8e42c3e280efa1cf6ef17330",
      • "requires_approval_from": null
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "workflow_run": {
        },
      • "workflow": {
        },
      • "override_properties": {
        },
      • "override_settings": {
        }
      },
    • "links": {
      • "git_remote": "/api/projects/opc/git_remotes/01a1a4eb-084c-7af5-810a-6dc4159ac44f",
      • "project": "/api/projects/opc",
      • "parent": "/api/projects/opc/environments/dev",
      • "self": "/api/projects/opc/environments/dev/changes/01a1a4eb-0887-76be-814f-9c979013477d",
      • "log_lines": "/api/changes/01a1a4eb-0887-76be-814f-9c979013477d/log_lines",
      • "resume": "/api/changes/01a1a4eb-0887-76be-814f-9c979013477d/resume"
      },
    • "meta": { }
    }
}

Resume change

Resumes a paused change, dispatching the steps that were held while it was paused.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "reason": "Maintenance window closed"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-131d-7e78-9976-a45f9a4fd457",
    • "type": "change",
    • "attributes": {
      • "created_by": "winter.wisoky-1548",
      • "created_by_name": "winter.wisoky-1548",
      • "step_name": "generate",
      • "action": "generate",
      • "build_without_cache": false,
      • "auto_continue_wait_steps": false,
      • "initial_step_tree": { },
      • "metadata": {
        },
      • "scheduled": false,
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "cancelled_by": null,
      • "state_timing": {
        },
      • "state_timing_summary": { },
      • "notify": { },
      • "skip_steps": [ ],
      • "starting_step": null,
      • "cluster_name": null,
      • "pause_state": "none",
      • "status_code": "running",
      • "paused": false,
      • "paused_by": [
        ],
      • "created_at": "2026-11-04T04:57:11.707906Z",
      • "started_at": "2026-11-04T04:50:57.772760Z",
      • "finished_at": null,
      • "updated_at": "2026-11-04T04:57:11.721357Z",
      • "paused_at": null,
      • "asset_name": null,
      • "environment_name": "Development",
      • "project_name": "OpsChain",
      • "git_remote_name": "github",
      • "git_rev": "main",
      • "commit_sha": "c17a31394f4820556863333bd6dce56f9398a8cd",
      • "requires_approval_from": null
      },
    • "relationships": {
      • "properties": {
        },
      • "parents": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "workflow_run": {
        },
      • "workflow": {
        },
      • "override_properties": {
        },
      • "override_settings": {
        }
      },
    • "links": {
      • "git_remote": "/api/projects/opc/git_remotes/01a1a4eb-12da-7a4f-ad8c-57399c4e2670",
      • "project": "/api/projects/opc",
      • "parent": "/api/projects/opc/environments/dev",
      • "self": "/api/projects/opc/environments/dev/changes/01a1a4eb-131d-7e78-9976-a45f9a4fd457",
      • "log_lines": "/api/changes/01a1a4eb-131d-7e78-9976-a45f9a4fd457/log_lines",
      • "pause": "/api/changes/01a1a4eb-131d-7e78-9976-a45f9a4fd457/pause"
      },
    • "meta": { }
    }
}

Show change settings

Show the converged settings for a change, including any change-specific setting overrides merged on top of the asset's settings hierarchy. Unless include_global=true is passed, only the values that differ from the global settings are returned: a setting whose converged value matches the global value is omitted, even when it is set directly on a node, so the response is empty when nothing differs from the global settings.

The response includes a setting_sources meta object that attributes each setting value to its originating source.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

query Parameters
include_global
boolean
Example: include_global=true

Also return the settings whose converged value matches the global settings

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-1cbd-7a30-a7f6-a638eccf9244",
    • "type": "converged_settings",
    • "attributes": {
      • "data": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev/converged_settings"
      },
    • "meta": {
      • "setting_sources": {
        }
      }
    }
}

Show change properties

Converge the root step properties for a change.

The optional action_stage argument can be:

  • "pre" - to converge the properties as they were supplied to the root step action before it executed
  • "post" - to converge the properties as they were at the end of the latest completed step in the change
path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

query Parameters
action_stage
string
Example: action_stage=pre

Converge the pre or post action properties

exclude_layers[]
string
Example: exclude_layers[]=template

Exclude a property layer from the converged result. Repeat the parameter to exclude several layers, e.g. > exclude_layers[]=template&exclude_layers[]=asset. Suffix a layer with _repository or _database to exclude only that half of it, e.g. > exclude_layers[]=asset_repository. The layers available for the node, and whether each one is currently included, are listed in the property_layers response meta. The template layer covers the properties files held under the <template code> folder of the template repository, as well as the template's database properties; the template_version layer covers the template version database properties only. Excluding a layer is a preview - the result is not cached and nothing is persisted.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "override (post)",
    • "type": "converged_properties",
    • "attributes": {
      • "data": {
        }
      },
    • "relationships": {
      • "repository_properties": {
        },
      • "properties": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev/converged_properties"
      },
    • "meta": {
      • "property_sources": {
        },
      • "property_layers": [
        ]
      }
    },
  • "included": [
    • {
      • "id": "01a1a4eb-2071-7de0-909d-7abbc838327c",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4eb-20ae-7c9c-af3e-228e5a32adfe",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4eb-2105-7634-a676-d20b5d931e55",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ]
}

Download a support bundle for a change

Builds a zip archive of the information LimePoint support needs to diagnose a change: the change and its steps, its logs, the properties and settings in effect, its template and MintModel, server version information, recent runs of the same action and recent events. Each item is collected using the requesting user's permissions, so anything they cannot read is omitted or redacted. Items that could not be collected are listed in the archive's manifest.json and SUMMARY.md rather than failing the request.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "log_limit": 2000,
      • "step_logs": "failed",
      • "time_zone": "Australia/Melbourne",
      • "client": {
        }
      }
    }
}

Response samples

Content type
application/zip
<binary data>

Scheduled activities

List activities

Lists all scheduled activities.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[project_code_eq]=opc

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in], filter[exclude_archived], filter[with_label]. Use filter[exclude_archived]=true to leave out scheduled activities whose node or one of its ancestors is archived, whose git remote is archived, or whose workflow or pinned workflow version is archived. Filter by label with filter[with_label][]=<label> - repeat it to supply several labels, and the scheduled activity must carry all of them.

include
string
Example: include=parents

Include the scheduled change parents in the response

fields[<resource_type>]
string
Example: fields[<resource_type>]=code,status
include_children
boolean
Example: include_children=true

Only applies when the scheduled activities are being listed for a node - via a node path or parent_path. Include the scheduled activities of the node's descendants as well as its own.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-85ed-79bb-9a66-02cf60fcf80d",
      • "type": "scheduled_change",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ea-89a6-784a-a79a-847c459343f3",
      • "type": "scheduled_workflow",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "included": [
    • {
      • "id": "01a1a4ea-8531-73cf-b389-ec86744d2680",
      • "type": "project",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      },
    • {
      • "id": "01a1a4ea-858b-7574-beba-37c6e1cc2108",
      • "type": "environment",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      },
    • "has_any": true
    }
}

Create activities

Creates a scheduled activity in a specific project, environment or asset.

Notes:

  1. When creating scheduled activities via a project, environment or asset scheduled_activities path (e.g. POST to /api/projects/{project_code}/scheduled_activities) the parent_path request attributes must not be supplied as the parent will be derived from the path.

  2. When creating scheduled activities for assets (e.g. POST to /api/projects/{project_code}/assets/{asset_code}/scheduled_activities) the git_remote_name and git_rev attributes must not be supplied as the Git remote and revision will be derived from the asset's template.

  3. See the various payload examples to understand the required fields for each possible request to this endpoint.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "git_rev": "master",
      • "action": "install_os",
      • "cron_schedule": "33 18 9 10 2",
      • "new_commits_only": false,
      • "repeat": true,
      • "metadata": {
        },
      • "run_at": null,
      • "run_count": 0,
      • "maximum_run_count": null,
      • "end_at": null,
      • "allow_parallel_execution": false,
      • "property_overrides": {
        },
      • "settings_overrides": {
        },
      • "notify": {
        },
      • "skip_steps": [ ],
      • "auto_continue_wait_steps": false,
      • "commit_file_patterns": [ ],
      • "commit_file_pattern_match": "any",
      • "enabled": true,
      • "labels": [ ],
      • "parent_path": "/projects/opc/environments/dev",
      • "git_remote_name": "github"
      }
    }
}

Response samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "id": "01a1a4e9-3792-7471-adbb-9a62ee3d8b36",
    • "type": "scheduled_change",
    • "attributes": {
      • "created_by": "porter-22",
      • "created_by_name": "porter-22",
      • "cron_schedule": "40 21 11 1 4",
      • "repeat": true,
      • "run_count": 0,
      • "maximum_run_count": null,
      • "allow_parallel_execution": false,
      • "metadata": {
        },
      • "property_overrides": {
        },
      • "notify": {
        },
      • "skip_steps": [ ],
      • "labels": [
        ],
      • "created_at": "2026-11-04T04:55:09.967038Z",
      • "updated_at": "2026-11-04T04:55:09.967038Z",
      • "next_run_at": "2027-01-07T10:40:00.000000Z",
      • "run_at": null,
      • "end_at": null,
      • "action": "generate",
      • "new_commits_only": true,
      • "git_rev": "redundant",
      • "auto_continue_wait_steps": false,
      • "commit_file_patterns": [
        ],
      • "commit_file_pattern_match": "any",
      • "enabled": true,
      • "project_name": "OpsChain",
      • "project_code": "opc",
      • "settings_overrides": {
        },
      • "asset_code": null,
      • "asset_name": null,
      • "environment_code": "dev",
      • "environment_name": "Development",
      • "git_remote_name": "github"
      },
    • "relationships": {
      • "parents": {
        }
      },
    • "links": {
      • "git_remote": "/api/projects/opc/git_remotes/01a1a4e9-26ed-76bf-b0ca-218ceec45bd9",
      • "project": "/api/projects/opc",
      • "parent": "/api/projects/opc/environments/dev",
      • "self": "/api/scheduled_activities/01a1a4e9-3792-7471-adbb-9a62ee3d8b36"
      }
    }
}

Show activity

Shows a scheduled activity.

path Parameters
scheduled_change_id
required
string
Example: 01a1a4e9-3792-7471-adbb-9a62ee3d8b36

scheduled change id

query Parameters
include
string
Example: include=parents

Include the scheduled change parents in the response

fields[<resource_type>]
string
Example: fields[<resource_type>]=code,status

Responses

Response samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "id": "01a1a4e9-3792-7471-adbb-9a62ee3d8b36",
    • "type": "scheduled_change",
    • "attributes": {
      • "created_by": "porter-22",
      • "created_by_name": "porter-22",
      • "cron_schedule": "40 21 11 1 4",
      • "repeat": true,
      • "run_count": 0,
      • "maximum_run_count": null,
      • "allow_parallel_execution": false,
      • "metadata": {
        },
      • "property_overrides": {
        },
      • "notify": {
        },
      • "skip_steps": [ ],
      • "labels": [
        ],
      • "created_at": "2026-11-04T04:55:09.967038Z",
      • "updated_at": "2026-11-04T04:55:09.967038Z",
      • "next_run_at": "2027-01-07T10:40:00.000000Z",
      • "run_at": null,
      • "end_at": null,
      • "action": "generate",
      • "new_commits_only": true,
      • "git_rev": "redundant",
      • "auto_continue_wait_steps": false,
      • "commit_file_patterns": [
        ],
      • "commit_file_pattern_match": "any",
      • "enabled": true,
      • "project_name": "OpsChain",
      • "project_code": "opc",
      • "settings_overrides": {
        },
      • "asset_code": null,
      • "asset_name": null,
      • "environment_code": "dev",
      • "environment_name": "Development",
      • "git_remote_name": "github"
      },
    • "relationships": {
      • "parents": {
        }
      },
    • "links": {
      • "git_remote": "/api/projects/opc/git_remotes/01a1a4e9-26ed-76bf-b0ca-218ceec45bd9",
      • "project": "/api/projects/opc",
      • "parent": "/api/projects/opc/environments/dev",
      • "self": "/api/scheduled_activities/01a1a4e9-3792-7471-adbb-9a62ee3d8b36"
      }
    }
}

Update activity

Updates a scheduled activity in a specific project, environment or asset.

Notes:

  1. The project, environment or asset the activity runs against cannot be changed. The parent_path, project_code, environment_code and asset_code attributes must not be supplied - create a new scheduled activity against the required parent instead.
  2. When updating activities for assets (e.g. PATCH to /api/projects/{project_code}/assets/{asset_code}/scheduled_activities/{id}) the git_remote_name and git_rev attributes must not be supplied as the Git remote and revision will be derived from the asset's template.
  3. See the various payload examples to understand the attributes you can supply to this endpoint.
  4. The payload need only consist of the attributes you wish to modify. There is no need to supply the entire scheduled activity.
path Parameters
scheduled_change_id
required
string
Example: 01a1a4e9-3792-7471-adbb-9a62ee3d8b36

scheduled change id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "git_rev": "master",
      • "action": "install_os",
      • "cron_schedule": "50 15 28 11 0",
      • "new_commits_only": true,
      • "repeat": true,
      • "metadata": {
        },
      • "run_at": null,
      • "run_count": 0,
      • "maximum_run_count": null,
      • "end_at": null,
      • "allow_parallel_execution": false,
      • "property_overrides": {
        },
      • "settings_overrides": {
        },
      • "notify": {
        },
      • "skip_steps": [ ],
      • "auto_continue_wait_steps": false,
      • "commit_file_patterns": [ ],
      • "commit_file_pattern_match": "any",
      • "enabled": true,
      • "labels": [ ],
      • "git_remote_name": "github"
      }
    }
}

Response samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "id": "01a1a4e9-3792-7471-adbb-9a62ee3d8b36",
    • "type": "scheduled_change",
    • "attributes": {
      • "created_by": "porter-22",
      • "created_by_name": "porter-22",
      • "cron_schedule": "40 21 11 1 4",
      • "repeat": true,
      • "run_count": 0,
      • "maximum_run_count": null,
      • "allow_parallel_execution": false,
      • "metadata": {
        },
      • "property_overrides": {
        },
      • "notify": {
        },
      • "skip_steps": [ ],
      • "labels": [
        ],
      • "created_at": "2026-11-04T04:55:09.967038Z",
      • "updated_at": "2026-11-04T04:55:09.967038Z",
      • "next_run_at": "2027-01-07T10:40:00.000000Z",
      • "run_at": null,
      • "end_at": null,
      • "action": "generate",
      • "new_commits_only": true,
      • "git_rev": "redundant",
      • "auto_continue_wait_steps": false,
      • "commit_file_patterns": [
        ],
      • "commit_file_pattern_match": "any",
      • "enabled": true,
      • "project_name": "OpsChain",
      • "project_code": "opc",
      • "settings_overrides": {
        },
      • "asset_code": null,
      • "asset_name": null,
      • "environment_code": "dev",
      • "environment_name": "Development",
      • "git_remote_name": "github"
      },
    • "relationships": {
      • "parents": {
        }
      },
    • "links": {
      • "git_remote": "/api/projects/opc/git_remotes/01a1a4e9-26ed-76bf-b0ca-218ceec45bd9",
      • "project": "/api/projects/opc",
      • "parent": "/api/projects/opc/environments/dev",
      • "self": "/api/scheduled_activities/01a1a4e9-3792-7471-adbb-9a62ee3d8b36"
      }
    }
}

Delete activity

Delete a scheduled activity.

path Parameters
scheduled_change_id
required
string
Example: 01a1a4e9-3792-7471-adbb-9a62ee3d8b36

scheduled change id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the scheduled change",
      • "detail": "Your authorisation rules let you view the scheduled change but not delete it."
      }
    ]
}

Steps

Endpoints to interact with change steps.

List steps

Lists all steps.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[action_eq]=provision

API filtering guide. Named filters: filter[active_over], filter[finished], filter[waiting_for_user], filter[waiting_to_run], filter[with_input_arguments], filter[without_input_arguments].

limit
integer [ 1 .. 1000 ]
Default: 1000
Example: limit=50

Limit the number of steps returned

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-42a2-7182-9f1b-efca79b39e4e",
      • "type": "step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ],
  • "meta": {
    • "partial_response": false
    }
}

Show step

Shows a change step.

path Parameters
step_id
required
string
Example: 01a1a4e9-3423-794d-867f-c060e0a591ca

step id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-4508-7a83-aff4-5fab3c15abbf",
    • "type": "step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "continued_by": [ ],
      • "requires_approval_from": null,
      • "action": "navigate",
      • "change_id": "01a1a4ed-4503-7c08-8d4c-e6eec1b71bdb",
      • "child_execution_strategy": "sequential",
      • "full_path": "navigate",
      • "ignore_failure": false,
      • "input_arguments": [ ],
      • "state_timing": {
        },
      • "step_sequence": 1,
      • "step_type": "standard",
      • "description": "Deploy the release to the environment",
      • "step_name": "navigate",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:52:16.940213Z",
      • "started_at": "2026-11-04T04:53:16.940213Z",
      • "finished_at": "2026-11-04T04:55:45.840277Z",
      • "updated_at": "2026-11-04T04:59:35.671079Z",
      • "status_code": "success"
      },
    • "relationships": {
      • "properties": {
        },
      • "children": {
        },
      • "pre_properties_versions": {
        },
      • "post_properties_versions": {
        },
      • "change": {
        }
      },
    • "links": {
      • "parent": "/api/changes/01a1a4ed-4503-7c08-8d4c-e6eec1b71bdb",
      • "change": "/api/projects/opc/environments/dev/changes/01a1a4ed-4503-7c08-8d4c-e6eec1b71bdb",
      • "log_lines": "/api/steps/01a1a4ed-4508-7a83-aff4-5fab3c15abbf/log_lines",
      • "self": "/api/steps/01a1a4ed-4508-7a83-aff4-5fab3c15abbf"
      },
    • "meta": {
      • "property_sources": {
        }
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ed-4437-771e-ac4c-dab0a4e5e5d6",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-449f-7349-89e0-fce92221c67e",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-4522-71f2-b85e-af6ecc6aacea",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-4564-7dd5-853f-dbe69cc8d8b1",
      • "type": "properties",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Continue step

Continues a "waiting" change step.

path Parameters
step_id
required
string
Example: 01a1a4e9-5152-742d-bae1-c17d6f4b4119

step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Manually removed from load balancer.",
      • "input_arguments": {
        }
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-4b01-7365-bdaa-217ccd3935b7",
    • "type": "step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "continued_by": [ ],
      • "requires_approval_from": null,
      • "action": "opschain_wait_step_2",
      • "change_id": "01a1a4ed-4af9-7cec-956a-cf03954ff038",
      • "child_execution_strategy": "sequential",
      • "full_path": "opschain_wait_step_2",
      • "ignore_failure": false,
      • "input_arguments": [ ],
      • "state_timing": {
        },
      • "step_sequence": 1,
      • "step_type": "wait_step",
      • "description": "Deploy the release to the environment",
      • "step_name": "opschain_wait_step_2",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:52:20.692670Z",
      • "started_at": "2026-11-04T04:53:20.692670Z",
      • "finished_at": "2026-11-04T04:59:37.346551Z",
      • "updated_at": "2026-11-04T04:59:37.424912Z",
      • "status_code": "success"
      },
    • "relationships": {
      • "properties": {
        },
      • "children": {
        },
      • "pre_properties_versions": {
        },
      • "post_properties_versions": {
        },
      • "change": {
        }
      },
    • "links": {
      • "parent": "/api/changes/01a1a4ed-4af9-7cec-956a-cf03954ff038",
      • "change": "/api/projects/opc/environments/dev/changes/01a1a4ed-4af9-7cec-956a-cf03954ff038",
      • "log_lines": "/api/steps/01a1a4ed-4b01-7365-bdaa-217ccd3935b7/log_lines",
      • "self": "/api/steps/01a1a4ed-4b01-7365-bdaa-217ccd3935b7"
      },
    • "meta": { }
    }
}

Retry step

Re-runs a failed change step, and the steps below it that failed or did not run, on the existing step records while the rest of the change keeps running. Only a step that failed directly below a step that is still running can be retried, and only while the change is active and not paused. The step's retry link is present when it can be retried. Steps below it that succeeded are not re-run. The retry is logged at the start of the step's log, after the output of the failed attempt.

path Parameters
step_id
required
string
Example: 01a1a4e9-3423-794d-867f-c060e0a591ca

step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Network share restored."
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-56d4-7634-90ea-103b398b3646",
    • "type": "step",
    • "attributes": {
      • "action": "deploy_server",
      • "change_id": "01a1a4ed-567f-7611-9849-32a9f47913b0",
      • "child_execution_strategy": "sequential",
      • "full_path": "input/deploy_server",
      • "ignore_failure": false,
      • "input_arguments": [ ],
      • "state_timing": {
        },
      • "step_sequence": 1,
      • "step_type": "standard",
      • "description": null,
      • "step_name": "deploy_server",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:51:45.849064Z",
      • "started_at": "2026-11-04T04:52:45.849000Z",
      • "finished_at": null,
      • "updated_at": "2026-11-04T04:59:40.302136Z",
      • "status_code": "queued"
      },
    • "relationships": {
      • "properties": {
        },
      • "children": {
        },
      • "pre_properties_versions": {
        },
      • "post_properties_versions": {
        },
      • "change": {
        }
      },
    • "links": {
      • "parent": "/api/steps/01a1a4ed-5683-78b6-a51a-e3910802d763",
      • "change": "/api/projects/opc/environments/dev/changes/01a1a4ed-567f-7611-9849-32a9f47913b0",
      • "log_lines": "/api/steps/01a1a4ed-56d4-7634-90ea-103b398b3646/log_lines",
      • "self": "/api/steps/01a1a4ed-56d4-7634-90ea-103b398b3646"
      },
    • "meta": {
      • "previous_run": {
        }
      }
    }
}

Approve step

Approves a change step that needs approval.

path Parameters
step_id
required
string
Example: 01a1a4e9-5152-742d-bae1-c17d6f4b4119

step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "As per CR 7 👍"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-5e7d-7cbf-8f19-20b9735b0e81",
    • "type": "step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "continued_by": [ ],
      • "requires_approval_from": [
        ],
      • "action": "opschain_wait_step_6",
      • "change_id": "01a1a4ed-5e79-73cd-a0ce-d8bf9310a48c",
      • "child_execution_strategy": "sequential",
      • "full_path": "opschain_wait_step_6",
      • "ignore_failure": false,
      • "input_arguments": [ ],
      • "state_timing": {
        },
      • "step_sequence": 1,
      • "step_type": "wait_step",
      • "description": "Deploy the release to the environment",
      • "step_name": "opschain_wait_step_6",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:51:39.086274Z",
      • "started_at": "2026-11-04T04:52:39.086274Z",
      • "finished_at": null,
      • "updated_at": "2026-11-04T04:59:42.197107Z",
      • "status_code": "queued"
      },
    • "relationships": {
      • "properties": {
        },
      • "children": {
        },
      • "pre_properties_versions": {
        },
      • "post_properties_versions": {
        },
      • "change": {
        }
      },
    • "links": {
      • "parent": "/api/changes/01a1a4ed-5e79-73cd-a0ce-d8bf9310a48c",
      • "change": "/api/projects/opc/environments/dev/changes/01a1a4ed-5e79-73cd-a0ce-d8bf9310a48c",
      • "log_lines": "/api/steps/01a1a4ed-5e7d-7cbf-8f19-20b9735b0e81/log_lines",
      • "self": "/api/steps/01a1a4ed-5e7d-7cbf-8f19-20b9735b0e81"
      },
    • "meta": { }
    }
}

Reject step

Rejects a change step that needs approval.

path Parameters
step_id
required
string
Example: 01a1a4e9-5152-742d-bae1-c17d6f4b4119

step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Failed user acceptance testing"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-66f5-7f8a-81e5-7f7e467bb4fc",
    • "type": "step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "continued_by": [ ],
      • "requires_approval_from": [
        ],
      • "action": "opschain_wait_step_10",
      • "change_id": "01a1a4ed-66f1-7638-921f-8374a56b651c",
      • "child_execution_strategy": "sequential",
      • "full_path": "opschain_wait_step_10",
      • "ignore_failure": false,
      • "input_arguments": [ ],
      • "state_timing": {
        },
      • "step_sequence": 1,
      • "step_type": "wait_step",
      • "description": "Deploy the release to the environment",
      • "step_name": "opschain_wait_step_10",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:53:39.888010Z",
      • "started_at": "2026-11-04T04:54:39.888010Z",
      • "finished_at": "2026-11-04T04:59:44.352016Z",
      • "updated_at": "2026-11-04T04:59:44.369201Z",
      • "status_code": "aborted"
      },
    • "relationships": {
      • "properties": {
        },
      • "children": {
        },
      • "pre_properties_versions": {
        },
      • "post_properties_versions": {
        },
      • "change": {
        }
      },
    • "links": {
      • "parent": "/api/changes/01a1a4ed-66f1-7638-921f-8374a56b651c",
      • "change": "/api/projects/opc/environments/dev/changes/01a1a4ed-66f1-7638-921f-8374a56b651c",
      • "log_lines": "/api/steps/01a1a4ed-66f5-7f8a-81e5-7f7e467bb4fc/log_lines",
      • "self": "/api/steps/01a1a4ed-66f5-7f8a-81e5-7f7e467bb4fc"
      },
    • "meta": { }
    }
}

Show step settings

Show the converged settings for the change containing this step, including any change-specific setting overrides. Unless include_global=true is passed, only the values that differ from the global settings are returned: a setting whose converged value matches the global value is omitted, even when it is set directly on a node, so the response is empty when nothing differs from the global settings.

The response includes a setting_sources meta object that attributes each setting value to its originating source.

path Parameters
step_id
required
string
Example: 01a1a4e9-3423-794d-867f-c060e0a591ca

step id

query Parameters
include_global
boolean
Example: include_global=true

Also return the settings whose converged value matches the global settings

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-708b-744a-aafb-e8e9f9ef3936",
    • "type": "converged_settings",
    • "attributes": {
      • "data": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev/converged_settings"
      },
    • "meta": {
      • "setting_sources": {
        }
      }
    }
}

Show step properties

Converge the properties for a step.

The optional action_stage argument can be:

  • "pre" - to converge the properties as they were supplied to the step action before it executed
  • "post" - to converge the properties as they were after the step action was complete (does not take into account any changes made by the step's children)
path Parameters
step_id
required
string
Example: 01a1a4e9-3423-794d-867f-c060e0a591ca

step id

query Parameters
action_stage
string
Example: action_stage=pre

Converge the pre or post action properties

exclude_layers[]
string
Example: exclude_layers[]=template

Exclude a property layer from the converged result. Repeat the parameter to exclude several layers, e.g. > exclude_layers[]=template&exclude_layers[]=asset. Suffix a layer with _repository or _database to exclude only that half of it, e.g. > exclude_layers[]=asset_repository. The layers available for the node, and whether each one is currently included, are listed in the property_layers response meta. The template layer covers the properties files held under the <template code> folder of the template repository, as well as the template's database properties; the template_version layer covers the template version database properties only. Excluding a layer is a preview - the result is not cached and nothing is persisted.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "connect (post)",
    • "type": "converged_properties",
    • "attributes": {
      • "data": {
        }
      },
    • "relationships": {
      • "repository_properties": {
        },
      • "properties": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/environments/dev/converged_properties"
      },
    • "meta": {
      • "property_sources": {
        },
      • "property_layers": [
        ]
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ed-73df-705d-88ff-999bcf8f0f86",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-741d-7ca9-a1d2-e8ae97fd3ed2",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ed-746a-7160-8e90-c30af04239b3",
      • "type": "properties_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ]
}

Log lines

Endpoints to query log lines for changes and individual change steps.

List change log lines

List the log lines for a change.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721
query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
download
string
Example: download=change.log

Download the log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-3aad-727f-952b-bed56bb8f72f",
      • "type": "log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

List step log lines

List the log lines for a change step.

path Parameters
step_id
required
string
Example: 01a1a4e9-3423-794d-867f-c060e0a591ca
query Parameters
include_child_steps
boolean
Example: include_child_steps=true

Whether to include logs for steps that are children of this step

filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
download
string
Example: download=step.log

Download the log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-3d6e-73cb-86f7-c1d83264fa3c",
      • "type": "log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

List filtered log lines

List filtered log lines.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
limit
integer [ 1 .. 10000 ]
Default: 10000
Example: limit=50

Limit the number of log lines returned

download
string
Example: download=opschain.log

Download the filtered log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-4113-72b6-a290-697e98b9b3cb",
      • "type": "log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

List workflow run log lines

List the workflow run log lines for a workflow run.

path Parameters
workflow_run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147
query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
download
string
Example: download=workflow_run.log

Download the log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ee-1099-78d8-b6de-eebe40b7e2b0",
      • "type": "log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

List workflow step log lines

List the log lines for a workflow step.

path Parameters
workflow_step_id
required
string
Example: 01a1a4e9-558e-7c69-a534-d7608e1c1544
query Parameters
include_child_steps
boolean
Example: include_child_steps=true

Whether to include logs for steps that are children of this step

filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
download
string
Example: download=workflow_step.log

Download the log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ee-1dd5-7904-86a7-31ab6f1c3280",
      • "type": "log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

List filtered workflow run log lines

List filtered workflow run log lines for a workflow run or workflow step.

query Parameters
workflow_run_id
string
Example: workflow_run_id=01a1a4e9-5579-7bce-913b-068d5b74a147

The workflow run to list log lines for. Required unless workflow_step_id is supplied.

workflow_step_id
string
Example: workflow_step_id=01a1a4e9-558e-7c69-a534-d7608e1c1544

The workflow step to list log lines for. Required unless workflow_run_id is supplied.

filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[message_cont]=dolorem
limit
integer [ 1 .. 10000 ]
Default: 10000
Example: limit=50

Limit the number of workflow run log lines returned

download
string
Example: download=opschain.log

Download the filtered log lines wth the specified file name. The logs will be ordered from oldest to newest when this parameter is specified, irrespective of the sort order requested.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ee-2c48-7b79-a679-ef51b4fbae15",
      • "type": "log_line",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Artifacts

Endpoints to store, list and retrieve artifacts. Every artifacts and artifact_loads path also answers on its artefacts and artefact_loads spelling, and responses always use artifacts.

List artifact loads

Lists the artifact versions loaded by a specific change (across all of its steps), newest first by default. Every load is recorded, so a version loaded more than once appears once per load. Use include=artifact to include the loaded artifact versions (include=artefact is also accepted).

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

query Parameters
include
string
Example: include=artifact

Comma-separated relationships to include: artifact (or artefact), step.

limit
integer >= 1
Example: limit=50

Limit the number of loads returned. When more records match than the limit a 206 response is returned and meta.partial_response is true. Fetch the next page by adding a filter[created_at_lt] cursor.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4e9-baf2-70b0-b16d-85e6e5b2ffad",
      • "type": "artifact_load",
      • "attributes": {
        },
      • "relationships": {
        }
      }
    ],
  • "included": [
    • {
      • "id": "01a1a4e9-ba17-77c8-ac1e-6b8f6e218535",
      • "type": "artifact",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

List artifact loads

Lists the artifact versions loaded by a specific step, newest first by default. Every load is recorded, so a version loaded more than once appears once per load. Use include=artifact to include the loaded artifact versions (include=artefact is also accepted).

path Parameters
step_id
required
string
Example: 01a1a4e9-3423-794d-867f-c060e0a591ca

step id

query Parameters
include
string
Example: include=artifact

Comma-separated relationships to include: artifact (or artefact), step.

limit
integer >= 1
Example: limit=50

Limit the number of loads returned. When more records match than the limit a 206 response is returned and meta.partial_response is true. Fetch the next page by adding a filter[created_at_lt] cursor.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4e9-c0de-7375-8405-ed93c6fd373a",
      • "type": "artifact_load",
      • "attributes": {
        },
      • "relationships": {
        }
      }
    ],
  • "included": [
    • {
      • "id": "01a1a4e9-c023-734c-8716-d6a659e5bfd2",
      • "type": "artifact",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

List all artifacts

Lists the artifacts of every project, environment and asset the user can read, newest first by default. An artifact is only listed when the user can read both its project, environment or asset and that node's artifacts. meta.has_any reports whether the user can read any artifact at all, regardless of the filter. meta.total_matching_filter counts the artifacts matching the filter, stopping at 1000 (or one past the returned page, when the limit is larger) - meta.total_matching_filter_exact reports whether the count is exact.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[parent_path_eq]=/projects/web

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in], filter[latest_per_code], filter[with_label]. Filter by location with filter[parent_path_eq]=<node path>, and include the nodes beneath it with filter[g][0][m]=or&filter[g][0][parent_path_eq]=<node path>&filter[g][0][parent_path_start]=<node path>/. Filter by code_eq, description_cont, created_by_eq, node_id_eq, step_change_id_eq, by label with filter[with_label]=<label>, by purge state with filter[purged_at_null]=true|false, and by file details with filename_cont, content_type_eq and byte_size_gt/byte_size_lt. Search by part of a label with filter[labels_text_cont]=<text>, or across the code, description, filename, labels, creator and location with filter[free_text_cont]=<text>. Use filter[latest_per_code]=true to list one row per node and code. Sort with filter[sorts]=<attribute> asc|desc, where the attribute is created_at, code, filename, content_type or byte_size.

limit
integer [ 1 .. 1000 ]
Example: limit=50

Limit the number of artifacts returned (default 100, maximum 1000). When more records match than the limit a 206 response is returned and meta.partial_response is true. Fetch the next page by adding a filter[created_at_lt] (or created_at_gt when sorting ascending) cursor.

include
string
Example: include=node

Include the project, environment or asset each artifact belongs to with include=node.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4e9-c761-7b36-bc37-b4b1dbba6a31",
      • "type": "artifact",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "included": [
    • {
      • "id": "01a1a4e9-c6e3-701f-aa94-f6e5e229d0e0",
      • "type": "asset",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false,
    • "has_any": true,
    • "total_matching_filter": 1,
    • "total_matching_filter_exact": true
    }
}

Create artifact

Manually uploads an artifact for a specific project, environment or asset - for example, publishing a hand-built hotfix outside of a change.

Request Body schema: multipart/form-data
data
string

JSON-encoded object with code, node_id and optional labels (at most 20, each at most 100 characters and containing no commas) and description (maximum 1000 characters) attributes

file
string <binary>

the artifact file content

Responses

Request samples

Content type
multipart/form-data
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="data"

{"code":"hotfix","node_id":"01a1a4e9-cd47-77da-b7ea-bd7e631175d5","labels":["hotfix-2026-09-22"],"description":"Hand-built hotfix for the September release"}
------------XnJLe9ZIbbGUYtzPQJ16u1
content-disposition: form-data; name="file"; filename="sample.txt"
content-type: text/plain
content-length: 21

Sample file property

------------XnJLe9ZIbbGUYtzPQJ16u1--

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4e9-ce39-7787-9d7f-58e0648d27ac",
    • "type": "artifact",
    • "attributes": {
      • "code": "hotfix",
      • "description": "Hand-built hotfix for the September release",
      • "labels": [
        ],
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:55:48.536597Z",
      • "purged_at": null,
      • "byte_size": 21,
      • "content_type": "text/plain",
      • "filename": "sample.txt"
      },
    • "relationships": {
      • "node": {
        }
      },
    • "links": {
      • "self": "/api/artifacts/01a1a4e9-ce39-7787-9d7f-58e0648d27ac"
      }
    }
}

Create artifact upload target

Creates an artifact record and returns a signed direct upload target for its content. PUT the file content to meta.upload_url, sending the meta.upload_headers, to complete the upload.

Request Body schema: application/x-www-form-urlencoded
data
string

JSON-encoded object with code, node_id, filename, byte_size, checksum and content_type attributes, and optional labels (at most 20, each at most 100 characters and containing no commas), description (maximum 1000 characters) and step_id attributes

Responses

Request samples

Content type
application/x-www-form-urlencoded
data=%7B%22code%22%3A%22hotfix%22%2C%22node_id%22%3A%2201a1a4e9-d257-70e9-a41e-d92e776d87a4%22%2C%22labels%22%3A%5B%22hotfix-2026-09-22%22%5D%2C%22description%22%3A%22Hand-built+hotfix+for+the+September+release%22%2C%22filename%22%3A%22sample.txt%22%2C%22byte_size%22%3A21%2C%22checksum%22%3A%229V61v4%2FdxeJDNTy0baxWzQ%3D%3D%22%2C%22content_type%22%3A%22text%2Fplain%22%7D

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4e9-d35b-75ba-81dd-4218202b085a",
    • "type": "artifact",
    • "attributes": {
      • "code": "hotfix",
      • "description": "Hand-built hotfix for the September release",
      • "labels": [
        ],
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:55:49.850601Z",
      • "purged_at": null,
      • "byte_size": null,
      • "content_type": null,
      • "filename": null
      },
    • "relationships": {
      • "node": {
        }
      },
    • "links": {
      • "self": "/api/artifacts/01a1a4e9-d35b-75ba-81dd-4218202b085a"
      }
    },
  • "meta": {
    • "signed_id": "eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBDdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--51438c092038e81de0c279216dd00b324c18699f",
    • "upload_url": "/api/artifact_direct_uploads/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDam9JYTJWNVNTSWhNSFo2YUd0MGREUjRiWEY1WkhvNGIzZHFhak4xWjNsMVpUYzROUVk2QmtWR09oRmpiMjUwWlc1MFgzUjVjR1ZKSWc5MFpYaDBMM0JzWVdsdUJqc0dWRG9OWTJobFkydHpkVzFKSWgwNVZqWXhkalF2WkhobFNrUk9WSGt3WW1GNFYzcFJQVDBHT3daVU9nNXlaV052Y21SZmFXUkpJaWt3TVdFeFlUUmxPUzFrTXpWaUxUYzFZbUV0T0RGa1pDMDBNakU0TWpBeVlqQTROV0VHT3daVU9oRnpaWEoyYVdObFgyNWhiV1U2R25CdmMzUm5jbVZ6WDJ4aGNtZGxiMkpxWldOMGN3PT0iLCJleHAiOiIyMDI2LTExLTA0VDA1OjAwOjQ5Ljg1M1oiLCJwdXIiOiJibG9iX3Rva2VuIn19--afaf92fb491884fa57c653e4e41df3445ff40554",
    • "upload_headers": {
      • "Content-Type": "text/plain"
      }
    }
}

Show artifact

Show an artifact.

path Parameters
artifact_id
required
string
Example: 01a1a4e9-352b-75af-976d-185fc61b4cac

artifact id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4e9-d523-73c3-b42e-3fa71b1da616",
    • "type": "artifact",
    • "attributes": {
      • "code": "war",
      • "description": "Voluptatum magnam accusantium autem.",
      • "labels": [
        ],
      • "created_by": "opschain",
      • "created_by_name": "opschain",
      • "created_at": "2026-11-04T04:55:50.305938Z",
      • "purged_at": null,
      • "byte_size": 24,
      • "content_type": "application/octet-stream",
      • "filename": "app.war"
      },
    • "relationships": {
      • "node": {
        }
      },
    • "links": {
      • "self": "/api/artifacts/01a1a4e9-d523-73c3-b42e-3fa71b1da616"
      }
    }
}

Download artifact

Streams the artifact file content.

path Parameters
artifact_id
required
string
Example: 01a1a4e9-352b-75af-976d-185fc61b4cac

artifact id

Responses

Response samples

Content type
application/octet-stream
<binary data>

Get artifact download target

Returns a signed, time-limited URL to download the artifact file content from.

path Parameters
artifact_id
required
string
Example: 01a1a4e9-352b-75af-976d-185fc61b4cac

artifact id

query Parameters
step_id
string

records an artifact load against this step. Only accepted when the request is authenticated with the API key of the change that owns the step

Responses

Response samples

Content type
application/vnd.api+json
{
  • "meta": {
    • "download_url": "/api/artifact_blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhjSFY1WnpVeGNEQjJaM051TkRNMVpUVjVZVGwwTlRZeFpYaHZhQVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUFdGMGRHRmphRzFsYm5RN0lHWnBiR1Z1WVcxbFBTSmhjSEF1ZDJGeUlqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZGhjSEF1ZDJGeUJqc0dWRG9SWTI5dWRHVnVkRjkwZVhCbFNTSWRZWEJ3YkdsallYUnBiMjR2YjJOMFpYUXRjM1J5WldGdEJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ocHdiM04wWjNKbGMxOXNZWEpuWlc5aWFtVmpkSE09IiwiZXhwIjoiMjAyNi0xMS0wNFQwNTowMDo1My42MThaIiwicHVyIjoiYmxvYl9rZXkifX0=--7b683dc804376760fc808ea6cfee0d7dab9de5a6/app.war",
    • "download_headers": { }
    }
}

Get latest matching artifact download target

Returns a signed, time-limited URL to download the newest complete artifact with the supplied code (and labels) from the supplied project, environment or asset.

query Parameters
node_id
string
Example: node_id=01a1a4e9-2904-7a1e-8207-87e13c269879

id of the project, environment or asset the artifact belongs to

code
string
Example: code=war

artifact code

labels
string
Example: labels=v1.2.3

comma-separated labels the artifact must carry - when several are supplied, the artifact must carry all of them

step_id
string

records an artifact load against this step. Only accepted when the request is authenticated with the API key of the change that owns the step

Responses

Response samples

Content type
application/vnd.api+json
{
  • "meta": {
    • "download_url": "/api/artifact_blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdDVG9JYTJWNVNTSWhlbVZ6ZG1RM05IRjJhR1l3Y0hsak1HNW1Oek5vWm13MmNuZG1iUVk2QmtWVU9oQmthWE53YjNOcGRHbHZia2tpUFdGMGRHRmphRzFsYm5RN0lHWnBiR1Z1WVcxbFBTSmhjSEF1ZDJGeUlqc2dabWxzWlc1aGJXVXFQVlZVUmkwNEp5ZGhjSEF1ZDJGeUJqc0dWRG9SWTI5dWRHVnVkRjkwZVhCbFNTSWRZWEJ3YkdsallYUnBiMjR2YjJOMFpYUXRjM1J5WldGdEJqc0dWRG9SYzJWeWRtbGpaVjl1WVcxbE9ocHdiM04wWjNKbGMxOXNZWEpuWlc5aWFtVmpkSE09IiwiZXhwIjoiMjAyNi0xMS0wNFQwNTowMDo1NS41NzVaIiwicHVyIjoiYmxvYl9rZXkifX0=--6ff896463cde3dff6339242fdb889a04eaf6303f/app.war",
    • "download_headers": { }
    }
}

Download latest matching artifact

Streams the file content of the newest complete artifact with the supplied code (and labels) from the supplied project, environment or asset.

query Parameters
node_id
string
Example: node_id=01a1a4e9-2904-7a1e-8207-87e13c269879

id of the project, environment or asset the artifact belongs to

code
string
Example: code=war

artifact code

labels
string
Example: labels=v1.2.3

comma-separated labels the artifact must carry - when several are supplied, the artifact must carry all of them

Responses

Response samples

Content type
application/octet-stream
<binary data>

Upload artifact content

Uploads the file content for an artifact created by POST /artifacts/upload_target. This is the meta.upload_url that endpoint returns - the signed id authorises the request, so no further authentication is required. The content must match the declared checksum.

path Parameters
signed_id
required
string

the signed id from the upload_url returned by POST /artifacts/upload_target

Request Body schema: application/octet-stream
string <binary>

Responses

Download artifact content

Streams the artifact file content. This is the meta.download_url returned by the download target endpoints - the signed id authorises the request, so no further authentication is required.

path Parameters
signed_id
required
string

the signed id from the download_url returned by a download target endpoint

filename
required
string
Example: app.war

the artifact filename

Responses

Response samples

Content type
application/octet-stream
<binary data>

List artifacts

Lists all artifacts for a specific project, environment or asset, newest first by default. Use filter[latest_per_code]=true to list one row per code (the newest complete version, falling back to the newest purged version), each carrying a versions_count attribute. meta.total_matching_filter counts the artifacts matching the filter, stopping at 1000 (or one past the returned page, when the limit is larger) - meta.total_matching_filter_exact reports whether the count is exact.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=war

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in], filter[latest_per_code], filter[with_label]. Filter by code_eq, by label with filter[with_label]=<label> (repeat it as filter[with_label][]=<label> to give several labels, all of which must match) (combined with filter[latest_per_code]=true the labels are applied before the per-code pick, so each code returns its newest version carrying them, while versions_count still counts every complete version of the code), by purge state with filter[purged_at_null]=true|false, by part of a label with filter[labels_text_cont]=<text>, across the code, description, filename, labels, creator and location with filter[free_text_cont]=<text>, and sort with filter[sorts]=created_at asc. Unlike with_label, every other filter, labels_text_cont and free_text_cont included, applies after the per-code pick, so it only matches the version that pick returns.

limit
integer >= 1
Example: limit=50

Limit the number of artifacts returned. When more records match than the limit a 206 response is returned and meta.partial_response is true. Fetch the next page by adding a filter[created_at_lt] (or created_at_gt when sorting ascending) cursor.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-0172-7c08-9502-0484a6675b41",
      • "type": "artifact",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false,
    • "total_matching_filter": 1,
    • "total_matching_filter_exact": true
    }
}

List artifacts

Lists all artifacts for a specific change (the artefacts produced by its steps), newest first by default. Use filter[latest_per_code]=true to list one row per code (the newest complete version, falling back to the newest purged version), each carrying a versions_count attribute. meta.total_matching_filter counts the artifacts matching the filter, stopping at 1000 (or one past the returned page, when the limit is larger) - meta.total_matching_filter_exact reports whether the count is exact.

path Parameters
change_id
required
string
Example: 01a1a4e9-337d-74f3-abdb-b9ac79247721

change id

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=war

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in], filter[latest_per_code], filter[with_label]. Filter by code_eq, by label with filter[with_label]=<label> (repeat it as filter[with_label][]=<label> to give several labels, all of which must match) (combined with filter[latest_per_code]=true the labels are applied before the per-code pick, so each code returns its newest version carrying them, while versions_count still counts every complete version of the code), by purge state with filter[purged_at_null]=true|false, by part of a label with filter[labels_text_cont]=<text>, across the code, description, filename, labels, creator and location with filter[free_text_cont]=<text>, and sort with filter[sorts]=created_at asc. Unlike with_label, every other filter, labels_text_cont and free_text_cont included, applies after the per-code pick, so it only matches the version that pick returns.

limit
integer >= 1
Example: limit=50

Limit the number of artifacts returned. When more records match than the limit a 206 response is returned and meta.partial_response is true. Fetch the next page by adding a filter[created_at_lt] (or created_at_gt when sorting ascending) cursor.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-0706-74ff-8cf2-950fa95aa1af",
      • "type": "artifact",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false,
    • "total_matching_filter": 1,
    • "total_matching_filter_exact": true
    }
}

List artifacts

Lists all artifacts for a specific step (the artefacts it produced), newest first by default. Use filter[latest_per_code]=true to list one row per code (the newest complete version, falling back to the newest purged version), each carrying a versions_count attribute. meta.total_matching_filter counts the artifacts matching the filter, stopping at 1000 (or one past the returned page, when the limit is larger) - meta.total_matching_filter_exact reports whether the count is exact.

path Parameters
step_id
required
string
Example: 01a1a4e9-3423-794d-867f-c060e0a591ca

step id

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=war

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in], filter[latest_per_code], filter[with_label]. Filter by code_eq, by label with filter[with_label]=<label> (repeat it as filter[with_label][]=<label> to give several labels, all of which must match) (combined with filter[latest_per_code]=true the labels are applied before the per-code pick, so each code returns its newest version carrying them, while versions_count still counts every complete version of the code), by purge state with filter[purged_at_null]=true|false, by part of a label with filter[labels_text_cont]=<text>, across the code, description, filename, labels, creator and location with filter[free_text_cont]=<text>, and sort with filter[sorts]=created_at asc. Unlike with_label, every other filter, labels_text_cont and free_text_cont included, applies after the per-code pick, so it only matches the version that pick returns.

limit
integer >= 1
Example: limit=50

Limit the number of artifacts returned. When more records match than the limit a 206 response is returned and meta.partial_response is true. Fetch the next page by adding a filter[created_at_lt] (or created_at_gt when sorting ascending) cursor.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-0d36-755a-bada-04eda2d34dd6",
      • "type": "artifact",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false,
    • "total_matching_filter": 1,
    • "total_matching_filter_exact": true
    }
}

Workflow runs

Endpoints to interact with workflow runs

Notes:

  • The list and show endpoints are available via the following paths:
    1. /workflow_runs - will return all workflow runs accessible to the user.
    2. /project/{project_code}/workflow_runs - will return all workflow runs for all this project's workflows.
    3. /project/{project_code}/workflows/{workflow_code}/workflow_runs - will return all workflow runs this workflow.
    4. /<path/to/asset>/workflow_runs - will return all workflow runs that include a change for this asset.

List all workflow runs

Lists all workflow runs.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[created_by_cont]=opschain

API filtering guide. Named filters: filter[active_over], filter[created_by_eq], filter[created_by_in], filter[exclude_archived]. Use filter[exclude_archived]=true to leave out workflow runs whose workflow, workflow version or project is archived.

limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of workflow runs returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ee-3531-7a72-9a97-af8533133a81",
      • "type": "workflow_run",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      },
    • {
      • "id": "01a1a4ee-3065-75d1-addc-d690f697a495",
      • "type": "workflow_run",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ],
  • "included": [
    • {
      • "id": "01a1a4ee-350c-7a55-8a49-4f76132ec7dd",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-2fbf-7b44-8bb3-8d1a7f75b90e",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true,
      • "execute": true
      },
    • "partial_response": false
    }
}

Run a workflow

Runs a pre-defined workflow.

Supplying the retry attribute (together with a workflow_run relationship) retries an existing workflow run that finished in an error, cancelled or aborted state instead of running a workflow from scratch. The retry creates a new workflow run; the original workflow run is left untouched.

Request Body schema: application/vnd.api+json
One of
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "project_code": "opc",
      • "workflow_code": "assets"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ee-3dea-7c06-8ee5-fb0105f8b348",
    • "type": "workflow_run",
    • "attributes": {
      • "step_tree": {
        },
      • "scheduled": false,
      • "metadata": { },
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "cancelled_by": null,
      • "notify": { },
      • "skip_steps": [ ],
      • "pause_state": "none",
      • "status_code": "pending",
      • "paused": false,
      • "paused_by": [ ],
      • "created_at": "2026-11-04T05:00:39.272057Z",
      • "started_at": null,
      • "finished_at": null,
      • "updated_at": "2026-11-04T05:00:39.322909Z",
      • "paused_at": null,
      • "project_name": "OpsChain",
      • "workflow_code": "assets"
      },
    • "relationships": {
      • "workflow_version": {
        },
      • "workflow": {
        },
      • "parent_workflow_step": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "override_properties": {
        }
      },
    • "links": {
      • "parent": "/api/projects/opc",
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ee-3dea-7c06-8ee5-fb0105f8b348",
      • "log_lines": "/api/workflow_runs/01a1a4ee-3dea-7c06-8ee5-fb0105f8b348/log_lines",
      • "pause": "/api/workflow_runs/01a1a4ee-3dea-7c06-8ee5-fb0105f8b348/pause"
      },
    • "meta": { }
    },
  • "included": [
    • {
      • "id": "01a1a4ee-37ef-72f6-ab3c-362ef4d00177",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-3e11-78a9-88a0-98c2b22d5c93",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-3e2d-7841-b40c-21852083170d",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Show workflow run

Shows a workflow run.

path Parameters
run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ee-62bb-7706-a7c0-40ff8b3fcc4b",
    • "type": "workflow_run",
    • "attributes": {
      • "step_tree": {
        },
      • "scheduled": false,
      • "metadata": {
        },
      • "created_by": "tammara_donnelly-4062",
      • "created_by_name": "tammara_donnelly-4062",
      • "cancelled_by": null,
      • "notify": { },
      • "skip_steps": [ ],
      • "pause_state": "none",
      • "status_code": "success",
      • "paused": false,
      • "paused_by": [ ],
      • "created_at": "2026-11-04T05:00:48.698274Z",
      • "started_at": "2026-11-04T04:51:23.991655Z",
      • "finished_at": "2026-11-04T04:55:40.795268Z",
      • "updated_at": "2026-11-04T05:00:48.718603Z",
      • "paused_at": null,
      • "project_name": "OpsChain",
      • "workflow_code": "assets"
      },
    • "relationships": {
      • "workflow_version": {
        },
      • "workflow": {
        },
      • "parent_workflow_step": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "override_properties": {
        }
      },
    • "links": {
      • "parent": "/api/projects/opc",
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ee-62bb-7706-a7c0-40ff8b3fcc4b",
      • "log_lines": "/api/workflow_runs/01a1a4ee-62bb-7706-a7c0-40ff8b3fcc4b/log_lines"
      },
    • "meta": {
      • "wait_queue": [ ],
      • "blocking_queue": [ ],
      • "authorisations": {
        }
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ee-6237-78ea-b93a-caecb228f946",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-62c8-7505-969f-0d006de50e4a",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-62da-75b4-92f2-2d94ab3a70ce",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-6679-7f8c-a69c-6c3291cbb0ee",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-668b-7850-b62b-1203866c8227",
      • "type": "workflow_wait_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-6745-7c76-82c4-21cdb17ecee5",
      • "type": "workflow_workflow_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-64a4-72dd-ae77-73f7c4b98386",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Cancel workflow run

Cancels a workflow run.

path Parameters
run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to cancel the workflow run",
      • "detail": "Your authorisation rules let you view the workflow run but not cancel it."
      }
    ]
}

Pause workflow run

Pauses a running workflow run. Steps already running finish, but no further steps are dispatched until the run is resumed.

path Parameters
run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "reason": "Holding this run until the database maintenance window closes"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ee-81ff-71a3-9919-3068c867a65e",
    • "type": "workflow_run",
    • "attributes": {
      • "step_tree": {
        },
      • "scheduled": false,
      • "metadata": {
        },
      • "created_by": "cary-4194",
      • "created_by_name": "cary-4194",
      • "cancelled_by": null,
      • "notify": { },
      • "skip_steps": [ ],
      • "pause_state": "paused",
      • "status_code": "running",
      • "paused": true,
      • "paused_by": [
        ],
      • "created_at": "2026-11-04T05:00:56.701877Z",
      • "started_at": "2026-11-04T04:52:33.118011Z",
      • "finished_at": null,
      • "updated_at": "2026-11-04T05:00:56.721476Z",
      • "paused_at": "2026-11-04T05:00:57.541594Z",
      • "project_name": "OpsChain",
      • "workflow_code": "assets"
      },
    • "relationships": {
      • "workflow_version": {
        },
      • "workflow": {
        },
      • "parent_workflow_step": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "override_properties": {
        }
      },
    • "links": {
      • "parent": "/api/projects/opc",
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ee-81ff-71a3-9919-3068c867a65e",
      • "log_lines": "/api/workflow_runs/01a1a4ee-81ff-71a3-9919-3068c867a65e/log_lines",
      • "resume": "/api/workflow_runs/01a1a4ee-81ff-71a3-9919-3068c867a65e/resume"
      },
    • "meta": { }
    }
}

Resume workflow run

Resumes a paused workflow run, dispatching the steps that were held while it was paused.

path Parameters
run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "reason": "Maintenance window closed"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ee-9d22-7478-a56f-156b631aa590",
    • "type": "workflow_run",
    • "attributes": {
      • "step_tree": {
        },
      • "scheduled": false,
      • "metadata": {
        },
      • "created_by": "courtney-4298",
      • "created_by_name": "courtney-4298",
      • "cancelled_by": null,
      • "notify": { },
      • "skip_steps": [ ],
      • "pause_state": "none",
      • "status_code": "running",
      • "paused": false,
      • "paused_by": [
        ],
      • "created_at": "2026-11-04T05:01:03.649056Z",
      • "started_at": "2026-11-04T04:55:21.459646Z",
      • "finished_at": null,
      • "updated_at": "2026-11-04T05:01:03.665134Z",
      • "paused_at": null,
      • "project_name": "OpsChain",
      • "workflow_code": "assets"
      },
    • "relationships": {
      • "workflow_version": {
        },
      • "workflow": {
        },
      • "parent_workflow_step": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "override_properties": {
        }
      },
    • "links": {
      • "parent": "/api/projects/opc",
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ee-9d22-7478-a56f-156b631aa590",
      • "log_lines": "/api/workflow_runs/01a1a4ee-9d22-7478-a56f-156b631aa590/log_lines",
      • "pause": "/api/workflow_runs/01a1a4ee-9d22-7478-a56f-156b631aa590/pause"
      },
    • "meta": { }
    }
}

List workflow runs (workflow specific)

Lists all runs for a workflow.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[created_by_cont]=opschain

API filtering guide. Named filters: filter[active_over], filter[created_by_eq], filter[created_by_in], filter[exclude_archived]. Use filter[exclude_archived]=true to leave out workflow runs whose workflow, workflow version or project is archived.

limit
integer [ 1 .. 10000 ]
Default: 100
Example: limit=50

Limit the number of workflow runs returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ee-b798-7d17-bf21-d7f9ea4f5c07",
      • "type": "workflow_run",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        },
      • "meta": { }
      }
    ],
  • "included": [
    • {
      • "id": "01a1a4ee-b73d-7546-8e11-6f02d6bfe2e3",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true,
      • "execute": true
      },
    • "partial_response": false
    }
}

Run a workflow (workflow specific)

Runs a pre-defined workflow

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "version": 2,
      • "property_overrides": {
        },
      • "metadata": {
        },
      • "notify": {
        },
      • "skip_steps": [
        ]
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ee-c3d4-7c8b-9374-7ad26f9b658a",
    • "type": "workflow_run",
    • "attributes": {
      • "step_tree": {
        },
      • "scheduled": false,
      • "metadata": { },
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "cancelled_by": null,
      • "notify": { },
      • "skip_steps": [ ],
      • "pause_state": "none",
      • "status_code": "pending",
      • "paused": false,
      • "paused_by": [ ],
      • "created_at": "2026-11-04T05:01:13.555420Z",
      • "started_at": null,
      • "finished_at": null,
      • "updated_at": "2026-11-04T05:01:13.576965Z",
      • "paused_at": null,
      • "project_name": "OpsChain",
      • "workflow_code": "assets"
      },
    • "relationships": {
      • "workflow_version": {
        },
      • "workflow": {
        },
      • "parent_workflow_step": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "override_properties": {
        }
      },
    • "links": {
      • "parent": "/api/projects/opc",
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ee-c3d4-7c8b-9374-7ad26f9b658a",
      • "log_lines": "/api/workflow_runs/01a1a4ee-c3d4-7c8b-9374-7ad26f9b658a/log_lines",
      • "pause": "/api/workflow_runs/01a1a4ee-c3d4-7c8b-9374-7ad26f9b658a/pause"
      },
    • "meta": { }
    },
  • "included": [
    • {
      • "id": "01a1a4ee-bdd4-75ae-9763-4688952f5e4e",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-c3e3-7872-a98c-325739876509",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-c3ee-7e06-8092-743e5196c9e8",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Show workflow run (workflow specific)

Shows a workflow run.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ee-de95-7e57-be8e-8fb805fb556d",
    • "type": "workflow_run",
    • "attributes": {
      • "step_tree": {
        },
      • "scheduled": false,
      • "metadata": {
        },
      • "created_by": "libbie-4542",
      • "created_by_name": "libbie-4542",
      • "cancelled_by": null,
      • "notify": { },
      • "skip_steps": [ ],
      • "pause_state": "none",
      • "status_code": "success",
      • "paused": false,
      • "paused_by": [ ],
      • "created_at": "2026-11-04T05:01:20.403550Z",
      • "started_at": "2026-11-04T04:55:55.869892Z",
      • "finished_at": "2026-11-04T04:57:16.067845Z",
      • "updated_at": "2026-11-04T05:01:20.427429Z",
      • "paused_at": null,
      • "project_name": "OpsChain",
      • "workflow_code": "assets"
      },
    • "relationships": {
      • "workflow_version": {
        },
      • "workflow": {
        },
      • "parent_workflow_step": {
        },
      • "root_step": {
        },
      • "steps": {
        },
      • "override_properties": {
        }
      },
    • "links": {
      • "parent": "/api/projects/opc",
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ee-de95-7e57-be8e-8fb805fb556d",
      • "log_lines": "/api/workflow_runs/01a1a4ee-de95-7e57-be8e-8fb805fb556d/log_lines"
      },
    • "meta": {
      • "wait_queue": [ ],
      • "blocking_queue": [ ],
      • "authorisations": {
        }
      }
    },
  • "included": [
    • {
      • "id": "01a1a4ee-ddfb-725d-93e9-bfcc23b10410",
      • "type": "workflow_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-dea3-7437-9ee5-deff5ba2fb12",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-deba-7adb-aa78-ca525e57b898",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-e24d-7d67-bf77-1b204912c48e",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-e262-7384-a097-11a9a8f90f4f",
      • "type": "workflow_wait_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-e31a-7296-aed7-df38b22bc4f6",
      • "type": "workflow_workflow_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ee-e0ce-7295-a2c4-3974daa0a990",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Cancel workflow run (workflow specific)

Cancels a workflow run.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to cancel the workflow run",
      • "detail": "Your authorisation rules let you view the workflow run but not cancel it."
      }
    ]
}

Workflow steps

Endpoints to interact with the steps in a workflow run

List all workflow steps

Lists all workflow steps.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[status_code_eq]=running

API filtering guide. Named filters: filter[active_over], filter[finished], filter[waiting_for_user], filter[waiting_to_run].

limit
integer [ 1 .. 1000 ]
Default: 1000
Example: limit=50

Limit the number of workflow steps returned

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ef-05b5-790a-93e9-26e42b6378b2",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-05c5-7d18-97f2-ebf023e84828",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0973-772f-90c2-ad3a54687526",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0985-75f9-bf47-1e58c3024d60",
      • "type": "workflow_wait_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0a6f-714b-9145-fc18d3119d5e",
      • "type": "workflow_workflow_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0c03-7c97-905f-4d54118b2235",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0c12-7dd1-b41a-7620ae80334b",
      • "type": "workflow_wait_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0c23-754b-bc1e-ecdb9930b6b1",
      • "type": "workflow_workflow_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0785-7d48-87af-49a72d9d508a",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-0a63-76da-989e-5be0782a8b25",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "execute": true
      },
    • "partial_response": false
    }
}

Show a workflow step

Shows a workflow step.

path Parameters
step_id
required
string
Example: 01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c

workflow step id

Responses

Response samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "id": "01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c",
    • "type": "workflow_change_step",
    • "attributes": {
      • "lock_version": 1,
      • "created_by": "kurtis-130",
      • "created_by_name": "kurtis-130",
      • "name": "parse",
      • "step_sequence": 5,
      • "status_code": "pending",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:55:19.993886Z",
      • "started_at": null,
      • "finished_at": null,
      • "updated_at": "2026-11-04T04:55:20.005621Z",
      • "ignore_failure": false,
      • "action": "parse",
      • "property_overrides": {
        }
      },
    • "relationships": {
      • "change": {
        },
      • "change_parent": {
        },
      • "action_template_version": {
        },
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4e9-5579-7bce-913b-068d5b74a147/steps/01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c",
      • "log_lines": "/api/workflow_steps/01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4e9-5579-7bce-913b-068d5b74a147/steps/01a1a4e9-558e-7c69-a534-d7608e1c1544",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4e9-5579-7bce-913b-068d5b74a147"
      }
    }
}

Continue workflow step

Continues a "waiting" workflow step. To approve/reject a workflow step that needs approval see the approve workflow step API endpoint.

path Parameters
step_id
required
string
Example: 01a1a4e9-5f1d-78bf-90b4-5cb68a4c28bc

workflow step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Done sanity checks. Ok to continue."
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ef-2765-77a3-9d76-0c1f84c3334a",
    • "type": "workflow_wait_step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "continued_by": [
        ],
      • "requires_approval_from": null,
      • "lock_version": 3,
      • "created_by": "angelica-4773",
      • "created_by_name": "angelica-4773",
      • "name": "Wait",
      • "step_sequence": 8,
      • "status_code": "continued",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:55:30.349162Z",
      • "started_at": "2026-11-04T04:56:30.349162Z",
      • "finished_at": "2026-11-04T05:01:39.074469Z",
      • "updated_at": "2026-11-04T05:01:39.099474Z"
      },
    • "relationships": {
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ef-2143-72b8-9950-f0ef855fc1a4/steps/01a1a4ef-2765-77a3-9d76-0c1f84c3334a",
      • "log_lines": "/api/workflow_steps/01a1a4ef-2765-77a3-9d76-0c1f84c3334a/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4ef-2143-72b8-9950-f0ef855fc1a4/steps/01a1a4ef-214c-7db8-9358-f21033ecd640",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4ef-2143-72b8-9950-f0ef855fc1a4"
      }
    }
}

Approve workflow step

Approve a workflow step that requires approval. To continue a workflow step that does need approval see the continue workflow step API endpoint

path Parameters
step_id
required
string
Example: 01a1a4e9-5f43-7cbb-9bb6-f3d2ccc3195f

workflow step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Ok to proceed."
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ef-5b1a-7767-8f78-dc4e9b3b84be",
    • "type": "workflow_wait_step",
    • "attributes": {
      • "approved_by": [
        ],
      • "rejected_by": [ ],
      • "continued_by": [ ],
      • "requires_approval_from": {
        },
      • "lock_version": 3,
      • "created_by": "jamila_koch-4942",
      • "created_by_name": "jamila_koch-4942",
      • "name": "Approval",
      • "step_sequence": 8,
      • "status_code": "approved",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:51:22.546297Z",
      • "started_at": "2026-11-04T04:52:22.546297Z",
      • "finished_at": "2026-11-04T05:01:52.318841Z",
      • "updated_at": "2026-11-04T05:01:52.349413Z"
      },
    • "relationships": {
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ef-540e-7411-bfbe-efd146a2de81/steps/01a1a4ef-5b1a-7767-8f78-dc4e9b3b84be",
      • "log_lines": "/api/workflow_steps/01a1a4ef-5b1a-7767-8f78-dc4e9b3b84be/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4ef-540e-7411-bfbe-efd146a2de81/steps/01a1a4ef-5418-712e-ac85-bc5c1681ff38",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4ef-540e-7411-bfbe-efd146a2de81"
      }
    }
}

Reject workflow step

Reject a workflow step that requires approval.

path Parameters
step_id
required
string
Example: 01a1a4e9-5ee0-7207-86a5-7c61866c069b

workflow step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Ok to proceed."
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ef-925c-750a-acff-ca34e20e2b89",
    • "type": "workflow_wait_step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [
        ],
      • "continued_by": [ ],
      • "requires_approval_from": {
        },
      • "lock_version": 3,
      • "created_by": "adela.pfeffer-5111",
      • "created_by_name": "adela.pfeffer-5111",
      • "name": "Approval",
      • "step_sequence": 8,
      • "status_code": "rejected",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:53:34.048696Z",
      • "started_at": "2026-11-04T04:54:34.048696Z",
      • "finished_at": "2026-11-04T05:02:06.489757Z",
      • "updated_at": "2026-11-04T05:02:06.503849Z"
      },
    • "relationships": {
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ef-89b5-7e33-86f1-d0f13edd95c9/steps/01a1a4ef-925c-750a-acff-ca34e20e2b89",
      • "log_lines": "/api/workflow_steps/01a1a4ef-925c-750a-acff-ca34e20e2b89/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4ef-89b5-7e33-86f1-d0f13edd95c9/steps/01a1a4ef-89c2-73b5-8c10-8482c73e695b",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4ef-89b5-7e33-86f1-d0f13edd95c9"
      }
    }
}

List workflow steps (run specific)

Lists all steps in a workflow run.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

query Parameters
limit
integer [ 1 .. 1000 ]
Default: 1000
Example: limit=50

Limit the number of workflow steps returned

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ef-bf83-7af7-9310-6d4a16c56f81",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-bf94-7a91-8d49-ce131381a498",
      • "type": "workflow_noop_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-c33d-7344-8877-0a0b2ab73c85",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-c356-76a8-a03e-d7126cb7c4c1",
      • "type": "workflow_wait_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-c42d-777b-b494-8ad01ee251e0",
      • "type": "workflow_workflow_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-c5d5-73b4-a209-95ad5a51f9b7",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-c5e5-729b-affe-6327008c252d",
      • "type": "workflow_wait_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-c5fa-7e07-a00a-a24af5337d3a",
      • "type": "workflow_workflow_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ef-c1a6-78b7-b5cd-62cee89de17d",
      • "type": "workflow_change_step",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "execute": true
      },
    • "partial_response": false
    }
}

Show workflow step (run specific)

Shows a step of a workflow run.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

step_id
required
string
Example: 01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c

workflow step id

Responses

Response samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "id": "01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c",
    • "type": "workflow_change_step",
    • "attributes": {
      • "lock_version": 1,
      • "created_by": "kurtis-130",
      • "created_by_name": "kurtis-130",
      • "name": "parse",
      • "step_sequence": 5,
      • "status_code": "pending",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:55:19.993886Z",
      • "started_at": null,
      • "finished_at": null,
      • "updated_at": "2026-11-04T04:55:20.005621Z",
      • "ignore_failure": false,
      • "action": "parse",
      • "property_overrides": {
        }
      },
    • "relationships": {
      • "change": {
        },
      • "change_parent": {
        },
      • "action_template_version": {
        },
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4e9-5579-7bce-913b-068d5b74a147/steps/01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c",
      • "log_lines": "/api/workflow_steps/01a1a4e9-5ebe-7c85-bf0b-21ecb62c120c/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4e9-5579-7bce-913b-068d5b74a147/steps/01a1a4e9-558e-7c69-a534-d7608e1c1544",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4e9-5579-7bce-913b-068d5b74a147"
      }
    }
}

Continue workflow step (run specific)

Continues a "waiting" workflow step. To approve/reject a workflow step that needs approval see the approve workflow step API endpoint.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

step_id
required
string
Example: 01a1a4e9-5f1d-78bf-90b4-5cb68a4c28bc

workflow step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Done sanity checks. Ok to continue."
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ef-df65-73bf-9dc0-59297936971a",
    • "type": "workflow_wait_step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [ ],
      • "continued_by": [
        ],
      • "requires_approval_from": null,
      • "lock_version": 3,
      • "created_by": "denis-5379",
      • "created_by_name": "denis-5379",
      • "name": "Wait",
      • "step_sequence": 8,
      • "status_code": "continued",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:54:16.036585Z",
      • "started_at": "2026-11-04T04:55:16.036585Z",
      • "finished_at": "2026-11-04T05:02:26.223135Z",
      • "updated_at": "2026-11-04T05:02:26.276937Z"
      },
    • "relationships": {
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4ef-d8fa-730d-88c1-40b52cc0e9c0/steps/01a1a4ef-df65-73bf-9dc0-59297936971a",
      • "log_lines": "/api/workflow_steps/01a1a4ef-df65-73bf-9dc0-59297936971a/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4ef-d8fa-730d-88c1-40b52cc0e9c0/steps/01a1a4ef-d906-7f8d-aaa4-3d66973b7390",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4ef-d8fa-730d-88c1-40b52cc0e9c0"
      }
    }
}

Approve workflow step (run specific)

Approve a workflow step that requires approval. To continue a workflow step that does need approval see the continue workflow step API endpoint

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

step_id
required
string
Example: 01a1a4e9-5f43-7cbb-9bb6-f3d2ccc3195f

workflow step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Ok to proceed."
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-0962-7d37-81ac-4d7030dee4ef",
    • "type": "workflow_wait_step",
    • "attributes": {
      • "approved_by": [
        ],
      • "rejected_by": [ ],
      • "continued_by": [ ],
      • "requires_approval_from": {
        },
      • "lock_version": 3,
      • "created_by": "verna-5548",
      • "created_by_name": "verna-5548",
      • "name": "Approval",
      • "step_sequence": 8,
      • "status_code": "approved",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:52:19.373959Z",
      • "started_at": "2026-11-04T04:53:19.373959Z",
      • "finished_at": "2026-11-04T05:02:36.950342Z",
      • "updated_at": "2026-11-04T05:02:36.979629Z"
      },
    • "relationships": {
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4f0-045d-7ff7-9cb0-d3faa0c1912d/steps/01a1a4f0-0962-7d37-81ac-4d7030dee4ef",
      • "log_lines": "/api/workflow_steps/01a1a4f0-0962-7d37-81ac-4d7030dee4ef/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4f0-045d-7ff7-9cb0-d3faa0c1912d/steps/01a1a4f0-0466-7722-a44d-e2151d46ee87",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4f0-045d-7ff7-9cb0-d3faa0c1912d"
      }
    }
}

Reject workflow step (run specific)

Reject a workflow step that requires approval.

path Parameters
project_code
required
string
Example: opc

project code

workflow_code
required
string
Example: assets

workflow code

run_id
required
string
Example: 01a1a4e9-5579-7bce-913b-068d5b74a147

workflow run id

step_id
required
string
Example: 01a1a4e9-5ee0-7207-86a5-7c61866c069b

workflow step id

Request Body schema: application/vnd.api+json
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "message": "Ok to proceed."
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4f0-37d8-7742-94fa-edb39adfabff",
    • "type": "workflow_wait_step",
    • "attributes": {
      • "approved_by": [ ],
      • "rejected_by": [
        ],
      • "continued_by": [ ],
      • "requires_approval_from": {
        },
      • "lock_version": 3,
      • "created_by": "regan_nolan-5717",
      • "created_by_name": "regan_nolan-5717",
      • "name": "Approval",
      • "step_sequence": 8,
      • "status_code": "rejected",
      • "skip_requested": false,
      • "created_at": "2026-11-04T04:54:46.924813Z",
      • "started_at": "2026-11-04T04:55:46.924813Z",
      • "finished_at": "2026-11-04T05:02:48.839000Z",
      • "updated_at": "2026-11-04T05:02:48.846800Z"
      },
    • "relationships": {
      • "workflow_run": {
        },
      • "children": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/workflows/assets/runs/01a1a4f0-31f3-7063-926f-d719f5968fc4/steps/01a1a4f0-37d8-7742-94fa-edb39adfabff",
      • "log_lines": "/api/workflow_steps/01a1a4f0-37d8-7742-94fa-edb39adfabff/log_lines",
      • "parent": "/api/projects/opc/workflows/assets/runs/01a1a4f0-31f3-7063-926f-d719f5968fc4/steps/01a1a4f0-31fc-7468-becf-27e6e0759908",
      • "workflow_run": "/api/projects/opc/workflows/assets/runs/01a1a4f0-31f3-7063-926f-d719f5968fc4"
      }
    }
}

Events

Endpoints to interact with events.

List events

Lists all events.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[query_param_code_eq]=opc

API filtering guide. Named filters: filter[change_action_eq], filter[change_created_by_eq], filter[change_or_step_action_eq], filter[change_or_step_created_by_eq], filter[for_change], filter[for_workflow_run], filter[for_workflow_run_nested], filter[run_or_step_workflow_eq], filter[run_workflow_eq], filter[step_action_eq], filter[step_created_by_eq], filter[step_workflow_eq]. filter[for_change]=<change id> returns every event for a change, including events on its steps regardless of tree depth, e.g. > filter[for_change]=79f7f4e2-3b1d-4b2a-9e2c-1d9c2f6a4b3e. filter[for_workflow_run]=<workflow run id> returns every event for a workflow run and its own workflow steps, e.g. > filter[for_workflow_run]=2f8b6a1c-5e4d-4a3b-8c1f-6d9e2a7b5c4d. filter[for_workflow_run_nested]=<workflow run id> does the same as for_workflow_run but additionally includes events from any changes the run spawned (e.g. via a change step) and their steps, e.g. > filter[for_workflow_run_nested]=2f8b6a1c-5e4d-4a3b-8c1f-6d9e2a7b5c4d.

limit
integer [ 1 .. 1000 ]
Default: 10
Example: limit=50

Limit the number of events returned

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-7603-7c7c-ab9e-852dd973cbfb",
      • "type": "event",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Create event

Creates an event.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "type": "custom event",
      • "any_key": "with a value",
      • "another_key": "with a different value",
      • "nested": {
        }
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-76eb-7f9b-9ca9-0eded48b1fe4",
    • "type": "event",
    • "attributes": {
      • "some": "event data",
      • "username": "logged_in_user",
      • "system": false,
      • "type": "my event",
      • "event_node_path": null,
      • "created_at": "2026-11-04T04:57:37.258780Z"
      },
    • "relationships": {
      • "source": {
        }
      },
    • "links": {
      • "self": "/api/events/01a1a4eb-76eb-7f9b-9ca9-0eded48b1fe4"
      }
    }
}

Show event

Shows an event.

path Parameters
event_id
required
string
Example: 01a1a4e9-4b71-7a5c-b01c-be10720f3bf0

event id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-795f-7b2c-8459-7f3bd52f3472",
    • "type": "event",
    • "attributes": {
      • "nested": {
        },
      • "any_key": "with a value",
      • "another_key": "with a different value",
      • "username": "lucretia.romaguera",
      • "system": false,
      • "type": "my custom event",
      • "event_node_path": "/projects/opc",
      • "created_at": "2026-11-04T04:57:37.886405Z"
      },
    • "relationships": {
      • "source": {
        }
      },
    • "links": {
      • "self": "/api/events/01a1a4eb-795f-7b2c-8459-7f3bd52f3472"
      }
    }
}

Event filters

List event filters

Lists all event filters.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=changes_success

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-656e-7e24-8348-eb5d88e8cf03",
      • "type": "event_filter",
      • "attributes": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create event filter

Create an event filter.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "code": "change_success",
      • "description": "Filter for successful changes in dev",
      • "rules": {
        }
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-66d1-7962-8056-4a340e490d5e",
    • "type": "event_filter",
    • "attributes": {
      • "rules": {
        },
      • "code": "zstup",
      • "description": "Neque nemo natus eum.",
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:57:33.136261Z",
      • "updated_at": "2026-11-04T04:57:33.136261Z"
      },
    • "links": {
      • "self": "/api/event_filters/zstup",
      • "subscribers": "/api/event_filters/zstup/event_subscribers"
      }
    }
}

Show event filter

Show an event filter.

path Parameters
event_filter_code
required
string
Example: change_success

event filter code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-6c49-70c4-bc31-dc7cb9dbb5d1",
    • "type": "event_filter",
    • "attributes": {
      • "rules": {
        },
      • "code": "change_success",
      • "description": "Filter for successful changes in dev",
      • "created_by": "opschain",
      • "created_by_name": "opschain",
      • "created_at": "2026-11-04T04:57:34.535936Z",
      • "updated_at": "2026-11-04T04:57:34.535936Z"
      },
    • "links": {
      • "self": "/api/event_filters/change_success",
      • "subscribers": "/api/event_filters/change_success/event_subscribers"
      }
    }
}

Update event filter

Update an event filter.

path Parameters
event_filter_code
required
string
Example: change_success

event filter code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "rules": {
        },
      • "description": "hello world errors filter"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-6e46-72ef-8b0c-5703845c95cf",
    • "type": "event_filter",
    • "attributes": {
      • "rules": {
        },
      • "code": "change_success",
      • "description": "hello world errors filter",
      • "created_by": "opschain",
      • "created_by_name": "opschain",
      • "created_at": "2026-11-04T04:57:35.045409Z",
      • "updated_at": "2026-11-04T04:57:35.061158Z"
      },
    • "links": {
      • "self": "/api/event_filters/change_success",
      • "subscribers": "/api/event_filters/change_success/event_subscribers"
      }
    }
}

Delete event filter

Delete an event filter.

path Parameters
event_filter_code
required
string
Example: change_success

event filter code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the event filter",
      • "detail": "Your authorisation rules let you view the event filter but not delete it."
      }
    ]
}

Event subscribers

List event subscribers

Lists all event subscribers.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[enabled_eq]=true

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-7b33-7873-8fbc-a55dddf66381",
      • "type": "event_subscriber",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create event subscriber

Create an event subscriber without a node in the path.

The subscriber is still attached to a node - channel_parent_path names the node owning the notification channel, and the event filter supplies the node the subscription applies to.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "event_filter_code": "change_success",
      • "channel_parent_path": "/system_configuration",
      • "channel_code": "system_email",
      • "channel_kwargs": {
        },
      • "enabled": true
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-7e21-7b9d-9212-05a060381ff8",
    • "type": "event_subscriber",
    • "attributes": {
      • "enabled": true,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "channel_kwargs": {
        },
      • "created_at": "2026-11-04T04:57:39.104503Z",
      • "updated_at": "2026-11-04T04:57:39.104503Z"
      },
    • "relationships": {
      • "event_filter": {
        },
      • "notification_channel": {
        }
      },
    • "links": {
      • "self": "/api/event_subscribers/01a1a4eb-7e21-7b9d-9212-05a060381ff8"
      }
    }
}

List event node subscribers

List event subscribers for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

environment_code
required
string
Example: dev

environment code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[enabled_eq]=true

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4eb-893a-7589-a686-9c075ef8e323",
      • "type": "event_subscriber",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create event subscriber

Create an event subscriber.

path Parameters
project_code
required
string
Example: opc

project code

environment_code
required
string
Example: dev

environment code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "event_filter_code": "change_success",
      • "channel_parent_path": "/system_configuration",
      • "channel_code": "system_email",
      • "channel_kwargs": {
        },
      • "enabled": true
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-8c9f-76bb-b72f-47bc13c340e5",
    • "type": "event_subscriber",
    • "attributes": {
      • "enabled": true,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "channel_kwargs": {
        },
      • "created_at": "2026-11-04T04:57:42.814039Z",
      • "updated_at": "2026-11-04T04:57:42.814039Z"
      },
    • "relationships": {
      • "event_filter": {
        },
      • "notification_channel": {
        }
      },
    • "links": {
      • "self": "/api/event_subscribers/01a1a4eb-8c9f-76bb-b72f-47bc13c340e5"
      }
    }
}

Show event subscriber

Show an event subscriber.

path Parameters
event_subscriber_id
required
string
Example: 01a1a4e9-4be9-78de-8b1c-24e77eb3cce7

event subscriber id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-93cc-7387-af3e-4119cd2e642a",
    • "type": "event_subscriber",
    • "attributes": {
      • "enabled": true,
      • "created_by": "reed_beer-1988",
      • "created_by_name": "reed_beer-1988",
      • "channel_kwargs": { },
      • "created_at": "2026-11-04T04:57:44.651371Z",
      • "updated_at": "2026-11-04T04:57:44.651371Z"
      },
    • "relationships": {
      • "event_filter": {
        },
      • "notification_channel": {
        }
      },
    • "links": {
      • "self": "/api/event_subscribers/01a1a4eb-93cc-7387-af3e-4119cd2e642a"
      }
    }
}

Update event subscriber

Update an event subscriber.

path Parameters
event_subscriber_id
required
string
Example: 01a1a4e9-4be9-78de-8b1c-24e77eb3cce7

event subscriber id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "event_filter_code": "change_success",
      • "channel_parent_path": "/projects/opc",
      • "channel_code": "project_direct",
      • "channel_kwargs": {
        },
      • "enabled": false
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4eb-9702-7442-8606-dd91fac4d365",
    • "type": "event_subscriber",
    • "attributes": {
      • "enabled": false,
      • "created_by": "octavio-2000",
      • "created_by_name": "octavio-2000",
      • "channel_kwargs": {
        },
      • "created_at": "2026-11-04T04:57:45.472486Z",
      • "updated_at": "2026-11-04T04:57:45.525444Z"
      },
    • "relationships": {
      • "event_filter": {
        },
      • "notification_channel": {
        }
      },
    • "links": {
      • "self": "/api/event_subscribers/01a1a4eb-9702-7442-8606-dd91fac4d365"
      }
    }
}

Delete event subscriber

Delete an event subscriber.

path Parameters
event_subscriber_id
required
string
Example: 01a1a4e9-4be9-78de-8b1c-24e77eb3cce7

event subscriber id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 404,
      • "title": "Record not found",
      • "meta": {
        }
      }
    ]
}

Global notification channels

List notification channels

Lists all global notification channels.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=slack

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-5690-756b-8d04-e6246dad5174",
      • "type": "notification_channel",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Create notification channel

Create a global notification channel, available to every node in the instance.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "code": "ops_team_slack",
      • "notification_job_code": "direct_job",
      • "format": "slack",
      • "default_channel": false,
      • "enabled": true,
      • "description": "Slack channel for the operations team"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-57ab-7280-82db-39cbafa55cea",
    • "type": "notification_channel",
    • "attributes": {
      • "format": "slack",
      • "code": "ops_team_slack",
      • "description": "Slack channel for the operations team",
      • "default_channel": false,
      • "internal": false,
      • "enabled": true,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:58:34.793336Z",
      • "updated_at": "2026-11-04T04:58:34.793336Z",
      • "kwargs": {
        },
      • "job_code": "direct_job"
      },
    • "relationships": {
      • "notification_job": {
        }
      },
    • "links": {
      • "self": "/api/system_configuration/notification_channels/ops_team_slack",
      • "parent": "/api/system_configuration"
      }
    }
}

Test notification channel

Sends a test notification through the channel and returns what the notification job reported.

The supplied attributes are merged over the channel's stored kwargs for this send only - nothing is saved - and supply whatever the job needs but the channel does not store, such as the to address of an email channel. The subject and body are always the test message, so subject and body attributes are ignored. Testing a channel requires permission to update it. Only email and direct message channels can be tested, and a disabled channel is rejected.

path Parameters
notification_channel_code
required
string
Example: system_email

notification channel code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "to": "ops-team@example.com"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-5b4e-7427-b5ab-2e751cd83f0a",
    • "type": "notification_channel_test",
    • "attributes": {
      • "result": [
        ]
      }
    }
}

Show notification channel

Show a global notification channel.

path Parameters
notification_channel_code
required
string
Example: system_email

notification channel code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-5ee0-70d7-82ee-1cfa8aa9cf86",
    • "type": "notification_channel",
    • "attributes": {
      • "format": "html",
      • "code": "system_email",
      • "description": "System channel for email notifications",
      • "default_channel": true,
      • "internal": false,
      • "enabled": true,
      • "created_by": "bethann-2598",
      • "created_by_name": "bethann-2598",
      • "created_at": "2026-11-04T04:58:36.638946Z",
      • "updated_at": "2026-11-04T04:58:36.638946Z",
      • "kwargs": {
        },
      • "job_code": "email_job"
      },
    • "relationships": {
      • "notification_job": {
        }
      },
    • "links": {
      • "self": "/api/system_configuration/notification_channels/system_email",
      • "parent": "/api/system_configuration"
      }
    }
}

Update notification channel

Update a global notification channel.

path Parameters
notification_channel_code
required
string
Example: system_email

notification channel code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "notification_job_code": "direct_job",
      • "format": "slack",
      • "default_channel": false,
      • "enabled": false,
      • "kwargs": {},
      • "description": "New channel description"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-60a0-7d8a-ab64-20957d8b4f04",
    • "type": "notification_channel",
    • "attributes": {
      • "format": "slack",
      • "code": "system_email",
      • "description": "New channel description",
      • "default_channel": false,
      • "internal": false,
      • "enabled": false,
      • "created_by": "hyo-2600",
      • "created_by_name": "hyo-2600",
      • "created_at": "2026-11-04T04:58:37.087503Z",
      • "updated_at": "2026-11-04T04:58:37.124784Z",
      • "kwargs": {
        },
      • "job_code": "direct_job"
      },
    • "relationships": {
      • "notification_job": {
        }
      },
    • "links": {
      • "self": "/api/system_configuration/notification_channels/system_email",
      • "parent": "/api/system_configuration"
      }
    }
}

Delete notification channel

Delete a global notification channel.

path Parameters
notification_channel_code
required
string
Example: system_email

notification channel code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the notification channel",
      • "detail": "Your authorisation rules let you view the notification channel but not delete it."
      }
    ]
}

Notification channels

List notification channels

List notification channels for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=slack

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-682e-796c-9524-473487af70ed",
      • "type": "notification_channel",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true,
      • "delete": true
      }
    }
}

Show a notification channel

Show a notification channel for a specific project, environment or asset..

path Parameters
project_code
required
string
Example: opc

project code

notification_channel_code
required
string
Example: system_email

notification channel code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-6965-7ce2-b6c7-4d65419dac14",
    • "type": "notification_channel",
    • "attributes": {
      • "format": "slack",
      • "code": "project_direct",
      • "description": "Project specific channel for slack notifications",
      • "default_channel": true,
      • "internal": false,
      • "enabled": true,
      • "created_by": "brett_borer-2622",
      • "created_by_name": "brett_borer-2622",
      • "created_at": "2026-11-04T04:58:39.327583Z",
      • "updated_at": "2026-11-04T04:58:39.327583Z",
      • "kwargs": {
        },
      • "job_code": "direct_job"
      },
    • "relationships": {
      • "notification_job": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/notification_channels/project_direct",
      • "parent": "/api/projects/opc"
      }
    }
}

Update notification channel

Update a notification channel for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

notification_channel_code
required
string
Example: system_email

notification channel code

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "notification_job_code": "direct_job",
      • "format": "slack",
      • "default_channel": false,
      • "enabled": false,
      • "kwargs": {},
      • "description": "New channel description"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-6b97-7520-9921-22e242dd5c7a",
    • "type": "notification_channel",
    • "attributes": {
      • "format": "slack",
      • "code": "project_direct",
      • "description": "New channel description",
      • "default_channel": false,
      • "internal": false,
      • "enabled": false,
      • "created_by": "sammy_johnston-2630",
      • "created_by_name": "sammy_johnston-2630",
      • "created_at": "2026-11-04T04:58:39.893869Z",
      • "updated_at": "2026-11-04T04:58:39.927004Z",
      • "kwargs": {
        },
      • "job_code": "direct_job"
      },
    • "relationships": {
      • "notification_job": {
        }
      },
    • "links": {
      • "self": "/api/projects/opc/notification_channels/project_direct",
      • "parent": "/api/projects/opc"
      }
    }
}

Delete notification channel

Delete a notification channel for a specific project, environment or asset..

path Parameters
project_code
required
string
Example: opc

project code

notification_channel_code
required
string
Example: system_email

notification channel code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the notification channel",
      • "detail": "Your authorisation rules let you view the notification channel but not delete it."
      }
    ]
}

Notification jobs

List notification jobs

Lists all notification jobs.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[code_eq]=notify_targets

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-73e2-74d7-b78d-781fdf83cc97",
      • "type": "notification_job",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      }
    }
}

Show notification job

Show a notification job.

path Parameters
notification_job_code
required
string
Example: email_job

notification job code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-7477-7dd7-bd74-2f1276b83dd2",
    • "type": "notification_job",
    • "attributes": {
      • "job_class": "Notifications::SendEmailJob",
      • "target_type": "smtp",
      • "valid_formats": [
        ],
      • "code": "email_job",
      • "description": "Send an email to the target user(s)",
      • "created_at": "2026-11-04T04:58:42.167079Z",
      • "updated_at": "2026-11-04T04:58:42.167079Z",
      • "all_kwargs": [
        ]
      },
    • "relationships": {
      • "notification_channels": {
        }
      },
    • "links": {
      • "self": "/api/notification_jobs/email_job"
      }
    }
}

Jobs

Endpoint to fetch information about the jobs processed by the OpsChain.

Get information about the jobs that are being processed by the OpsChain

Returns information about the jobs that are being processed by the OpsChain.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[status_eq]=finished
limit
integer [ 1 .. 1000 ]
Default: 100
Example: limit=50

Limit the number of jobs returned

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "292052",
      • "type": "job",
      • "attributes": {
        }
      },
    • {
      • "id": "218120",
      • "type": "job",
      • "attributes": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false,
    • "has_any": true,
    • "total_matching_filter": 2,
    • "total_matching_filter_exact": true
    }
}

Settings

Endpoints to interact with settings.

Show settings

Shows the current settings.

path Parameters
settings_id
required
string
Example: 01a1a4e9-268f-7e07-a46d-aa8948961885

settings id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-27c8-734d-a6ab-4e2335d0ef45",
    • "type": "settings",
    • "attributes": {
      • "data": {
        },
      • "version": 1,
      • "created_at": "2026-11-04T04:59:28.071192Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/settings/01a1a4ed-27c8-734d-a6ab-4e2335d0ef45",
      • "current_version": "/api/settings/01a1a4ed-27c8-734d-a6ab-4e2335d0ef45/versions/1",
      • "versions": "/api/settings/01a1a4ed-27c8-734d-a6ab-4e2335d0ef45/versions"
      }
    }
}

Update settings

Updates a settings JSON if the included version matches the current settings version.

path Parameters
id_to_update
required
string
Example: 01a1a4e9-268f-7e07-a46d-aa8948961885

settings id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "data": {
        },
      • "version": 1
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-2963-71c4-a3ec-4bfdebbaf4b2",
    • "type": "settings",
    • "attributes": {
      • "data": {
        },
      • "version": 1,
      • "created_at": "2026-11-04T04:59:28.482041Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/settings/01a1a4ed-2963-71c4-a3ec-4bfdebbaf4b2",
      • "current_version": "/api/settings/01a1a4ed-2963-71c4-a3ec-4bfdebbaf4b2/versions/1",
      • "versions": "/api/settings/01a1a4ed-2963-71c4-a3ec-4bfdebbaf4b2/versions"
      }
    }
}

Update settings (unsafe)

Updates a settings JSON, without any version checking (always updates).

path Parameters
id_to_set
required
string
Example: 01a1a4e9-268f-7e07-a46d-aa8948961885

settings id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "data": {
        }
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-3134-7132-b931-c717a95a9a8f",
    • "type": "settings",
    • "attributes": {
      • "data": {
        },
      • "version": 1,
      • "created_at": "2026-11-04T04:59:30.482455Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/settings/01a1a4ed-3134-7132-b931-c717a95a9a8f",
      • "current_version": "/api/settings/01a1a4ed-3134-7132-b931-c717a95a9a8f/versions/1",
      • "versions": "/api/settings/01a1a4ed-3134-7132-b931-c717a95a9a8f/versions"
      }
    }
}

Settings versions

Endpoints to interact with the version history for settings.

List settings versions

Lists all versions of an OpsChain settings.

path Parameters
settings_id
required
string
Example: 01a1a4e9-268f-7e07-a46d-aa8948961885

settings id

query Parameters
limit
integer [ 1 .. 10000 ]
Default: 1000
Example: limit=50

Limit the number of settings versions returned. When more records match than the limit a 206 response is returned and meta.partial_response is true.

exclude_data
boolean
Default: false
Example: exclude_data=true

Exclude the data attribute from each of the settings versions returned. Use the show endpoint to fetch the data for an individual version.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-3700-7eb0-82ef-4f314b6c6a9f",
      • "type": "settings_version",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      },
    • "partial_response": false
    }
}

Show settings version

Shows the settings values for this settings version.

path Parameters
settings_id
required
string
Example: 01a1a4e9-268f-7e07-a46d-aa8948961885

settings id

version_number
required
integer
Example: 1

version number

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-386f-7356-a394-5ceea79a9866",
    • "type": "settings_version",
    • "attributes": {
      • "data": {
        },
      • "version": 1,
      • "created_at": "2026-11-04T04:59:32.334615Z"
      },
    • "relationships": {
      • "settings": {
        }
      },
    • "links": {
      • "versions": "/api/settings/01a1a4ed-386b-7f5c-b8d0-55ff5c3e24e8/versions",
      • "owner": "/api/projects/opc",
      • "self": "/api/settings/01a1a4ed-386b-7f5c-b8d0-55ff5c3e24e8/versions/1"
      }
    }
}

Authorisation rules

Endpoints to interact with authorisation rules.

List rules

Lists all authorisation rules.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name]=rule_name

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-56ae-7da6-a3be-7e15dd6bf3be",
      • "type": "authorisation_rule",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ea-58ba-7cc9-95a4-0370795a959a",
      • "type": "authorisation_rule",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ea-58c9-723a-87b4-2f4f16174138",
      • "type": "authorisation_rule",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ea-5927-7e94-ab84-3733f1f27656",
      • "type": "authorisation_rule",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      }
    }
}

Create rule

Create an authorisation rule.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "path": "^/projects/opc/assets/prj_soa",
      • "readable": false,
      • "updatable": false,
      • "deletable": false,
      • "executable": false,
      • "name": "Deny access to Project asset"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-5c24-7166-a527-c5435480203a",
    • "type": "authorisation_rule",
    • "attributes": {
      • "name": "compress",
      • "path": "^/projects/tebav/environments/ylmib",
      • "readable": false,
      • "updatable": false,
      • "deletable": false,
      • "executable": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:56:24.866740Z",
      • "updated_at": "2026-11-04T04:56:24.866740Z"
      },
    • "relationships": {
      • "authorisation_policies": {
        }
      },
    • "links": {
      • "self": "/api/authorisation_rules/01a1a4ea-5c24-7166-a527-c5435480203a"
      }
    }
}

Show rule

Shows an authorisation rule.

path Parameters
authorisation_rule_id
required
string
Example: 01a1a4e9-35d3-7689-aae2-ddb3f1049a58

authorisation rule id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-67aa-7dfe-846c-a70d5c4f303e",
    • "type": "authorisation_rule",
    • "attributes": {
      • "name": "Deny access to Project asset",
      • "path": "^/projects/opc/assets/prj_soa",
      • "readable": false,
      • "updatable": false,
      • "deletable": false,
      • "executable": false,
      • "created_by": "opschain",
      • "created_by_name": "opschain",
      • "created_at": "2026-11-04T04:56:27.817695Z",
      • "updated_at": "2026-11-04T04:56:27.817695Z"
      },
    • "relationships": {
      • "authorisation_policies": {
        }
      },
    • "links": {
      • "self": "/api/authorisation_rules/01a1a4ea-67aa-7dfe-846c-a70d5c4f303e"
      }
    }
}

Update authorisation rule

Update an authorisation rule.

path Parameters
authorisation_rule_id
required
string
Example: 01a1a4e9-35d3-7689-aae2-ddb3f1049a58

authorisation rule id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "path": "/projects/demo/environments/dev",
      • "readable": false,
      • "updatable": false,
      • "deletable": false,
      • "executable": false,
      • "name": "Deny all on dev environment"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-6e91-7e69-b55a-e0dc2292fbc2",
    • "type": "authorisation_rule",
    • "attributes": {
      • "name": "Deny all on dev environment",
      • "path": "^/projects/demo/environments/dev",
      • "readable": false,
      • "updatable": false,
      • "deletable": false,
      • "executable": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:56:29.584968Z",
      • "updated_at": "2026-11-04T04:56:29.741956Z"
      },
    • "relationships": {
      • "authorisation_policies": {
        }
      },
    • "links": {
      • "self": "/api/authorisation_rules/01a1a4ea-6e91-7e69-b55a-e0dc2292fbc2"
      }
    }
}

Delete rule

Delete an authorisation rule.

path Parameters
authorisation_rule_id
required
string
Example: 01a1a4e9-35d3-7689-aae2-ddb3f1049a58

authorisation rule id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the authorisation rule",
      • "detail": "Your authorisation rules let you view the authorisation rule but not delete it."
      }
    ]
}

Authorisation policies

Endpoints to interact with authorisation policies.

List policies

Lists all authorisation policies.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[name_eq]=secure

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-2ba5-7819-9964-6017975e0f4d",
      • "type": "authorisation_policy",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ea-2dd9-714f-9ae0-14db1db81373",
      • "type": "authorisation_policy",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      }
    }
}

Create policy

Create an authorisation policy with a list of authorisation rules.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "name": "mirella",
      • "description": "Itaque iste voluptatem amet.",
      • "authorisation_rules": [
        ]
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-315e-717e-84db-88ba0f7676e0",
    • "type": "authorisation_policy",
    • "attributes": {
      • "name": "geoffrey.herman",
      • "description": "Omnis sapiente ex et.",
      • "system": false,
      • "created_by": "logged_in_user",
      • "created_by_name": "logged_in_user",
      • "created_at": "2026-11-04T04:56:13.917090Z",
      • "updated_at": "2026-11-04T04:56:13.917090Z"
      },
    • "relationships": {
      • "policy_rules": {
        },
      • "policy_assignments": {
        },
      • "authorisation_rules": {
        }
      },
    • "links": {
      • "self": "/api/authorisation_policies/01a1a4ea-315e-717e-84db-88ba0f7676e0",
      • "policy_rules": "/api/authorisation_policies/01a1a4ea-315e-717e-84db-88ba0f7676e0/rules",
      • "policy_assignments": "/api/authorisation_policies/01a1a4ea-315e-717e-84db-88ba0f7676e0/assignments"
      }
    }
}

Show policy

Shows an authorisation policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-3b0e-72dd-969a-55ab06390dbd",
    • "type": "authorisation_policy",
    • "attributes": {
      • "name": "New users policy",
      • "description": "Access for all incoming users",
      • "system": false,
      • "created_by": "erlinda_lesch-764",
      • "created_by_name": "erlinda_lesch-764",
      • "created_at": "2026-11-04T04:56:16.396524Z",
      • "updated_at": "2026-11-04T04:56:16.396524Z"
      },
    • "relationships": {
      • "policy_rules": {
        },
      • "policy_assignments": {
        },
      • "authorisation_rules": {
        }
      },
    • "links": {
      • "self": "/api/authorisation_policies/01a1a4ea-3b0e-72dd-969a-55ab06390dbd",
      • "policy_rules": "/api/authorisation_policies/01a1a4ea-3b0e-72dd-969a-55ab06390dbd/rules",
      • "policy_assignments": "/api/authorisation_policies/01a1a4ea-3b0e-72dd-969a-55ab06390dbd/assignments"
      }
    }
}

Update authorisation policy and its rules

Update an authorisation policy and its authorisation rules. If no authorisation rules are provided, all associated rules will be removed from the policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "name": "scotty",
      • "description": "Fugit qui tenetur sed.",
      • "authorisation_rules": [
        ]
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-4084-7d38-a768-43086685d537",
    • "type": "authorisation_policy",
    • "attributes": {
      • "name": "Updated policy name",
      • "description": "Access for all incoming users",
      • "system": false,
      • "created_by": "agustin-792",
      • "created_by_name": "agustin-792",
      • "created_at": "2026-11-04T04:56:17.795756Z",
      • "updated_at": "2026-11-04T04:56:17.896599Z"
      },
    • "relationships": {
      • "policy_rules": {
        },
      • "policy_assignments": {
        },
      • "authorisation_rules": {
        }
      },
    • "links": {
      • "self": "/api/authorisation_policies/01a1a4ea-4084-7d38-a768-43086685d537",
      • "policy_rules": "/api/authorisation_policies/01a1a4ea-4084-7d38-a768-43086685d537/rules",
      • "policy_assignments": "/api/authorisation_policies/01a1a4ea-4084-7d38-a768-43086685d537/assignments"
      }
    }
}

Delete policy

Delete an authorisation policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to delete the authorisation policy",
      • "detail": "Your authorisation rules let you view the authorisation policy but not delete it."
      }
    ]
}

Authorisation policy assignments

Endpoints to interact with authorisation policy assignments.

List policy assignments

Lists all policy assignments for a specific authorisation policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[username_eq]=opschain

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-8e90-73ed-be84-1548a3de7f47",
      • "type": "policy_assignment",
      • "attributes": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      }
    }
}

Assign a policy to users or groups

Assign an authorisation policy to one or more users and/or groups.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "user_id": null,
      • "assignments": [
        ]
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-9180-72b6-8a23-b04174afc900",
      • "type": "policy_assignment",
      • "attributes": {
        },
      • "links": {
        }
      }
    ]
}

Show assignment

Show a policy assignment for a specific authorisation policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

policy_assignment_id
required
string
Example: 01a1a4e9-36aa-7f1a-9d88-c457a33a431b

policy assignment id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-9e5e-7c90-9a0c-a920eb6faca8",
    • "type": "policy_assignment",
    • "attributes": {
      • "username": "opschain",
      • "display_name": "opschain",
      • "auth_provider": "local",
      • "groupname": "ldap-group",
      • "created_by": "penelope-2798",
      • "created_by_name": "penelope-2798",
      • "created_at": "2026-11-04T04:58:52.894044Z",
      • "updated_at": "2026-11-04T04:58:52.894044Z"
      },
    • "links": {
      • "self": "/api/authorisation_policies/01a1a4ec-9e46-752a-8d6d-7e0f4a0c03de/assignments/01a1a4ec-9e5e-7c90-9a0c-a920eb6faca8"
      }
    }
}

Authorisation policy rules

Endpoints to interact with authorisation policy rules.

List policy rules

Lists all policy rules for a specific authorisation policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[username_eq]=opschain

API filtering guide. Named filters: filter[created_by_eq], filter[created_by_in].

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-a29c-7edb-9de7-33c4e96013c9",
      • "type": "policy_rule",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ec-a2a5-783f-aa8b-434a39c5d8b2",
      • "type": "policy_rule",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      }
    }
}

Create policy rule(s)

Add one or more authorisation rules to a specific authorisation policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
Example
{
  • "data": {
    • "attributes": {
      • "authorisation_rule_id": "01a1a4e9-35d3-7689-aae2-ddb3f1049a58"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-a59e-790d-be58-2e01aeccde16",
      • "type": "policy_rule",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Delete a policy rule

Remove an authorisation rule from a specific authorisation policy.

path Parameters
authorisation_policy_id
required
string
Example: 01a1a4e9-363b-740e-91b4-92402abd0f90

authorisation policy id

policy_rule_id
required
string
Example: 01a1a4e9-3661-784d-812b-a6e0185b7f97

policy rule id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 403,
      • "title": "You do not have permission to update the authorisation policy",
      • "detail": "Your authorisation rules let you view the authorisation policy but not update it."
      }
    ]
}

Tokens

List tokens

List all authorisation tokens.

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[description_cont]=automation

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-1def-7c53-8601-308742bb2cf1",
      • "type": "authentication_token",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      },
    • {
      • "id": "01a1a4ea-1d88-7837-8a0e-7e1613cce0bc",
      • "type": "authentication_token",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ],
  • "meta": {
    • "authorisations": {
      • "update": true
      }
    }
}

Create access token

Creates an access token for the current user.

Notes:

  • When the token.enable_cookies setting is true (default) a new refresh_token cookie is set in the response and the supplied refresh token is rotated (destroyed and replaced). The response body contains only the access token.
  • When the token.enable_cookies setting is false and the refresh token is supplied to authenticate the request a new refresh token is included in the response meta and the supplied refresh token is rotated (destroyed and replaced). The new refresh token JWT is available in data.meta.refresh_token.
  • When an LDAP user of the bundled secret vault signs in with their password, OpsChain also obtains a secret vault token for them, giving the session secret vault access, and renews it each time the access token is refreshed. If the vault token cannot be obtained or renewed the access token is still created, and the reason is returned in meta.warnings.secret_vault_session.
  • If the vault refuses to renew the token - because the user's secret vault policies changed, or the user was blocked - OpsChain discards it, and the refresh response's meta.warnings.secret_vault_session is "Your secret vault session has ended - sign in again with your password to restore secret vault access".
Authorizations:
cookieAuthbearerAuthbasicAuthNone
Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "username": "username",
      • "password": "password"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-1fda-756a-8506-45d4c4418e70",
    • "type": "authentication_token",
    • "attributes": {
      • "type": "AccessToken",
      • "expires_at": "2026-11-04T08:56:09.000000Z",
      • "created_at": "2026-11-04T04:56:09.325920Z",
      • "updated_at": "2026-11-04T04:56:09.325920Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/tokens/01a1a4ea-1fda-756a-8506-45d4c4418e70"
      },
    • "meta": {
      • "bearer_token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIwMWExYTRlYS0xZmRhLTc1NmEtODUwNi00NWQ0YzQ0MThlNzAiLCJpc3MiOiJPcHNDaGFpbiIsImF1ZCI6Im9wc2NoYWluX2FwaSIsImV4cCI6MTc5Mzc4MjU2OSwiaWF0IjoxNzkzNzY4MTY5fQ.EBrBYYllQbukZAMdrlIikG-BBxngW6_h4tEs00Ch8Ms"
      }
    }
}

Create API key token

Creates an API key token for the current user.

Notes:

  • LDAP or local login credentials, or an access token are required to use this endpoint.
  • An API key generated without a password does not have secret vault access: it cannot decrypt or store secret vault values through the API. To give an API key secret vault access, supply your password when creating it - with basic auth, in the request body, or in the request body alongside an access token. An incorrect password supplied with an access token is rejected with a 401 response.
  • An API key created with your password uses your registered secret vault credentials (see /api/user_system_credentials), resolved afresh on every request, so registering, replacing or deleting a credential changes the key's access at once. Its registered_vault_credentials attribute is true. API keys created before this attribute existed must be recreated with your password to gain it.
  • For an LDAP user of the bundled secret vault, the password also obtains the API key its own bundled secret vault token. The secret_vault_access attribute shows whether the key holds one. The key keeps it for as long as the key is valid, and loses it if the owner's secret vault policies change or the owner is blocked - create a new API key with the password to restore it.
  • If the secret vault token cannot be obtained the API key is still created, without the token, and the reason is returned in meta.warnings.secret_vault_session. If the key also has no registered secret vault credential to use, meta.warnings.secret_vault_credential says so.
Authorizations:
bearerAuthbasicAuth
header Parameters
Authorization
string

an access token, as Bearer <token>, when not signing in with basic auth or the request body

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "username": "username",
      • "password": "password",
      • "description": "CI token for API access",
      • "expiry_date": "2027-05-04T04:55:09.480351Z"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-2120-70ad-b944-41720a8d2e0b",
    • "type": "authentication_token",
    • "attributes": {
      • "type": "ApiKeyToken",
      • "description": "Ut facere distinctio ea.",
      • "registered_vault_credentials": true,
      • "secret_vault_access": false,
      • "expires_at": "2026-11-18T23:59:59.999999Z",
      • "created_at": "2026-11-04T04:56:09.758469Z",
      • "updated_at": "2026-11-04T04:56:09.758469Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/tokens/01a1a4ea-2120-70ad-b944-41720a8d2e0b"
      },
    • "meta": {
      • "bearer_token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIwMWExYTRlYS0yMTIwLTcwYWQtYjk0NC00MTcyMGE4ZDJlMGIiLCJpc3MiOiJPcHNDaGFpbiIsImF1ZCI6Im9wc2NoYWluX2FwaSIsImV4cCI6MTc5NTA0NjM5OSwiaWF0IjoxNzkzNzY4MTY5fQ.hjMwzJG5rAJJv6VUy0WTyQN0CL7iqseEfDO4XiHyN3o"
      }
    },
  • "meta": {
    • "warnings": {
      • "secret_vault_credential": "This API key uses your registered secret vault credentials, but you have none registered - register one using /api/user_system_credentials to give it secret vault access"
      }
    }
}

Create download token

Returns a URL that downloads the supplied API URL without an Authorization header, for use as a browser link.

Notes:

  • The url must be a relative API URL that includes the download query parameter.
  • The returned URL appends a download_token query parameter that is valid for 60 seconds, for that exact URL and only for as long as the access token used to create it remains valid.
  • Only a request authenticated with an access token can create a download token.
Authorizations:
bearerAuth
header Parameters
Authorization
required
string

access token bearer authorisation

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "url": "/api/activities?download=activities.csv"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "meta": {
    • "download_url": "/api/activities?download=activities.csv&download_token=eyJhbGciOiJIUzI1NiJ9.eyJhY2Nlc3NfdG9rZW5faWQiOiIwMWExYTRlYS0yM2E1LTczNjMtODhkNi04NWEyODk4MzU1NWEiLCJhdWQiOiJvcHNjaGFpbl9kb3dubG9hZCIsImV4cCI6MTc5Mzc2ODIzMCwiaWF0IjoxNzkzNzY4MTcwLCJyZXEiOiI0NDkxY2EwZjFiMjZkMzBmZjIxZWIzYmYzYzQ0ZGFhNzE0N2NmNWFhYmJjYzg1MzJhNDE3YWU1N2Q5MjU0YzNiIn0.mJ0oYuIrtqLiQsV8no95xe8AwIs3PAzL1wOAblppZ8k"
    }
}

Show token

Show an authorisation token.

path Parameters
token_id
required
string
Example: 01a1a4e9-35a5-7b71-8b0a-829a8f8acaf6

authorisation token id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ea-25d5-7a03-b1d3-841423ba3ace",
    • "type": "authentication_token",
    • "attributes": {
      • "type": "ApiKeyToken",
      • "description": "CI token for API access",
      • "registered_vault_credentials": false,
      • "secret_vault_access": false,
      • "expires_at": "2027-05-04T04:56:10.960335Z",
      • "created_at": "2026-11-04T04:56:10.963927Z",
      • "updated_at": "2026-11-04T04:56:10.963927Z"
      },
    • "relationships": {
      • "owner": {
        }
      },
    • "links": {
      • "self": "/api/tokens/01a1a4ea-25d5-7a03-b1d3-841423ba3ace"
      }
    }
}

Delete token

Delete an authorisation token if it exists.

path Parameters
token_id
required
string
Example: 01a1a4e9-35a5-7b71-8b0a-829a8f8acaf6

authorisation token id

Responses

Show access token

Shows the access token used to authenticate the request. When the request authenticates with a username and password instead of a token, returns an array of all the current user's access tokens.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ea-2a67-7a4d-aa6c-ab50309f7507",
      • "type": "authentication_token",
      • "attributes": {
        },
      • "relationships": {
        },
      • "links": {
        }
      }
    ]
}

Delete access token

Deletes the access token used to authenticate the request and revokes the user's secret vault session token. When the request authenticates with a username and password instead, deletes all of the user's access tokens.

Responses

Users

Endpoints to interact with the users in the system.

List users

Lists users in the system

query Parameters
filter[<query/sort filter>]=
string
Example: filter[<query/sort filter>]==> filter[username_eq]=opschain

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-e969-7592-a6df-20116404018c",
      • "type": "user",
      • "attributes": {
        },
      • "meta": { },
      • "links": {
        }
      }
    ]
}

Show user

Show a user.

path Parameters
user_id
required
string
Example: 01a1a4e9-2288-707e-b1b0-2c4f4694211e

user id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-e9f6-7f76-8463-439119183088",
    • "type": "user",
    • "attributes": {
      • "username": "logged_in_user",
      • "groupnames": [
        ],
      • "auth_provider": "ldap",
      • "email_address": "logged_in_user@limepoint.com",
      • "display_name": null,
      • "first_name": null,
      • "last_name": null,
      • "default_notification_methods": [
        ],
      • "direct_message_ids": {
        },
      • "created_at": "2026-11-04T05:00:17.781647Z",
      • "updated_at": "2026-11-04T05:00:17.781647Z"
      },
    • "meta": {
      • "superuser": true
      },
    • "links": {
      • "self": "/api/users/01a1a4ed-e9f6-7f76-8463-439119183088"
      }
    }
}

Update user

Update a user's notification preferences, and a local user's names.

path Parameters
user_id
required
string
Example: 01a1a4e9-2288-707e-b1b0-2c4f4694211e

user id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "email_address": "user@limepoint.com",
      • "display_name": "Jane Citizen",
      • "first_name": "Jane",
      • "last_name": "Citizen",
      • "default_notification_methods": [
        ],
      • "direct_message_ids": {
        }
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-eaff-703c-a01e-88423cad7d2b",
    • "type": "user",
    • "attributes": {
      • "username": "logged_in_user",
      • "groupnames": [
        ],
      • "auth_provider": "ldap",
      • "email_address": "logged_in_user@limepoint.com",
      • "display_name": null,
      • "first_name": null,
      • "last_name": null,
      • "default_notification_methods": [
        ],
      • "direct_message_ids": {
        },
      • "created_at": "2026-11-04T05:00:18.046066Z",
      • "updated_at": "2026-11-04T05:00:18.106759Z"
      },
    • "meta": { },
    • "links": {
      • "self": "/api/users/01a1a4ed-eaff-703c-a01e-88423cad7d2b"
      }
    }
}

Show current user

Show the currently logged in user.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-ec76-7c9d-abf2-55194c2aab88",
    • "type": "user",
    • "attributes": {
      • "username": "logged_in_user",
      • "groupnames": [
        ],
      • "auth_provider": "ldap",
      • "email_address": "logged_in_user@limepoint.com",
      • "display_name": null,
      • "first_name": null,
      • "last_name": null,
      • "default_notification_methods": [
        ],
      • "direct_message_ids": {
        },
      • "created_at": "2026-11-04T05:00:18.421758Z",
      • "updated_at": "2026-11-04T05:00:18.421758Z"
      },
    • "meta": {
      • "superuser": true
      },
    • "links": {
      • "self": "/api/users/01a1a4ed-ec76-7c9d-abf2-55194c2aab88"
      }
    }
}

User system credentials

Endpoints to manage your own credentials for external systems such as the secret vault. OpsChain uses them to act as you, instead of with the system-wide credentials, when you store a value in the secret vault or retrieve one outside a change. A credential applies to the node path it is registered against and every node below it. Credential values are never returned, and only their owner can see or change them.

Create user system credential

Register one of your own tokens for an external system. For the secret vault, log in to the vault yourself and create a token there under the policies your vault administrators gave you; OpsChain never sees your password. external_vault_code names the vault the token is for - bundled (the default) for the secret vault bundled with OpsChain, or the code of a registered external vault (see /api/external_vaults). A credential is used wherever the settings assign its vault, whatever the mount path. You may hold one credential per system per vault. OpsChain checks the token with that vault before storing it, and rejects a token the vault does not accept.

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "target_system": "secret_vault",
      • "external_vault_code": "team_vault",
      • "token": "hvs.CAESIJ"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-ed37-73aa-a7c9-55b6c263a875",
    • "type": "user_system_credential",
    • "attributes": {
      • "target_system": "secret_vault",
      • "vault": {
        },
      • "managed": false,
      • "created_at": "2026-11-04T05:00:18.613645Z",
      • "updated_at": "2026-11-04T05:00:18.613645Z"
      },
    • "links": {
      • "self": "/api/user_system_credentials/01a1a4ed-ed37-73aa-a7c9-55b6c263a875"
      }
    }
}

List user system credentials

Lists your own system credentials. Tokens are never returned.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ed-ee95-7173-abaa-a6f7b4a84cd4",
      • "type": "user_system_credential",
      • "attributes": {
        },
      • "links": {
        }
      }
    ]
}

Show user system credential

Show one of your own system credentials.

path Parameters
credential_id
required
string

user system credential id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-ef0c-70be-a186-1eeef179642c",
    • "type": "user_system_credential",
    • "attributes": {
      • "target_system": "secret_vault",
      • "vault": {
        },
      • "managed": false,
      • "created_at": "2026-11-04T05:00:19.083154Z",
      • "updated_at": "2026-11-04T05:00:19.083154Z"
      },
    • "links": {
      • "self": "/api/user_system_credentials/01a1a4ed-ef0c-70be-a186-1eeef179642c"
      }
    }
}

Update user system credential

Replace the token of one of your own system credentials. A managed credential - the secret vault token OpsChain keeps for your session - cannot be updated, and is reported as not found. A new token is checked with the secret vault before it is stored.

path Parameters
credential_id
required
string

user system credential id

Request Body schema: application/vnd.api+json
required
object

Responses

Request samples

Content type
application/vnd.api+json
{
  • "data": {
    • "attributes": {
      • "token": "hvs.CAESIJ"
      }
    }
}

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ed-eff4-7b49-8f4e-942b01fb93c0",
    • "type": "user_system_credential",
    • "attributes": {
      • "target_system": "secret_vault",
      • "vault": {
        },
      • "managed": false,
      • "created_at": "2026-11-04T05:00:19.315593Z",
      • "updated_at": "2026-11-04T05:00:19.421835Z"
      },
    • "links": {
      • "self": "/api/user_system_credentials/01a1a4ed-eff4-7b49-8f4e-942b01fb93c0"
      }
    }
}

Delete user system credential

Delete one of your own system credentials. A managed credential - the secret vault token OpsChain keeps for your session - cannot be deleted, and is reported as not found; sign out to revoke it.

path Parameters
credential_id
required
string

user system credential id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "errors": [
    • {
      • "status": 404,
      • "title": "Record not found",
      • "meta": {
        }
      }
    ]
}

User notifications

Endpoints to interact with a users notification settings.

List notifications

Lists notifications the user has configured for a specific project, environment or asset (that do not reference a specific action or workflow).

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "01a1a4ec-7525-7333-821f-3a4235a566f3",
      • "type": "change_notifications",
      • "attributes": {
        }
      },
    • {
      • "id": "01a1a4ec-7525-7333-821f-3a4235a566f3",
      • "type": "settings_notifications",
      • "attributes": {
        }
      },
    • {
      • "id": "01a1a4ec-7525-7333-821f-3a4235a566f3",
      • "type": "properties_notifications",
      • "attributes": {
        }
      }
    ]
}

List change notifications

Lists all change specific notifications the user has configured for a specific project, environment or asset.

path Parameters
project_code
required
string
Example: opc

project code

asset_code
required
string
Example: prj_soa

asset code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-7a5e-7692-859f-b7ade3f281c8",
    • "type": "action_notifications",
    • "attributes": {
      • "custom_proj_action": {
        },
      • "proj_action_1": {
        },
      • "proj_action_2": {
        },
      • "provision": {
        }
      }
    }
}

List workflow notifications

Lists the events the user is notified of for each of the project's workflows, keyed by workflow code.

Workflow notifications belong to the project. An environment or asset path returns an empty set and cannot be updated.

path Parameters
project_code
required
string
Example: opc

project code

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-7e4a-795e-8c7b-90f0782c4148",
    • "type": "workflow_run_notifications",
    • "attributes": {
      • "assets": [ ],
      • "custom_workflow": [
        ],
      • "workflow_2": [
        ]
      }
    }
}

List all user notifications

Lists every notification the user has configured, across every node, keyed by node path.

A user may only list their own notifications - the id in the path must be the authenticated user's own.

path Parameters
user_id
required
string
Example: 01a1a4e9-2288-707e-b1b0-2c4f4694211e

user id

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": {
    • "id": "01a1a4ec-8259-7bba-8b7b-c59532e29e70",
    • "type": "all_user_notifications",
    • "attributes": {
      • "/projects/opc/assets/prj_soa": {
        },
      • "/projects/opc/environments/dev/assets/env_soa": {
        },
      • "/projects/opc": {
        }
      }
    }
}

Groups

Endpoints to interact with the user LDAP groups.

Secrets

Endpoints to interact with secrets from the vault or decrypting AES encrypted strings.

List the secret vaults to choose from

Lists the secret vaults a setting can assign through vault.code, and that a user can register a credential for: the bundled secret vault first, then every external vault in name order. Only the code and name of each vault are returned.

Responses

Response samples

Content type
application/vnd.api+json
{
  • "data": [
    • {
      • "id": "bundled",
      • "type": "external_vault_picker",
      • "attributes": {
        }
      },
    • {
      • "id": "team_vault",
      • "type": "external_vault_picker",
      • "attributes": {
        }
      }
    ]
}

Resolve secrets

Returns the decrypted values of the supplied secrets

Notes:

  • Each value that cannot be resolved is left out of results and reported instead as an error whose meta.source is the value as supplied. If some values resolve the response is a partial content (206) response containing both the data and the errors; if none resolve it is an unprocessable content (422) response containing only the errors.
  • A value that needs a secret vault credential you have not registered is reported as an error whose meta.secret_vault_credential_required lists the vault it needs one for. In a partial content response the same list is also returned in meta.secret_vault_credential_required.
  • Resolving secrets without permission to resolve them fails with a single unprocessable content error.
Request Body schema: application/vnd.api+json
required
object

Responses

</