---
title: "Get the Humanitec module definition of this Workload Artefact Version as a deployment set"
method: GET
path: "/orgs/{orgId}/artefact-versions/{artefactVersionId}/workload-deployment-set"
tags: ["public", "Artefact"]
---

# Get the Humanitec module definition of this Workload Artefact Version as a deployment set

`GET /orgs/{orgId}/artefact-versions/{artefactVersionId}/workload-deployment-set`

Returns the Humanitec workload module of this Artefact Version if it is of type workload. An error will be
returned if it is not.

## Path parameters

- `orgId` string, required
- `artefactVersionId` string, required

## Headers

- `Accept` string

## Response `200`

The workload spec as a Humanitec deployment set, returned in JSON format by default or in YAML if specified by the Accept header.

- WorkloadArtefactVersionDeploymentSet — Humanitec definition for a Workload Artefact.
  - `modules` object, required — The set of workloads to add when deployed, the key is the name of the workload.
  - `shared` object, required — The set of shared resources to depend on, the key is the resource identifier.

## Other responses

- `400` — Malformed Artefact Version ID.
- `404` — Artefact Version not found.

---

[API](https://skmtc.net/humanitec/apis/humanitec-api.md) · [All operations](https://skmtc.net/humanitec/apis/humanitec-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/humanitec/humanitec-api/revisions/e21ad140ec3c/schema)
