# Describe Artifact Deployments

Get Artifact Deployments

Endpoint: GET /har/api/v1/registry/{registry_ref}/artifact/{artifact}/version/{version}/deploymentdetails
Version: 1.0
Security: x-api-key

## Path parameters:

  - `registry_ref` (string, required)
    Reference to the scope in which the registry exists.

Format depends on the scope:

- Account-level: account_id/registry_name/+
- Organization-level: account_id/org_id/registry_name/+
- Project-level: account_id/org_id/project_id/registry_name/+

The /+ suffix is used internally to route scoped requests.
It must be included exactly as shown in the URL.

  - `artifact` (string, required)
    Name of the artifact.

The value depends on whether the name contains a slash (/):

- If the artifact name contains /, append a trailing /+ at the end.
  - Example: mygroup/myartifact/+
- If the artifact name does not contain /, use the plain name.
  - Example: myartifact

This is used internally to distinguish between namespaced and flat artifact names.

  - `version` (string, required)
    Name of Artifact Version.

## Query parameters:

  - `env_type` (string)
    env type
    Enum: "PreProduction", "Production"

  - `page` (integer)
    Current page number

  - `size` (integer)
    Number of items per page

  - `sort_order` (string)
    sortOrder

  - `sort_field` (string)
    sortField

  - `search_term` (string)
    search Term.

  - `version_type` (string)
    Version Type.
    Enum: "DIGEST", "TAG"

## Response 200 fields (application/json):

  - `data` (object, required)
    Docker Artifact deployments Details

  - `data.deployments` (object, required)
    A list of Artifact Deployments

  - `data.deployments.deployments` (array)
    A list of Artifact

  - `data.deployments.deployments.count` (integer)

  - `data.deployments.deployments.envIdentifier` (string)

  - `data.deployments.deployments.envName` (string)

  - `data.deployments.deployments.envType` (string)
    Environment Type
    Enum: "PreProduction", "Production"

  - `data.deployments.deployments.infraIdentifier` (string)

  - `data.deployments.deployments.infraName` (string)

  - `data.deployments.deployments.lastDeployedAt` (string)

  - `data.deployments.deployments.lastDeployedById` (string)

  - `data.deployments.deployments.lastDeployedByName` (string)

  - `data.deployments.deployments.lastPipelineExecutionId` (string)

  - `data.deployments.deployments.lastPipelineExecutionName` (string)

  - `data.deployments.deployments.orgIdentifier` (string)

  - `data.deployments.deployments.pipelineId` (string)

  - `data.deployments.deployments.projectIdentifier` (string)

  - `data.deployments.deployments.serviceIdentifier` (string)

  - `data.deployments.deployments.serviceName` (string)

  - `data.deployments.itemCount` (integer)
    The total number of items
    Example: 1

  - `data.deployments.pageCount` (integer)
    The total number of pages
    Example: 100

  - `data.deployments.pageIndex` (integer)
    The current page

  - `data.deployments.pageSize` (integer)
    The number of items per page
    Example: 1

  - `data.deploymentsStats` (object)
    DeploymentStats

  - `data.deploymentsStats.PreProduction` (integer, required)

  - `data.deploymentsStats.Production` (integer, required)

  - `status` (string, required)
    Request processing status indicator
    Enum: "SUCCESS", "FAILURE", "ERROR"

## Response 400 fields (application/json):

  - `code` (string, required)
    The HTTP error code
    Example: "404"

  - `details` (object)
    Additional context and details about the error.
May include field-specific validation errors or debugging information.
    Example: {"field":"registry_identifier","reason":"Registry does not exist in the specified project","value":"invalid-registry"}

  - `message` (string, required)
    Human-readable error message explaining what went wrong
    Example: "Registry not found"


