> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/artifact-registry/api-reference/models.md).

# Models

## The AccessKeySecretKey object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"AccessKeySecretKey":{"properties":{"accessKey":{"type":"string"},"accessKeySecretIdentifier":{"type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"]}}}}
```

## The AddTags object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"AddTags":{"properties":{"package":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"version":{"type":"string"}},"required":["version","tags","package"],"type":"object"}}}}
```

## The AddTagsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"AddTagsV3":{"properties":{"tags":{"items":{"type":"string"},"type":"array"}},"required":["tags"],"type":"object"}}}}
```

## The AlpineArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"AlpineArtifactDetailConfig":{"description":"Config for Alpine (APK) artifact details.","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The Anonymous object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Anonymous":{}}}}
```

## The ApiErrorsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ApiErrorsV3":{"properties":{"code":{"description":"For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.","maxLength":5000,"type":"string"},"message":{"description":"A human-readable message providing more details about the error. These messages can be shown to users.","maxLength":40000,"type":"string"},"param":{"description":"If the error is parameter-specific, the parameter related to the error. For example, we can use this to display a message near the correct form field.","maxLength":5000,"type":"string"},"type":{"description":"The type of error returned.","enum":["INVALID_REQUEST_ERROR","AUTHENTICATION_ERROR","PERMISSION_ERROR","API_ERROR"],"type":"string"}},"required":["type"],"title":"APIErrors","type":"object"}}}}
```

## The ArtifactDeploymentsDetail object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactDeploymentsDetail":{"description":"Artifact deployments Detail","properties":{"count":{"type":"integer"},"envIdentifier":{"type":"string"},"envName":{"type":"string"},"envType":{"$ref":"#/components/schemas/EnvironmentType"},"infraIdentifier":{"type":"string"},"infraName":{"type":"string"},"lastDeployedAt":{"type":"string"},"lastDeployedById":{"type":"string"},"lastDeployedByName":{"type":"string"},"lastPipelineExecutionId":{"type":"string"},"lastPipelineExecutionName":{"type":"string"},"orgIdentifier":{"type":"string"},"pipelineId":{"type":"string"},"projectIdentifier":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"}},"type":"object"},"EnvironmentType":{"description":"Environment Type","enum":["PreProduction","Production"],"type":"string"}}}}
```

## The ArtifactDeploymentsDetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactDeploymentsDetails":{"description":"Docker Artifact deployments Details","properties":{"deployments":{"$ref":"#/components/schemas/ArtifactDeploymentsList"},"deploymentsStats":{"$ref":"#/components/schemas/DeploymentStats"}},"required":["deployments"],"type":"object"},"ArtifactDeploymentsList":{"description":"A list of Artifact Deployments","properties":{"deployments":{"description":"A list of Artifact","items":{"$ref":"#/components/schemas/ArtifactDeploymentsDetail"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["artifacts"],"type":"object"},"ArtifactDeploymentsDetail":{"description":"Artifact deployments Detail","properties":{"count":{"type":"integer"},"envIdentifier":{"type":"string"},"envName":{"type":"string"},"envType":{"$ref":"#/components/schemas/EnvironmentType"},"infraIdentifier":{"type":"string"},"infraName":{"type":"string"},"lastDeployedAt":{"type":"string"},"lastDeployedById":{"type":"string"},"lastDeployedByName":{"type":"string"},"lastPipelineExecutionId":{"type":"string"},"lastPipelineExecutionName":{"type":"string"},"orgIdentifier":{"type":"string"},"pipelineId":{"type":"string"},"projectIdentifier":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"}},"type":"object"},"EnvironmentType":{"description":"Environment Type","enum":["PreProduction","Production"],"type":"string"},"DeploymentStats":{"description":"DeploymentStats","properties":{"PreProduction":{"type":"integer"},"Production":{"type":"integer"}},"required":["Production","PreProduction"],"type":"object"}}}}
```

## The ArtifactDeploymentsList object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactDeploymentsList":{"description":"A list of Artifact Deployments","properties":{"deployments":{"description":"A list of Artifact","items":{"$ref":"#/components/schemas/ArtifactDeploymentsDetail"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["artifacts"],"type":"object"},"ArtifactDeploymentsDetail":{"description":"Artifact deployments Detail","properties":{"count":{"type":"integer"},"envIdentifier":{"type":"string"},"envName":{"type":"string"},"envType":{"$ref":"#/components/schemas/EnvironmentType"},"infraIdentifier":{"type":"string"},"infraName":{"type":"string"},"lastDeployedAt":{"type":"string"},"lastDeployedById":{"type":"string"},"lastDeployedByName":{"type":"string"},"lastPipelineExecutionId":{"type":"string"},"lastPipelineExecutionName":{"type":"string"},"orgIdentifier":{"type":"string"},"pipelineId":{"type":"string"},"projectIdentifier":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"}},"type":"object"},"EnvironmentType":{"description":"Environment Type","enum":["PreProduction","Production"],"type":"string"}}}}
```

## The ArtifactDetail object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactDetail":{"description":"Artifact Detail","discriminator":{"mapping":{"ALPINE":"#/components/schemas/AlpineArtifactDetailConfig","CARGO":"#/components/schemas/CargoArtifactDetailConfig","COMPOSER":"#/components/schemas/ComposerArtifactDetailConfig","CONAN":"#/components/schemas/ConanArtifactDetailConfig","CONDA":"#/components/schemas/CondaArtifactDetailConfig","CRAN":"#/components/schemas/CRANArtifactDetailConfig","DART":"#/components/schemas/DartArtifactDetailConfig","DEBIAN":"#/components/schemas/DebianArtifactDetailConfig","DOCKER":"#/components/schemas/DockerArtifactDetailConfig","GENERIC":"#/components/schemas/GenericArtifactDetailConfig","GO":"#/components/schemas/GoArtifactDetailConfig","HELM":"#/components/schemas/HelmArtifactDetailConfig","HELM_HTTP":"#/components/schemas/HelmHttpArtifactDetailConfig","HUGGINGFACE":"#/components/schemas/HuggingFaceArtifactDetailConfig","MAVEN":"#/components/schemas/MavenArtifactDetailConfig","NPM":"#/components/schemas/NpmArtifactDetailConfig","NUGET":"#/components/schemas/NugetArtifactDetailConfig","PUPPET":"#/components/schemas/PuppetArtifactDetailConfig","PYTHON":"#/components/schemas/PythonArtifactDetailConfig","RPM":"#/components/schemas/RpmArtifactDetailConfig","RUBY":"#/components/schemas/RubyArtifactDetailConfig","SWIFT":"#/components/schemas/SwiftArtifactDetailConfig","TERRAFORM":"#/components/schemas/TerraformArtifactDetailConfig","WOLFI":"#/components/schemas/WolfiArtifactDetailConfig"},"propertyName":"packageType"},"oneOf":[{"$ref":"#/components/schemas/DockerArtifactDetailConfig"},{"$ref":"#/components/schemas/HelmArtifactDetailConfig"},{"$ref":"#/components/schemas/GenericArtifactDetailConfig"},{"$ref":"#/components/schemas/MavenArtifactDetailConfig"},{"$ref":"#/components/schemas/PythonArtifactDetailConfig"},{"$ref":"#/components/schemas/NpmArtifactDetailConfig"},{"$ref":"#/components/schemas/RpmArtifactDetailConfig"},{"$ref":"#/components/schemas/NugetArtifactDetailConfig"},{"$ref":"#/components/schemas/CargoArtifactDetailConfig"},{"$ref":"#/components/schemas/GoArtifactDetailConfig"},{"$ref":"#/components/schemas/HuggingFaceArtifactDetailConfig"},{"$ref":"#/components/schemas/CondaArtifactDetailConfig"},{"$ref":"#/components/schemas/DartArtifactDetailConfig"},{"$ref":"#/components/schemas/ComposerArtifactDetailConfig"},{"$ref":"#/components/schemas/SwiftArtifactDetailConfig"},{"$ref":"#/components/schemas/PuppetArtifactDetailConfig"},{"$ref":"#/components/schemas/HelmHttpArtifactDetailConfig"},{"$ref":"#/components/schemas/DebianArtifactDetailConfig"},{"$ref":"#/components/schemas/ConanArtifactDetailConfig"},{"$ref":"#/components/schemas/RubyArtifactDetailConfig"},{"$ref":"#/components/schemas/CRANArtifactDetailConfig"},{"$ref":"#/components/schemas/TerraformArtifactDetailConfig"},{"$ref":"#/components/schemas/WolfiArtifactDetailConfig"},{"$ref":"#/components/schemas/AlpineArtifactDetailConfig"}],"properties":{"artifactKey":{"additionalProperties":{"type":"string"},"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"createdAt":{"type":"string"},"createdBy":{"$ref":"#/components/schemas/UserInfo"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"downloadCount":{"format":"int64","type":"integer"},"isQuarantined":{"type":"boolean"},"modifiedAt":{"type":"string"},"name":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"quarantineReason":{"type":"string"},"size":{"type":"string"},"version":{"type":"string"}},"required":["imageName","version","registryPath","url","packageType"],"type":"object"},"DockerArtifactDetailConfig":{"description":"Config for docker artifact details","properties":{"pullCommand":{"type":"string"}},"type":"object"},"HelmArtifactDetailConfig":{"description":"Config for helm artifact details","properties":{"pullCommand":{"type":"string"}},"type":"object"},"GenericArtifactDetailConfig":{"description":"Config for generic artifact details","properties":{"description":{"type":"string"}},"type":"object"},"MavenArtifactDetailConfig":{"description":"Config for maven artifact details","properties":{"artifactId":{"type":"string"},"groupId":{"type":"string"}},"type":"object"},"PythonArtifactDetailConfig":{"description":"Config for python artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"NpmArtifactDetailConfig":{"description":"Config for npm artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"RpmArtifactDetailConfig":{"description":"Config for RPM artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"NugetArtifactDetailConfig":{"description":"Config for nuget artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"CargoArtifactDetailConfig":{"description":"Config for Cargo artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"GoArtifactDetailConfig":{"description":"Config for Go artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"HuggingFaceArtifactDetailConfig":{"description":"Config for huggingface artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"CondaArtifactDetailConfig":{"description":"Config for conda artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"DartArtifactDetailConfig":{"description":"Config for dart artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"ComposerArtifactDetailConfig":{"description":"Config for composer artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"SwiftArtifactDetailConfig":{"description":"Config for swift artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"PuppetArtifactDetailConfig":{"description":"Config for puppet artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"HelmHttpArtifactDetailConfig":{"description":"Config for Helm HTTP artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"DebianArtifactDetailConfig":{"description":"Config for debian artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"ConanArtifactDetailConfig":{"description":"Config for Conan artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"RubyArtifactDetailConfig":{"description":"Config for RubyGems artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"CRANArtifactDetailConfig":{"description":"Config for CRAN artifact details.","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"TerraformArtifactDetailConfig":{"description":"Config for Terraform artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"WolfiArtifactDetailConfig":{"description":"Config for Wolfi (APK) artifact details.","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"AlpineArtifactDetailConfig":{"description":"Config for Alpine (APK) artifact details.","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"UserInfo":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The ArtifactEntityMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"}}}}
```

## The ArtifactLabelRequest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactLabelRequest":{"properties":{"labels":{"items":{"type":"string"},"type":"array"}},"required":["labels"],"type":"object"}}}}
```

## The ArtifactMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactMetadata":{"description":"Artifact Metadata","properties":{"artifactKey":{"additionalProperties":{"type":"string"},"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the artifact was soft deleted. Null if not deleted.","type":"string"},"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadata"},"digestCount":{"format":"int64","type":"integer"},"downloadsCount":{"format":"int64","type":"integer"},"fileCount":{"type":"integer"},"firewallMode":{"enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"isQuarantined":{"type":"boolean"},"labels":{"items":{"type":"string"},"type":"array"},"lastModified":{"type":"string"},"lastScannedAt":{"type":"string"},"latestVersion":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"name":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"purl":{"description":"Package URL (PURL) identifying the package version.","type":"string"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryPath":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryType"},"registryUUID":{"type":"string"},"scanId":{"type":"string"},"scanStatus":{"enum":["WARN","BLOCKED","ALLOWED"],"type":"string"},"uuid":{"type":"string"},"version":{"type":"string"}},"required":["name","version","registryIdentifier","latestVersion","registryPath","packageType","registryUUID","uuid"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"DeploymentMetadata":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The ArtifactScanDetailsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactScanDetailsV3":{"description":"Artifact scans details","properties":{"buildDetails":{"$ref":"#/components/schemas/BuildDetailsV3"},"createdAt":{"type":"string"},"exemptionStatus":{"$ref":"#/components/schemas/ExemptionStatusV3"},"fixVersionDetails":{"$ref":"#/components/schemas/FixVersionDetailsV3"},"id":{"description":"Unique identifier for this artifact scan details","format":"uuid","type":"string"},"lastEvaluatedAt":{"type":"string"},"packageName":{"description":"Package name","type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"parentRegistryId":{"description":"Parent virtual registry UUID","format":"uuid","type":"string"},"parentRegistryName":{"description":"Parent virtual registry name","type":"string"},"parentRegistryOrgId":{"description":"Parent registry organization identifier","type":"string"},"parentRegistryProjectId":{"description":"Parent registry project identifier","type":"string"},"policySetFailureDetails":{"items":{"$ref":"#/components/schemas/PolicySetFailureDetailV3"},"type":"array"},"purl":{"description":"Package URL (PURL) identifying the package version","type":"string"},"registryId":{"description":"Registry ID","format":"uuid","type":"string"},"registryName":{"description":"Registry name","type":"string"},"registryOrgId":{"description":"Organization identifier of the registry","type":"string"},"registryProjectId":{"description":"Project identifier of the registry","type":"string"},"rootPackages":{"description":"Unique set of root packages (name@version) impacted by this scan","items":{"description":"Root package with name and version (e.g. name@version)","type":"string"},"type":"array","uniqueItems":true},"scanStatus":{"description":"Scan status","enum":["BLOCKED","WARN"],"type":"string"},"version":{"description":"Version","type":"string"},"versionId":{"description":"Version","format":"uuid","type":"string"}},"required":["id","packageType","packageName","version","registryName","registry_id","parentRegistryId","parentRegistryName","policySetFailureDetails","scanStatus","buildDetails","rootPackages","purl"],"type":"object"},"BuildDetailsV3":{"description":"List of build detail entries containing pipeline and package info.\n","items":{"$ref":"#/components/schemas/BuildDetailEntryV3"},"type":"array"},"BuildDetailEntryV3":{"description":"Build detail entry for a single scan.","properties":{"lastExecutionTime":{"description":"Epoch time (seconds) of the latest execution.","format":"int64","type":"integer"},"latestExecutionId":{"description":"Latest execution identifier.","type":"string"},"pipelineId":{"description":"Pipeline identifier.","type":"string"},"rootPackage":{"description":"Root package identifier in name@version format.","type":"string"},"stageId":{"description":"Stage identifier.","type":"string"},"stepId":{"description":"Step identifier.","type":"string"}},"required":["pipelineId","package","latestExecutionId","lastExecutionTime","stageId","rootPackage"],"type":"object"},"ExemptionStatusV3":{"description":"Exemption status for an artifact, showing if an exception exists.","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"expirationAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"id":{"description":"Firewall exception ID for navigation to the exception detail.","format":"uuid","type":"string"},"status":{"description":"Current status of the exception.","enum":["PENDING","APPROVED","REJECTED","EXPIRED"],"type":"string"}},"required":["id","status","createdAt"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"FixVersionDetailsV3":{"description":"Fix version Details","properties":{"currentVersion":{"description":"The current version","type":"string"},"fixVersion":{"description":"The fix version","type":"string"},"fixVersionAvailable":{"description":"Fix version available or not","type":"boolean"}},"required":["fixVersionAvailable","currentVersion"],"type":"object"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"PolicySetFailureDetailV3":{"description":"Policy set failure detail entry.","properties":{"policyFailureDetails":{"items":{"$ref":"#/components/schemas/PolicyFailureDetailV3"},"type":"array"},"policySetName":{"description":"Policy set name.","type":"string"},"policySetRef":{"description":"Policy set reference.","type":"string"}},"required":["policySetRef","policySetName","policyFailureDetails"],"type":"object"},"PolicyFailureDetailV3":{"description":"Policy failure detail entry.","discriminator":{"mapping":{"License":"#/components/schemas/LicensePolicyFailureDetailConfigV3","MaliciousPackage":"#/components/schemas/MaliciousPackagePolicyFailureDetailConfigV3","OssRiskLevel":"#/components/schemas/OssRiskLevelPolicyFailureDetailConfigV3","PackageAge":"#/components/schemas/PackageAgeViolationPolicyFailureDetailConfigV3","Security":"#/components/schemas/SecurityPolicyFailureDetailConfigV3"},"propertyName":"category"},"oneOf":[{"$ref":"#/components/schemas/SecurityPolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/LicensePolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/MaliciousPackagePolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/PackageAgeViolationPolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/OssRiskLevelPolicyFailureDetailConfigV3"}],"properties":{"category":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"policyName":{"description":"Policy name.","type":"string"},"policyRef":{"description":"Policy Ref.","type":"string"}},"required":["category","policyName","policyRef"],"type":"object"},"SecurityPolicyFailureDetailConfigV3":{"description":"Security-specific failure detail payload.","properties":{"vulnerabilities":{"description":"List of security violations.","items":{"$ref":"#/components/schemas/SecurityPolicyFailureVulnerabilityV3"},"type":"array"}},"required":["vulnerabilities"],"type":"object"},"SecurityPolicyFailureVulnerabilityV3":{"description":"Security violation entry.","properties":{"cveId":{"description":"CVE identifier.","type":"string"},"cvssScore":{"description":"CVSS score.","format":"double","type":"number"},"cvssThreshold":{"description":"CVSS threshold.","format":"double","type":"number"}},"required":["cveId","cvssScore","cvssThreshold"],"type":"object"},"LicensePolicyFailureDetailConfigV3":{"description":"License-specific failure detail payload.","properties":{"allowedLicenses":{"description":"Allowed license list.","items":{"type":"string"},"type":"array"},"blockedLicense":{"description":"Blocked license.","type":"string"}},"required":["allowedLicenses","blockedLicense"],"type":"object"},"MaliciousPackagePolicyFailureDetailConfigV3":{"description":"Malicious package failure detail payload.","properties":{"blockedPackage":{"description":"The blocked package identifier (purl).","type":"string"},"message":{"description":"Human-readable message describing the violation.","type":"string"},"reason":{"description":"The reason the package is blocked.","type":"string"}},"required":["blockedPackage","reason","message"],"type":"object"},"PackageAgeViolationPolicyFailureDetailConfigV3":{"description":"Package age violation failure detail payload.","properties":{"packageAgeThreshold":{"description":"Package age threshold.","type":"string"},"publishedOn":{"description":"Package publish date.","type":"string"}},"required":["publishedOn","packageAgeThreshold"],"type":"object"},"OssRiskLevelPolicyFailureDetailConfigV3":{"description":"OSS risk level-specific failure detail payload.","properties":{"ossRiskLevel":{"description":"oss risk level","type":"string"},"ossRiskScore":{"description":"oss risk level","format":"double","type":"number"}},"required":["ossRiskLevel"],"type":"object"},"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"}}}}
```

## The ArtifactScanEvaluateRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactScanEvaluateRequestInputV3":{"description":"Input for re-evaluate artifact scan.\nExactly one of scanId or versionId must be provided.\n","properties":{"scanId":{"description":"Scan identifier","type":"string"},"versionId":{"description":"Artifact version identifier","type":"string"}},"type":"object"}}}}
```

## The ArtifactScanEvaluateRequestStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactScanEvaluateRequestStatusV3":{"description":"Status of the Artifact Scan Evaluate Request","enum":["PENDING","PROCESSING","SUCCESS","FAILED"],"type":"string"}}}}
```

## The ArtifactScanInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactScanInputV3":{"description":"Artifact to be scanned","properties":{"packageName":{"description":"Name of the package","type":"string"},"version":{"description":"Version of the package","type":"string"}},"required":["packageName","version"],"type":"object"}}}}
```

## The ArtifactScanV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactScanV3":{"properties":{"RegistryOrgId":{"description":"Organization identifier","type":"string"},"RegistryProjectId":{"description":"Project identifier","type":"string"},"buildDetails":{"$ref":"#/components/schemas/BuildDetailsV3"},"exemptionStatus":{"$ref":"#/components/schemas/ExemptionStatusV3"},"id":{"type":"string"},"lastEvaluatedAt":{"type":"string"},"lastEvaluatedBy":{"type":"string"},"packageName":{"description":"Package name","type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"parentRegistryId":{"description":"Parent virtual registry UUID","type":"string"},"parentRegistryName":{"description":"Parent virtual registry name","type":"string"},"parentRegistryOrgId":{"description":"Parent registry organization identifier","type":"string"},"parentRegistryProjectId":{"description":"Parent registry project identifier","type":"string"},"policySets":{"$ref":"#/components/schemas/PolicySetsV3"},"purl":{"description":"Package URL (PURL) identifying the package version","type":"string"},"registryId":{"description":"Registry name","type":"string"},"registryName":{"description":"Registry name","type":"string"},"rootPackages":{"description":"Unique set of root packages (name@version) impacted by this scan","items":{"description":"Root package with name and version (e.g. name@version)","type":"string"},"type":"array","uniqueItems":true},"scanStatus":{"description":"Scan status","enum":["BLOCKED","WARN"],"type":"string"},"securityViolationCategories":{"description":"Security violation categories","items":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"type":"array"},"totalAffectedPipelines":{"description":"Total number of affected pipelines","type":"integer"},"version":{"description":"Version","type":"string"},"versionId":{"description":"Version","type":"string"}},"required":["id","packageType","packageName","purl","version","registryName","registryId","parentRegistryId","parentRegistryName","policySets","scanStatus","securityViolationCategories","buildDetails","rootPackages","totalAffectedPipelines"],"type":"object"},"BuildDetailsV3":{"description":"List of build detail entries containing pipeline and package info.\n","items":{"$ref":"#/components/schemas/BuildDetailEntryV3"},"type":"array"},"BuildDetailEntryV3":{"description":"Build detail entry for a single scan.","properties":{"lastExecutionTime":{"description":"Epoch time (seconds) of the latest execution.","format":"int64","type":"integer"},"latestExecutionId":{"description":"Latest execution identifier.","type":"string"},"pipelineId":{"description":"Pipeline identifier.","type":"string"},"rootPackage":{"description":"Root package identifier in name@version format.","type":"string"},"stageId":{"description":"Stage identifier.","type":"string"},"stepId":{"description":"Step identifier.","type":"string"}},"required":["pipelineId","package","latestExecutionId","lastExecutionTime","stageId","rootPackage"],"type":"object"},"ExemptionStatusV3":{"description":"Exemption status for an artifact, showing if an exception exists.","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"expirationAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"id":{"description":"Firewall exception ID for navigation to the exception detail.","format":"uuid","type":"string"},"status":{"description":"Current status of the exception.","enum":["PENDING","APPROVED","REJECTED","EXPIRED"],"type":"string"}},"required":["id","status","createdAt"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"PolicySetsV3":{"description":"List of opa policy sets.","items":{"properties":{"policySetName":{"description":"Policy Set name","type":"string"},"policySetRef":{"description":"Unique reference for the opa policy set. Example: `my-policy` or `account.my-policy`","type":"string"}},"required":["policySetRef","policySetName"],"type":"object"},"type":"array"},"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"}}}}
```

## The ArtifactStats object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactStats":{"description":"Harness Artifact Stats","properties":{"downloadCount":{"format":"int64","type":"integer"},"downloadSize":{"format":"int64","type":"integer"},"totalStorageSize":{"format":"int64","type":"integer"},"uploadSize":{"format":"int64","type":"integer"}},"type":"object"}}}}
```

## The ArtifactSummary object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactSummary":{"description":"Harness Artifact Summary","properties":{"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"createdAt":{"type":"string"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"imageName":{"type":"string"},"labels":{"items":{"type":"string"},"type":"array"},"modifiedAt":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"registryUUID":{"type":"string"},"uuid":{"type":"string"}},"required":["imageName","packageType","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The ArtifactType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"}}}}
```

## The ArtifactVersionMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactVersionMetadata":{"description":"Artifact Version Metadata","properties":{"artifactKey":{"additionalProperties":{"type":"string"},"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the artifact was soft deleted. Null if not deleted.","type":"string"},"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadata"},"digestCount":{"format":"int64","type":"integer"},"downloadsCount":{"format":"int64","type":"integer"},"fileCount":{"format":"int64","type":"integer"},"firewallMode":{"enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"isQuarantined":{"type":"boolean"},"lastModified":{"type":"string"},"lastScannedAt":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"name":{"type":"string"},"opaMetadataValidation":{"type":"boolean"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryPath":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryType"},"registryUUID":{"type":"string"},"scanId":{"type":"string"},"scanStatus":{"enum":["WARN","BLOCKED","ALLOWED"],"type":"string"},"size":{"type":"string"},"uuid":{"type":"string"}},"required":["name","registryIdentifier","latestVersion","registryPath","packageType","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"DeploymentMetadata":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The ArtifactVersionSummary object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ArtifactVersionSummary":{"description":"Docker Artifact Version Summary","properties":{"artifactKey":{"additionalProperties":{"type":"string"},"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the artifact was soft deleted. Null if not deleted.","type":"string"},"firewallMode":{"enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"imageName":{"type":"string"},"imageUUID":{"type":"string"},"isQuarantined":{"type":"boolean"},"lastScannedAt":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"purl":{"type":"string"},"quarantineReason":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryType"},"registryUUID":{"type":"string"},"scanId":{"type":"string"},"scanStatus":{"enum":["WARN","BLOCKED","ALLOWED"],"type":"string"},"sscaArtifactId":{"type":"string"},"sscaArtifactSourceId":{"type":"string"},"stoExecutionId":{"type":"string"},"stoPipelineId":{"type":"string"},"uuid":{"type":"string"},"version":{"type":"string"}},"required":["imageName","version","packageType","uuid","registryUUID","imageUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The AuthType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"AuthType":{"description":"Authentication type","enum":["UserPassword","AccessKeySecretKey","Anonymous","BearerToken"],"type":"string"}}}}
```

## The AutoMetadataRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"AutoMetadataRequestInputV3":{"description":"System-generated (AUTO) metadata to upsert. The target is chosen from the\nfields that are set, matching the public metadata API:\n\n1. `package` and `version` attach the metadata to that version.\n2. `package` alone attaches it to the package.\n3. Neither attaches it to the registry.\n\nExisting MANUAL metadata on the same target is left unchanged.\n","properties":{"artifactKeyFilters":{"additionalProperties":{"type":"string"},"description":"Extra coordinates that disambiguate a version for package types that\nneed them, such as Debian (`architecture`, `distribution`, `component`).\n","type":"object"},"metadata":{"description":"Metadata key-value pairs to upsert as AUTO metadata.","items":{"$ref":"#/components/schemas/MetadataItemInputV3"},"maxItems":50,"minItems":1,"type":"array"},"package":{"description":"Package name. Required when `version` is set.","type":"string"},"registryName":{"description":"Name of the registry the metadata applies to.","minLength":1,"type":"string"},"version":{"description":"Version name. Attaches the metadata to this version of `package`.","type":"string"}},"required":["registryName","metadata"],"type":"object"},"MetadataItemInputV3":{"description":"Metadata key-value pair for create/update operations","properties":{"key":{"description":"The metadata key name (case-sensitive)","maxLength":128,"minLength":1,"type":"string"},"value":{"description":"The metadata value","maxLength":256,"minLength":1,"type":"string"}},"required":["key","value"],"type":"object"}}}}
```

## The BackfillEntityStateV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BackfillEntityStateV3":{"description":"Per-entity backfill progress and ES document count for an account.","properties":{"completedAt":{"$ref":"#/components/schemas/CompletedAtMsV3"},"documentsInES":{"description":"Number of documents currently present in Elasticsearch for this entity type.","format":"int64","type":"integer"},"lastProcessedID":{"description":"Checkpoint cursor of the last successfully indexed row.","type":"string"},"startedAt":{"$ref":"#/components/schemas/StartedAtMsV3"},"status":{"description":"Current backfill status for this entity type.","type":"string"},"totalProcessed":{"description":"Total rows processed for this entity type so far.","format":"int64","type":"integer"}},"required":["status","lastProcessedID","totalProcessed","documentsInES","startedAt","completedAt"],"type":"object"},"CompletedAtMsV3":{"description":"Unix timestamp in milliseconds when the operation completed. Null while still in flight.","format":"int64","nullable":true,"type":"integer"},"StartedAtMsV3":{"description":"Unix timestamp in milliseconds when the operation started","format":"int64","nullable":true,"type":"integer"}}}}
```

## The BackfillStateDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BackfillStateDataV3":{"description":"Aggregated backfill state for an account across all entity types.","properties":{"accountIdentifier":{"description":"Account identifier the state belongs to.","type":"string"},"entities":{"additionalProperties":{"$ref":"#/components/schemas/BackfillEntityStateV3"},"description":"Map of entity type to its current backfill state.","type":"object"}},"required":["accountIdentifier","entities"],"type":"object"},"BackfillEntityStateV3":{"description":"Per-entity backfill progress and ES document count for an account.","properties":{"completedAt":{"$ref":"#/components/schemas/CompletedAtMsV3"},"documentsInES":{"description":"Number of documents currently present in Elasticsearch for this entity type.","format":"int64","type":"integer"},"lastProcessedID":{"description":"Checkpoint cursor of the last successfully indexed row.","type":"string"},"startedAt":{"$ref":"#/components/schemas/StartedAtMsV3"},"status":{"description":"Current backfill status for this entity type.","type":"string"},"totalProcessed":{"description":"Total rows processed for this entity type so far.","format":"int64","type":"integer"}},"required":["status","lastProcessedID","totalProcessed","documentsInES","startedAt","completedAt"],"type":"object"},"CompletedAtMsV3":{"description":"Unix timestamp in milliseconds when the operation completed. Null while still in flight.","format":"int64","nullable":true,"type":"integer"},"StartedAtMsV3":{"description":"Unix timestamp in milliseconds when the operation started","format":"int64","nullable":true,"type":"integer"}}}}
```

## The BackfillTaskStatusDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BackfillTaskStatusDataV3":{"description":"Status of a single backfill job (CDC outbox row).","properties":{"attempts":{"description":"Number of execution attempts so far.","format":"int64","type":"integer"},"completedAt":{"$ref":"#/components/schemas/CompletedAtMsV3"},"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"jobId":{"description":"Numeric identifier of the CDC job row.","type":"string"},"jobType":{"description":"Job type discriminator.","type":"string"},"lastError":{"description":"Last error message from the most recent failed attempt, if any.","type":"string"},"status":{"description":"Lifecycle status of the job.","type":"string"}},"required":["jobId","status","createdAt","jobType","attempts"],"type":"object"},"CompletedAtMsV3":{"description":"Unix timestamp in milliseconds when the operation completed. Null while still in flight.","format":"int64","nullable":true,"type":"integer"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"}}}}
```

## The BackfillTriggerDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BackfillTriggerDataV3":{"description":"Response payload returned when a backfill is successfully triggered.","properties":{"jobId":{"description":"Numeric identifier of the CDC job row created for this backfill.","type":"integer"}},"required":["jobId"],"type":"object"}}}}
```

## The BackfillTriggerRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BackfillTriggerRequestInputV3":{"description":"Request body for triggering an ES search backfill.","properties":{"entityTypes":{"description":"Entity types to backfill into Elasticsearch.","items":{"enum":["REGISTRY","PACKAGE","PACKAGE_VERSION","FILE"],"type":"string"},"type":"array"},"pruneOrphans":{"default":false,"description":"If true, once a full pass of an entity type completes, delete the Elasticsearch documents of the\naccount that the pass did not re-index (rows that no longer exist in Postgres). Requires\nreindexAll=true, because only a pass that started from the beginning has seen every row.\n","type":"boolean"},"reindexAll":{"default":false,"description":"If true, reset progress and re-index all rows from the beginning.","type":"boolean"}},"required":["entityTypes"],"type":"object"}}}}
```

## The BearerToken object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BearerToken":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}}}}}}
```

## The BuildDetailEntryV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BuildDetailEntryV3":{"description":"Build detail entry for a single scan.","properties":{"lastExecutionTime":{"description":"Epoch time (seconds) of the latest execution.","format":"int64","type":"integer"},"latestExecutionId":{"description":"Latest execution identifier.","type":"string"},"pipelineId":{"description":"Pipeline identifier.","type":"string"},"rootPackage":{"description":"Root package identifier in name@version format.","type":"string"},"stageId":{"description":"Stage identifier.","type":"string"},"stepId":{"description":"Step identifier.","type":"string"}},"required":["pipelineId","package","latestExecutionId","lastExecutionTime","stageId","rootPackage"],"type":"object"}}}}
```

## The BuildDetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BuildDetails":{"properties":{"orgIdentifier":{"type":"string"},"pipelineDisplayName":{"type":"string"},"pipelineExecutionId":{"type":"string"},"pipelineIdentifier":{"type":"string"},"projectIdentifier":{"type":"string"},"stageExecutionId":{"type":"string"},"stepExecutionId":{"type":"string"}},"type":"object"}}}}
```

## The BuildDetailsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BuildDetailsV3":{"description":"List of build detail entries containing pipeline and package info.\n","items":{"$ref":"#/components/schemas/BuildDetailEntryV3"},"type":"array"},"BuildDetailEntryV3":{"description":"Build detail entry for a single scan.","properties":{"lastExecutionTime":{"description":"Epoch time (seconds) of the latest execution.","format":"int64","type":"integer"},"latestExecutionId":{"description":"Latest execution identifier.","type":"string"},"pipelineId":{"description":"Pipeline identifier.","type":"string"},"rootPackage":{"description":"Root package identifier in name@version format.","type":"string"},"stageId":{"description":"Stage identifier.","type":"string"},"stepId":{"description":"Step identifier.","type":"string"}},"required":["pipelineId","package","latestExecutionId","lastExecutionTime","stageId","rootPackage"],"type":"object"}}}}
```

## The BuildInfoMetadataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BuildInfoMetadataV3":{"description":"List of dependency graph nodes for the build.","items":{"$ref":"#/components/schemas/BuildInfoNodeV3"},"type":"array"},"BuildInfoNodeV3":{"description":"Node in the build","properties":{"nodeKey":{"description":"package@version","type":"string"},"parentNodeKey":{"description":"Parent node","type":"string"}},"required":["nodeKey"],"type":"object"}}}}
```

## The BuildInfoNodeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BuildInfoNodeV3":{"description":"Node in the build","properties":{"nodeKey":{"description":"package@version","type":"string"},"parentNodeKey":{"description":"Parent node","type":"string"}},"required":["nodeKey"],"type":"object"}}}}
```

## The BuildInfoRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BuildInfoRequestInputV3":{"description":"Request to add build info","properties":{"metadata":{"$ref":"#/components/schemas/BuildInfoMetadataV3"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"pipelineContext":{"$ref":"#/components/schemas/PipelineContextV3"},"registryId":{"description":"UUID of the registry to add build info for","format":"uuid","type":"string"},"rootPackage":{"$ref":"#/components/schemas/RootPackageV3"},"status":{"description":"Status of the evaluation","enum":["PENDING","PROCESSING","SUCCESS","FAILURE"],"type":"string"}},"required":["registryId","packageType","rootPackage","status","metadata"],"type":"object"},"BuildInfoMetadataV3":{"description":"List of dependency graph nodes for the build.","items":{"$ref":"#/components/schemas/BuildInfoNodeV3"},"type":"array"},"BuildInfoNodeV3":{"description":"Node in the build","properties":{"nodeKey":{"description":"package@version","type":"string"},"parentNodeKey":{"description":"Parent node","type":"string"}},"required":["nodeKey"],"type":"object"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"PipelineContextV3":{"description":"Pipeline execution context.","properties":{"executionId":{"description":"Execution identifier.","type":"string"},"orgId":{"description":"Organization identifier.","type":"string"},"pipelineId":{"description":"Pipeline identifier.","type":"string"},"projectId":{"description":"Project identifier.","type":"string"},"stageId":{"description":"Stage identifier.","type":"string"},"stepId":{"description":"Step identifier.","type":"string"}},"required":["pipelineId","executionId","orgId","projectId","stageId"],"type":"object"},"RootPackageV3":{"description":"Root package of the build","properties":{"name":{"description":"Name of the root package","type":"string"},"version":{"description":"Version of the root package","type":"string"}},"required":["name","version"],"type":"object"}}}}
```

## The BulkDeleteRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkDeleteRequestInputV3":{"description":"Input for bulk delete operation.\n","properties":{"dryRun":{"description":"When `true` (default), only lists the packages/versions that would be deleted, for any value of `force`. Set to `false` to perform the delete.\n","type":"boolean"},"force":{"description":"When `true`, matching packages/versions are permanently deleted (hard delete). When `false` (default), they are soft-deleted. Nothing is deleted while `dryRun` is `true`. Soft delete is not supported for UPSTREAM registries: any request with `force=false`, including a dry run, returns 400, so use `force=true` for them.\n","type":"boolean"},"packages":{"description":"Package name pattern (supports wildcards)","type":"string"},"registry":{"description":"Registry identifier","type":"string"},"versions":{"description":"Version pattern (supports wildcards)","type":"string"}},"required":["registry","packages"],"type":"object"}}}}
```

## The BulkDeleteResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkDeleteResponseV3":{"properties":{"dryRun":{"type":"boolean"},"failed":{"type":"integer"},"failedPackages":{"items":{"type":"string"},"type":"array"},"force":{"type":"boolean"},"message":{"type":"string"},"pattern":{"type":"string"},"registry":{"type":"string"},"success":{"type":"integer"},"successPackages":{"items":{"type":"string"},"type":"array"},"total":{"type":"integer"},"versionPattern":{"type":"string"}},"required":["message","pattern","versionPattern","registry","dryRun","force","total","success","failed","failedPackages","successPackages"],"type":"object"}}}}
```

## The BulkDownloadFilesRequestInput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkDownloadFilesRequestInput":{"description":"Input for bulk download files. Only one of packages or versions should be provided.\n","properties":{"outputFileName":{"description":"Name of the output file to be downloaded","type":"string"},"packages":{"description":"List of packages UUID to download","items":{"type":"string"},"type":"array"},"registryId":{"description":"registry UUID","type":"string"},"versions":{"description":"List of versions UUID to download","items":{"type":"string"},"type":"array"}},"required":["registryId"],"type":"object"}}}}
```

## The BulkDownloadFilesRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkDownloadFilesRequestInputV3":{"description":"Input for bulk download files. Only one of packages or versions should be provided.\n","properties":{"outputFileName":{"description":"Name of the output file to be downloaded","type":"string"},"packageIds":{"description":"List of packages Id to download","items":{"format":"uuid","type":"string"},"type":"array"},"versionIds":{"description":"List of versions Id to download","items":{"format":"uuid","type":"string"},"type":"array"}},"type":"object"}}}}
```

## The BulkDownloadRequestStatus object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkDownloadRequestStatus":{"description":"Status of the bulk download operation","enum":["pending","processing","success","failed"],"type":"string"}}}}
```

## The BulkDownloadRequestStatusOutput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkDownloadRequestStatusOutput":{"properties":{"downloadUrl":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"outputFileName":{"type":"string"},"status":{"$ref":"#/components/schemas/BulkDownloadRequestStatus"}},"required":["id","status","message","downloadUrl","outputFileName"],"type":"object"},"BulkDownloadRequestStatus":{"description":"Status of the bulk download operation","enum":["pending","processing","success","failed"],"type":"string"}}}}
```

## The BulkDownloadRequestStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkDownloadRequestStatusV3":{"description":"Status of the bulk download operation","enum":["PENDING","PROCESSING","SUCCESS","FAILED"],"type":"string"}}}}
```

## The BulkScanEvaluateSyncRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkScanEvaluateSyncRequestV3":{"description":"Request body for synchronous bulk artifact scan evaluation. Maximum 50 artifacts per request. No data is written to the database.\n","properties":{"artifacts":{"description":"List of artifacts to evaluate (max 50)","items":{"$ref":"#/components/schemas/ArtifactScanInputV3"},"maxItems":50,"minItems":1,"type":"array"},"registryId":{"description":"Registry identifier","format":"uuid","type":"string"},"skipCache":{"description":"When true, skip the cached scan result and force a fresh OPA evaluation","type":"boolean"}},"required":["registryId","artifacts"],"type":"object"},"ArtifactScanInputV3":{"description":"Artifact to be scanned","properties":{"packageName":{"description":"Name of the package","type":"string"},"version":{"description":"Version of the package","type":"string"}},"required":["packageName","version"],"type":"object"}}}}
```

## The BulkScanEvaluationAcceptedDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkScanEvaluationAcceptedDataV3":{"description":"Response data for bulk scan evaluation request","properties":{"evaluationId":{"description":"Unique evaluation ID for tracking the bulk scan evaluation","type":"string"}},"type":"object"}}}}
```

## The BulkScanEvaluationRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkScanEvaluationRequestV3":{"description":"Request to initiate bulk scan evaluation","properties":{"artifacts":{"description":"List of artifacts to evaluate","items":{"$ref":"#/components/schemas/ArtifactScanInputV3"},"maxItems":10000,"minItems":1,"type":"array"},"registryId":{"description":"Registry identifier","format":"uuid","type":"string"}},"required":["registryId","artifacts"],"type":"object"},"ArtifactScanInputV3":{"description":"Artifact to be scanned","properties":{"packageName":{"description":"Name of the package","type":"string"},"version":{"description":"Version of the package","type":"string"}},"required":["packageName","version"],"type":"object"}}}}
```

## The BulkScanEvaluationStatusDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkScanEvaluationStatusDataV3":{"description":"Response data for bulk scan evaluation status","properties":{"error":{"description":"Error message (only present when status is failure)","nullable":true,"type":"string"},"evaluationId":{"description":"The evaluation ID","type":"string"},"scans":{"description":"List of scan results (only present when status is success)","items":{"$ref":"#/components/schemas/BulkScanResultItemV3"},"nullable":true,"type":"array"},"status":{"description":"Status of the evaluation","enum":["PENDING","PROCESSING","SUCCESS","FAILURE"],"type":"string"}},"type":"object"},"BulkScanResultItemV3":{"description":"Individual scan result item","properties":{"packageName":{"description":"Name of the package","type":"string"},"scanId":{"description":"Scan identifier","format":"uuid","type":"string"},"scanStatus":{"$ref":"#/components/schemas/ScanStatusV3"},"version":{"description":"Version of the package","type":"string"}},"type":"object"},"ScanStatusV3":{"description":"Status of an artifact scan evaluation.","enum":["ALLOWED","BLOCKED","WARN","UNKNOWN"],"type":"string"}}}}
```

## The BulkScanResultItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"BulkScanResultItemV3":{"description":"Individual scan result item","properties":{"packageName":{"description":"Name of the package","type":"string"},"scanId":{"description":"Scan identifier","format":"uuid","type":"string"},"scanStatus":{"$ref":"#/components/schemas/ScanStatusV3"},"version":{"description":"Version of the package","type":"string"}},"type":"object"},"ScanStatusV3":{"description":"Status of an artifact scan evaluation.","enum":["ALLOWED","BLOCKED","WARN","UNKNOWN"],"type":"string"}}}}
```

## The CRANArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CRANArtifactDetailConfig":{"description":"Config for CRAN artifact details.","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The CargoArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CargoArtifactDetailConfig":{"description":"Config for Cargo artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The CleanupPolicy object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CleanupPolicy":{"description":"Cleanup Policy for Harness Artifact Registries","properties":{"expireDays":{"type":"integer"},"name":{"type":"string"},"packagePrefix":{"items":{"type":"string"},"type":"array"},"versionPrefix":{"items":{"type":"string"},"type":"array"}},"type":"object"}}}}
```

## The CleanupPolicyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CleanupPolicyV3":{"description":"A cleanup policy describing which versions a registry should expire.","properties":{"expireDays":{"description":"Delete matching versions older than this many days.","format":"int32","type":"integer"},"name":{"type":"string"},"packagePrefix":{"description":"Only packages whose name starts with one of these prefixes are considered.","items":{"type":"string"},"type":"array"},"versionPrefix":{"description":"Only versions whose name starts with one of these prefixes are considered.","items":{"type":"string"},"type":"array"}},"type":"object"}}}}
```

## The ClientSetupDetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ClientSetupDetails":{"description":"Client Setup Details","properties":{"mainHeader":{"type":"string"},"secHeader":{"type":"string"},"sections":{"items":{"$ref":"#/components/schemas/ClientSetupSection"},"type":"array"}},"required":["mainHeader","secHeader","sections"],"type":"object"},"ClientSetupSection":{"description":"Client Setup Section","discriminator":{"mapping":{"INLINE":"#/components/schemas/ClientSetupStepConfig","TABS":"#/components/schemas/TabSetupStepConfig"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ClientSetupStepConfig"},{"$ref":"#/components/schemas/TabSetupStepConfig"}],"properties":{"header":{"type":"string"},"secHeader":{"type":"string"},"type":{"$ref":"#/components/schemas/SectionType"}},"required":["type"],"type":"object"},"ClientSetupStepConfig":{"description":"Client Setup Step","properties":{"steps":{"items":{"$ref":"#/components/schemas/ClientSetupStep"},"type":"array"}},"type":"object"},"ClientSetupStep":{"description":"Client Setup Step","properties":{"commands":{"items":{"$ref":"#/components/schemas/ClientSetupStepCommand"},"type":"array"},"header":{"type":"string"},"type":{"$ref":"#/components/schemas/ClientSetupStepType"}},"type":"object"},"ClientSetupStepCommand":{"description":"Client Setup Step Command","properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"ClientSetupStepType":{"description":"ClientSetupStepType type","enum":["Static","GenerateToken"],"type":"string"},"TabSetupStepConfig":{"description":"Tab Setup step config","properties":{"tabs":{"items":{"$ref":"#/components/schemas/TabSetupStep"},"type":"array"}},"type":"object"},"TabSetupStep":{"description":"Tab Setup step","properties":{"header":{"type":"string"},"sections":{"items":{"$ref":"#/components/schemas/ClientSetupSection"},"type":"array"}},"type":"object"},"SectionType":{"description":"refers to client setup section type","discriminator":{"propertyName":"type"},"enum":["INLINE","TABS"],"type":"string"}}}}
```

## The ClientSetupSection object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ClientSetupSection":{"description":"Client Setup Section","discriminator":{"mapping":{"INLINE":"#/components/schemas/ClientSetupStepConfig","TABS":"#/components/schemas/TabSetupStepConfig"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ClientSetupStepConfig"},{"$ref":"#/components/schemas/TabSetupStepConfig"}],"properties":{"header":{"type":"string"},"secHeader":{"type":"string"},"type":{"$ref":"#/components/schemas/SectionType"}},"required":["type"],"type":"object"},"ClientSetupStepConfig":{"description":"Client Setup Step","properties":{"steps":{"items":{"$ref":"#/components/schemas/ClientSetupStep"},"type":"array"}},"type":"object"},"ClientSetupStep":{"description":"Client Setup Step","properties":{"commands":{"items":{"$ref":"#/components/schemas/ClientSetupStepCommand"},"type":"array"},"header":{"type":"string"},"type":{"$ref":"#/components/schemas/ClientSetupStepType"}},"type":"object"},"ClientSetupStepCommand":{"description":"Client Setup Step Command","properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"ClientSetupStepType":{"description":"ClientSetupStepType type","enum":["Static","GenerateToken"],"type":"string"},"TabSetupStepConfig":{"description":"Tab Setup step config","properties":{"tabs":{"items":{"$ref":"#/components/schemas/TabSetupStep"},"type":"array"}},"type":"object"},"TabSetupStep":{"description":"Tab Setup step","properties":{"header":{"type":"string"},"sections":{"items":{"$ref":"#/components/schemas/ClientSetupSection"},"type":"array"}},"type":"object"},"SectionType":{"description":"refers to client setup section type","discriminator":{"propertyName":"type"},"enum":["INLINE","TABS"],"type":"string"}}}}
```

## The ClientSetupStep object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ClientSetupStep":{"description":"Client Setup Step","properties":{"commands":{"items":{"$ref":"#/components/schemas/ClientSetupStepCommand"},"type":"array"},"header":{"type":"string"},"type":{"$ref":"#/components/schemas/ClientSetupStepType"}},"type":"object"},"ClientSetupStepCommand":{"description":"Client Setup Step Command","properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"ClientSetupStepType":{"description":"ClientSetupStepType type","enum":["Static","GenerateToken"],"type":"string"}}}}
```

## The ClientSetupStepCommand object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ClientSetupStepCommand":{"description":"Client Setup Step Command","properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"}}}}
```

## The ClientSetupStepConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ClientSetupStepConfig":{"description":"Client Setup Step","properties":{"steps":{"items":{"$ref":"#/components/schemas/ClientSetupStep"},"type":"array"}},"type":"object"},"ClientSetupStep":{"description":"Client Setup Step","properties":{"commands":{"items":{"$ref":"#/components/schemas/ClientSetupStepCommand"},"type":"array"},"header":{"type":"string"},"type":{"$ref":"#/components/schemas/ClientSetupStepType"}},"type":"object"},"ClientSetupStepCommand":{"description":"Client Setup Step Command","properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"ClientSetupStepType":{"description":"ClientSetupStepType type","enum":["Static","GenerateToken"],"type":"string"}}}}
```

## The ClientSetupStepType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ClientSetupStepType":{"description":"ClientSetupStepType type","enum":["Static","GenerateToken"],"type":"string"}}}}
```

## The CompletedAtMsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CompletedAtMsV3":{"description":"Unix timestamp in milliseconds when the operation completed. Null while still in flight.","format":"int64","nullable":true,"type":"integer"}}}}
```

## The ComposerArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ComposerArtifactDetailConfig":{"description":"Config for composer artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The ConanArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ConanArtifactDetailConfig":{"description":"Config for Conan artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The ConanPackageDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ConanPackageDetailV3":{"description":"A Conan package (PKGID) detail. The package revisions are listed via the package-revisions endpoint.","properties":{"downloadCount":{"description":"Total downloads across every finalized package revision of this package.","format":"int64","type":"integer"},"id":{"description":"The stable UUID of the package row.","format":"uuid","type":"string"},"lastDownloadedAt":{"description":"Most recent download time (Unix milliseconds), if any.","format":"int64","nullable":true,"type":"integer"},"options":{"additionalProperties":true,"description":"Build options parsed from conaninfo.txt.","type":"object"},"packageId":{"type":"string"},"packageRevisionCount":{"description":"Number of finalized package revisions (PREVs) of this package.","format":"int64","type":"integer"},"recipeRevision":{"type":"string"},"settings":{"additionalProperties":true,"description":"Build settings parsed from conaninfo.txt.","type":"object"},"size":{"type":"string"}},"required":["id","packageId"],"type":"object"}}}}
```

## The ConanPackageMetadataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ConanPackageMetadataV3":{"description":"A Conan package (PKGID).","properties":{"id":{"description":"The stable UUID of the package row.","format":"uuid","type":"string"},"latestPackageRevision":{"description":"The newest finalized package revision hash.","type":"string"},"options":{"additionalProperties":true,"description":"Build options parsed from conaninfo.txt.","type":"object"},"packageId":{"description":"The package id hash.","type":"string"},"settings":{"additionalProperties":true,"description":"Build settings parsed from conaninfo.txt.","type":"object"},"size":{"description":"Size of the latest finalized package revision.","type":"string"}},"required":["id","packageId"],"type":"object"}}}}
```

## The ConanPackageRevisionDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ConanPackageRevisionDetailV3":{"description":"A Conan package revision (PREV).","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"downloadCount":{"format":"int64","type":"integer"},"id":{"description":"The stable UUID of the package revision row.","format":"uuid","type":"string"},"lastDownloadedAt":{"description":"Last-downloaded time (Unix milliseconds), if any.","format":"int64","nullable":true,"type":"integer"},"packageRevision":{"description":"The package revision (PREV) hash.","type":"string"},"size":{"type":"string"}},"required":["id","packageRevision"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"}}}}
```

## The ConanRecipeRevisionDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ConanRecipeRevisionDetailV3":{"description":"A Conan recipe revision (RREV).","properties":{"downloadCount":{"description":"Total downloads across every finalized package revision under this revision.","format":"int64","type":"integer"},"id":{"description":"The stable UUID of the recipe revision row.","format":"uuid","type":"string"},"lastDownloadedAt":{"description":"Most recent download time (Unix milliseconds), if any.","format":"int64","nullable":true,"type":"integer"},"lastPushedAt":{"description":"Finalization time (Unix milliseconds).","format":"int64","nullable":true,"type":"integer"},"packageCount":{"description":"Number of packages with at least one finalized package revision.","format":"int64","type":"integer"},"recipeRevision":{"description":"The recipe revision (RREV) hash.","type":"string"},"size":{"description":"Recipe files plus all package binaries under this revision.","type":"string"}},"required":["id","recipeRevision"],"type":"object"}}}}
```

## The CondaArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CondaArtifactDetailConfig":{"description":"Config for conda artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The CopyResourceItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CopyResourceItemV3":{"description":"One copy operation from a source to a target registry","properties":{"source":{"$ref":"#/components/schemas/CopySourceRefV3"},"target":{"$ref":"#/components/schemas/CopyTargetRefV3"}},"required":["source","target"],"type":"object"},"CopySourceRefV3":{"properties":{"versionId":{"format":"uuid","type":"string"}},"required":["versionId"],"type":"object"},"CopyTargetRefV3":{"properties":{"registryId":{"format":"uuid","type":"string"}},"required":["registryId"],"type":"object"}}}}
```

## The CopySourceRefV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CopySourceRefV3":{"properties":{"versionId":{"format":"uuid","type":"string"}},"required":["versionId"],"type":"object"}}}}
```

## The CopyTargetRefV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CopyTargetRefV3":{"properties":{"registryId":{"format":"uuid","type":"string"}},"required":["registryId"],"type":"object"}}}}
```

## The CreateBulkDownloadRequestResponseOutput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CreateBulkDownloadRequestResponseOutput":{"properties":{"downloadId":{"description":"Unique identifier for the download request","type":"string"}},"required":["downloadId"],"type":"object"}}}}
```

## The CreatedAtMsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"}}}}
```

## The DailyStorage object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DailyStorage":{"description":"Storage snapshot for a single calendar day.","properties":{"date":{"description":"Snapshot date in UTC (YYYY-MM-DD).","format":"date","type":"string"},"size":{"description":"Total storage on that date, as a human-readable auto-scaled size (e.g. \"468.78GB\").","type":"string"}},"required":["date","size"],"type":"object"}}}}
```

## The DartArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DartArtifactDetailConfig":{"description":"Config for dart artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The DebianArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DebianArtifactDetailConfig":{"description":"Config for debian artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The DebianConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DebianConfig":{"description":"Debian-specific configuration, applicable only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Optional additional compression formats to generate for index/metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked remote (upstream) registries.","items":{"type":"string"},"type":"array"}},"type":"object"}}}}
```

## The DebianConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DebianConfigV3":{"description":"Debian-specific configuration. Applies only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Additional compression formats to generate for index and metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked upstream registries.","items":{"type":"string"},"type":"array"}},"type":"object"}}}}
```

## The DeletedAtMsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"}}}}
```

## The DeploymentDetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DeploymentDetails":{"properties":{"nonProdDeployment":{"type":"integer"},"prodDeployment":{"type":"integer"},"totalDeployment":{"type":"integer"}},"required":["prodDeployment","nonProdDeployment","totalDeployment"],"type":"object"}}}}
```

## The DeploymentMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DeploymentMetadata":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"}}}}
```

## The DeploymentMetadataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DeploymentMetadataV3":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"}}}}
```

## The DeploymentStats object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DeploymentStats":{"description":"DeploymentStats","properties":{"PreProduction":{"type":"integer"},"Production":{"type":"integer"}},"required":["Production","PreProduction"],"type":"object"}}}}
```

## The DockerArtifactDetail object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerArtifactDetail":{"description":"Docker Artifact Detail","properties":{"createdAt":{"type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"imageName":{"type":"string"},"isQuarantined":{"type":"boolean"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"modifiedAt":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"pullCommandByDigest":{"type":"string"},"pushedBy":{"$ref":"#/components/schemas/UserInfo"},"quarantineReason":{"type":"string"},"registryPath":{"type":"string"},"size":{"type":"string"},"url":{"type":"string"},"version":{"type":"string"}},"required":["imageName","version","registryPath","url","packageType"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"UserInfo":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"}}}}
```

## The DockerArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerArtifactDetailConfig":{"description":"Config for docker artifact details","properties":{"pullCommand":{"type":"string"}},"type":"object"}}}}
```

## The DockerArtifactIntegrationDetail object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerArtifactIntegrationDetail":{"description":"Docker Artifact Detail","properties":{"buildDetails":{"$ref":"#/components/schemas/BuildDetails"},"deploymentsDetails":{"$ref":"#/components/schemas/DeploymentDetails"},"sbomDetails":{"$ref":"#/components/schemas/SBOMDetails"},"slsaDetails":{"$ref":"#/components/schemas/SLSADetails"},"stoDetails":{"$ref":"#/components/schemas/STODetails"}},"type":"object"},"BuildDetails":{"properties":{"orgIdentifier":{"type":"string"},"pipelineDisplayName":{"type":"string"},"pipelineExecutionId":{"type":"string"},"pipelineIdentifier":{"type":"string"},"projectIdentifier":{"type":"string"},"stageExecutionId":{"type":"string"},"stepExecutionId":{"type":"string"}},"type":"object"},"DeploymentDetails":{"properties":{"nonProdDeployment":{"type":"integer"},"prodDeployment":{"type":"integer"},"totalDeployment":{"type":"integer"}},"required":["prodDeployment","nonProdDeployment","totalDeployment"],"type":"object"},"SBOMDetails":{"properties":{"allowListViolations":{"type":"integer"},"artifactId":{"type":"string"},"artifactSourceId":{"type":"string"},"avgScore":{"type":"string"},"componentsCount":{"type":"integer"},"denyListViolations":{"type":"integer"},"maxScore":{"type":"string"},"orchestrationId":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"}},"type":"object"},"SLSADetails":{"properties":{"provenanceId":{"type":"string"},"status":{"type":"string"}},"type":"object"},"STODetails":{"properties":{"critical":{"type":"integer"},"executionId":{"type":"string"},"high":{"type":"integer"},"ignored":{"type":"integer"},"info":{"type":"integer"},"lastScanned":{"type":"string"},"low":{"type":"integer"},"medium":{"type":"integer"},"pipelineId":{"type":"string"},"total":{"type":"integer"}},"type":"object"}}}}
```

## The DockerArtifactManifest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerArtifactManifest":{"description":"Docker Artifact Manifest","properties":{"manifest":{"type":"string"}},"required":["manifest"],"type":"object"}}}}
```

## The DockerLayerEntry object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerLayerEntry":{"description":"Harness Artifact Layers","properties":{"command":{"type":"string"},"size":{"type":"string"}},"required":["command"],"type":"object"}}}}
```

## The DockerLayersSummary object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerLayersSummary":{"description":"Harness Layers Summary","properties":{"digest":{"type":"string"},"layers":{"items":{"$ref":"#/components/schemas/DockerLayerEntry"},"type":"array"},"osArch":{"type":"string"}},"required":["digest"],"type":"object"},"DockerLayerEntry":{"description":"Harness Artifact Layers","properties":{"command":{"type":"string"},"size":{"type":"string"}},"required":["command"],"type":"object"}}}}
```

## The DockerManifestDetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerManifestDetails":{"description":"Harness Artifact Layers","properties":{"createdAt":{"type":"string"},"digest":{"type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"isQuarantined":{"type":"boolean"},"osArch":{"type":"string"},"quarantineReason":{"type":"string"},"size":{"type":"string"},"stoDetails":{"$ref":"#/components/schemas/STODetails"},"stoExecutionId":{"type":"string"},"stoPipelineId":{"type":"string"}},"required":["digest","layers","osArch"],"type":"object"},"STODetails":{"properties":{"critical":{"type":"integer"},"executionId":{"type":"string"},"high":{"type":"integer"},"ignored":{"type":"integer"},"info":{"type":"integer"},"lastScanned":{"type":"string"},"low":{"type":"integer"},"medium":{"type":"integer"},"pipelineId":{"type":"string"},"total":{"type":"integer"}},"type":"object"}}}}
```

## The DockerManifests object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"DockerManifests":{"description":"Harness Manifests","properties":{"imageName":{"type":"string"},"manifests":{"items":{"$ref":"#/components/schemas/DockerManifestDetails"},"type":"array"},"version":{"type":"string"}},"required":["imageName","version"],"type":"object"},"DockerManifestDetails":{"description":"Harness Artifact Layers","properties":{"createdAt":{"type":"string"},"digest":{"type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"isQuarantined":{"type":"boolean"},"osArch":{"type":"string"},"quarantineReason":{"type":"string"},"size":{"type":"string"},"stoDetails":{"$ref":"#/components/schemas/STODetails"},"stoExecutionId":{"type":"string"},"stoPipelineId":{"type":"string"}},"required":["digest","layers","osArch"],"type":"object"},"STODetails":{"properties":{"critical":{"type":"integer"},"executionId":{"type":"string"},"high":{"type":"integer"},"ignored":{"type":"integer"},"info":{"type":"integer"},"lastScanned":{"type":"string"},"low":{"type":"integer"},"medium":{"type":"integer"},"pipelineId":{"type":"string"},"total":{"type":"integer"}},"type":"object"}}}}
```

## The EdgeAuthorizeRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EdgeAuthorizeRequestV3":{"properties":{"account_identifier":{"type":"string"},"action":{"type":"string"},"api_key":{"type":"string"},"authorization":{"type":"string"},"client_ip":{"type":"string"},"host":{"type":"string"},"registry_identifier":{"type":"string"}},"required":["account_identifier","registry_identifier"],"type":"object"}}}}
```

## The EdgeAuthorizeResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EdgeAuthorizeResponseV3":{"properties":{"decision":{"enum":["allow","deny"],"type":"string"},"ip_allowlist":{"items":{"type":"string"},"type":"array"},"package_type":{"type":"string"},"principal":{"$ref":"#/components/schemas/EdgePrincipalV3"},"registry_type":{"type":"string"},"registry_uuid":{"type":"string"},"status":{"type":"integer"},"ttl_seconds":{"type":"integer"},"www_authenticate":{"type":"string"}},"required":["decision","status","ttl_seconds"],"type":"object"},"EdgePrincipalV3":{"properties":{"id":{"type":"string"},"type":{"type":"string"}},"required":["id","type"],"type":"object"}}}}
```

## The EdgeLocationV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EdgeLocationV3":{"properties":{"bucket":{"type":"string"},"key":{"type":"string"},"kind":{"type":"string"}},"required":["kind","bucket","key"],"type":"object"}}}}
```

## The EdgePrincipalV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EdgePrincipalV3":{"properties":{"id":{"type":"string"},"type":{"type":"string"}},"required":["id","type"],"type":"object"}}}}
```

## The EdgeResolveRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EdgeResolveRequestV3":{"properties":{"account_identifier":{"type":"string"},"package_type":{"description":"Package type of the route, RAW or MAVEN. Defaults to RAW when empty.","type":"string"},"path":{"description":"File path inside the registry, URL-decoded, without a leading slash: the part after /files/ for RAW\nand after /maven/ for MAVEN.\n","type":"string"},"registry_identifier":{"type":"string"}},"required":["account_identifier","registry_identifier","path"],"type":"object"}}}}
```

## The EdgeResolveResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EdgeResolveResponseV3":{"properties":{"action":{"enum":["serve","pass","not_found","deny"],"type":"string"},"cache_tags":{"items":{"type":"string"},"type":"array"},"checksum_md5":{"description":"Hex MD5 of the file, served as x-checksum-md5 when present.","type":"string"},"checksum_sha1":{"description":"Hex SHA-1 of the file, served as x-checksum-sha1 when present.","type":"string"},"checksum_sha512":{"description":"Hex SHA-512 of the file, served as x-checksum-sha512 when present.","type":"string"},"content_disposition":{"type":"string"},"content_type":{"type":"string"},"digest":{"type":"string"},"location":{"$ref":"#/components/schemas/EdgeLocationV3"},"message":{"type":"string"},"size":{"format":"int64","type":"integer"},"status":{"type":"integer"},"ttl_seconds":{"type":"integer"}},"required":["action","status","ttl_seconds"],"type":"object"},"EdgeLocationV3":{"properties":{"bucket":{"type":"string"},"key":{"type":"string"},"kind":{"type":"string"}},"required":["kind","bucket","key"],"type":"object"}}}}
```

## The EnumLabelColor object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EnumLabelColor":{"enum":["blue","brown","cyan","green","indigo","lime","mint","orange","pink","purple","red","violet","yellow"],"type":"string"}}}}
```

## The EnumLabelType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EnumLabelType":{"enum":["dynamic","static"],"type":"string"}}}}
```

## The EnvironmentType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"EnvironmentType":{"description":"Environment Type","enum":["PreProduction","Production"],"type":"string"}}}}
```

## The Error object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Error":{"description":"Standard error response with code, message and optional details","properties":{"code":{"description":"The HTTP error code","type":"string"},"details":{"description":"Additional context and details about the error.\nMay include field-specific validation errors or debugging information.\n","type":"object"},"message":{"description":"Human-readable error message explaining what went wrong","type":"string"}},"required":["code","message"],"type":"object"}}}}
```

## The ErrorV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ErrorV3":{"description":"An error response","properties":{"error":{"$ref":"#/components/schemas/ApiErrorsV3"}},"required":["error"],"type":"object"},"ApiErrorsV3":{"properties":{"code":{"description":"For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.","maxLength":5000,"type":"string"},"message":{"description":"A human-readable message providing more details about the error. These messages can be shown to users.","maxLength":40000,"type":"string"},"param":{"description":"If the error is parameter-specific, the parameter related to the error. For example, we can use this to display a message near the correct form field.","maxLength":5000,"type":"string"},"type":{"description":"The type of error returned.","enum":["INVALID_REQUEST_ERROR","AUTHENTICATION_ERROR","PERMISSION_ERROR","API_ERROR"],"type":"string"}},"required":["type"],"title":"APIErrors","type":"object"}}}}
```

## The ExemptionStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ExemptionStatusV3":{"description":"Exemption status for an artifact, showing if an exception exists.","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"expirationAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"id":{"description":"Firewall exception ID for navigation to the exception detail.","format":"uuid","type":"string"},"status":{"description":"Current status of the exception.","enum":["PENDING","APPROVED","REJECTED","EXPIRED"],"type":"string"}},"required":["id","status","createdAt"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"}}}}
```

## The ExtraHeader object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ExtraHeader":{"description":"Webhook Extra Header","properties":{"key":{"type":"string"},"masked":{"default":false,"type":"boolean"},"value":{"type":"string"}},"required":["key","value"],"type":"object"}}}}
```

## The FileDetail object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FileDetail":{"description":"File Detail","properties":{"checksums":{"items":{"type":"string"},"type":"array"},"createdAt":{"type":"string"},"downloadCommand":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"size":{"type":"string"}},"required":["name","size","checksums","downloadCommand","createdAt","path"],"type":"object"}}}}
```

## The FileDetailsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FileDetailsV3":{"allOf":[{"$ref":"#/components/schemas/FileMetadataV3"},{"properties":{"contentType":{"description":"Declared file Content-Type, or the extension-derived fallback for legacy files.","type":"string"}},"required":["contentType"],"type":"object"}],"description":"Full details for a single file, including its Content-Type. Unlike list responses, downloadUrl here previews the file inline when the browser can render its Content-Type and otherwise downloads it (served by a route outside this spec — see GET /api/v3/registries/{id}/files/*). downloadCmd keeps using GET /files/{id}/content, which always downloads.\n"},"FileMetadataV3":{"description":"File Metadata","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"downloadCmd":{"type":"string"},"downloadUrl":{"type":"string"},"id":{"type":"string"},"md5":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"sha1":{"type":"string"},"sha256":{"type":"string"},"sha512":{"type":"string"},"size":{"type":"string"}},"required":["id","name","path","createdAt","sha1","sha256","sha512","md5","size","downloadCmd"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"}}}}
```

## The FileMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FileMetadata":{"description":"File Metadata","properties":{"downloadUrl":{"type":"string"},"filename":{"type":"string"},"id":{"type":"string"},"sha256":{"type":"string"}},"required":["id","downloadUrl","sha256","filename"],"type":"object"}}}}
```

## The FileMetadataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FileMetadataV3":{"description":"File Metadata","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"downloadCmd":{"type":"string"},"downloadUrl":{"type":"string"},"id":{"type":"string"},"md5":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"sha1":{"type":"string"},"sha256":{"type":"string"},"sha512":{"type":"string"},"size":{"type":"string"}},"required":["id","name","path","createdAt","sha1","sha256","sha512","md5","size","downloadCmd"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"}}}}
```

## The FilterConditionV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FilterConditionV3":{"description":"Supported comparison condition for a filter.","enum":["EQ","NE","GT","LT","CONTAINS","STARTS_WITH","ENDS_WITH","IN","NOT_IN"],"type":"string"}}}}
```

## The FilterDataTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FilterDataTypeV3":{"description":"Data type of a filter field.","enum":["string","number","boolean"],"type":"string"}}}}
```

## The FilterDefinitionV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FilterDefinitionV3":{"description":"Definition of a filter that can be applied when listing a resource.","properties":{"conditions":{"description":"Comparison conditions supported by this filter.","items":{"$ref":"#/components/schemas/FilterConditionV3"},"type":"array"},"dataType":{"$ref":"#/components/schemas/FilterDataTypeV3"},"field":{"description":"Backend field name the filter maps to.","type":"string"},"id":{"description":"Stable identifier for the filter.","type":"string"},"inputType":{"$ref":"#/components/schemas/FilterInputTypeV3"},"label":{"description":"Human-readable label for the filter.","type":"string"},"supportsOptions":{"description":"Whether the filter supports a dynamic set of option values.","type":"boolean"}},"required":["id","label","field","dataType","inputType","conditions","supportsOptions"],"type":"object"},"FilterConditionV3":{"description":"Supported comparison condition for a filter.","enum":["EQ","NE","GT","LT","CONTAINS","STARTS_WITH","ENDS_WITH","IN","NOT_IN"],"type":"string"},"FilterDataTypeV3":{"description":"Data type of a filter field.","enum":["string","number","boolean"],"type":"string"},"FilterInputTypeV3":{"description":"UI input control used to render a filter field.","enum":["text","number","checkbox","singleSelect","multiSelect"],"type":"string"}}}}
```

## The FilterInputTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FilterInputTypeV3":{"description":"UI input control used to render a filter field.","enum":["text","number","checkbox","singleSelect","multiSelect"],"type":"string"}}}}
```

## The FilterOptionV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FilterOptionV3":{"description":"One selectable value for a filter with `supportsOptions=true`.","properties":{"label":{"description":"Human-readable label for the value.","type":"string"},"value":{"description":"Value to send back when applying the filter.","type":"string"}},"required":["value","label"],"type":"object"}}}}
```

## The FilterResourceTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FilterResourceTypeV3":{"description":"Resource type whose filter definitions are requested by\n`GET /filters?resource_type=...`.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The FirewallExceptionApprovalRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FirewallExceptionApprovalRequestV3":{"description":"Request to approve or reject a firewall exception","properties":{"notes":{"description":"Note from approver explaining the decision","nullable":true,"type":"string"},"status":{"$ref":"#/components/schemas/FirewallExceptionStatusV3"}},"required":["status"],"type":"object"},"FirewallExceptionStatusV3":{"description":"Status of the firewall exception","enum":["PENDING","APPROVED","REJECTED","EXPIRED"],"type":"string"}}}}
```

## The FirewallExceptionCreateRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FirewallExceptionCreateRequestV3":{"description":"Request to create a firewall exception","properties":{"businessJustification":{"description":"Business justification for the exception","type":"string"},"expireAfter":{"description":"Number of days after approval when the exception expires. Null means never expires.","format":"int32","nullable":true,"type":"integer"},"packageName":{"description":"Name of the package","type":"string"},"registryId":{"description":"UUID of the registry","format":"uuid","type":"string"},"remediationPlan":{"description":"Plan for remediation (optional)","nullable":true,"type":"string"},"versionList":{"description":"List of versions to except. Empty array means all versions.","items":{"type":"string"},"type":"array"}},"required":["registryId","packageName","businessJustification"],"type":"object"}}}}
```

## The FirewallExceptionMetaV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FirewallExceptionMetaV3":{"description":"Metadata counts for firewall exceptions","properties":{"approvedCount":{"description":"Number of exceptions with APPROVED status (non-expired)","format":"int64","type":"integer"},"expiredCount":{"description":"Number of approved exceptions that have expired","format":"int64","type":"integer"},"pendingCount":{"description":"Number of exceptions with PENDING status","format":"int64","type":"integer"},"rejectedCount":{"description":"Number of exceptions with REJECTED status","format":"int64","type":"integer"},"totalCount":{"description":"Total number of exceptions","format":"int64","type":"integer"}},"required":["totalCount","pendingCount","approvedCount","rejectedCount","expiredCount"],"type":"object"}}}}
```

## The FirewallExceptionResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FirewallExceptionResponseV3":{"description":"Firewall exception details","properties":{"businessJustification":{"description":"Business justification for the exception","type":"string"},"createdAt":{"description":"Unix timestamp (milliseconds) when created","format":"int64","type":"integer"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"exceptionId":{"description":"Unique identifier for the exception","format":"uuid","type":"string"},"expirationAt":{"description":"Unix timestamp (milliseconds) when the exception expires. Computed at approval time.","format":"int64","nullable":true,"type":"integer"},"expireAfter":{"description":"Number of days after approval when the exception expires","format":"int32","nullable":true,"type":"integer"},"notes":{"description":"Note from approver (if approved/rejected)","nullable":true,"type":"string"},"packageName":{"description":"Name of the package","type":"string"},"packageType":{"description":"type of the package","type":"string"},"registryId":{"description":"Registry identifier","type":"string"},"registryName":{"description":"Name of the registry","type":"string"},"remediationPlan":{"description":"Plan for remediation","nullable":true,"type":"string"},"status":{"$ref":"#/components/schemas/FirewallExceptionStatusV3"},"statusChangedAt":{"description":"Unix timestamp (milliseconds) when status was changed","format":"int64","nullable":true,"type":"integer"},"statusChangedBy":{"$ref":"#/components/schemas/UserInfoV3"},"updatedAt":{"description":"Unix timestamp (milliseconds) when last updated","format":"int64","type":"integer"},"updatedBy":{"$ref":"#/components/schemas/UserInfoV3"},"versionId":{"description":"Version identifier","nullable":true,"type":"string"},"versionList":{"description":"List of versions covered by exception","items":{"type":"string"},"type":"array"},"versionScanMap":{"additionalProperties":{"type":"string"},"description":"Map of version string to scan ID","nullable":true,"type":"object"}},"required":["exceptionId","registryId","packageName","packageType","versionList","businessJustification","status","createdAt","createdBy","updatedAt","updatedBy"],"type":"object"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"FirewallExceptionStatusV3":{"description":"Status of the firewall exception","enum":["PENDING","APPROVED","REJECTED","EXPIRED"],"type":"string"}}}}
```

## The FirewallExceptionStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FirewallExceptionStatusV3":{"description":"Status of the firewall exception","enum":["PENDING","APPROVED","REJECTED","EXPIRED"],"type":"string"}}}}
```

## The FirewallExceptionUpdateRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FirewallExceptionUpdateRequestV3":{"description":"Request to update a firewall exception. Only allowed when status is PENDING.","properties":{"businessJustification":{"description":"Updated business justification for the exception","type":"string"},"expireAfter":{"description":"Number of days after approval when the exception expires. Null means never expires.","format":"int32","nullable":true,"type":"integer"},"remediationPlan":{"description":"Updated plan for remediation","nullable":true,"type":"string"},"versionList":{"description":"Updated list of versions to except. Empty array means all versions.","items":{"type":"string"},"type":"array"}},"type":"object"}}}}
```

## The FirewallModeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FirewallModeV3":{"description":"Firewall mode","enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"}}}}
```

## The FixVersionDetailsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"FixVersionDetailsV3":{"description":"Fix version Details","properties":{"currentVersion":{"description":"The current version","type":"string"},"fixVersion":{"description":"The fix version","type":"string"},"fixVersionAvailable":{"description":"Fix version available or not","type":"boolean"}},"required":["fixVersionAvailable","currentVersion"],"type":"object"}}}}
```

## The ForceUnlockTerraformBackendRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ForceUnlockTerraformBackendRequestV3":{"description":"Context recorded on the force-unlock audit trail.","properties":{"reason":{"description":"Why the lock is being force-cleared. Recorded in the audit log.","type":"string"}},"required":["reason"],"type":"object"}}}}
```

## The ForceUnlockTerraformBackendResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ForceUnlockTerraformBackendResponseV3":{"properties":{"data":{"properties":{"lockedBy":{"description":"The previous lock holder, if any.","type":"string"},"wasLocked":{"description":"Whether a lock was actually held before this call.","type":"boolean"}},"required":["wasLocked"],"type":"object"}},"required":["data"],"type":"object"}}}}
```

## The GenerateKeyRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"GenerateKeyRequestV3":{"description":"Request to generate a new signing key.\n\n`type` selects the cryptographic system to generate:\n- GPG: OpenPGP key for package signing (Debian, RPM, Alpine)\n- RSA: Raw RSA key for direct signing operations\n\n`algorithm` selects the underlying algorithm. Only RSA and ED25519 can\nbe generated; other `SigningKeyAlgorithmV3` values (e.g. ECDSA) are\nrejected with 400 here but may appear on imported keys.\n\nKey size is not a request parameter. It is fixed per algorithm so that\nevery generated key is one package clients are known to accept:\n- GPG + ED25519: 256 bits (fixed by the curve)\n- GPG + RSA: 4096 bits\n- RSA + RSA: 4096 bits\n\nThe resulting size is reported as `size` on the created key.\n\nSupported combinations: GPG + ED25519, GPG + RSA, RSA + RSA. Pairing\n`type: RSA` with `algorithm: ED25519` is rejected with 400.\n","properties":{"algorithm":{"$ref":"#/components/schemas/SigningKeyAlgorithmV3"},"expirationAt":{"description":"Optional expiration timestamp in Unix milliseconds","format":"int64","nullable":true,"type":"integer"},"name":{"description":"Human-readable name for the key","maxLength":128,"type":"string"},"type":{"$ref":"#/components/schemas/SigningKeyTypeV3"}},"required":["name","type","algorithm"],"type":"object"},"SigningKeyAlgorithmV3":{"description":"Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.\n","type":"string"},"SigningKeyTypeV3":{"description":"Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The GenericArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"GenericArtifactDetailConfig":{"description":"Config for generic artifact details","properties":{"description":{"type":"string"}},"type":"object"}}}}
```

## The GoArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"GoArtifactDetailConfig":{"description":"Config for Go artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The HelmArtifactDetail object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"HelmArtifactDetail":{"description":"Helm Artifact Detail","properties":{"artifact":{"type":"string"},"createdAt":{"type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"modifiedAt":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"pullCommandByDigest":{"type":"string"},"registryPath":{"type":"string"},"size":{"type":"string"},"url":{"type":"string"},"version":{"type":"string"}},"required":["imageName","version","registryPath","url","packageType"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The HelmArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"HelmArtifactDetailConfig":{"description":"Config for helm artifact details","properties":{"pullCommand":{"type":"string"}},"type":"object"}}}}
```

## The HelmArtifactManifest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"HelmArtifactManifest":{"description":"Helm Artifact Manifest","properties":{"manifest":{"type":"string"}},"required":["manifest"],"type":"object"}}}}
```

## The HelmHttpArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"HelmHttpArtifactDetailConfig":{"description":"Config for Helm HTTP artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The HuggingFaceArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"HuggingFaceArtifactDetailConfig":{"description":"Config for huggingface artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The ImportKeyRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ImportKeyRequestV3":{"description":"Request to import an existing signing key from secret manager. `type` is the cryptographic system of the key being imported.\n\nPassphrase-protected keys are supported for both GPG and RSA. Supply `passphraseSecretIdentifier` and `passphraseSecretSpacePath` together; providing only one is rejected with 400. The passphrase is stored as a secret reference and re-read on every signing operation, so it must remain readable for the lifetime of the key.\n\nAccepted RSA private key encodings:\n- PKCS#1 (`RSA PRIVATE KEY`), encrypted or not\n- PKCS#8 (`PRIVATE KEY` / `ENCRYPTED PRIVATE KEY`)\n- OpenSSH (`OPENSSH PRIVATE KEY`), encrypted or not\n","properties":{"expirationAt":{"description":"Optional expiration timestamp in Unix milliseconds.\nPriority: provided value > key's embedded expiration > no expiration.\nNote: RSA keys don't have embedded expiration, so this is the only way to set expiration for RSA keys.\n","format":"int64","nullable":true,"type":"integer"},"name":{"description":"Human-readable name for the key","maxLength":128,"type":"string"},"passphraseSecretIdentifier":{"description":"Reference to the passphrase secret. Required when the private key is encrypted, for both GPG and RSA keys, and must be provided together with passphraseSecretSpacePath.\n","nullable":true,"type":"string"},"passphraseSecretSpacePath":{"description":"Space path for the passphrase secret (e.g., \"accountId/orgId/projectId\"). Must be provided together with passphraseSecretIdentifier; defaults to the private key's space when omitted.\n","nullable":true,"type":"string"},"privateKeySecretIdentifier":{"description":"Reference to private key secret in Harness Secret Manager","type":"string"},"privateKeySecretSpacePath":{"description":"Space path for the private key secret (e.g., \"accountId/orgId/projectId\")","type":"string"},"type":{"$ref":"#/components/schemas/SigningKeyTypeV3"}},"required":["name","type","privateKeySecretIdentifier","privateKeySecretSpacePath"],"type":"object"},"SigningKeyTypeV3":{"description":"Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The JfrogReplicationRegistry object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"JfrogReplicationRegistry":{"properties":{"namespace":{"type":"string"},"passwordSecretId":{"type":"string"},"passwordSecretSpaceId":{"type":"string"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"required":["url","namespace"],"type":"object"}}}}
```

## The LicensePolicyFailureDetailConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LicensePolicyFailureDetailConfigV3":{"description":"License-specific failure detail payload.","properties":{"allowedLicenses":{"description":"Allowed license list.","items":{"type":"string"},"type":"array"},"blockedLicense":{"description":"Blocked license.","type":"string"}},"required":["allowedLicenses","blockedLicense"],"type":"object"}}}}
```

## The LifecycleDryRunRequestBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleDryRunRequestBodyV3":{"properties":{"policyId":{"type":"string"}},"required":["policyId"],"type":"object"}}}}
```

## The LifecycleExecutionItemResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleExecutionItemResponseV3":{"description":"A single artifact version evaluated during a lifecycle execution.","properties":{"lastDownloadedAt":{"description":"Epoch milliseconds of the last download.","format":"int64","type":"integer"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageName":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"reason":{"description":"Reason the item was included or excluded.","type":"string"},"registryName":{"type":"string"},"size":{"type":"string"},"status":{"$ref":"#/components/schemas/LifecycleExecutionItemStatusV3"},"version":{"type":"string"},"versionCreatedAt":{"description":"Epoch milliseconds when the artifact version was created.","format":"int64","type":"integer"},"versionId":{"type":"string"}},"required":["packageName","version","registryName","status"],"type":"object"},"orgIdentifier":{"type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"LifecycleExecutionItemStatusV3":{"description":"Outcome of a lifecycle execution item.","enum":["PROTECTED","WOULD_BE_DELETED","DELETED"],"type":"string"}}}}
```

## The LifecycleExecutionItemStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleExecutionItemStatusV3":{"description":"Outcome of a lifecycle execution item.","enum":["PROTECTED","WOULD_BE_DELETED","DELETED"],"type":"string"}}}}
```

## The LifecycleExecutionResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleExecutionResponseV3":{"properties":{"completedAt":{"format":"int64","type":"integer"},"createdAt":{"format":"int64","type":"integer"},"id":{"type":"string"},"message":{"type":"string"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packagesAffected":{"format":"int64","type":"integer"},"policyId":{"type":"string"},"policyName":{"description":"Name of the lifecycle policy that triggered this execution.","type":"string"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"protected":{"format":"int64","type":"integer"},"registriesAffected":{"format":"int64","type":"integer"},"startedAt":{"format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/LifecycleExecutionStatusV3"},"storageReclaimed":{"type":"string"},"triggerType":{"$ref":"#/components/schemas/LifecycleExecutionTriggerTypeV3"},"versionsDeleted":{"format":"int64","type":"integer"}},"required":["id","policyId","policyName","status","triggerType","createdAt","registriesAffected","packagesAffected","versionsDeleted","storageReclaimed","protected"],"type":"object"},"orgIdentifier":{"type":"string"},"projectIdentifier":{"type":"string"},"LifecycleExecutionStatusV3":{"enum":["PENDING","INPROGRESS","SUCCESS","FAILED"],"type":"string"},"LifecycleExecutionTriggerTypeV3":{"enum":["SCHEDULED","DRY_RUN"],"type":"string"}}}}
```

## The LifecycleExecutionStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleExecutionStatusV3":{"enum":["PENDING","INPROGRESS","SUCCESS","FAILED"],"type":"string"}}}}
```

## The LifecycleExecutionTriggerTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleExecutionTriggerTypeV3":{"enum":["SCHEDULED","DRY_RUN"],"type":"string"}}}}
```

## The LifecycleRuleActionV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleActionV3":{"enum":["DELETE","PROTECT"],"type":"string"}}}}
```

## The LifecycleRuleApplyToModeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleApplyToModeV3":{"enum":["EXPLICIT","ALL_IN_SCOPE"],"type":"string"}}}}
```

## The LifecycleRuleApplyToV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleApplyToV3":{"properties":{"mode":{"$ref":"#/components/schemas/LifecycleRuleApplyToModeV3"},"registries":{"items":{"type":"string"},"type":"array"}},"required":["mode"],"type":"object"},"LifecycleRuleApplyToModeV3":{"enum":["EXPLICIT","ALL_IN_SCOPE"],"type":"string"}}}}
```

## The LifecycleRuleCriteriaConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleCriteriaConfigV3":{"properties":{"unit":{"$ref":"#/components/schemas/LifecycleRuleCriteriaUnitV3"},"value":{"format":"int64","type":"integer"}},"type":"object"},"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"}}}}
```

## The LifecycleRuleCriteriaItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleCriteriaItemV3":{"properties":{"config":{"$ref":"#/components/schemas/LifecycleRuleCriteriaConfigV3"},"type":{"$ref":"#/components/schemas/LifecycleRuleCriteriaTypeV3"}},"required":["type","config"],"type":"object"},"LifecycleRuleCriteriaConfigV3":{"properties":{"unit":{"$ref":"#/components/schemas/LifecycleRuleCriteriaUnitV3"},"value":{"format":"int64","type":"integer"}},"type":"object"},"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"},"LifecycleRuleCriteriaTypeV3":{"enum":["KEEP_LAST_N","AGE_BASED","UNUSED_FOR"],"type":"string"}}}}
```

## The LifecycleRuleCriteriaMatchV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleCriteriaMatchV3":{"enum":["ANY","ALL"],"type":"string"}}}}
```

## The LifecycleRuleCriteriaTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleCriteriaTypeV3":{"enum":["KEEP_LAST_N","AGE_BASED","UNUSED_FOR"],"type":"string"}}}}
```

## The LifecycleRuleCriteriaUnitV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"}}}}
```

## The LifecycleRuleCriteriaV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleCriteriaV3":{"properties":{"match":{"$ref":"#/components/schemas/LifecycleRuleCriteriaMatchV3"},"rules":{"items":{"$ref":"#/components/schemas/LifecycleRuleCriteriaItemV3"},"type":"array"}},"required":["match","rules"],"type":"object"},"LifecycleRuleCriteriaMatchV3":{"enum":["ANY","ALL"],"type":"string"},"LifecycleRuleCriteriaItemV3":{"properties":{"config":{"$ref":"#/components/schemas/LifecycleRuleCriteriaConfigV3"},"type":{"$ref":"#/components/schemas/LifecycleRuleCriteriaTypeV3"}},"required":["type","config"],"type":"object"},"LifecycleRuleCriteriaConfigV3":{"properties":{"unit":{"$ref":"#/components/schemas/LifecycleRuleCriteriaUnitV3"},"value":{"format":"int64","type":"integer"}},"type":"object"},"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"},"LifecycleRuleCriteriaTypeV3":{"enum":["KEEP_LAST_N","AGE_BASED","UNUSED_FOR"],"type":"string"}}}}
```

## The LifecycleRuleFilterConfigDockerV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleFilterConfigDockerV3":{"description":"Filter configuration for DOCKER package type.","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for image names to include (e.g. \"my-app*\").","items":{"type":"string"},"type":"array"},"packageType":{"enum":["DOCKER"],"type":"string"},"tagNameAllowedPattern":{"description":"Glob patterns for tag names to include (e.g. \"v1.*\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"}}}}
```

## The LifecycleRuleFilterConfigGenericV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleFilterConfigGenericV3":{"description":"Filter configuration for package types that support only name and version filtering: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for package names to include.","items":{"type":"string"},"type":"array"},"packageType":{"description":"Package type. One of: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"}}}}
```

## The LifecycleRuleFilterConfigHuggingFaceV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleFilterConfigHuggingFaceV3":{"description":"Filter configuration for HUGGINGFACE package type.","properties":{"datasetAllowedPattern":{"description":"Glob patterns for dataset names to include.","items":{"type":"string"},"type":"array"},"modelAllowedPattern":{"description":"Glob patterns for model names to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["HUGGINGFACE"],"type":"string"},"versionNameAllowedPattern":{"description":"Glob patterns for version/revision names to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"}}}}
```

## The LifecycleRuleFilterConfigMavenV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleFilterConfigMavenV3":{"description":"Filter configuration for MAVEN package type.","properties":{"groupIdAllowedPattern":{"description":"Glob patterns for Maven group IDs to include (e.g. \"com.example.*\").","items":{"type":"string"},"type":"array"},"packageNameAllowedPattern":{"description":"Glob patterns for artifact IDs to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["MAVEN"],"type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include (e.g. \"*-SNAPSHOT\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"}}}}
```

## The LifecycleRuleFilterConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleFilterConfigV3":{"description":"Filter configuration for a lifecycle rule, discriminated by packageType. Set packageType to select the correct variant: DOCKER, MAVEN, HUGGINGFACE, or any other supported type (generic variant).\n","discriminator":{"mapping":{"DOCKER":"#/components/schemas/LifecycleRuleFilterConfigDockerV3","HUGGINGFACE":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3","MAVEN":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},"propertyName":"packageType"},"oneOf":[{"$ref":"#/components/schemas/LifecycleRuleFilterConfigDockerV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigGenericV3"}]},"LifecycleRuleFilterConfigDockerV3":{"description":"Filter configuration for DOCKER package type.","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for image names to include (e.g. \"my-app*\").","items":{"type":"string"},"type":"array"},"packageType":{"enum":["DOCKER"],"type":"string"},"tagNameAllowedPattern":{"description":"Glob patterns for tag names to include (e.g. \"v1.*\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigMavenV3":{"description":"Filter configuration for MAVEN package type.","properties":{"groupIdAllowedPattern":{"description":"Glob patterns for Maven group IDs to include (e.g. \"com.example.*\").","items":{"type":"string"},"type":"array"},"packageNameAllowedPattern":{"description":"Glob patterns for artifact IDs to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["MAVEN"],"type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include (e.g. \"*-SNAPSHOT\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"},"LifecycleRuleFilterConfigHuggingFaceV3":{"description":"Filter configuration for HUGGINGFACE package type.","properties":{"datasetAllowedPattern":{"description":"Glob patterns for dataset names to include.","items":{"type":"string"},"type":"array"},"modelAllowedPattern":{"description":"Glob patterns for model names to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["HUGGINGFACE"],"type":"string"},"versionNameAllowedPattern":{"description":"Glob patterns for version/revision names to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigGenericV3":{"description":"Filter configuration for package types that support only name and version filtering: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for package names to include.","items":{"type":"string"},"type":"array"},"packageType":{"description":"Package type. One of: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"}}}}
```

## The LifecycleRulePatchBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRulePatchBodyV3":{"description":"Partial update body for a lifecycle rule. Only provided fields are updated.","properties":{"action":{"$ref":"#/components/schemas/LifecycleRuleActionV3"},"applyTo":{"$ref":"#/components/schemas/LifecycleRuleApplyToV3"},"criteria":{"$ref":"#/components/schemas/LifecycleRuleCriteriaV3"},"description":{"type":"string"},"enabled":{"description":"Enable or disable the lifecycle rule.","type":"boolean"},"filterConfig":{"$ref":"#/components/schemas/LifecycleRuleFilterConfigV3"},"name":{"type":"string"},"packageType":{"type":"string"},"schedule":{"$ref":"#/components/schemas/LifecycleRuleScheduleV3"}},"type":"object"},"LifecycleRuleActionV3":{"enum":["DELETE","PROTECT"],"type":"string"},"LifecycleRuleApplyToV3":{"properties":{"mode":{"$ref":"#/components/schemas/LifecycleRuleApplyToModeV3"},"registries":{"items":{"type":"string"},"type":"array"}},"required":["mode"],"type":"object"},"LifecycleRuleApplyToModeV3":{"enum":["EXPLICIT","ALL_IN_SCOPE"],"type":"string"},"LifecycleRuleCriteriaV3":{"properties":{"match":{"$ref":"#/components/schemas/LifecycleRuleCriteriaMatchV3"},"rules":{"items":{"$ref":"#/components/schemas/LifecycleRuleCriteriaItemV3"},"type":"array"}},"required":["match","rules"],"type":"object"},"LifecycleRuleCriteriaMatchV3":{"enum":["ANY","ALL"],"type":"string"},"LifecycleRuleCriteriaItemV3":{"properties":{"config":{"$ref":"#/components/schemas/LifecycleRuleCriteriaConfigV3"},"type":{"$ref":"#/components/schemas/LifecycleRuleCriteriaTypeV3"}},"required":["type","config"],"type":"object"},"LifecycleRuleCriteriaConfigV3":{"properties":{"unit":{"$ref":"#/components/schemas/LifecycleRuleCriteriaUnitV3"},"value":{"format":"int64","type":"integer"}},"type":"object"},"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"},"LifecycleRuleCriteriaTypeV3":{"enum":["KEEP_LAST_N","AGE_BASED","UNUSED_FOR"],"type":"string"},"LifecycleRuleFilterConfigV3":{"description":"Filter configuration for a lifecycle rule, discriminated by packageType. Set packageType to select the correct variant: DOCKER, MAVEN, HUGGINGFACE, or any other supported type (generic variant).\n","discriminator":{"mapping":{"DOCKER":"#/components/schemas/LifecycleRuleFilterConfigDockerV3","HUGGINGFACE":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3","MAVEN":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},"propertyName":"packageType"},"oneOf":[{"$ref":"#/components/schemas/LifecycleRuleFilterConfigDockerV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigGenericV3"}]},"LifecycleRuleFilterConfigDockerV3":{"description":"Filter configuration for DOCKER package type.","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for image names to include (e.g. \"my-app*\").","items":{"type":"string"},"type":"array"},"packageType":{"enum":["DOCKER"],"type":"string"},"tagNameAllowedPattern":{"description":"Glob patterns for tag names to include (e.g. \"v1.*\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigMavenV3":{"description":"Filter configuration for MAVEN package type.","properties":{"groupIdAllowedPattern":{"description":"Glob patterns for Maven group IDs to include (e.g. \"com.example.*\").","items":{"type":"string"},"type":"array"},"packageNameAllowedPattern":{"description":"Glob patterns for artifact IDs to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["MAVEN"],"type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include (e.g. \"*-SNAPSHOT\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"},"LifecycleRuleFilterConfigHuggingFaceV3":{"description":"Filter configuration for HUGGINGFACE package type.","properties":{"datasetAllowedPattern":{"description":"Glob patterns for dataset names to include.","items":{"type":"string"},"type":"array"},"modelAllowedPattern":{"description":"Glob patterns for model names to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["HUGGINGFACE"],"type":"string"},"versionNameAllowedPattern":{"description":"Glob patterns for version/revision names to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigGenericV3":{"description":"Filter configuration for package types that support only name and version filtering: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for package names to include.","items":{"type":"string"},"type":"array"},"packageType":{"description":"Package type. One of: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleScheduleV3":{"properties":{"expression":{"type":"string"},"timezone":{"type":"string"}},"required":["expression","timezone"],"type":"object"}}}}
```

## The LifecycleRuleRequestBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleRequestBodyV3":{"properties":{"action":{"$ref":"#/components/schemas/LifecycleRuleActionV3"},"applyTo":{"$ref":"#/components/schemas/LifecycleRuleApplyToV3"},"criteria":{"$ref":"#/components/schemas/LifecycleRuleCriteriaV3"},"description":{"type":"string"},"filterConfig":{"$ref":"#/components/schemas/LifecycleRuleFilterConfigV3"},"name":{"type":"string"},"packageType":{"type":"string"},"schedule":{"$ref":"#/components/schemas/LifecycleRuleScheduleV3"}},"required":["name","action","applyTo"],"type":"object"},"LifecycleRuleActionV3":{"enum":["DELETE","PROTECT"],"type":"string"},"LifecycleRuleApplyToV3":{"properties":{"mode":{"$ref":"#/components/schemas/LifecycleRuleApplyToModeV3"},"registries":{"items":{"type":"string"},"type":"array"}},"required":["mode"],"type":"object"},"LifecycleRuleApplyToModeV3":{"enum":["EXPLICIT","ALL_IN_SCOPE"],"type":"string"},"LifecycleRuleCriteriaV3":{"properties":{"match":{"$ref":"#/components/schemas/LifecycleRuleCriteriaMatchV3"},"rules":{"items":{"$ref":"#/components/schemas/LifecycleRuleCriteriaItemV3"},"type":"array"}},"required":["match","rules"],"type":"object"},"LifecycleRuleCriteriaMatchV3":{"enum":["ANY","ALL"],"type":"string"},"LifecycleRuleCriteriaItemV3":{"properties":{"config":{"$ref":"#/components/schemas/LifecycleRuleCriteriaConfigV3"},"type":{"$ref":"#/components/schemas/LifecycleRuleCriteriaTypeV3"}},"required":["type","config"],"type":"object"},"LifecycleRuleCriteriaConfigV3":{"properties":{"unit":{"$ref":"#/components/schemas/LifecycleRuleCriteriaUnitV3"},"value":{"format":"int64","type":"integer"}},"type":"object"},"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"},"LifecycleRuleCriteriaTypeV3":{"enum":["KEEP_LAST_N","AGE_BASED","UNUSED_FOR"],"type":"string"},"LifecycleRuleFilterConfigV3":{"description":"Filter configuration for a lifecycle rule, discriminated by packageType. Set packageType to select the correct variant: DOCKER, MAVEN, HUGGINGFACE, or any other supported type (generic variant).\n","discriminator":{"mapping":{"DOCKER":"#/components/schemas/LifecycleRuleFilterConfigDockerV3","HUGGINGFACE":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3","MAVEN":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},"propertyName":"packageType"},"oneOf":[{"$ref":"#/components/schemas/LifecycleRuleFilterConfigDockerV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigGenericV3"}]},"LifecycleRuleFilterConfigDockerV3":{"description":"Filter configuration for DOCKER package type.","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for image names to include (e.g. \"my-app*\").","items":{"type":"string"},"type":"array"},"packageType":{"enum":["DOCKER"],"type":"string"},"tagNameAllowedPattern":{"description":"Glob patterns for tag names to include (e.g. \"v1.*\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigMavenV3":{"description":"Filter configuration for MAVEN package type.","properties":{"groupIdAllowedPattern":{"description":"Glob patterns for Maven group IDs to include (e.g. \"com.example.*\").","items":{"type":"string"},"type":"array"},"packageNameAllowedPattern":{"description":"Glob patterns for artifact IDs to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["MAVEN"],"type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include (e.g. \"*-SNAPSHOT\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"},"LifecycleRuleFilterConfigHuggingFaceV3":{"description":"Filter configuration for HUGGINGFACE package type.","properties":{"datasetAllowedPattern":{"description":"Glob patterns for dataset names to include.","items":{"type":"string"},"type":"array"},"modelAllowedPattern":{"description":"Glob patterns for model names to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["HUGGINGFACE"],"type":"string"},"versionNameAllowedPattern":{"description":"Glob patterns for version/revision names to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigGenericV3":{"description":"Filter configuration for package types that support only name and version filtering: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for package names to include.","items":{"type":"string"},"type":"array"},"packageType":{"description":"Package type. One of: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleScheduleV3":{"properties":{"expression":{"type":"string"},"timezone":{"type":"string"}},"required":["expression","timezone"],"type":"object"}}}}
```

## The LifecycleRuleResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleResponseV3":{"properties":{"action":{"$ref":"#/components/schemas/LifecycleRuleActionV3"},"applyTo":{"$ref":"#/components/schemas/LifecycleRuleApplyToV3"},"createdAt":{"format":"int64","type":"integer"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"criteria":{"$ref":"#/components/schemas/LifecycleRuleCriteriaV3"},"description":{"type":"string"},"enabled":{"description":"Whether the lifecycle rule is currently enabled.","type":"boolean"},"filterConfig":{"$ref":"#/components/schemas/LifecycleRuleFilterConfigV3"},"hasLocalAssignment":{"description":"Whether the lifecycle rule has at least one assignment with parent_id matching the filter's ParentID.","type":"boolean"},"id":{"type":"string"},"lastRunAt":{"description":"Epoch milliseconds of the last execution, if any.","format":"int64","type":"integer"},"name":{"type":"string"},"nextRunAt":{"description":"Epoch milliseconds of the next scheduled execution, if any.","format":"int64","type":"integer"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageType":{"type":"string"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"schedule":{"$ref":"#/components/schemas/LifecycleRuleScheduleV3"},"updatedAt":{"format":"int64","type":"integer"},"updatedBy":{"$ref":"#/components/schemas/UserInfoV3"}},"required":["id","name","action","applyTo","enabled","hasLocalAssignment"],"type":"object"},"LifecycleRuleActionV3":{"enum":["DELETE","PROTECT"],"type":"string"},"LifecycleRuleApplyToV3":{"properties":{"mode":{"$ref":"#/components/schemas/LifecycleRuleApplyToModeV3"},"registries":{"items":{"type":"string"},"type":"array"}},"required":["mode"],"type":"object"},"LifecycleRuleApplyToModeV3":{"enum":["EXPLICIT","ALL_IN_SCOPE"],"type":"string"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"LifecycleRuleCriteriaV3":{"properties":{"match":{"$ref":"#/components/schemas/LifecycleRuleCriteriaMatchV3"},"rules":{"items":{"$ref":"#/components/schemas/LifecycleRuleCriteriaItemV3"},"type":"array"}},"required":["match","rules"],"type":"object"},"LifecycleRuleCriteriaMatchV3":{"enum":["ANY","ALL"],"type":"string"},"LifecycleRuleCriteriaItemV3":{"properties":{"config":{"$ref":"#/components/schemas/LifecycleRuleCriteriaConfigV3"},"type":{"$ref":"#/components/schemas/LifecycleRuleCriteriaTypeV3"}},"required":["type","config"],"type":"object"},"LifecycleRuleCriteriaConfigV3":{"properties":{"unit":{"$ref":"#/components/schemas/LifecycleRuleCriteriaUnitV3"},"value":{"format":"int64","type":"integer"}},"type":"object"},"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"},"LifecycleRuleCriteriaTypeV3":{"enum":["KEEP_LAST_N","AGE_BASED","UNUSED_FOR"],"type":"string"},"LifecycleRuleFilterConfigV3":{"description":"Filter configuration for a lifecycle rule, discriminated by packageType. Set packageType to select the correct variant: DOCKER, MAVEN, HUGGINGFACE, or any other supported type (generic variant).\n","discriminator":{"mapping":{"DOCKER":"#/components/schemas/LifecycleRuleFilterConfigDockerV3","HUGGINGFACE":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3","MAVEN":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},"propertyName":"packageType"},"oneOf":[{"$ref":"#/components/schemas/LifecycleRuleFilterConfigDockerV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigGenericV3"}]},"LifecycleRuleFilterConfigDockerV3":{"description":"Filter configuration for DOCKER package type.","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for image names to include (e.g. \"my-app*\").","items":{"type":"string"},"type":"array"},"packageType":{"enum":["DOCKER"],"type":"string"},"tagNameAllowedPattern":{"description":"Glob patterns for tag names to include (e.g. \"v1.*\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigMavenV3":{"description":"Filter configuration for MAVEN package type.","properties":{"groupIdAllowedPattern":{"description":"Glob patterns for Maven group IDs to include (e.g. \"com.example.*\").","items":{"type":"string"},"type":"array"},"packageNameAllowedPattern":{"description":"Glob patterns for artifact IDs to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["MAVEN"],"type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include (e.g. \"*-SNAPSHOT\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"},"LifecycleRuleFilterConfigHuggingFaceV3":{"description":"Filter configuration for HUGGINGFACE package type.","properties":{"datasetAllowedPattern":{"description":"Glob patterns for dataset names to include.","items":{"type":"string"},"type":"array"},"modelAllowedPattern":{"description":"Glob patterns for model names to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["HUGGINGFACE"],"type":"string"},"versionNameAllowedPattern":{"description":"Glob patterns for version/revision names to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigGenericV3":{"description":"Filter configuration for package types that support only name and version filtering: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for package names to include.","items":{"type":"string"},"type":"array"},"packageType":{"description":"Package type. One of: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"orgIdentifier":{"type":"string"},"projectIdentifier":{"type":"string"},"LifecycleRuleScheduleV3":{"properties":{"expression":{"type":"string"},"timezone":{"type":"string"}},"required":["expression","timezone"],"type":"object"}}}}
```

## The LifecycleRuleScheduleV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleScheduleV3":{"properties":{"expression":{"type":"string"},"timezone":{"type":"string"}},"required":["expression","timezone"],"type":"object"}}}}
```

## The LifecycleRuleSemverOnlyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"}}}}
```

## The LifecycleStatsResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LifecycleStatsResponseV3":{"description":"Aggregate lifecycle execution metrics for the requested scope.","properties":{"artifactsCleaned":{"description":"Total artifact versions deleted across all executions.","format":"int64","type":"integer"},"executionsLast30Days":{"description":"Number of executions that ran in the last 30 days.","format":"int64","type":"integer"},"storageReclaimed":{"description":"Total storage reclaimed (bytes) across all executions.","type":"string"}},"required":["storageReclaimed","artifactsCleaned","executionsLast30Days"],"type":"object"}}}}
```

## The ListArtifact object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListArtifact":{"description":"A list of Artifacts","properties":{"artifacts":{"description":"A list of Artifact","items":{"$ref":"#/components/schemas/ArtifactMetadata"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["artifacts"],"type":"object"},"ArtifactMetadata":{"description":"Artifact Metadata","properties":{"artifactKey":{"additionalProperties":{"type":"string"},"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the artifact was soft deleted. Null if not deleted.","type":"string"},"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadata"},"digestCount":{"format":"int64","type":"integer"},"downloadsCount":{"format":"int64","type":"integer"},"fileCount":{"type":"integer"},"firewallMode":{"enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"isQuarantined":{"type":"boolean"},"labels":{"items":{"type":"string"},"type":"array"},"lastModified":{"type":"string"},"lastScannedAt":{"type":"string"},"latestVersion":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"name":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"purl":{"description":"Package URL (PURL) identifying the package version.","type":"string"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryPath":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryType"},"registryUUID":{"type":"string"},"scanId":{"type":"string"},"scanStatus":{"enum":["WARN","BLOCKED","ALLOWED"],"type":"string"},"uuid":{"type":"string"},"version":{"type":"string"}},"required":["name","version","registryIdentifier","latestVersion","registryPath","packageType","registryUUID","uuid"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"DeploymentMetadata":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The ListArtifactLabel object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListArtifactLabel":{"description":"A list of Harness Artifact Labels","properties":{"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"labels":{"items":{"type":"string"},"type":"array"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["labels"],"type":"object"}}}}
```

## The ListArtifactVersion object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListArtifactVersion":{"description":"A list of Artifact versions","properties":{"artifactVersions":{"description":"A list of Artifact versions","items":{"$ref":"#/components/schemas/ArtifactVersionMetadata"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["artifacts"],"type":"object"},"ArtifactVersionMetadata":{"description":"Artifact Version Metadata","properties":{"artifactKey":{"additionalProperties":{"type":"string"},"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the artifact was soft deleted. Null if not deleted.","type":"string"},"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadata"},"digestCount":{"format":"int64","type":"integer"},"downloadsCount":{"format":"int64","type":"integer"},"fileCount":{"format":"int64","type":"integer"},"firewallMode":{"enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"isQuarantined":{"type":"boolean"},"lastModified":{"type":"string"},"lastScannedAt":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"name":{"type":"string"},"opaMetadataValidation":{"type":"boolean"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryPath":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryType"},"registryUUID":{"type":"string"},"scanId":{"type":"string"},"scanStatus":{"enum":["WARN","BLOCKED","ALLOWED"],"type":"string"},"size":{"type":"string"},"uuid":{"type":"string"}},"required":["name","registryIdentifier","latestVersion","registryPath","packageType","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"DeploymentMetadata":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The ListConanPackageRevisionsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListConanPackageRevisionsResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ConanPackageRevisionDetailV3"},"type":"array"}},"required":["items"],"type":"object"}],"description":"The package revisions (PREVs) of a Conan package."},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"ConanPackageRevisionDetailV3":{"description":"A Conan package revision (PREV).","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"downloadCount":{"format":"int64","type":"integer"},"id":{"description":"The stable UUID of the package revision row.","format":"uuid","type":"string"},"lastDownloadedAt":{"description":"Last-downloaded time (Unix milliseconds), if any.","format":"int64","nullable":true,"type":"integer"},"packageRevision":{"description":"The package revision (PREV) hash.","type":"string"},"size":{"type":"string"}},"required":["id","packageRevision"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"}}}}
```

## The ListConanPackagesResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListConanPackagesResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ConanPackageMetadataV3"},"type":"array"}},"required":["items"],"type":"object"}],"description":"The packages (PKGIDs) of a Conan recipe revision."},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"ConanPackageMetadataV3":{"description":"A Conan package (PKGID).","properties":{"id":{"description":"The stable UUID of the package row.","format":"uuid","type":"string"},"latestPackageRevision":{"description":"The newest finalized package revision hash.","type":"string"},"options":{"additionalProperties":true,"description":"Build options parsed from conaninfo.txt.","type":"object"},"packageId":{"description":"The package id hash.","type":"string"},"settings":{"additionalProperties":true,"description":"Build settings parsed from conaninfo.txt.","type":"object"},"size":{"description":"Size of the latest finalized package revision.","type":"string"}},"required":["id","packageId"],"type":"object"}}}}
```

## The ListConanRecipeRevisionsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListConanRecipeRevisionsResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/ConanRecipeRevisionDetailV3"},"type":"array"}},"required":["items"],"type":"object"}],"description":"The recipe revisions (RREVs) of a Conan version."},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"ConanRecipeRevisionDetailV3":{"description":"A Conan recipe revision (RREV).","properties":{"downloadCount":{"description":"Total downloads across every finalized package revision under this revision.","format":"int64","type":"integer"},"id":{"description":"The stable UUID of the recipe revision row.","format":"uuid","type":"string"},"lastDownloadedAt":{"description":"Most recent download time (Unix milliseconds), if any.","format":"int64","nullable":true,"type":"integer"},"lastPushedAt":{"description":"Finalization time (Unix milliseconds).","format":"int64","nullable":true,"type":"integer"},"packageCount":{"description":"Number of packages with at least one finalized package revision.","format":"int64","type":"integer"},"recipeRevision":{"description":"The recipe revision (RREV) hash.","type":"string"},"size":{"description":"Recipe files plus all package binaries under this revision.","type":"string"}},"required":["id","recipeRevision"],"type":"object"}}}}
```

## The ListFileDetail object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListFileDetail":{"description":"A list of Harness Artifact Files","properties":{"files":{"description":"A list of Harness Artifact Files","items":{"$ref":"#/components/schemas/FileDetail"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["files"],"type":"object"},"FileDetail":{"description":"File Detail","properties":{"checksums":{"items":{"type":"string"},"type":"array"},"createdAt":{"type":"string"},"downloadCommand":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"size":{"type":"string"}},"required":["name","size","checksums","downloadCommand","createdAt","path"],"type":"object"}}}}
```

## The ListFilesResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListFilesResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/FileMetadataV3"},"type":"array"},"meta":{"$ref":"#/components/schemas/MetaV3"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"FileMetadataV3":{"description":"File Metadata","properties":{"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"downloadCmd":{"type":"string"},"downloadUrl":{"type":"string"},"id":{"type":"string"},"md5":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"sha1":{"type":"string"},"sha256":{"type":"string"},"sha512":{"type":"string"},"size":{"type":"string"}},"required":["id","name","path","createdAt","sha1","sha256","sha512","md5","size","downloadCmd"],"type":"object"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"MetaV3":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"}}}}
```

## The ListFilterOptionsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListFilterOptionsResponseBodyV3":{"description":"Response body for `GET /filters/options`. Returns the set of\nselectable values for a single filter. The list is bounded\nserver-side; `search_term` narrows it in place of pagination.\n","properties":{"options":{"description":"Selectable values for the requested filter.","items":{"$ref":"#/components/schemas/FilterOptionV3"},"type":"array"}},"required":["options"],"type":"object"},"FilterOptionV3":{"description":"One selectable value for a filter with `supportsOptions=true`.","properties":{"label":{"description":"Human-readable label for the value.","type":"string"},"value":{"description":"Value to send back when applying the filter.","type":"string"}},"required":["value","label"],"type":"object"}}}}
```

## The ListFiltersResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListFiltersResponseBodyV3":{"description":"Response body for a list filters query. Contains a single merged\nlist of filter definitions — static filters (from configuration)\nfollowed by dynamic metadata filters (one per user-defined\nmetadata key, identified by `metadata.<key>`). The list is\ncapped server-side (currently at 100 dynamic entries) and is not\npaginated; `search_term` narrows both static and dynamic\nentries.\n","properties":{"filters":{"description":"Combined filter definitions available for the requested\n`resource_type`, in a stable order: static filters first\n(in configured order), followed by dynamic metadata filters.\n","items":{"$ref":"#/components/schemas/FilterDefinitionV3"},"type":"array"}},"required":["filters"],"type":"object"},"FilterDefinitionV3":{"description":"Definition of a filter that can be applied when listing a resource.","properties":{"conditions":{"description":"Comparison conditions supported by this filter.","items":{"$ref":"#/components/schemas/FilterConditionV3"},"type":"array"},"dataType":{"$ref":"#/components/schemas/FilterDataTypeV3"},"field":{"description":"Backend field name the filter maps to.","type":"string"},"id":{"description":"Stable identifier for the filter.","type":"string"},"inputType":{"$ref":"#/components/schemas/FilterInputTypeV3"},"label":{"description":"Human-readable label for the filter.","type":"string"},"supportsOptions":{"description":"Whether the filter supports a dynamic set of option values.","type":"boolean"}},"required":["id","label","field","dataType","inputType","conditions","supportsOptions"],"type":"object"},"FilterConditionV3":{"description":"Supported comparison condition for a filter.","enum":["EQ","NE","GT","LT","CONTAINS","STARTS_WITH","ENDS_WITH","IN","NOT_IN"],"type":"string"},"FilterDataTypeV3":{"description":"Data type of a filter field.","enum":["string","number","boolean"],"type":"string"},"FilterInputTypeV3":{"description":"UI input control used to render a filter field.","enum":["text","number","checkbox","singleSelect","multiSelect"],"type":"string"}}}}
```

## The ListFirewallExceptionsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListFirewallExceptionsResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/FirewallExceptionResponseV3"},"type":"array"},"meta":{"$ref":"#/components/schemas/FirewallExceptionMetaV3"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"FirewallExceptionResponseV3":{"description":"Firewall exception details","properties":{"businessJustification":{"description":"Business justification for the exception","type":"string"},"createdAt":{"description":"Unix timestamp (milliseconds) when created","format":"int64","type":"integer"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"exceptionId":{"description":"Unique identifier for the exception","format":"uuid","type":"string"},"expirationAt":{"description":"Unix timestamp (milliseconds) when the exception expires. Computed at approval time.","format":"int64","nullable":true,"type":"integer"},"expireAfter":{"description":"Number of days after approval when the exception expires","format":"int32","nullable":true,"type":"integer"},"notes":{"description":"Note from approver (if approved/rejected)","nullable":true,"type":"string"},"packageName":{"description":"Name of the package","type":"string"},"packageType":{"description":"type of the package","type":"string"},"registryId":{"description":"Registry identifier","type":"string"},"registryName":{"description":"Name of the registry","type":"string"},"remediationPlan":{"description":"Plan for remediation","nullable":true,"type":"string"},"status":{"$ref":"#/components/schemas/FirewallExceptionStatusV3"},"statusChangedAt":{"description":"Unix timestamp (milliseconds) when status was changed","format":"int64","nullable":true,"type":"integer"},"statusChangedBy":{"$ref":"#/components/schemas/UserInfoV3"},"updatedAt":{"description":"Unix timestamp (milliseconds) when last updated","format":"int64","type":"integer"},"updatedBy":{"$ref":"#/components/schemas/UserInfoV3"},"versionId":{"description":"Version identifier","nullable":true,"type":"string"},"versionList":{"description":"List of versions covered by exception","items":{"type":"string"},"type":"array"},"versionScanMap":{"additionalProperties":{"type":"string"},"description":"Map of version string to scan ID","nullable":true,"type":"object"}},"required":["exceptionId","registryId","packageName","packageType","versionList","businessJustification","status","createdAt","createdBy","updatedAt","updatedBy"],"type":"object"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"FirewallExceptionStatusV3":{"description":"Status of the firewall exception","enum":["PENDING","APPROVED","REJECTED","EXPIRED"],"type":"string"},"FirewallExceptionMetaV3":{"description":"Metadata counts for firewall exceptions","properties":{"approvedCount":{"description":"Number of exceptions with APPROVED status (non-expired)","format":"int64","type":"integer"},"expiredCount":{"description":"Number of approved exceptions that have expired","format":"int64","type":"integer"},"pendingCount":{"description":"Number of exceptions with PENDING status","format":"int64","type":"integer"},"rejectedCount":{"description":"Number of exceptions with REJECTED status","format":"int64","type":"integer"},"totalCount":{"description":"Total number of exceptions","format":"int64","type":"integer"}},"required":["totalCount","pendingCount","approvedCount","rejectedCount","expiredCount"],"type":"object"}}}}
```

## The ListLifecycleExecutionItemsResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListLifecycleExecutionItemsResponseV3":{"properties":{"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/LifecycleExecutionItemResponseV3"},"type":"array"},"page":{"format":"int64","type":"integer"},"size":{"format":"int64","type":"integer"}},"required":["items","hasMore","page","size"],"type":"object"},"LifecycleExecutionItemResponseV3":{"description":"A single artifact version evaluated during a lifecycle execution.","properties":{"lastDownloadedAt":{"description":"Epoch milliseconds of the last download.","format":"int64","type":"integer"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageName":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"reason":{"description":"Reason the item was included or excluded.","type":"string"},"registryName":{"type":"string"},"size":{"type":"string"},"status":{"$ref":"#/components/schemas/LifecycleExecutionItemStatusV3"},"version":{"type":"string"},"versionCreatedAt":{"description":"Epoch milliseconds when the artifact version was created.","format":"int64","type":"integer"},"versionId":{"type":"string"}},"required":["packageName","version","registryName","status"],"type":"object"},"orgIdentifier":{"type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"LifecycleExecutionItemStatusV3":{"description":"Outcome of a lifecycle execution item.","enum":["PROTECTED","WOULD_BE_DELETED","DELETED"],"type":"string"}}}}
```

## The ListLifecycleExecutionsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListLifecycleExecutionsResponseBodyV3":{"properties":{"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/LifecycleExecutionResponseV3"},"type":"array"},"page":{"format":"int64","type":"integer"},"size":{"format":"int64","type":"integer"}},"required":["items","hasMore","page","size"],"type":"object"},"LifecycleExecutionResponseV3":{"properties":{"completedAt":{"format":"int64","type":"integer"},"createdAt":{"format":"int64","type":"integer"},"id":{"type":"string"},"message":{"type":"string"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packagesAffected":{"format":"int64","type":"integer"},"policyId":{"type":"string"},"policyName":{"description":"Name of the lifecycle policy that triggered this execution.","type":"string"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"protected":{"format":"int64","type":"integer"},"registriesAffected":{"format":"int64","type":"integer"},"startedAt":{"format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/LifecycleExecutionStatusV3"},"storageReclaimed":{"type":"string"},"triggerType":{"$ref":"#/components/schemas/LifecycleExecutionTriggerTypeV3"},"versionsDeleted":{"format":"int64","type":"integer"}},"required":["id","policyId","policyName","status","triggerType","createdAt","registriesAffected","packagesAffected","versionsDeleted","storageReclaimed","protected"],"type":"object"},"orgIdentifier":{"type":"string"},"projectIdentifier":{"type":"string"},"LifecycleExecutionStatusV3":{"enum":["PENDING","INPROGRESS","SUCCESS","FAILED"],"type":"string"},"LifecycleExecutionTriggerTypeV3":{"enum":["SCHEDULED","DRY_RUN"],"type":"string"}}}}
```

## The ListLifecycleRulesResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListLifecycleRulesResponseBodyV3":{"properties":{"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/LifecycleRuleResponseV3"},"type":"array"},"page":{"format":"int64","type":"integer"},"size":{"format":"int64","type":"integer"}},"required":["items","hasMore","page","size"],"type":"object"},"LifecycleRuleResponseV3":{"properties":{"action":{"$ref":"#/components/schemas/LifecycleRuleActionV3"},"applyTo":{"$ref":"#/components/schemas/LifecycleRuleApplyToV3"},"createdAt":{"format":"int64","type":"integer"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"criteria":{"$ref":"#/components/schemas/LifecycleRuleCriteriaV3"},"description":{"type":"string"},"enabled":{"description":"Whether the lifecycle rule is currently enabled.","type":"boolean"},"filterConfig":{"$ref":"#/components/schemas/LifecycleRuleFilterConfigV3"},"hasLocalAssignment":{"description":"Whether the lifecycle rule has at least one assignment with parent_id matching the filter's ParentID.","type":"boolean"},"id":{"type":"string"},"lastRunAt":{"description":"Epoch milliseconds of the last execution, if any.","format":"int64","type":"integer"},"name":{"type":"string"},"nextRunAt":{"description":"Epoch milliseconds of the next scheduled execution, if any.","format":"int64","type":"integer"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageType":{"type":"string"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"schedule":{"$ref":"#/components/schemas/LifecycleRuleScheduleV3"},"updatedAt":{"format":"int64","type":"integer"},"updatedBy":{"$ref":"#/components/schemas/UserInfoV3"}},"required":["id","name","action","applyTo","enabled","hasLocalAssignment"],"type":"object"},"LifecycleRuleActionV3":{"enum":["DELETE","PROTECT"],"type":"string"},"LifecycleRuleApplyToV3":{"properties":{"mode":{"$ref":"#/components/schemas/LifecycleRuleApplyToModeV3"},"registries":{"items":{"type":"string"},"type":"array"}},"required":["mode"],"type":"object"},"LifecycleRuleApplyToModeV3":{"enum":["EXPLICIT","ALL_IN_SCOPE"],"type":"string"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"LifecycleRuleCriteriaV3":{"properties":{"match":{"$ref":"#/components/schemas/LifecycleRuleCriteriaMatchV3"},"rules":{"items":{"$ref":"#/components/schemas/LifecycleRuleCriteriaItemV3"},"type":"array"}},"required":["match","rules"],"type":"object"},"LifecycleRuleCriteriaMatchV3":{"enum":["ANY","ALL"],"type":"string"},"LifecycleRuleCriteriaItemV3":{"properties":{"config":{"$ref":"#/components/schemas/LifecycleRuleCriteriaConfigV3"},"type":{"$ref":"#/components/schemas/LifecycleRuleCriteriaTypeV3"}},"required":["type","config"],"type":"object"},"LifecycleRuleCriteriaConfigV3":{"properties":{"unit":{"$ref":"#/components/schemas/LifecycleRuleCriteriaUnitV3"},"value":{"format":"int64","type":"integer"}},"type":"object"},"LifecycleRuleCriteriaUnitV3":{"enum":["DAYS","MONTHS","YEARS"],"type":"string"},"LifecycleRuleCriteriaTypeV3":{"enum":["KEEP_LAST_N","AGE_BASED","UNUSED_FOR"],"type":"string"},"LifecycleRuleFilterConfigV3":{"description":"Filter configuration for a lifecycle rule, discriminated by packageType. Set packageType to select the correct variant: DOCKER, MAVEN, HUGGINGFACE, or any other supported type (generic variant).\n","discriminator":{"mapping":{"DOCKER":"#/components/schemas/LifecycleRuleFilterConfigDockerV3","HUGGINGFACE":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3","MAVEN":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},"propertyName":"packageType"},"oneOf":[{"$ref":"#/components/schemas/LifecycleRuleFilterConfigDockerV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigMavenV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigHuggingFaceV3"},{"$ref":"#/components/schemas/LifecycleRuleFilterConfigGenericV3"}]},"LifecycleRuleFilterConfigDockerV3":{"description":"Filter configuration for DOCKER package type.","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for image names to include (e.g. \"my-app*\").","items":{"type":"string"},"type":"array"},"packageType":{"enum":["DOCKER"],"type":"string"},"tagNameAllowedPattern":{"description":"Glob patterns for tag names to include (e.g. \"v1.*\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigMavenV3":{"description":"Filter configuration for MAVEN package type.","properties":{"groupIdAllowedPattern":{"description":"Glob patterns for Maven group IDs to include (e.g. \"com.example.*\").","items":{"type":"string"},"type":"array"},"packageNameAllowedPattern":{"description":"Glob patterns for artifact IDs to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["MAVEN"],"type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include (e.g. \"*-SNAPSHOT\").","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleSemverOnlyV3":{"default":false,"description":"When true, the rule only considers versions that parse as semantic versions (e.g. \"1.2.3\", \"v2.0.0-rc.1\"); all other versions are ignored by the rule and are never deleted by it. KEEP_LAST_N criteria then keep the N highest semantic versions instead of the N most recently uploaded; AGE_BASED and UNUSED_FOR criteria apply unchanged to the semver versions only. Supported only on DELETE (cleanup) rules; rejected on PROTECT rules.\n","type":"boolean"},"LifecycleRuleFilterConfigHuggingFaceV3":{"description":"Filter configuration for HUGGINGFACE package type.","properties":{"datasetAllowedPattern":{"description":"Glob patterns for dataset names to include.","items":{"type":"string"},"type":"array"},"modelAllowedPattern":{"description":"Glob patterns for model names to include.","items":{"type":"string"},"type":"array"},"packageType":{"enum":["HUGGINGFACE"],"type":"string"},"versionNameAllowedPattern":{"description":"Glob patterns for version/revision names to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"LifecycleRuleFilterConfigGenericV3":{"description":"Filter configuration for package types that support only name and version filtering: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","properties":{"packageNameAllowedPattern":{"description":"Glob patterns for package names to include.","items":{"type":"string"},"type":"array"},"packageType":{"description":"Package type. One of: PYTHON, HELM, NPM, NUGET, RPM, CARGO, COMPOSER, GO, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, GENERIC.\n","type":"string"},"semverOnly":{"$ref":"#/components/schemas/LifecycleRuleSemverOnlyV3"},"versionNameAllowedPattern":{"description":"Glob patterns for version strings to include.","items":{"type":"string"},"type":"array"}},"required":["packageType"],"type":"object"},"orgIdentifier":{"type":"string"},"projectIdentifier":{"type":"string"},"LifecycleRuleScheduleV3":{"properties":{"expression":{"type":"string"},"timezone":{"type":"string"}},"required":["expression","timezone"],"type":"object"}}}}
```

## The ListMetadataKeysResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListMetadataKeysResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"description":"A unique metadata key name","type":"string"},"type":"array"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"}}}}
```

## The ListMetadataValuesResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListMetadataValuesResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"description":"A unique value for the specified metadata key","type":"string"},"type":"array"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"}}}}
```

## The ListMigrationImage object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListMigrationImage":{"description":"A list of migration images","properties":{"images":{"description":"A list of Artifact versions","items":{"$ref":"#/components/schemas/MigrationImage"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["pageCount","itemCount","pageSize","pageIndex","images"],"type":"object"},"MigrationImage":{"properties":{"imageId":{"type":"string"},"imageTag":{"type":"string"},"progress":{"type":"integer"},"status":{"type":"string"}},"type":"object"}}}}
```

## The ListOciArtifactTags object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListOciArtifactTags":{"description":"A list of Artifact versions","properties":{"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"ociArtifactTags":{"description":"A list of OCI Artifact tags","items":{"$ref":"#/components/schemas/OciArtifactTag"},"type":"array"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["ociArtifactTags"],"type":"object"},"OciArtifactTag":{"description":"OCI Artifact Tag info","properties":{"digest":{"type":"string"},"name":{"type":"string"}},"required":["name","digest"],"type":"object"}}}}
```

## The ListPackage object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListPackage":{"description":"A list of Package","properties":{"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"meta":{"$ref":"#/components/schemas/Meta"},"packages":{"description":"A list of Package","items":{"$ref":"#/components/schemas/PackageMetadata"},"type":"array"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["packages","meta"],"type":"object"},"Meta":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"},"PackageMetadata":{"description":"Package Metadata","properties":{"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"deletedBy":{"$ref":"#/components/schemas/PerformedBy"},"downloadsCount":{"format":"int64","type":"integer"},"isPublic":{"type":"boolean"},"isQuarantined":{"type":"boolean"},"lastModified":{"type":"string"},"latestVersion":{"type":"string"},"latestVersionArtifactKey":{"additionalProperties":true,"type":"object"},"package":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryUUID":{"type":"string"},"uuid":{"type":"string"}},"required":["package","registryIdentifier","packageType","isPublic","latestVersion","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PerformedBy":{"description":"Principal who performed the relevant action","properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The ListPackageTypeConfigsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListPackageTypeConfigsResponseBodyV3":{"description":"Response body for `GET /config/package-types`. Returns one entry\nper known package type, or per requested `package_types` when the\nfilter is used. The list is bounded server-side to the set of\nregistered package types and is not paginated.\n","properties":{"packageTypeConfigs":{"description":"Per-package-type UI configuration, one entry per package type.","items":{"$ref":"#/components/schemas/PackageTypeConfigV3"},"type":"array"}},"required":["packageTypeConfigs"],"type":"object"},"PackageTypeConfigV3":{"description":"Per-package-type UI configuration and capability flags.","properties":{"capabilities":{"$ref":"#/components/schemas/PackageTypeCapabilitiesV3"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"}},"required":["packageType","capabilities"],"type":"object"},"PackageTypeCapabilitiesV3":{"description":"Generic, extensible capability flags for a package type. New flags\nmay be added over time without a breaking change; clients must\nignore capability fields they do not recognize.\n","properties":{"resourceCacheTtlEnabled":{"description":"Whether the upstream resource-cache TTL feature (metadata cache\nTTL and negative cache TTL) is currently active for this package\ntype in this account. True only when the package type supports\nresource caching and the feature is enabled for the account.\n","type":"boolean"}},"required":["resourceCacheTtlEnabled"],"type":"object"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The ListPackagesResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListPackagesResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/PackageV3"},"type":"array"},"meta":{"$ref":"#/components/schemas/MetaV3"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"PackageV3":{"description":"Package Metadata","properties":{"deletedAt":{"$ref":"#/components/schemas/DeletedAtMsV3"},"deletedBy":{"$ref":"#/components/schemas/UserInfoV3"},"id":{"format":"uuid","type":"string"},"isPublic":{"type":"boolean"},"isQuarantined":{"type":"boolean"},"latestVersion":{"type":"string"},"latestVersionArtifactKey":{"additionalProperties":true,"type":"object"},"metadata":{"$ref":"#/components/schemas/ResourceMetadataV3"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"modifiedBy":{"$ref":"#/components/schemas/UserInfoV3"},"name":{"type":"string"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageKind":{"$ref":"#/components/schemas/PackageKindV3"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"quarantineReason":{"type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"}},"required":["id","name","packageType","registryId","registryName","isPublic","latestVersion"],"type":"object"},"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"ResourceMetadataV3":{"additionalProperties":true,"description":"Resource Metadata","type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"orgIdentifier":{"type":"string"},"PackageKindV3":{"description":"refers to package kind which is being used in huggingface packages for model, dataset and terraform packages for module, provider","type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"MetaV3":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"}}}}
```

## The ListPipelineBuildInfoDetailsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListPipelineBuildInfoDetailsResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"meta":{"$ref":"#/components/schemas/PipelineBuildInfoMetaV3"},"pipelineData":{"description":"Pipeline build info details","items":{"$ref":"#/components/schemas/PipelineBuildInfoDetailV3"},"type":"array"}},"required":["pipelineData","meta"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"PipelineBuildInfoMetaV3":{"description":"Aggregated metadata for pipeline build info results.","properties":{"totalBlockedDependencies":{"description":"Total number of blocked dependencies.","format":"int64","type":"integer"},"totalBlockedPipelines":{"description":"Total number of blocked pipelines.","format":"int64","type":"integer"}},"type":"object"},"PipelineBuildInfoDetailV3":{"description":"Pipeline build info detail entry.","properties":{"lastExecutionTime":{"description":"Unix timestamp (milliseconds) when the pipeline execution was last executed.","format":"int64","type":"integer"},"orgIdentifier":{"description":"Organization identifier.","type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"pipelineExecutionIdentifier":{"description":"Pipeline execution identifier.","type":"string"},"pipelineIdentifier":{"description":"Pipeline identifier.","type":"string"},"projectIdentifier":{"description":"Project identifier.","type":"string"},"rootPackageName":{"description":"Name of the root package.","type":"string"},"rootPackageVersion":{"description":"Version of the root package.","type":"string"},"securityViolationCategories":{"description":"Policy failure categories.","items":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"type":"array"},"stageIdentifier":{"description":"Stage identifier.","type":"string"},"stepIdentifier":{"description":"Step identifier.","type":"string"},"violations":{"description":"Map of package key to scan ID.","items":{"$ref":"#/components/schemas/PipelineBuildInfoViolationV3"},"type":"array"}},"required":["pipelineIdentifier","orgIdentifier","projectIdentifier","stageIdentifier","stepIdentifier","violations","rootPackageName","rootPackageVersion","packageType","securityViolationCategories"],"type":"object"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"},"PipelineBuildInfoViolationV3":{"description":"A violation entry mapping a package key to a scan ID.","properties":{"package":{"description":"Package name and version (package@version).","type":"string"},"purl":{"description":"Package URL.","type":"string"},"scanId":{"description":"Scan identifier.","type":"string"},"securityViolationCategories":{"description":"Policy failure categories.","items":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"type":"array"},"status":{"description":"Scan status","enum":["BLOCKED","WARN"],"type":"string"}},"required":["package","scanId","status","purl","securityViolationCategories"],"type":"object"}}}}
```

## The ListPrincipalsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListPrincipalsResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/PrincipalV3"},"type":"array"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"PrincipalV3":{"description":"Principal information (user or service account)","properties":{"createdAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"displayName":{"type":"string"},"email":{"type":"string"},"id":{"format":"int64","type":"integer"},"type":{"$ref":"#/components/schemas/PrincipalTypeV3"},"uid":{"type":"string"},"updatedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"}},"required":["id","type","uid","createdAt","updatedAt"]},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"PrincipalTypeV3":{"description":"Principal type. Known values include: USER.\n","enum":["USER"],"type":"string"}}}}
```

## The ListRegistriesResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListRegistriesResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/RegistryV3"},"type":"array"},"meta":{"$ref":"#/components/schemas/MetaV3"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"RegistryV3":{"description":"Registry Metadata","properties":{"deletedAt":{"$ref":"#/components/schemas/DeletedAtMsV3"},"deletedBy":{"$ref":"#/components/schemas/UserInfoV3"},"description":{"type":"string"},"id":{"format":"uuid","type":"string"},"isInternal":{"description":"Indicates that the registry is internal (system-managed).","type":"boolean"},"isPublic":{"type":"boolean"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"modifiedBy":{"$ref":"#/components/schemas/UserInfoV3"},"name":{"type":"string"},"opaMetadataValidation":{"type":"boolean"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"path":{"type":"string"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"type":{"$ref":"#/components/schemas/RegistryTypeV3"},"url":{"type":"string"}},"required":["id","name","type","packageType","isPublic","url"],"type":"object"},"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"orgIdentifier":{"type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"},"MetaV3":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"}}}}
```

## The ListRegistry object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListRegistry":{"description":"A list of Harness Artifact Registries","properties":{"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"meta":{"$ref":"#/components/schemas/Meta"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"},"registries":{"description":"A list of Harness Artifact Registries","items":{"$ref":"#/components/schemas/RegistryMetadata"},"type":"array"}},"required":["registries","meta"],"type":"object"},"Meta":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"},"RegistryMetadata":{"description":"Harness Artifact Registry Metadata","properties":{"artifactsCount":{"format":"int64","type":"integer"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"deletedBy":{"$ref":"#/components/schemas/PerformedBy"},"description":{"type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"identifier":{"type":"string"},"isPublic":{"type":"boolean"},"lastModified":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"path":{"type":"string"},"registrySize":{"type":"string"},"type":{"$ref":"#/components/schemas/RegistryType"},"url":{"type":"string"},"uuid":{"type":"string"}},"required":["type","packageType","identifier","url","isPublic","uuid"],"type":"object"},"PerformedBy":{"description":"Principal who performed the relevant action","properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The ListRegistryArtifact object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListRegistryArtifact":{"description":"A list of Artifacts","properties":{"artifacts":{"description":"A list of Artifact","items":{"$ref":"#/components/schemas/RegistryArtifactMetadata"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["artifacts"],"type":"object"},"RegistryArtifactMetadata":{"description":"Artifact Metadata","properties":{"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"isPublic":{"type":"boolean"},"isQuarantined":{"type":"boolean"},"labels":{"items":{"type":"string"},"type":"array"},"lastModified":{"type":"string"},"latestVersion":{"type":"string"},"name":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"registryIdentifier":{"type":"string"},"registryPath":{"type":"string"},"registryUUID":{"type":"string"},"uuid":{"type":"string"}},"required":["name","registryIdentifier","latestVersion","registryPath","packageType","isPublic","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The ListReplicationRule object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListReplicationRule":{"description":"A list of replication rules","properties":{"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"},"rules":{"description":"A list of Replication Rules","items":{"$ref":"#/components/schemas/ReplicationRule"},"type":"array"}},"required":["pageCount","itemCount","pageSize","pageIndex","rules"],"type":"object"},"ReplicationRule":{"properties":{"allowedPatterns":{"items":{"type":"string"},"type":"array"},"blockedPatterns":{"items":{"type":"string"},"type":"array"},"createdAt":{"type":"string"},"destination":{"$ref":"#/components/schemas/ReplicationRegistry"},"destinationType":{"enum":["Local","Jfrog","GCP"],"type":"string"},"identifier":{"type":"string"},"modifiedAt":{"type":"string"},"parentRef":{"type":"string"},"source":{"$ref":"#/components/schemas/ReplicationRegistry"},"sourceType":{"enum":["Local","Jfrog","GCP"],"type":"string"}},"required":["identifier","source","destination","sourceType","destinationType","allowedPatterns","blockedPatterns","parentRef","modifiedAt","createdAt"],"type":"object"},"ReplicationRegistry":{"oneOf":[{"$ref":"#/components/schemas/LocalReplicationRegistry"},{"$ref":"#/components/schemas/JfrogReplicationRegistry"}]},"LocalReplicationRegistry":{"properties":{"registryIdentifier":{"type":"string"}},"required":["registryIdentifier"],"type":"object"},"JfrogReplicationRegistry":{"properties":{"namespace":{"type":"string"},"passwordSecretId":{"type":"string"},"passwordSecretSpaceId":{"type":"string"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"required":["url","namespace"],"type":"object"}}}}
```

## The ListSigningKeysResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListSigningKeysResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/SigningKeyV3"},"type":"array"}},"required":["items"],"type":"object"}],"description":"Paginated list of signing keys"},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"SigningKeyV3":{"description":"A signing key used for repository metadata signing (Debian, Alpine, etc.)","properties":{"algorithm":{"$ref":"#/components/schemas/SigningKeyAlgorithmV3"},"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"expirationAt":{"description":"Expiration timestamp in Unix milliseconds (null if never expires)","format":"int64","nullable":true,"type":"integer"},"fingerprint":{"description":"Primary identifier (GPG 40 hex chars, RSA SHA256 of public key 64 hex chars)","type":"string"},"id":{"description":"Unique internal identifier of the signing key","format":"uuid","type":"string"},"longKeyId":{"description":"Last 16 hex chars of fingerprint (for CLI compatibility)","type":"string"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"name":{"description":"Human-readable name for UI/API","type":"string"},"shortKeyId":{"description":"Last 8 hex chars of fingerprint (for CLI compatibility)","type":"string"},"size":{"description":"Key strength in bits (e.g. 2048, 3072, 4096 for RSA)","format":"int32","nullable":true,"type":"integer"},"source":{"description":"Origin of the key (created by system or provided by user)","enum":["GENERATED","IMPORTED"],"type":"string"},"status":{"$ref":"#/components/schemas/SigningKeyStatusV3"},"type":{"$ref":"#/components/schemas/SigningKeyTypeV3"},"updatedBy":{"$ref":"#/components/schemas/UserInfoV3"}},"required":["id","name","type","source","status","fingerprint","algorithm","createdAt","modifiedAt"],"type":"object"},"SigningKeyAlgorithmV3":{"description":"Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.\n","type":"string"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"SigningKeyStatusV3":{"description":"Lifecycle state of a signing key. Known values include: ACTIVE, INACTIVE (expired or manually deactivated), REVOKED (compromised), DELETED (deleted). This field is extensible; clients must handle unknown values.\n","type":"string"},"SigningKeyTypeV3":{"description":"Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The ListVersion object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListVersion":{"description":"A list of Versions","properties":{"artifacts":{"description":"A list of Versions","items":{"$ref":"#/components/schemas/VersionMetadata"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"meta":{"$ref":"#/components/schemas/Meta"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["artifacts","meta"],"type":"object"},"VersionMetadata":{"description":"Version Metadata","properties":{"artifactKey":{"additionalProperties":true,"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"deletedBy":{"$ref":"#/components/schemas/PerformedBy"},"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadata"},"digestCount":{"format":"int64","type":"integer"},"downloadsCount":{"format":"int64","type":"integer"},"fileCount":{"type":"integer"},"firewallMode":{"enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"isQuarantined":{"type":"boolean"},"lastModified":{"type":"string"},"lastScannedAt":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"package":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"purl":{"description":"Package URL (PURL) for this artifact version when supported for the package type.","type":"string"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryType"},"registryUUID":{"type":"string"},"scanId":{"type":"string"},"scanStatus":{"enum":["WARN","BLOCKED","ALLOWED"],"type":"string"},"size":{"type":"string"},"uuid":{"type":"string"},"version":{"type":"string"}},"required":["package","registryIdentifier","version","packageType","lastModified","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PerformedBy":{"description":"Principal who performed the relevant action","properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"},"DeploymentMetadata":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"},"Meta":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"}}}}
```

## The ListVersionDeploymentsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListVersionDeploymentsResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"description":"List of deployment records.","items":{"$ref":"#/components/schemas/VersionDeploymentV3"},"type":"array"},"meta":{"$ref":"#/components/schemas/DeploymentMetadataV3"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"VersionDeploymentV3":{"description":"A single Harness CD deployment record for a version.","properties":{"envIdentifier":{"type":"string"},"envName":{"type":"string"},"envType":{"description":"Environment type. Allowed values: `PRODUCTION`, `PRE_PRODUCTION`.\n","enum":["PRODUCTION","PRE_PRODUCTION"],"type":"string"},"infraIdentifier":{"type":"string"},"infraName":{"type":"string"},"instanceCount":{"description":"Number of running instances for this service + environment combination.","format":"int32","type":"integer"},"lastDeployedAt":{"description":"Unix timestamp in milliseconds of the last deployment.","format":"int64","nullable":true,"type":"integer"},"lastDeployedBy":{"$ref":"#/components/schemas/UserInfoV3"},"orgIdentifier":{"type":"string"},"pipelineExecutionId":{"type":"string"},"pipelineExecutionName":{"type":"string"},"projectIdentifier":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"}},"required":["orgIdentifier","projectIdentifier","serviceIdentifier","serviceName","envIdentifier","envName","envType","instanceCount"],"type":"object"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"DeploymentMetadataV3":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"}}}}
```

## The ListVersionsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListVersionsResponseBodyV3":{"allOf":[{"$ref":"#/components/schemas/PageInfoV3"},{"properties":{"items":{"items":{"$ref":"#/components/schemas/VersionV3"},"type":"array"},"meta":{"$ref":"#/components/schemas/MetaV3"}},"required":["items"],"type":"object"}]},"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"},"VersionV3":{"description":"Version metadata","properties":{"artifactKey":{"additionalProperties":true,"type":"object"},"createdAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"deletedAt":{"$ref":"#/components/schemas/DeletedAtMsV3"},"deletedBy":{"$ref":"#/components/schemas/UserInfoV3"},"id":{"format":"uuid","type":"string"},"isQuarantined":{"type":"boolean"},"metadata":{"$ref":"#/components/schemas/ResourceMetadataV3"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"modifiedBy":{"$ref":"#/components/schemas/UserInfoV3"},"name":{"type":"string"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageId":{"format":"uuid","type":"string"},"packageKind":{"$ref":"#/components/schemas/PackageKindV3"},"packageName":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"pullCommand":{"type":"string"},"pushedBy":{"$ref":"#/components/schemas/UserInfoV3"},"quarantineReason":{"type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryTypeV3"}},"required":["id","name","packageType","registryId","registryName","packageId","packageName","registryType"],"type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"},"ResourceMetadataV3":{"additionalProperties":true,"description":"Resource Metadata","type":"object"},"orgIdentifier":{"type":"string"},"PackageKindV3":{"description":"refers to package kind which is being used in huggingface packages for model, dataset and terraform packages for module, provider","type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"},"MetaV3":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"}}}}
```

## The ListWebhooks object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListWebhooks":{"description":"A list of Harness Registries webhooks","properties":{"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"},"webhooks":{"description":"A list of Registries webhooks","items":{"$ref":"#/components/schemas/Webhook"},"type":"array"}},"required":["webhooks"],"type":"object"},"Webhook":{"description":"Harness Regstries Webhook","properties":{"createdAt":{"type":"string"},"createdBy":{"format":"int64","type":"integer"},"description":{"type":"string"},"enabled":{"type":"boolean"},"extraHeaders":{"items":{"$ref":"#/components/schemas/ExtraHeader"},"type":"array"},"identifier":{"type":"string"},"insecure":{"type":"boolean"},"internal":{"type":"boolean"},"latestExecutionResult":{"$ref":"#/components/schemas/WebhookExecResult"},"modifiedAt":{"type":"string"},"name":{"type":"string"},"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"triggers":{"items":{"$ref":"#/components/schemas/Trigger"},"type":"array"},"url":{"type":"string"},"version":{"format":"int64","type":"integer"}},"required":["identifier","url","name","enabled","insecure"],"type":"object"},"ExtraHeader":{"description":"Webhook Extra Header","properties":{"key":{"type":"string"},"masked":{"default":false,"type":"boolean"},"value":{"type":"string"}},"required":["key","value"],"type":"object"},"WebhookExecResult":{"description":"refers to webhook execution","enum":["SUCCESS","RETRIABLE_ERROR","FATAL_ERROR"],"type":"string"},"Trigger":{"description":"refers to trigger","enum":["ARTIFACT_CREATION","ARTIFACT_DELETION"],"type":"string"}}}}
```

## The ListWebhooksExecutions object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ListWebhooksExecutions":{"description":"A list of Harness Registries webhooks executions","properties":{"executions":{"description":"A list of Registries webhooks executions","items":{"$ref":"#/components/schemas/WebhookExecution"},"type":"array"},"itemCount":{"description":"The total number of items","format":"int64","type":"integer"},"pageCount":{"description":"The total number of pages","format":"int64","type":"integer"},"pageIndex":{"description":"The current page","format":"int64","type":"integer"},"pageSize":{"description":"The number of items per page","type":"integer"}},"required":["executions"],"type":"object"},"WebhookExecution":{"description":"Harness Regstries Webhook Execution","properties":{"created":{"format":"int64","type":"integer"},"duration":{"format":"int64","type":"integer"},"error":{"type":"string"},"id":{"format":"int64","type":"integer"},"request":{"$ref":"#/components/schemas/WebhookExecRequest"},"response":{"$ref":"#/components/schemas/WebhookExecResponse"},"result":{"$ref":"#/components/schemas/WebhookExecResult"},"retriggerOf":{"format":"int64","type":"integer"},"retriggerable":{"type":"boolean"},"triggerType":{"$ref":"#/components/schemas/Trigger"},"webhookId":{"format":"int64","type":"integer"}},"type":"object"},"WebhookExecRequest":{"description":"Harness Regstries HTTP Webhook Request","properties":{"body":{"type":"string"},"headers":{"type":"string"},"url":{"type":"string"}},"type":"object"},"WebhookExecResponse":{"description":"Harness Regstries HTTP Webhook Response","properties":{"body":{"type":"string"},"headers":{"type":"string"},"status":{"type":"string"},"statusCode":{"type":"integer"}},"type":"object"},"WebhookExecResult":{"description":"refers to webhook execution","enum":["SUCCESS","RETRIABLE_ERROR","FATAL_ERROR"],"type":"string"},"Trigger":{"description":"refers to trigger","enum":["ARTIFACT_CREATION","ARTIFACT_DELETION"],"type":"string"}}}}
```

## The LocalReplicationRegistry object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"LocalReplicationRegistry":{"properties":{"registryIdentifier":{"type":"string"}},"required":["registryIdentifier"],"type":"object"}}}}
```

## The MaliciousPackagePolicyFailureDetailConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MaliciousPackagePolicyFailureDetailConfigV3":{"description":"Malicious package failure detail payload.","properties":{"blockedPackage":{"description":"The blocked package identifier (purl).","type":"string"},"message":{"description":"Human-readable message describing the violation.","type":"string"},"reason":{"description":"The reason the package is blocked.","type":"string"}},"required":["blockedPackage","reason","message"],"type":"object"}}}}
```

## The MavenArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MavenArtifactDetailConfig":{"description":"Config for maven artifact details","properties":{"artifactId":{"type":"string"},"groupId":{"type":"string"}},"type":"object"}}}}
```

## The Meta object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Meta":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"}}}}
```

## The MetaV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetaV3":{"description":"Metadata about the list response","properties":{"activeCount":{"description":"Count of active (non-deleted) entities","format":"int64","type":"integer"},"deletedCount":{"description":"Count of soft-deleted entities","format":"int64","type":"integer"}},"required":["activeCount","deletedCount"],"type":"object"}}}}
```

## The MetadataInput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataInput":{"description":"Request payload containing metadata items to add or update for a specific entity.\n\n**Priority Logic:**\n1. If `path` is present, it takes highest priority and determines the target entity\n2. If `path` is absent but `package` and `version` are provided, metadata is attached to the specific package version\n3. If only `package` is provided (without `version`), metadata is attached to the package level\n4. If neither `path`, `package`, nor `version` are provided, metadata is attached to the registry level\n","properties":{"artifactKeyFilters":{"additionalProperties":{"type":"string"},"type":"object"},"metadata":{"description":"Array of metadata key-value pairs","items":{"$ref":"#/components/schemas/MetadataItemInput"},"maxItems":50,"minItems":1,"type":"array"},"package":{"description":"Optional package name. Used when `path` is not provided.\n","type":"string"},"path":{"description":"Optional hierarchical path to the specific entity within the registry.\nWhen provided, this takes highest priority for determining the metadata target.\nExamples: \"/my-package/1.0.0\" for a specific version, \"/my-package\" for an package\n","type":"string"},"registryIdentifier":{"description":"The unique identifier of the registry where the metadata will be applied.\n","type":"string"},"version":{"description":"Optional version identifier. Only used when `package` is also provided and `path` is absent.\nWhen both `package` and `version` are specified, metadata is attached to the specific package version.\n","type":"string"}},"required":["metadata","registryIdentifier"],"type":"object"},"MetadataItemInput":{"description":"Metadata key-value pair for create/update operations","properties":{"key":{"description":"The metadata key name (case-sensitive)","maxLength":128,"minLength":1,"type":"string"},"value":{"description":"The metadata value","maxLength":256,"minLength":1,"type":"string"}},"required":["key","value"],"type":"object"}}}}
```

## The MetadataInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataInputV3":{"description":"Request payload containing metadata key-value pairs to add or update.\n","properties":{"metadata":{"description":"Array of metadata key-value pairs","items":{"$ref":"#/components/schemas/MetadataItemInputV3"},"maxItems":50,"minItems":1,"type":"array"}},"required":["metadata"],"type":"object"},"MetadataItemInputV3":{"description":"Metadata key-value pair for create/update operations","properties":{"key":{"description":"The metadata key name (case-sensitive)","maxLength":128,"minLength":1,"type":"string"},"value":{"description":"The metadata value","maxLength":256,"minLength":1,"type":"string"}},"required":["key","value"],"type":"object"}}}}
```

## The MetadataItemInput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataItemInput":{"description":"Metadata key-value pair for create/update operations","properties":{"key":{"description":"The metadata key name (case-sensitive)","maxLength":128,"minLength":1,"type":"string"},"value":{"description":"The metadata value","maxLength":256,"minLength":1,"type":"string"}},"required":["key","value"],"type":"object"}}}}
```

## The MetadataItemInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataItemInputV3":{"description":"Metadata key-value pair for create/update operations","properties":{"key":{"description":"The metadata key name (case-sensitive)","maxLength":128,"minLength":1,"type":"string"},"value":{"description":"The metadata value","maxLength":256,"minLength":1,"type":"string"}},"required":["key","value"],"type":"object"}}}}
```

## The MetadataItemOutput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataItemOutput":{"description":"Metadata entry","properties":{"id":{"description":"Unique identifier for this metadata entry","type":"string"},"key":{"description":"The metadata key name","type":"string"},"type":{"$ref":"#/components/schemas/MetadataType"},"value":{"description":"The metadata value","type":"string"}},"required":["id","key","value","type"],"type":"object"},"MetadataType":{"description":"Indicates if metadata was manually added (MANUAL) or system-generated (AUTO)","enum":["MANUAL","AUTO"],"type":"string"}}}}
```

## The MetadataOutput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataOutput":{"description":"Response containing all metadata entries for an entity","properties":{"metadata":{"description":"Array of metadata entries","items":{"$ref":"#/components/schemas/MetadataItemOutput"},"type":"array"}},"required":["metadata"],"type":"object"},"MetadataItemOutput":{"description":"Metadata entry","properties":{"id":{"description":"Unique identifier for this metadata entry","type":"string"},"key":{"description":"The metadata key name","type":"string"},"type":{"$ref":"#/components/schemas/MetadataType"},"value":{"description":"The metadata value","type":"string"}},"required":["id","key","value","type"],"type":"object"},"MetadataType":{"description":"Indicates if metadata was manually added (MANUAL) or system-generated (AUTO)","enum":["MANUAL","AUTO"],"type":"string"}}}}
```

## The MetadataType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataType":{"description":"Indicates if metadata was manually added (MANUAL) or system-generated (AUTO)","enum":["MANUAL","AUTO"],"type":"string"}}}}
```

## The MetadataTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataTypeV3":{"description":"Indicates if metadata was manually added (MANUAL) or system-generated (AUTO)","enum":["MANUAL","AUTO"],"type":"string"}}}}
```

## The MetadataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MetadataV3":{"description":"Metadata entry","properties":{"id":{"description":"Unique identifier for this metadata entry","format":"uuid","type":"string"},"key":{"description":"The metadata key name","type":"string"},"type":{"$ref":"#/components/schemas/MetadataTypeV3"},"value":{"description":"The metadata value","type":"string"}},"required":["id","key","value","type"],"type":"object"},"MetadataTypeV3":{"description":"Indicates if metadata was manually added (MANUAL) or system-generated (AUTO)","enum":["MANUAL","AUTO"],"type":"string"}}}}
```

## The MigrationImage object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MigrationImage":{"properties":{"imageId":{"type":"string"},"imageTag":{"type":"string"},"progress":{"type":"integer"},"status":{"type":"string"}},"type":"object"}}}}
```

## The MigrationLog object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"MigrationLog":{"properties":{"message":{"type":"string"},"timestamp":{"type":"string"}},"type":"object"}}}}
```

## The ModifiedAtMsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"}}}}
```

## The NpmArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"NpmArtifactDetailConfig":{"description":"Config for npm artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The NugetArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"NugetArtifactDetailConfig":{"description":"Config for nuget artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The OciArtifactTag object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"OciArtifactTag":{"description":"OCI Artifact Tag info","properties":{"digest":{"type":"string"},"name":{"type":"string"}},"required":["name","digest"],"type":"object"}}}}
```

## The OssRiskLevelPolicyFailureDetailConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"OssRiskLevelPolicyFailureDetailConfigV3":{"description":"OSS risk level-specific failure detail payload.","properties":{"ossRiskLevel":{"description":"oss risk level","type":"string"},"ossRiskScore":{"description":"oss risk level","format":"double","type":"number"}},"required":["ossRiskLevel"],"type":"object"}}}}
```

## The PackageAgeViolationPolicyFailureDetailConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageAgeViolationPolicyFailureDetailConfigV3":{"description":"Package age violation failure detail payload.","properties":{"packageAgeThreshold":{"description":"Package age threshold.","type":"string"},"publishedOn":{"description":"Package publish date.","type":"string"}},"required":["publishedOn","packageAgeThreshold"],"type":"object"}}}}
```

## The PackageKindV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageKindV3":{"description":"refers to package kind which is being used in huggingface packages for model, dataset and terraform packages for module, provider","type":"string"}}}}
```

## The PackageMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageMetadata":{"description":"Package Metadata","properties":{"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"deletedBy":{"$ref":"#/components/schemas/PerformedBy"},"downloadsCount":{"format":"int64","type":"integer"},"isPublic":{"type":"boolean"},"isQuarantined":{"type":"boolean"},"lastModified":{"type":"string"},"latestVersion":{"type":"string"},"latestVersionArtifactKey":{"additionalProperties":true,"type":"object"},"package":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryUUID":{"type":"string"},"uuid":{"type":"string"}},"required":["package","registryIdentifier","packageType","isPublic","latestVersion","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PerformedBy":{"description":"Principal who performed the relevant action","properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The PackageStatsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageStatsV3":{"description":"Statistics for a single package","properties":{"artifactsCount":{"description":"Total number of artifacts/versions in the package","format":"int64","type":"integer"},"downloadCount":{"description":"Total download count for the package","format":"int64","type":"integer"},"id":{"description":"Package UUID","format":"uuid","type":"string"},"size":{"description":"Total size of the package (human-readable format)","type":"string"}},"required":["id"],"type":"object"}}}}
```

## The PackageType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The PackageTypeCapabilitiesV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageTypeCapabilitiesV3":{"description":"Generic, extensible capability flags for a package type. New flags\nmay be added over time without a breaking change; clients must\nignore capability fields they do not recognize.\n","properties":{"resourceCacheTtlEnabled":{"description":"Whether the upstream resource-cache TTL feature (metadata cache\nTTL and negative cache TTL) is currently active for this package\ntype in this account. True only when the package type supports\nresource caching and the feature is enabled for the account.\n","type":"boolean"}},"required":["resourceCacheTtlEnabled"],"type":"object"}}}}
```

## The PackageTypeConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageTypeConfigV3":{"description":"Per-package-type UI configuration and capability flags.","properties":{"capabilities":{"$ref":"#/components/schemas/PackageTypeCapabilitiesV3"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"}},"required":["packageType","capabilities"],"type":"object"},"PackageTypeCapabilitiesV3":{"description":"Generic, extensible capability flags for a package type. New flags\nmay be added over time without a breaking change; clients must\nignore capability fields they do not recognize.\n","properties":{"resourceCacheTtlEnabled":{"description":"Whether the upstream resource-cache TTL feature (metadata cache\nTTL and negative cache TTL) is currently active for this package\ntype in this account. True only when the package type supports\nresource caching and the feature is enabled for the account.\n","type":"boolean"}},"required":["resourceCacheTtlEnabled"],"type":"object"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The PackageTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The PackageV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackageV3":{"description":"Package Metadata","properties":{"deletedAt":{"$ref":"#/components/schemas/DeletedAtMsV3"},"deletedBy":{"$ref":"#/components/schemas/UserInfoV3"},"id":{"format":"uuid","type":"string"},"isPublic":{"type":"boolean"},"isQuarantined":{"type":"boolean"},"latestVersion":{"type":"string"},"latestVersionArtifactKey":{"additionalProperties":true,"type":"object"},"metadata":{"$ref":"#/components/schemas/ResourceMetadataV3"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"modifiedBy":{"$ref":"#/components/schemas/UserInfoV3"},"name":{"type":"string"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageKind":{"$ref":"#/components/schemas/PackageKindV3"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"quarantineReason":{"type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"}},"required":["id","name","packageType","registryId","registryName","isPublic","latestVersion"],"type":"object"},"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"ResourceMetadataV3":{"additionalProperties":true,"description":"Resource Metadata","type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"orgIdentifier":{"type":"string"},"PackageKindV3":{"description":"refers to package kind which is being used in huggingface packages for model, dataset and terraform packages for module, provider","type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"}}}}
```

## The PackagesStatsRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackagesStatsRequestInputV3":{"description":"Request input for fetching package statistics","properties":{"packageIds":{"description":"List of package UUIDs to fetch statistics for","items":{"format":"uuid","type":"string"},"maxItems":100,"type":"array"}},"required":["packageIds"],"type":"object"}}}}
```

## The PackagesStatsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PackagesStatsResponseBodyV3":{"description":"Response body containing package statistics","properties":{"items":{"description":"List of package statistics","items":{"$ref":"#/components/schemas/PackageStatsV3"},"type":"array"}},"required":["items"],"type":"object"},"PackageStatsV3":{"description":"Statistics for a single package","properties":{"artifactsCount":{"description":"Total number of artifacts/versions in the package","format":"int64","type":"integer"},"downloadCount":{"description":"Total download count for the package","format":"int64","type":"integer"},"id":{"description":"Package UUID","format":"uuid","type":"string"},"size":{"description":"Total size of the package (human-readable format)","type":"string"}},"required":["id"],"type":"object"}}}}
```

## The PageInfoV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PageInfoV3":{"description":"Pagination metadata.\n- `page` selects which page of results to return (0 = first page).\n- `size` controls how many items are returned per page.\n- `hasMore` is true if more results exist after this page.\n","properties":{"hasMore":{"description":"True if more results exist after this page.","type":"boolean"},"page":{"description":"The current page (0-indexed)","format":"int64","type":"integer"},"size":{"description":"Number of items per page","format":"int64","type":"integer"}},"required":["page","size","hasMore"],"type":"object"}}}}
```

## The PerformedBy object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PerformedBy":{"description":"Principal who performed the relevant action","properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"}}}}
```

## The PipelineBuildInfoDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PipelineBuildInfoDetailV3":{"description":"Pipeline build info detail entry.","properties":{"lastExecutionTime":{"description":"Unix timestamp (milliseconds) when the pipeline execution was last executed.","format":"int64","type":"integer"},"orgIdentifier":{"description":"Organization identifier.","type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"pipelineExecutionIdentifier":{"description":"Pipeline execution identifier.","type":"string"},"pipelineIdentifier":{"description":"Pipeline identifier.","type":"string"},"projectIdentifier":{"description":"Project identifier.","type":"string"},"rootPackageName":{"description":"Name of the root package.","type":"string"},"rootPackageVersion":{"description":"Version of the root package.","type":"string"},"securityViolationCategories":{"description":"Policy failure categories.","items":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"type":"array"},"stageIdentifier":{"description":"Stage identifier.","type":"string"},"stepIdentifier":{"description":"Step identifier.","type":"string"},"violations":{"description":"Map of package key to scan ID.","items":{"$ref":"#/components/schemas/PipelineBuildInfoViolationV3"},"type":"array"}},"required":["pipelineIdentifier","orgIdentifier","projectIdentifier","stageIdentifier","stepIdentifier","violations","rootPackageName","rootPackageVersion","packageType","securityViolationCategories"],"type":"object"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"},"PipelineBuildInfoViolationV3":{"description":"A violation entry mapping a package key to a scan ID.","properties":{"package":{"description":"Package name and version (package@version).","type":"string"},"purl":{"description":"Package URL.","type":"string"},"scanId":{"description":"Scan identifier.","type":"string"},"securityViolationCategories":{"description":"Policy failure categories.","items":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"type":"array"},"status":{"description":"Scan status","enum":["BLOCKED","WARN"],"type":"string"}},"required":["package","scanId","status","purl","securityViolationCategories"],"type":"object"}}}}
```

## The PipelineBuildInfoMetaV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PipelineBuildInfoMetaV3":{"description":"Aggregated metadata for pipeline build info results.","properties":{"totalBlockedDependencies":{"description":"Total number of blocked dependencies.","format":"int64","type":"integer"},"totalBlockedPipelines":{"description":"Total number of blocked pipelines.","format":"int64","type":"integer"}},"type":"object"}}}}
```

## The PipelineBuildInfoViolationV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PipelineBuildInfoViolationV3":{"description":"A violation entry mapping a package key to a scan ID.","properties":{"package":{"description":"Package name and version (package@version).","type":"string"},"purl":{"description":"Package URL.","type":"string"},"scanId":{"description":"Scan identifier.","type":"string"},"securityViolationCategories":{"description":"Policy failure categories.","items":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"type":"array"},"status":{"description":"Scan status","enum":["BLOCKED","WARN"],"type":"string"}},"required":["package","scanId","status","purl","securityViolationCategories"],"type":"object"},"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"}}}}
```

## The PipelineContextV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PipelineContextV3":{"description":"Pipeline execution context.","properties":{"executionId":{"description":"Execution identifier.","type":"string"},"orgId":{"description":"Organization identifier.","type":"string"},"pipelineId":{"description":"Pipeline identifier.","type":"string"},"projectId":{"description":"Project identifier.","type":"string"},"stageId":{"description":"Stage identifier.","type":"string"},"stepId":{"description":"Step identifier.","type":"string"}},"required":["pipelineId","executionId","orgId","projectId","stageId"],"type":"object"}}}}
```

## The PolicyFailureDetailCategoryV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"}}}}
```

## The PolicyFailureDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PolicyFailureDetailV3":{"description":"Policy failure detail entry.","discriminator":{"mapping":{"License":"#/components/schemas/LicensePolicyFailureDetailConfigV3","MaliciousPackage":"#/components/schemas/MaliciousPackagePolicyFailureDetailConfigV3","OssRiskLevel":"#/components/schemas/OssRiskLevelPolicyFailureDetailConfigV3","PackageAge":"#/components/schemas/PackageAgeViolationPolicyFailureDetailConfigV3","Security":"#/components/schemas/SecurityPolicyFailureDetailConfigV3"},"propertyName":"category"},"oneOf":[{"$ref":"#/components/schemas/SecurityPolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/LicensePolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/MaliciousPackagePolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/PackageAgeViolationPolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/OssRiskLevelPolicyFailureDetailConfigV3"}],"properties":{"category":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"policyName":{"description":"Policy name.","type":"string"},"policyRef":{"description":"Policy Ref.","type":"string"}},"required":["category","policyName","policyRef"],"type":"object"},"SecurityPolicyFailureDetailConfigV3":{"description":"Security-specific failure detail payload.","properties":{"vulnerabilities":{"description":"List of security violations.","items":{"$ref":"#/components/schemas/SecurityPolicyFailureVulnerabilityV3"},"type":"array"}},"required":["vulnerabilities"],"type":"object"},"SecurityPolicyFailureVulnerabilityV3":{"description":"Security violation entry.","properties":{"cveId":{"description":"CVE identifier.","type":"string"},"cvssScore":{"description":"CVSS score.","format":"double","type":"number"},"cvssThreshold":{"description":"CVSS threshold.","format":"double","type":"number"}},"required":["cveId","cvssScore","cvssThreshold"],"type":"object"},"LicensePolicyFailureDetailConfigV3":{"description":"License-specific failure detail payload.","properties":{"allowedLicenses":{"description":"Allowed license list.","items":{"type":"string"},"type":"array"},"blockedLicense":{"description":"Blocked license.","type":"string"}},"required":["allowedLicenses","blockedLicense"],"type":"object"},"MaliciousPackagePolicyFailureDetailConfigV3":{"description":"Malicious package failure detail payload.","properties":{"blockedPackage":{"description":"The blocked package identifier (purl).","type":"string"},"message":{"description":"Human-readable message describing the violation.","type":"string"},"reason":{"description":"The reason the package is blocked.","type":"string"}},"required":["blockedPackage","reason","message"],"type":"object"},"PackageAgeViolationPolicyFailureDetailConfigV3":{"description":"Package age violation failure detail payload.","properties":{"packageAgeThreshold":{"description":"Package age threshold.","type":"string"},"publishedOn":{"description":"Package publish date.","type":"string"}},"required":["publishedOn","packageAgeThreshold"],"type":"object"},"OssRiskLevelPolicyFailureDetailConfigV3":{"description":"OSS risk level-specific failure detail payload.","properties":{"ossRiskLevel":{"description":"oss risk level","type":"string"},"ossRiskScore":{"description":"oss risk level","format":"double","type":"number"}},"required":["ossRiskLevel"],"type":"object"},"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"}}}}
```

## The PolicySetFailureDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PolicySetFailureDetailV3":{"description":"Policy set failure detail entry.","properties":{"policyFailureDetails":{"items":{"$ref":"#/components/schemas/PolicyFailureDetailV3"},"type":"array"},"policySetName":{"description":"Policy set name.","type":"string"},"policySetRef":{"description":"Policy set reference.","type":"string"}},"required":["policySetRef","policySetName","policyFailureDetails"],"type":"object"},"PolicyFailureDetailV3":{"description":"Policy failure detail entry.","discriminator":{"mapping":{"License":"#/components/schemas/LicensePolicyFailureDetailConfigV3","MaliciousPackage":"#/components/schemas/MaliciousPackagePolicyFailureDetailConfigV3","OssRiskLevel":"#/components/schemas/OssRiskLevelPolicyFailureDetailConfigV3","PackageAge":"#/components/schemas/PackageAgeViolationPolicyFailureDetailConfigV3","Security":"#/components/schemas/SecurityPolicyFailureDetailConfigV3"},"propertyName":"category"},"oneOf":[{"$ref":"#/components/schemas/SecurityPolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/LicensePolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/MaliciousPackagePolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/PackageAgeViolationPolicyFailureDetailConfigV3"},{"$ref":"#/components/schemas/OssRiskLevelPolicyFailureDetailConfigV3"}],"properties":{"category":{"$ref":"#/components/schemas/PolicyFailureDetailCategoryV3"},"policyName":{"description":"Policy name.","type":"string"},"policyRef":{"description":"Policy Ref.","type":"string"}},"required":["category","policyName","policyRef"],"type":"object"},"SecurityPolicyFailureDetailConfigV3":{"description":"Security-specific failure detail payload.","properties":{"vulnerabilities":{"description":"List of security violations.","items":{"$ref":"#/components/schemas/SecurityPolicyFailureVulnerabilityV3"},"type":"array"}},"required":["vulnerabilities"],"type":"object"},"SecurityPolicyFailureVulnerabilityV3":{"description":"Security violation entry.","properties":{"cveId":{"description":"CVE identifier.","type":"string"},"cvssScore":{"description":"CVSS score.","format":"double","type":"number"},"cvssThreshold":{"description":"CVSS threshold.","format":"double","type":"number"}},"required":["cveId","cvssScore","cvssThreshold"],"type":"object"},"LicensePolicyFailureDetailConfigV3":{"description":"License-specific failure detail payload.","properties":{"allowedLicenses":{"description":"Allowed license list.","items":{"type":"string"},"type":"array"},"blockedLicense":{"description":"Blocked license.","type":"string"}},"required":["allowedLicenses","blockedLicense"],"type":"object"},"MaliciousPackagePolicyFailureDetailConfigV3":{"description":"Malicious package failure detail payload.","properties":{"blockedPackage":{"description":"The blocked package identifier (purl).","type":"string"},"message":{"description":"Human-readable message describing the violation.","type":"string"},"reason":{"description":"The reason the package is blocked.","type":"string"}},"required":["blockedPackage","reason","message"],"type":"object"},"PackageAgeViolationPolicyFailureDetailConfigV3":{"description":"Package age violation failure detail payload.","properties":{"packageAgeThreshold":{"description":"Package age threshold.","type":"string"},"publishedOn":{"description":"Package publish date.","type":"string"}},"required":["publishedOn","packageAgeThreshold"],"type":"object"},"OssRiskLevelPolicyFailureDetailConfigV3":{"description":"OSS risk level-specific failure detail payload.","properties":{"ossRiskLevel":{"description":"oss risk level","type":"string"},"ossRiskScore":{"description":"oss risk level","format":"double","type":"number"}},"required":["ossRiskLevel"],"type":"object"},"PolicyFailureDetailCategoryV3":{"description":"Policy failure detail category.","enum":["Security","License","MaliciousPackage","PackageAge","OssRiskLevel","Unknown"],"type":"string"}}}}
```

## The PolicySetsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PolicySetsV3":{"description":"List of opa policy sets.","items":{"properties":{"policySetName":{"description":"Policy Set name","type":"string"},"policySetRef":{"description":"Unique reference for the opa policy set. Example: `my-policy` or `account.my-policy`","type":"string"}},"required":["policySetRef","policySetName"],"type":"object"},"type":"array"}}}}
```

## The PrincipalTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PrincipalTypeV3":{"description":"Principal type. Known values include: USER.\n","enum":["USER"],"type":"string"}}}}
```

## The PrincipalV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PrincipalV3":{"description":"Principal information (user or service account)","properties":{"createdAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"displayName":{"type":"string"},"email":{"type":"string"},"id":{"format":"int64","type":"integer"},"type":{"$ref":"#/components/schemas/PrincipalTypeV3"},"uid":{"type":"string"},"updatedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"}},"required":["id","type","uid","createdAt","updatedAt"]},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"PrincipalTypeV3":{"description":"Principal type. Known values include: USER.\n","enum":["USER"],"type":"string"}}}}
```

## The PuppetArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PuppetArtifactDetailConfig":{"description":"Config for puppet artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The PythonArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"PythonArtifactDetailConfig":{"description":"Config for python artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The RebuildPackageIndexRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RebuildPackageIndexRequestV3":{"description":"Request to rebuild the package index for a single package","properties":{"packageId":{"description":"UUID of the package to rebuild the index for","type":"string"}},"required":["packageId"],"type":"object"}}}}
```

## The RebuildVersionMetadataRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RebuildVersionMetadataRequestV3":{"description":"Request to rebuild metadata for all versions in a registry","properties":{"registryId":{"description":"UUID of the registry to rebuild metadata for","type":"string"}},"required":["registryId"],"type":"object"}}}}
```

## The RegistriesStatsRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistriesStatsRequestInputV3":{"description":"Request input for fetching registry statistics","properties":{"registryIds":{"description":"List of registry UUIDs to fetch statistics for","items":{"format":"uuid","type":"string"},"maxItems":100,"type":"array"}},"required":["registryIds"],"type":"object"}}}}
```

## The RegistriesStatsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistriesStatsResponseBodyV3":{"description":"Response body containing registry statistics","properties":{"items":{"description":"List of registry statistics","items":{"$ref":"#/components/schemas/RegistryStatsV3"},"type":"array"}},"required":["items"],"type":"object"},"RegistryStatsV3":{"description":"Statistics for a single registry","properties":{"artifactsCount":{"description":"Total number of artifacts in the registry","format":"int64","type":"integer"},"downloadCount":{"description":"Total download count for the registry","format":"int64","type":"integer"},"id":{"description":"Registry UUID","format":"uuid","type":"string"},"packageCount":{"description":"Total number of packages in the registry","format":"int64","type":"integer"},"size":{"description":"Total size of the registry (human-readable format)","type":"string"}},"required":["id"],"type":"object"}}}}
```

## The Registry object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Registry":{"description":"Harness Artifact Registry","properties":{"allowedPattern":{"items":{"type":"string"},"type":"array"},"blockedPattern":{"items":{"type":"string"},"type":"array"},"cleanupPolicy":{"items":{"$ref":"#/components/schemas/CleanupPolicy"},"type":"array"},"config":{"$ref":"#/components/schemas/RegistryConfig"},"createdAt":{"type":"string"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted. Null if not deleted.","type":"string"},"description":{"type":"string"},"identifier":{"type":"string"},"isInternal":{"description":"Indicates that the registry is system-managed.","type":"boolean"},"isPublic":{"type":"boolean"},"labels":{"items":{"type":"string"},"type":"array"},"modifiedAt":{"type":"string"},"opaMetadataValidation":{"type":"boolean"},"packageType":{"$ref":"#/components/schemas/PackageType"},"policyRefs":{"items":{"type":"string"},"type":"array"},"scanners":{"items":{"$ref":"#/components/schemas/Scanner"},"type":"array"},"url":{"type":"string"},"uuid":{"type":"string"}},"required":["name","identifier","type","url","packageType","isPublic","uuid"],"type":"object"},"CleanupPolicy":{"description":"Cleanup Policy for Harness Artifact Registries","properties":{"expireDays":{"type":"integer"},"name":{"type":"string"},"packagePrefix":{"items":{"type":"string"},"type":"array"},"versionPrefix":{"items":{"type":"string"},"type":"array"}},"type":"object"},"RegistryConfig":{"description":"SubConfig specific for Virtual or Upstream Registry","discriminator":{"mapping":{"UPSTREAM":"#/components/schemas/UpstreamConfig","VIRTUAL":"#/components/schemas/VirtualConfig"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/VirtualConfig"},{"$ref":"#/components/schemas/UpstreamConfig"}],"properties":{"type":{"$ref":"#/components/schemas/RegistryType"}},"required":["type"],"type":"object"},"VirtualConfig":{"description":"Configuration for Harness Virtual Artifact Registries","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfig"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"upstreamProxies":{"items":{"type":"string"},"type":"array"}},"type":"object"},"DebianConfig":{"description":"Debian-specific configuration, applicable only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Optional additional compression formats to generate for index/metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked remote (upstream) registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfig":{"description":"Configuration for repository metadata signing (e.g., GPG signing for Debian packages)","properties":{"keyId":{"description":"UUID of the signing key to use (must be ACTIVE and belong to same account/org/project)","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether signing is enabled for this registry","type":"boolean"}},"required":["signingEnabled"],"type":"object"},"UpstreamConfig":{"description":"Configuration for Harness Artifact UpstreamProxies","properties":{"auth":{"oneOf":[{"$ref":"#/components/schemas/UserPassword"},{"$ref":"#/components/schemas/Anonymous"},{"$ref":"#/components/schemas/AccessKeySecretKey"},{"$ref":"#/components/schemas/BearerToken"}]},"authType":{"$ref":"#/components/schemas/AuthType"},"firewallMode":{"$ref":"#/components/schemas/UpstreamProxyConfigFirewallMode"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached metadata.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND entries.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams, this allows overriding the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are not required and will be normalized.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"source":{"enum":["Dockerhub","Custom","AwsEcr","MavenCentral","PyPi","NpmJs","NugetOrg","Crates","RubyGems","GoProxy","HuggingFace","Anaconda","Pubdev","Packagist","PuppetForge","HelmChartRepo","ConanCenter","TerraformRegistry","CRAN","Wolfi","Alpine"],"type":"string"},"url":{"type":"string"}},"required":["authType"],"type":"object"},"UserPassword":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"]},"Anonymous":{},"AccessKeySecretKey":{"properties":{"accessKey":{"type":"string"},"accessKeySecretIdentifier":{"type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"]},"BearerToken":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}}},"AuthType":{"description":"Authentication type","enum":["UserPassword","AccessKeySecretKey","Anonymous","BearerToken"],"type":"string"},"UpstreamProxyConfigFirewallMode":{"description":"Firewall mode applied to an upstream proxy.","enum":["ALLOW","ENABLED","QUARANTINE"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"Scanner":{"description":"Scanner for Harness Artifact Registries","properties":{"name":{"enum":["AQUA_TRIVY","GRYPE"],"type":"string"}},"type":"object"}}}}
```

## The RegistryArtifactMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryArtifactMetadata":{"description":"Artifact Metadata","properties":{"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"isPublic":{"type":"boolean"},"isQuarantined":{"type":"boolean"},"labels":{"items":{"type":"string"},"type":"array"},"lastModified":{"type":"string"},"latestVersion":{"type":"string"},"name":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"registryIdentifier":{"type":"string"},"registryPath":{"type":"string"},"registryUUID":{"type":"string"},"uuid":{"type":"string"}},"required":["name","registryIdentifier","latestVersion","registryPath","packageType","isPublic","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"}}}}
```

## The RegistryConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryConfig":{"description":"SubConfig specific for Virtual or Upstream Registry","discriminator":{"mapping":{"UPSTREAM":"#/components/schemas/UpstreamConfig","VIRTUAL":"#/components/schemas/VirtualConfig"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/VirtualConfig"},{"$ref":"#/components/schemas/UpstreamConfig"}],"properties":{"type":{"$ref":"#/components/schemas/RegistryType"}},"required":["type"],"type":"object"},"VirtualConfig":{"description":"Configuration for Harness Virtual Artifact Registries","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfig"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"upstreamProxies":{"items":{"type":"string"},"type":"array"}},"type":"object"},"DebianConfig":{"description":"Debian-specific configuration, applicable only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Optional additional compression formats to generate for index/metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked remote (upstream) registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfig":{"description":"Configuration for repository metadata signing (e.g., GPG signing for Debian packages)","properties":{"keyId":{"description":"UUID of the signing key to use (must be ACTIVE and belong to same account/org/project)","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether signing is enabled for this registry","type":"boolean"}},"required":["signingEnabled"],"type":"object"},"UpstreamConfig":{"description":"Configuration for Harness Artifact UpstreamProxies","properties":{"auth":{"oneOf":[{"$ref":"#/components/schemas/UserPassword"},{"$ref":"#/components/schemas/Anonymous"},{"$ref":"#/components/schemas/AccessKeySecretKey"},{"$ref":"#/components/schemas/BearerToken"}]},"authType":{"$ref":"#/components/schemas/AuthType"},"firewallMode":{"$ref":"#/components/schemas/UpstreamProxyConfigFirewallMode"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached metadata.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND entries.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams, this allows overriding the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are not required and will be normalized.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"source":{"enum":["Dockerhub","Custom","AwsEcr","MavenCentral","PyPi","NpmJs","NugetOrg","Crates","RubyGems","GoProxy","HuggingFace","Anaconda","Pubdev","Packagist","PuppetForge","HelmChartRepo","ConanCenter","TerraformRegistry","CRAN","Wolfi","Alpine"],"type":"string"},"url":{"type":"string"}},"required":["authType"],"type":"object"},"UserPassword":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"]},"Anonymous":{},"AccessKeySecretKey":{"properties":{"accessKey":{"type":"string"},"accessKeySecretIdentifier":{"type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"]},"BearerToken":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}}},"AuthType":{"description":"Authentication type","enum":["UserPassword","AccessKeySecretKey","Anonymous","BearerToken"],"type":"string"},"UpstreamProxyConfigFirewallMode":{"description":"Firewall mode applied to an upstream proxy.","enum":["ALLOW","ENABLED","QUARANTINE"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The RegistryConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryConfigV3":{"description":"Type-specific configuration for a registry. Discriminated by type: set type to VIRTUAL for a virtual registry or UPSTREAM for an upstream proxy, and supply the matching variant.\n","discriminator":{"mapping":{"UPSTREAM":"#/components/schemas/UpstreamConfigV3","VIRTUAL":"#/components/schemas/VirtualConfigV3"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/VirtualConfigV3"},{"$ref":"#/components/schemas/UpstreamConfigV3"}],"properties":{"type":{"$ref":"#/components/schemas/RegistryTypeV3"}},"required":["type"],"type":"object"},"VirtualConfigV3":{"description":"Configuration for a virtual registry.","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfigV3"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"upstreamProxies":{"description":"UUIDs of the upstream proxy registries this virtual registry resolves through, in resolution order. Note that v1 accepts upstream proxy *names* here; v3 uses UUIDs per the id-over-identifier rule.\n","items":{"format":"uuid","type":"string"},"type":"array"}},"type":"object"},"DebianConfigV3":{"description":"Debian-specific configuration. Applies only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Additional compression formats to generate for index and metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked upstream registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfigV3":{"description":"Repository metadata signing configuration, e.g. GPG signing for Debian packages.","properties":{"keyId":{"description":"UUID of the signing key to use. The key must be ACTIVE and belong to the same account, org and project as the registry.\n","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether metadata signing is enabled for this registry.","type":"boolean"}},"required":["signingEnabled"],"type":"object"},"UpstreamConfigV3":{"description":"Configuration for an upstream proxy registry.","properties":{"auth":{"$ref":"#/components/schemas/UpstreamAuthV3"},"authType":{"$ref":"#/components/schemas/UpstreamAuthTypeV3"},"firewallMode":{"$ref":"#/components/schemas/FirewallModeV3"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached upstream metadata. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND responses from the upstream. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams this overrides the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are normalized away.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"source":{"$ref":"#/components/schemas/UpstreamSourceV3"},"url":{"description":"Remote URL of the upstream. Required when source is CUSTOM.","type":"string"}},"required":["authType"],"type":"object"},"UpstreamAuthV3":{"description":"Upstream credentials. The variant is selected by the sibling authType field rather than by a property on this object, so there is no discriminator here. Omit this object entirely when authType is ANONYMOUS.\n","oneOf":[{"$ref":"#/components/schemas/UpstreamAuthUserPasswordV3"},{"$ref":"#/components/schemas/UpstreamAuthAccessKeySecretKeyV3"},{"$ref":"#/components/schemas/UpstreamAuthBearerTokenV3"}]},"UpstreamAuthUserPasswordV3":{"description":"Username plus a password held in a Harness secret. Used when authType is USER_PASSWORD.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the password. This is a Harness platform secret, addressed by identifier and scope across all of Harness, so it is not a UUID.\n","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"],"type":"object"},"UpstreamAuthAccessKeySecretKeyV3":{"description":"Access key and secret key pair. Used when authType is ACCESS_KEY_SECRET_KEY.","properties":{"accessKey":{"description":"Plaintext access key. Mutually exclusive with accessKeySecretIdentifier.","type":"string"},"accessKeySecretIdentifier":{"description":"Identifier of the Harness secret holding the access key.","type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"description":"Identifier of the Harness secret holding the secret key.","type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"],"type":"object"},"UpstreamAuthBearerTokenV3":{"description":"Bearer token held in a Harness secret. Used when authType is BEARER_TOKEN.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the bearer token.","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}},"type":"object"},"UpstreamAuthTypeV3":{"description":"Authentication scheme used against the upstream. Known values include: USER_PASSWORD, ACCESS_KEY_SECRET_KEY, BEARER_TOKEN, ANONYMOUS. This field is extensible; clients must handle unknown values. ANONYMOUS takes no auth object.\n","type":"string"},"FirewallModeV3":{"description":"Firewall mode","enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"UpstreamSourceV3":{"description":"Well-known upstream this proxy points at. Known values include: DOCKERHUB, CUSTOM, AWS_ECR, MAVEN_CENTRAL, PYPI, NPMJS, NUGET_ORG, CRATES, RUBYGEMS, GO_PROXY, HUGGING_FACE, ANACONDA, PUBDEV, PACKAGIST, PUPPET_FORGE, HELM_CHART_REPO, CONAN_CENTER, TERRAFORM_REGISTRY, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values. Use CUSTOM together with url for anything else.\n","type":"string"},"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The RegistryCreateBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryCreateBodyV3":{"description":"Body for creating a registry. The parent scope comes from the\naccount_identifier, org_identifier and project_identifier query\nparameters, so there is no parent reference here.\n\n`cleanupPolicy` is not accepted. Cleanup policies are deprecated, so a new registry is\nnever created with one; the field is left out rather than accepted and discarded\nsilently. Policies on registries that already have them are reported by the single\nregistry responses and are not removed by this API.\n","properties":{"allowedPattern":{"description":"Patterns of artifacts allowed in this registry.","items":{"type":"string"},"type":"array"},"blockedPattern":{"description":"Patterns of artifacts blocked from this registry.","items":{"type":"string"},"type":"array"},"config":{"$ref":"#/components/schemas/RegistryConfigV3"},"description":{"description":"Human readable description of the registry.","type":"string"},"identifier":{"description":"Identifier of the registry, unique within the parent scope. This is the only identifier accepted on create, because no UUID exists yet.\n","type":"string"},"isPublic":{"description":"Whether the registry is readable without authentication.","type":"boolean"},"opaMetadataValidation":{"description":"Whether OPA metadata validation is enforced on this registry.","type":"boolean"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"policyRefs":{"description":"References to Harness OPA policy sets to apply to this registry. These are Harness platform entities addressed by identifier and scope across all of Harness, so they are not UUIDs.\n","items":{"type":"string"},"type":"array"},"scanners":{"description":"Vulnerability scanners to enable on this registry.","items":{"$ref":"#/components/schemas/ScannerV3"},"type":"array"}},"required":["identifier","packageType","config"],"type":"object"},"RegistryConfigV3":{"description":"Type-specific configuration for a registry. Discriminated by type: set type to VIRTUAL for a virtual registry or UPSTREAM for an upstream proxy, and supply the matching variant.\n","discriminator":{"mapping":{"UPSTREAM":"#/components/schemas/UpstreamConfigV3","VIRTUAL":"#/components/schemas/VirtualConfigV3"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/VirtualConfigV3"},{"$ref":"#/components/schemas/UpstreamConfigV3"}],"properties":{"type":{"$ref":"#/components/schemas/RegistryTypeV3"}},"required":["type"],"type":"object"},"VirtualConfigV3":{"description":"Configuration for a virtual registry.","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfigV3"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"upstreamProxies":{"description":"UUIDs of the upstream proxy registries this virtual registry resolves through, in resolution order. Note that v1 accepts upstream proxy *names* here; v3 uses UUIDs per the id-over-identifier rule.\n","items":{"format":"uuid","type":"string"},"type":"array"}},"type":"object"},"DebianConfigV3":{"description":"Debian-specific configuration. Applies only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Additional compression formats to generate for index and metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked upstream registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfigV3":{"description":"Repository metadata signing configuration, e.g. GPG signing for Debian packages.","properties":{"keyId":{"description":"UUID of the signing key to use. The key must be ACTIVE and belong to the same account, org and project as the registry.\n","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether metadata signing is enabled for this registry.","type":"boolean"}},"required":["signingEnabled"],"type":"object"},"UpstreamConfigV3":{"description":"Configuration for an upstream proxy registry.","properties":{"auth":{"$ref":"#/components/schemas/UpstreamAuthV3"},"authType":{"$ref":"#/components/schemas/UpstreamAuthTypeV3"},"firewallMode":{"$ref":"#/components/schemas/FirewallModeV3"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached upstream metadata. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND responses from the upstream. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams this overrides the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are normalized away.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"source":{"$ref":"#/components/schemas/UpstreamSourceV3"},"url":{"description":"Remote URL of the upstream. Required when source is CUSTOM.","type":"string"}},"required":["authType"],"type":"object"},"UpstreamAuthV3":{"description":"Upstream credentials. The variant is selected by the sibling authType field rather than by a property on this object, so there is no discriminator here. Omit this object entirely when authType is ANONYMOUS.\n","oneOf":[{"$ref":"#/components/schemas/UpstreamAuthUserPasswordV3"},{"$ref":"#/components/schemas/UpstreamAuthAccessKeySecretKeyV3"},{"$ref":"#/components/schemas/UpstreamAuthBearerTokenV3"}]},"UpstreamAuthUserPasswordV3":{"description":"Username plus a password held in a Harness secret. Used when authType is USER_PASSWORD.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the password. This is a Harness platform secret, addressed by identifier and scope across all of Harness, so it is not a UUID.\n","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"],"type":"object"},"UpstreamAuthAccessKeySecretKeyV3":{"description":"Access key and secret key pair. Used when authType is ACCESS_KEY_SECRET_KEY.","properties":{"accessKey":{"description":"Plaintext access key. Mutually exclusive with accessKeySecretIdentifier.","type":"string"},"accessKeySecretIdentifier":{"description":"Identifier of the Harness secret holding the access key.","type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"description":"Identifier of the Harness secret holding the secret key.","type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"],"type":"object"},"UpstreamAuthBearerTokenV3":{"description":"Bearer token held in a Harness secret. Used when authType is BEARER_TOKEN.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the bearer token.","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}},"type":"object"},"UpstreamAuthTypeV3":{"description":"Authentication scheme used against the upstream. Known values include: USER_PASSWORD, ACCESS_KEY_SECRET_KEY, BEARER_TOKEN, ANONYMOUS. This field is extensible; clients must handle unknown values. ANONYMOUS takes no auth object.\n","type":"string"},"FirewallModeV3":{"description":"Firewall mode","enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"UpstreamSourceV3":{"description":"Well-known upstream this proxy points at. Known values include: DOCKERHUB, CUSTOM, AWS_ECR, MAVEN_CENTRAL, PYPI, NPMJS, NUGET_ORG, CRATES, RUBYGEMS, GO_PROXY, HUGGING_FACE, ANACONDA, PUBDEV, PACKAGIST, PUPPET_FORGE, HELM_CHART_REPO, CONAN_CENTER, TERRAFORM_REGISTRY, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values. Use CUSTOM together with url for anything else.\n","type":"string"},"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"ScannerV3":{"description":"A vulnerability scanner enabled on a registry.","properties":{"name":{"description":"Scanner name. Known values include: AQUA_TRIVY, GRYPE. This field is extensible; clients must handle unknown values.\n","type":"string"}},"type":"object"}}}}
```

## The RegistryDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryDetailV3":{"allOf":[{"$ref":"#/components/schemas/RegistryV3"},{"properties":{"allowedPattern":{"description":"Patterns of artifacts allowed in this registry.","items":{"type":"string"},"type":"array"},"blockedPattern":{"description":"Patterns of artifacts blocked from this registry.","items":{"type":"string"},"type":"array"},"cleanupPolicy":{"description":"Cleanup policies for this registry.","items":{"$ref":"#/components/schemas/CleanupPolicyV3"},"type":"array"},"config":{"$ref":"#/components/schemas/RegistryConfigV3"},"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"policyRefs":{"description":"References to Harness OPA policy sets applied to this registry. These are Harness platform entities addressed by identifier and scope across all of Harness, so they are not UUIDs.\n","items":{"type":"string"},"type":"array"},"scanners":{"description":"Vulnerability scanners enabled on this registry.","items":{"$ref":"#/components/schemas/ScannerV3"},"type":"array"}},"type":"object"}],"description":"Full registry representation, returned by single-registry endpoints. Extends RegistryV3 with the nested settings that are too expensive to populate per item in list results.\n"},"RegistryV3":{"description":"Registry Metadata","properties":{"deletedAt":{"$ref":"#/components/schemas/DeletedAtMsV3"},"deletedBy":{"$ref":"#/components/schemas/UserInfoV3"},"description":{"type":"string"},"id":{"format":"uuid","type":"string"},"isInternal":{"description":"Indicates that the registry is internal (system-managed).","type":"boolean"},"isPublic":{"type":"boolean"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"modifiedBy":{"$ref":"#/components/schemas/UserInfoV3"},"name":{"type":"string"},"opaMetadataValidation":{"type":"boolean"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"path":{"type":"string"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"type":{"$ref":"#/components/schemas/RegistryTypeV3"},"url":{"type":"string"}},"required":["id","name","type","packageType","isPublic","url"],"type":"object"},"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"orgIdentifier":{"type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"},"CleanupPolicyV3":{"description":"A cleanup policy describing which versions a registry should expire.","properties":{"expireDays":{"description":"Delete matching versions older than this many days.","format":"int32","type":"integer"},"name":{"type":"string"},"packagePrefix":{"description":"Only packages whose name starts with one of these prefixes are considered.","items":{"type":"string"},"type":"array"},"versionPrefix":{"description":"Only versions whose name starts with one of these prefixes are considered.","items":{"type":"string"},"type":"array"}},"type":"object"},"RegistryConfigV3":{"description":"Type-specific configuration for a registry. Discriminated by type: set type to VIRTUAL for a virtual registry or UPSTREAM for an upstream proxy, and supply the matching variant.\n","discriminator":{"mapping":{"UPSTREAM":"#/components/schemas/UpstreamConfigV3","VIRTUAL":"#/components/schemas/VirtualConfigV3"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/VirtualConfigV3"},{"$ref":"#/components/schemas/UpstreamConfigV3"}],"properties":{"type":{"$ref":"#/components/schemas/RegistryTypeV3"}},"required":["type"],"type":"object"},"VirtualConfigV3":{"description":"Configuration for a virtual registry.","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfigV3"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"upstreamProxies":{"description":"UUIDs of the upstream proxy registries this virtual registry resolves through, in resolution order. Note that v1 accepts upstream proxy *names* here; v3 uses UUIDs per the id-over-identifier rule.\n","items":{"format":"uuid","type":"string"},"type":"array"}},"type":"object"},"DebianConfigV3":{"description":"Debian-specific configuration. Applies only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Additional compression formats to generate for index and metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked upstream registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfigV3":{"description":"Repository metadata signing configuration, e.g. GPG signing for Debian packages.","properties":{"keyId":{"description":"UUID of the signing key to use. The key must be ACTIVE and belong to the same account, org and project as the registry.\n","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether metadata signing is enabled for this registry.","type":"boolean"}},"required":["signingEnabled"],"type":"object"},"UpstreamConfigV3":{"description":"Configuration for an upstream proxy registry.","properties":{"auth":{"$ref":"#/components/schemas/UpstreamAuthV3"},"authType":{"$ref":"#/components/schemas/UpstreamAuthTypeV3"},"firewallMode":{"$ref":"#/components/schemas/FirewallModeV3"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached upstream metadata. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND responses from the upstream. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams this overrides the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are normalized away.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"source":{"$ref":"#/components/schemas/UpstreamSourceV3"},"url":{"description":"Remote URL of the upstream. Required when source is CUSTOM.","type":"string"}},"required":["authType"],"type":"object"},"UpstreamAuthV3":{"description":"Upstream credentials. The variant is selected by the sibling authType field rather than by a property on this object, so there is no discriminator here. Omit this object entirely when authType is ANONYMOUS.\n","oneOf":[{"$ref":"#/components/schemas/UpstreamAuthUserPasswordV3"},{"$ref":"#/components/schemas/UpstreamAuthAccessKeySecretKeyV3"},{"$ref":"#/components/schemas/UpstreamAuthBearerTokenV3"}]},"UpstreamAuthUserPasswordV3":{"description":"Username plus a password held in a Harness secret. Used when authType is USER_PASSWORD.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the password. This is a Harness platform secret, addressed by identifier and scope across all of Harness, so it is not a UUID.\n","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"],"type":"object"},"UpstreamAuthAccessKeySecretKeyV3":{"description":"Access key and secret key pair. Used when authType is ACCESS_KEY_SECRET_KEY.","properties":{"accessKey":{"description":"Plaintext access key. Mutually exclusive with accessKeySecretIdentifier.","type":"string"},"accessKeySecretIdentifier":{"description":"Identifier of the Harness secret holding the access key.","type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"description":"Identifier of the Harness secret holding the secret key.","type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"],"type":"object"},"UpstreamAuthBearerTokenV3":{"description":"Bearer token held in a Harness secret. Used when authType is BEARER_TOKEN.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the bearer token.","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}},"type":"object"},"UpstreamAuthTypeV3":{"description":"Authentication scheme used against the upstream. Known values include: USER_PASSWORD, ACCESS_KEY_SECRET_KEY, BEARER_TOKEN, ANONYMOUS. This field is extensible; clients must handle unknown values. ANONYMOUS takes no auth object.\n","type":"string"},"FirewallModeV3":{"description":"Firewall mode","enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"UpstreamSourceV3":{"description":"Well-known upstream this proxy points at. Known values include: DOCKERHUB, CUSTOM, AWS_ECR, MAVEN_CENTRAL, PYPI, NPMJS, NUGET_ORG, CRATES, RUBYGEMS, GO_PROXY, HUGGING_FACE, ANACONDA, PUBDEV, PACKAGIST, PUPPET_FORGE, HELM_CHART_REPO, CONAN_CENTER, TERRAFORM_REGISTRY, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values. Use CUSTOM together with url for anything else.\n","type":"string"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"ScannerV3":{"description":"A vulnerability scanner enabled on a registry.","properties":{"name":{"description":"Scanner name. Known values include: AQUA_TRIVY, GRYPE. This field is extensible; clients must handle unknown values.\n","type":"string"}},"type":"object"}}}}
```

## The RegistryMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryMetadata":{"description":"Harness Artifact Registry Metadata","properties":{"artifactsCount":{"format":"int64","type":"integer"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"deletedBy":{"$ref":"#/components/schemas/PerformedBy"},"description":{"type":"string"},"downloadsCount":{"format":"int64","type":"integer"},"identifier":{"type":"string"},"isPublic":{"type":"boolean"},"lastModified":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"path":{"type":"string"},"registrySize":{"type":"string"},"type":{"$ref":"#/components/schemas/RegistryType"},"url":{"type":"string"},"uuid":{"type":"string"}},"required":["type","packageType","identifier","url","isPublic","uuid"],"type":"object"},"PerformedBy":{"description":"Principal who performed the relevant action","properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The RegistryRequest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryRequest":{"properties":{"allowedPattern":{"items":{"type":"string"},"type":"array"},"blockedPattern":{"items":{"type":"string"},"type":"array"},"cleanupPolicy":{"items":{"$ref":"#/components/schemas/CleanupPolicy"},"type":"array"},"config":{"$ref":"#/components/schemas/RegistryConfig"},"description":{"type":"string"},"identifier":{"maxLength":72,"type":"string"},"isInternal":{"description":"Marks a registry as internal (system-managed).","type":"boolean"},"isPublic":{"type":"boolean"},"labels":{"items":{"type":"string"},"type":"array"},"opaMetadataValidation":{"type":"boolean"},"packageType":{"$ref":"#/components/schemas/PackageType"},"parentRef":{"description":"Reference to the scope in which the registry exists.\n\nFormat depends on the scope:\n\n- **Account-level**: `account_id`\n- **Organization-level**: `account_id/org_id`\n- **Project-level**: `account_id/org_id/project_id`\n","type":"string"},"policyRefs":{"items":{"type":"string"},"type":"array"},"scanners":{"items":{"$ref":"#/components/schemas/Scanner"},"type":"array"}},"required":["identifier","type","packageType","isPublic","parentRef"],"type":"object"},"CleanupPolicy":{"description":"Cleanup Policy for Harness Artifact Registries","properties":{"expireDays":{"type":"integer"},"name":{"type":"string"},"packagePrefix":{"items":{"type":"string"},"type":"array"},"versionPrefix":{"items":{"type":"string"},"type":"array"}},"type":"object"},"RegistryConfig":{"description":"SubConfig specific for Virtual or Upstream Registry","discriminator":{"mapping":{"UPSTREAM":"#/components/schemas/UpstreamConfig","VIRTUAL":"#/components/schemas/VirtualConfig"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/VirtualConfig"},{"$ref":"#/components/schemas/UpstreamConfig"}],"properties":{"type":{"$ref":"#/components/schemas/RegistryType"}},"required":["type"],"type":"object"},"VirtualConfig":{"description":"Configuration for Harness Virtual Artifact Registries","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfig"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"upstreamProxies":{"items":{"type":"string"},"type":"array"}},"type":"object"},"DebianConfig":{"description":"Debian-specific configuration, applicable only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Optional additional compression formats to generate for index/metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked remote (upstream) registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfig":{"description":"Configuration for repository metadata signing (e.g., GPG signing for Debian packages)","properties":{"keyId":{"description":"UUID of the signing key to use (must be ACTIVE and belong to same account/org/project)","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether signing is enabled for this registry","type":"boolean"}},"required":["signingEnabled"],"type":"object"},"UpstreamConfig":{"description":"Configuration for Harness Artifact UpstreamProxies","properties":{"auth":{"oneOf":[{"$ref":"#/components/schemas/UserPassword"},{"$ref":"#/components/schemas/Anonymous"},{"$ref":"#/components/schemas/AccessKeySecretKey"},{"$ref":"#/components/schemas/BearerToken"}]},"authType":{"$ref":"#/components/schemas/AuthType"},"firewallMode":{"$ref":"#/components/schemas/UpstreamProxyConfigFirewallMode"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached metadata.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND entries.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams, this allows overriding the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are not required and will be normalized.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"source":{"enum":["Dockerhub","Custom","AwsEcr","MavenCentral","PyPi","NpmJs","NugetOrg","Crates","RubyGems","GoProxy","HuggingFace","Anaconda","Pubdev","Packagist","PuppetForge","HelmChartRepo","ConanCenter","TerraformRegistry","CRAN","Wolfi","Alpine"],"type":"string"},"url":{"type":"string"}},"required":["authType"],"type":"object"},"UserPassword":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"]},"Anonymous":{},"AccessKeySecretKey":{"properties":{"accessKey":{"type":"string"},"accessKeySecretIdentifier":{"type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"]},"BearerToken":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}}},"AuthType":{"description":"Authentication type","enum":["UserPassword","AccessKeySecretKey","Anonymous","BearerToken"],"type":"string"},"UpstreamProxyConfigFirewallMode":{"description":"Firewall mode applied to an upstream proxy.","enum":["ALLOW","ENABLED","QUARANTINE"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"Scanner":{"description":"Scanner for Harness Artifact Registries","properties":{"name":{"enum":["AQUA_TRIVY","GRYPE"],"type":"string"}},"type":"object"}}}}
```

## The RegistryRootsIndexBuildDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryRootsIndexBuildDataV3":{"description":"Response payload returned when the registry-roots index build is accepted.","properties":{"index":{"description":"Name of the index this build is responsible for.","type":"string"},"jobUid":{"description":"UID of the job row created for this build. Poll the jobs table with it, or call the status endpoint.","type":"string"}},"required":["jobUid","index"],"type":"object"}}}}
```

## The RegistryRootsIndexStatusDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryRootsIndexStatusDataV3":{"description":"Current state of idx_nodes_registry_roots, read from the Postgres catalog.","properties":{"exists":{"type":"boolean"},"index":{"description":"Name of the index this status describes.","type":"string"},"jobResult":{"description":"Result string of the most recent build job.","type":"string"},"jobState":{"description":"State of the most recent build job, absent if no build has ever been triggered.","type":"string"},"valid":{"description":"False for an index left INVALID by an interrupted CONCURRENTLY build. The planner never uses such an index, but writes still maintain it.","type":"boolean"}},"required":["index","exists","valid"],"type":"object"}}}}
```

## The RegistryStatsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryStatsV3":{"description":"Statistics for a single registry","properties":{"artifactsCount":{"description":"Total number of artifacts in the registry","format":"int64","type":"integer"},"downloadCount":{"description":"Total download count for the registry","format":"int64","type":"integer"},"id":{"description":"Registry UUID","format":"uuid","type":"string"},"packageCount":{"description":"Total number of packages in the registry","format":"int64","type":"integer"},"size":{"description":"Total size of the registry (human-readable format)","type":"string"}},"required":["id"],"type":"object"}}}}
```

## The RegistryType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The RegistryTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The RegistryV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RegistryV3":{"description":"Registry Metadata","properties":{"deletedAt":{"$ref":"#/components/schemas/DeletedAtMsV3"},"deletedBy":{"$ref":"#/components/schemas/UserInfoV3"},"description":{"type":"string"},"id":{"format":"uuid","type":"string"},"isInternal":{"description":"Indicates that the registry is internal (system-managed).","type":"boolean"},"isPublic":{"type":"boolean"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"modifiedBy":{"$ref":"#/components/schemas/UserInfoV3"},"name":{"type":"string"},"opaMetadataValidation":{"type":"boolean"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"path":{"type":"string"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"type":{"$ref":"#/components/schemas/RegistryTypeV3"},"url":{"type":"string"}},"required":["id","name","type","packageType","isPublic","url"],"type":"object"},"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"orgIdentifier":{"type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The ReplicationRegistry object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ReplicationRegistry":{"oneOf":[{"$ref":"#/components/schemas/LocalReplicationRegistry"},{"$ref":"#/components/schemas/JfrogReplicationRegistry"}]},"LocalReplicationRegistry":{"properties":{"registryIdentifier":{"type":"string"}},"required":["registryIdentifier"],"type":"object"},"JfrogReplicationRegistry":{"properties":{"namespace":{"type":"string"},"passwordSecretId":{"type":"string"},"passwordSecretSpaceId":{"type":"string"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"required":["url","namespace"],"type":"object"}}}}
```

## The ReplicationRule object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ReplicationRule":{"properties":{"allowedPatterns":{"items":{"type":"string"},"type":"array"},"blockedPatterns":{"items":{"type":"string"},"type":"array"},"createdAt":{"type":"string"},"destination":{"$ref":"#/components/schemas/ReplicationRegistry"},"destinationType":{"enum":["Local","Jfrog","GCP"],"type":"string"},"identifier":{"type":"string"},"modifiedAt":{"type":"string"},"parentRef":{"type":"string"},"source":{"$ref":"#/components/schemas/ReplicationRegistry"},"sourceType":{"enum":["Local","Jfrog","GCP"],"type":"string"}},"required":["identifier","source","destination","sourceType","destinationType","allowedPatterns","blockedPatterns","parentRef","modifiedAt","createdAt"],"type":"object"},"ReplicationRegistry":{"oneOf":[{"$ref":"#/components/schemas/LocalReplicationRegistry"},{"$ref":"#/components/schemas/JfrogReplicationRegistry"}]},"LocalReplicationRegistry":{"properties":{"registryIdentifier":{"type":"string"}},"required":["registryIdentifier"],"type":"object"},"JfrogReplicationRegistry":{"properties":{"namespace":{"type":"string"},"passwordSecretId":{"type":"string"},"passwordSecretSpaceId":{"type":"string"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"required":["url","namespace"],"type":"object"}}}}
```

## The ReplicationRuleRequest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ReplicationRuleRequest":{"properties":{"allowedPatterns":{"items":{"type":"string"},"type":"array"},"blockedPatterns":{"items":{"type":"string"},"type":"array"},"destination":{"$ref":"#/components/schemas/ReplicationRegistry"},"destinationType":{"enum":["Local","Jfrog","GCP"],"type":"string"},"source":{"$ref":"#/components/schemas/ReplicationRegistry"},"sourceType":{"enum":["Local","Jfrog","GCP"],"type":"string"}},"required":["source","destination","sourceType","destinationType","allowedPatterns","blockedPatterns"],"type":"object"},"ReplicationRegistry":{"oneOf":[{"$ref":"#/components/schemas/LocalReplicationRegistry"},{"$ref":"#/components/schemas/JfrogReplicationRegistry"}]},"LocalReplicationRegistry":{"properties":{"registryIdentifier":{"type":"string"}},"required":["registryIdentifier"],"type":"object"},"JfrogReplicationRegistry":{"properties":{"namespace":{"type":"string"},"passwordSecretId":{"type":"string"},"passwordSecretSpaceId":{"type":"string"},"url":{"format":"uri","type":"string"},"username":{"type":"string"}},"required":["url","namespace"],"type":"object"}}}}
```

## The ResourceMetadataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ResourceMetadataV3":{"additionalProperties":true,"description":"Resource Metadata","type":"object"}}}}
```

## The RevertFailureDetailV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RevertFailureDetailV3":{"description":"Details of a single artifact that failed to restore.","properties":{"error":{"description":"Error message describing why the restore failed.","type":"string"}},"required":["error"],"type":"object"}}}}
```

## The RevertLifecycleExecutionDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RevertLifecycleExecutionDataV3":{"description":"Details of the revert operation result.","properties":{"executionId":{"description":"The execution ID that was reverted.","type":"string"},"failedCount":{"description":"Number of artifacts that failed to restore.","format":"int64","type":"integer"},"failures":{"description":"Details of failed restorations (limited to first 100).","items":{"$ref":"#/components/schemas/RevertFailureDetailV3"},"type":"array"},"restoredCount":{"description":"Number of artifacts successfully restored.","format":"int64","type":"integer"},"skippedCount":{"description":"Number of artifacts skipped (e.g., already restored or hard-deleted).","format":"int64","type":"integer"},"totalDeletedItems":{"description":"Total number of items with DELETED outcome in the execution.","format":"int64","type":"integer"}},"required":["executionId","restoredCount","failedCount","skippedCount","totalDeletedItems"],"type":"object"},"RevertFailureDetailV3":{"description":"Details of a single artifact that failed to restore.","properties":{"error":{"description":"Error message describing why the restore failed.","type":"string"}},"required":["error"],"type":"object"}}}}
```

## The RevertLifecycleExecutionResponseV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RevertLifecycleExecutionResponseV3":{"description":"Summary of the revert operation for a lifecycle execution.","properties":{"data":{"$ref":"#/components/schemas/RevertLifecycleExecutionDataV3"}},"required":["data"],"type":"object"},"RevertLifecycleExecutionDataV3":{"description":"Details of the revert operation result.","properties":{"executionId":{"description":"The execution ID that was reverted.","type":"string"},"failedCount":{"description":"Number of artifacts that failed to restore.","format":"int64","type":"integer"},"failures":{"description":"Details of failed restorations (limited to first 100).","items":{"$ref":"#/components/schemas/RevertFailureDetailV3"},"type":"array"},"restoredCount":{"description":"Number of artifacts successfully restored.","format":"int64","type":"integer"},"skippedCount":{"description":"Number of artifacts skipped (e.g., already restored or hard-deleted).","format":"int64","type":"integer"},"totalDeletedItems":{"description":"Total number of items with DELETED outcome in the execution.","format":"int64","type":"integer"}},"required":["executionId","restoredCount","failedCount","skippedCount","totalDeletedItems"],"type":"object"},"RevertFailureDetailV3":{"description":"Details of a single artifact that failed to restore.","properties":{"error":{"description":"Error message describing why the restore failed.","type":"string"}},"required":["error"],"type":"object"}}}}
```

## The RootPackageV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RootPackageV3":{"description":"Root package of the build","properties":{"name":{"description":"Name of the root package","type":"string"},"version":{"description":"Version of the root package","type":"string"}},"required":["name","version"],"type":"object"}}}}
```

## The RpmArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RpmArtifactDetailConfig":{"description":"Config for RPM artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The RubyArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"RubyArtifactDetailConfig":{"description":"Config for RubyGems artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The SBOMDetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SBOMDetails":{"properties":{"allowListViolations":{"type":"integer"},"artifactId":{"type":"string"},"artifactSourceId":{"type":"string"},"avgScore":{"type":"string"},"componentsCount":{"type":"integer"},"denyListViolations":{"type":"integer"},"maxScore":{"type":"string"},"orchestrationId":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"}},"type":"object"}}}}
```

## The SLSADetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SLSADetails":{"properties":{"provenanceId":{"type":"string"},"status":{"type":"string"}},"type":"object"}}}}
```

## The STODetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"STODetails":{"properties":{"critical":{"type":"integer"},"executionId":{"type":"string"},"high":{"type":"integer"},"ignored":{"type":"integer"},"info":{"type":"integer"},"lastScanned":{"type":"string"},"low":{"type":"integer"},"medium":{"type":"integer"},"pipelineId":{"type":"string"},"total":{"type":"integer"}},"type":"object"}}}}
```

## The ScanMetaV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ScanMetaV3":{"description":"Metadata about the list artifact scans","properties":{"blockedCount":{"description":"Count of active blocked artifacts","format":"int64","type":"integer"},"totalCount":{"description":"Count of total artifact violations","format":"int64","type":"integer"},"warnCount":{"description":"Count of active Warn artifacts","format":"int64","type":"integer"}},"type":"object"}}}}
```

## The ScanStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ScanStatusV3":{"description":"Status of an artifact scan evaluation.","enum":["ALLOWED","BLOCKED","WARN","UNKNOWN"],"type":"string"}}}}
```

## The Scanner object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Scanner":{"description":"Scanner for Harness Artifact Registries","properties":{"name":{"enum":["AQUA_TRIVY","GRYPE"],"type":"string"}},"type":"object"}}}}
```

## The ScannerV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"ScannerV3":{"description":"A vulnerability scanner enabled on a registry.","properties":{"name":{"description":"Scanner name. Known values include: AQUA_TRIVY, GRYPE. This field is extensible; clients must handle unknown values.\n","type":"string"}},"type":"object"}}}}
```

## The SearchAncestorV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"}}}}
```

## The SearchFileItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchFileItemV3":{"description":"One row of the Files group - files and folders alike. Always navigable.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this hit's immediate parent, shallowest\nfirst. Always starts with the registry, so a node directly under the registry root\nhas exactly one entry.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Effective soft-deletion time in epoch milliseconds, as on `TreeNodeItemV3`; absent\nwhen live.\n","format":"int64","type":"integer"},"entityId":{"description":"UUID of the package or version this folder is; present exactly when `entityKind` is.\nAbsent for files and plain folders.\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Node UUID; expand a folder with `ListNodeChildrenV3`.","format":"uuid","type":"string"},"isFile":{"type":"boolean"},"name":{"type":"string"},"packageType":{"description":"Package type of the registry.","type":"string"},"path":{"description":"Full path of this node within its registry.","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"treePath":{"description":"Canonical tree address of the node.","type":"string"},"type":{"description":"Node type, as on its tree row.","enum":["folder","package","version","file"],"type":"string"}},"required":["id","name","type","path","treePath","isFile","registryId","registryName","packageType","ancestors"],"type":"object"},"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SearchFilesGroupV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchFilesGroupV3":{"description":"The Files group of a global grouped search result.","properties":{"count":{"description":"Count of files/folders matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchFileItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchFileItemV3":{"description":"One row of the Files group - files and folders alike. Always navigable.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this hit's immediate parent, shallowest\nfirst. Always starts with the registry, so a node directly under the registry root\nhas exactly one entry.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Effective soft-deletion time in epoch milliseconds, as on `TreeNodeItemV3`; absent\nwhen live.\n","format":"int64","type":"integer"},"entityId":{"description":"UUID of the package or version this folder is; present exactly when `entityKind` is.\nAbsent for files and plain folders.\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Node UUID; expand a folder with `ListNodeChildrenV3`.","format":"uuid","type":"string"},"isFile":{"type":"boolean"},"name":{"type":"string"},"packageType":{"description":"Package type of the registry.","type":"string"},"path":{"description":"Full path of this node within its registry.","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"treePath":{"description":"Canonical tree address of the node.","type":"string"},"type":{"description":"Node type, as on its tree row.","enum":["folder","package","version","file"],"type":"string"}},"required":["id","name","type","path","treePath","isFile","registryId","registryName","packageType","ancestors"],"type":"object"},"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SearchPackageItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchPackageItemV3":{"description":"One row of the Packages group. Covers every package type, not only Docker/Helm.\nA hit without `id` is not navigable (e.g. uncached UPSTREAM packages, HELM_HTTP, CRAN);\nstill render it and open details via `entityId`.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this package's immediate parent, shallowest\nfirst. Present exactly when `id` is.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the package is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Package UUID.","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Tree node id of the package (synthetic for Docker/Helm). Absent when not navigable.","type":"string"},"name":{"type":"string"},"packageKind":{"description":"Absent for package types that don't record one.","type":"string"},"packageType":{"type":"string"},"path":{"description":"Path of the node within its registry. Present exactly when `id` is.","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"treePath":{"description":"Canonical tree address of the node. Present exactly when `id` is.","type":"string"},"type":{"description":"Always `package`.","enum":["package"],"type":"string"}},"required":["name","type","entityKind","entityId","registryId","registryName","packageType"],"type":"object"},"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SearchPackagesGroupV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchPackagesGroupV3":{"description":"The Packages group of a global grouped search result.","properties":{"count":{"description":"Count of packages matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchPackageItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchPackageItemV3":{"description":"One row of the Packages group. Covers every package type, not only Docker/Helm.\nA hit without `id` is not navigable (e.g. uncached UPSTREAM packages, HELM_HTTP, CRAN);\nstill render it and open details via `entityId`.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this package's immediate parent, shallowest\nfirst. Present exactly when `id` is.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the package is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Package UUID.","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Tree node id of the package (synthetic for Docker/Helm). Absent when not navigable.","type":"string"},"name":{"type":"string"},"packageKind":{"description":"Absent for package types that don't record one.","type":"string"},"packageType":{"type":"string"},"path":{"description":"Path of the node within its registry. Present exactly when `id` is.","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"treePath":{"description":"Canonical tree address of the node. Present exactly when `id` is.","type":"string"},"type":{"description":"Always `package`.","enum":["package"],"type":"string"}},"required":["name","type","entityKind","entityId","registryId","registryName","packageType"],"type":"object"},"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SearchRegistriesGroupV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchRegistriesGroupV3":{"description":"The Registries group of a global grouped search result.","properties":{"count":{"description":"Count of registries matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchRegistryItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchRegistryItemV3":{"description":"One row of the Registries group.","properties":{"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the registry is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Registry UUID (same as `id`).","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Registry UUID; expand it with `ListRegistryNodesV3`.","format":"uuid","type":"string"},"name":{"type":"string"},"packageType":{"type":"string"},"path":{"description":"Registry name.","type":"string"},"registryType":{"type":"string"},"spacePath":{"description":"Path of the space that owns the registry (e.g. `account/org/project`), which tells\nsame-named registries in different spaces apart. Absent if it could not be resolved.\n","type":"string"},"treePath":{"description":"Canonical tree address; see `TreeNodeItemV3.treePath`.","type":"string"},"type":{"description":"Always `registry`.","enum":["registry"],"type":"string"}},"required":["id","name","type","path","treePath","entityKind","entityId","registryType","packageType"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SearchRegistryFilesRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchRegistryFilesRequestInputV3":{"description":"Input for the search registry files operation. The regex is sent\nin the body so characters like `?`, `&`, `+`, `#` and `%` don't\nneed URL-encoding and aren't mangled by proxies.\n","properties":{"regex":{"description":"POSIX regular expression matched server-side against file paths. Evaluated by Postgres (`~` operator, case-sensitive). Max length 500.\n","maxLength":500,"type":"string"},"registry":{"description":"Registry identifier (name).","type":"string"}},"required":["registry","regex"],"type":"object"}}}}
```

## The SearchRegistryItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchRegistryItemV3":{"description":"One row of the Registries group.","properties":{"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the registry is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Registry UUID (same as `id`).","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Registry UUID; expand it with `ListRegistryNodesV3`.","format":"uuid","type":"string"},"name":{"type":"string"},"packageType":{"type":"string"},"path":{"description":"Registry name.","type":"string"},"registryType":{"type":"string"},"spacePath":{"description":"Path of the space that owns the registry (e.g. `account/org/project`), which tells\nsame-named registries in different spaces apart. Absent if it could not be resolved.\n","type":"string"},"treePath":{"description":"Canonical tree address; see `TreeNodeItemV3.treePath`.","type":"string"},"type":{"description":"Always `registry`.","enum":["registry"],"type":"string"}},"required":["id","name","type","path","treePath","entityKind","entityId","registryType","packageType"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SearchTreeResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchTreeResponseBodyV3":{"description":"Response body for the global grouped tree search endpoint.","properties":{"files":{"$ref":"#/components/schemas/SearchFilesGroupV3"},"packages":{"$ref":"#/components/schemas/SearchPackagesGroupV3"},"registries":{"$ref":"#/components/schemas/SearchRegistriesGroupV3"},"versions":{"$ref":"#/components/schemas/SearchVersionsGroupV3"}},"required":["registries","packages","versions","files"],"type":"object"},"SearchFilesGroupV3":{"description":"The Files group of a global grouped search result.","properties":{"count":{"description":"Count of files/folders matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchFileItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchFileItemV3":{"description":"One row of the Files group - files and folders alike. Always navigable.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this hit's immediate parent, shallowest\nfirst. Always starts with the registry, so a node directly under the registry root\nhas exactly one entry.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Effective soft-deletion time in epoch milliseconds, as on `TreeNodeItemV3`; absent\nwhen live.\n","format":"int64","type":"integer"},"entityId":{"description":"UUID of the package or version this folder is; present exactly when `entityKind` is.\nAbsent for files and plain folders.\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Node UUID; expand a folder with `ListNodeChildrenV3`.","format":"uuid","type":"string"},"isFile":{"type":"boolean"},"name":{"type":"string"},"packageType":{"description":"Package type of the registry.","type":"string"},"path":{"description":"Full path of this node within its registry.","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"treePath":{"description":"Canonical tree address of the node.","type":"string"},"type":{"description":"Node type, as on its tree row.","enum":["folder","package","version","file"],"type":"string"}},"required":["id","name","type","path","treePath","isFile","registryId","registryName","packageType","ancestors"],"type":"object"},"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"},"SearchPackagesGroupV3":{"description":"The Packages group of a global grouped search result.","properties":{"count":{"description":"Count of packages matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchPackageItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchPackageItemV3":{"description":"One row of the Packages group. Covers every package type, not only Docker/Helm.\nA hit without `id` is not navigable (e.g. uncached UPSTREAM packages, HELM_HTTP, CRAN);\nstill render it and open details via `entityId`.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this package's immediate parent, shallowest\nfirst. Present exactly when `id` is.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the package is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Package UUID.","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Tree node id of the package (synthetic for Docker/Helm). Absent when not navigable.","type":"string"},"name":{"type":"string"},"packageKind":{"description":"Absent for package types that don't record one.","type":"string"},"packageType":{"type":"string"},"path":{"description":"Path of the node within its registry. Present exactly when `id` is.","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"treePath":{"description":"Canonical tree address of the node. Present exactly when `id` is.","type":"string"},"type":{"description":"Always `package`.","enum":["package"],"type":"string"}},"required":["name","type","entityKind","entityId","registryId","registryName","packageType"],"type":"object"},"SearchRegistriesGroupV3":{"description":"The Registries group of a global grouped search result.","properties":{"count":{"description":"Count of registries matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchRegistryItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchRegistryItemV3":{"description":"One row of the Registries group.","properties":{"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the registry is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Registry UUID (same as `id`).","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Registry UUID; expand it with `ListRegistryNodesV3`.","format":"uuid","type":"string"},"name":{"type":"string"},"packageType":{"type":"string"},"path":{"description":"Registry name.","type":"string"},"registryType":{"type":"string"},"spacePath":{"description":"Path of the space that owns the registry (e.g. `account/org/project`), which tells\nsame-named registries in different spaces apart. Absent if it could not be resolved.\n","type":"string"},"treePath":{"description":"Canonical tree address; see `TreeNodeItemV3.treePath`.","type":"string"},"type":{"description":"Always `registry`.","enum":["registry"],"type":"string"}},"required":["id","name","type","path","treePath","entityKind","entityId","registryType","packageType"],"type":"object"},"SearchVersionsGroupV3":{"description":"The Versions group of a global grouped search result.","properties":{"count":{"description":"Count of versions matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchVersionItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchVersionItemV3":{"description":"One row of the Versions group. Docker and Helm versions match on their tag names only - a\ndigest is not searchable here - and every other package type matches on the version name.\nOne row per version, not per tag: an OCI digest carrying several tags is a single row\nlisting them all in `tags`.\n\nA hit without `id` is not navigable (e.g. untagged Docker/Helm digests, uncached UPSTREAM\nversions); still render it and open details via `entityId`.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this version's immediate parent, shallowest\nfirst. Present exactly when `id` is.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the version is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Version UUID.","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Tree node id of the version: the archive file for HELM_HTTP/CRAN, a matching tag (else\nthe first tag) for Docker/Helm. Absent when not navigable.\n","type":"string"},"name":{"description":"The stored version. For Docker and Helm this is the manifest digest in an internal\n`<2-digit algorithm prefix><hex>` form, not `sha256:...` - display `tags` instead\nwhen present.\n","type":"string"},"packageId":{"format":"uuid","type":"string"},"packageKind":{"description":"Absent for package types that don't record one.","type":"string"},"packageName":{"type":"string"},"packageType":{"type":"string"},"path":{"description":"Path of the node within its registry (`<image>/<tag>` for Docker/Helm). Present exactly\nwhen `id` is.\n","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"tags":{"description":"Every tag pointing at this version's manifest, ordered by name. Absent for non-OCI\npackage types and for untagged OCI digests.\n","items":{"type":"string"},"type":"array"},"treePath":{"description":"Canonical tree address of the node. Present exactly when `id` is.","type":"string"},"type":{"description":"Always `version`.","enum":["version"],"type":"string"}},"required":["name","type","entityKind","entityId","packageId","packageName","registryId","registryName","packageType"],"type":"object"}}}}
```

## The SearchVersionItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchVersionItemV3":{"description":"One row of the Versions group. Docker and Helm versions match on their tag names only - a\ndigest is not searchable here - and every other package type matches on the version name.\nOne row per version, not per tag: an OCI digest carrying several tags is a single row\nlisting them all in `tags`.\n\nA hit without `id` is not navigable (e.g. untagged Docker/Helm digests, uncached UPSTREAM\nversions); still render it and open details via `entityId`.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this version's immediate parent, shallowest\nfirst. Present exactly when `id` is.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the version is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Version UUID.","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Tree node id of the version: the archive file for HELM_HTTP/CRAN, a matching tag (else\nthe first tag) for Docker/Helm. Absent when not navigable.\n","type":"string"},"name":{"description":"The stored version. For Docker and Helm this is the manifest digest in an internal\n`<2-digit algorithm prefix><hex>` form, not `sha256:...` - display `tags` instead\nwhen present.\n","type":"string"},"packageId":{"format":"uuid","type":"string"},"packageKind":{"description":"Absent for package types that don't record one.","type":"string"},"packageName":{"type":"string"},"packageType":{"type":"string"},"path":{"description":"Path of the node within its registry (`<image>/<tag>` for Docker/Helm). Present exactly\nwhen `id` is.\n","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"tags":{"description":"Every tag pointing at this version's manifest, ordered by name. Absent for non-OCI\npackage types and for untagged OCI digests.\n","items":{"type":"string"},"type":"array"},"treePath":{"description":"Canonical tree address of the node. Present exactly when `id` is.","type":"string"},"type":{"description":"Always `version`.","enum":["version"],"type":"string"}},"required":["name","type","entityKind","entityId","packageId","packageName","registryId","registryName","packageType"],"type":"object"},"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SearchVersionsGroupV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SearchVersionsGroupV3":{"description":"The Versions group of a global grouped search result.","properties":{"count":{"description":"Count of versions matching the request, independent of pagination. Exact up to 1000;\n1001 means \"more than 1000\" and should be rendered as \"1000+\".\n","format":"int64","type":"integer"},"hasMore":{"type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/SearchVersionItemV3"},"type":"array"},"nextCursor":{"description":"Opaque cursor for this group's next page, to send as this group's cursor parameter. Present only when `hasMore` is true.","type":"string"},"timedOut":{"description":"Present and true when this group's queries exceeded the server's time budget. The\ngroup is then served empty - `items` is `[]` and `count` is 0, which is not a real\nzero - while the other groups are returned as normal. Retry, or narrow the search.\n","type":"boolean"}},"required":["items","count","hasMore"],"type":"object"},"SearchVersionItemV3":{"description":"One row of the Versions group. Docker and Helm versions match on their tag names only - a\ndigest is not searchable here - and every other package type matches on the version name.\nOne row per version, not per tag: an OCI digest carrying several tags is a single row\nlisting them all in `tags`.\n\nA hit without `id` is not navigable (e.g. untagged Docker/Helm digests, uncached UPSTREAM\nversions); still render it and open details via `entityId`.\n","properties":{"ancestors":{"description":"Breadcrumb from the registry root down to this version's immediate parent, shallowest\nfirst. Present exactly when `id` is.\n","items":{"$ref":"#/components/schemas/SearchAncestorV3"},"type":"array"},"createdAt":{"description":"Creation time in epoch millis.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the version is live. Only present\nwhen the request's `deleted_filter` is `include_deleted` or `only_deleted`.\n","format":"int64","type":"integer"},"entityId":{"description":"Version UUID.","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"Tree node id of the version: the archive file for HELM_HTTP/CRAN, a matching tag (else\nthe first tag) for Docker/Helm. Absent when not navigable.\n","type":"string"},"name":{"description":"The stored version. For Docker and Helm this is the manifest digest in an internal\n`<2-digit algorithm prefix><hex>` form, not `sha256:...` - display `tags` instead\nwhen present.\n","type":"string"},"packageId":{"format":"uuid","type":"string"},"packageKind":{"description":"Absent for package types that don't record one.","type":"string"},"packageName":{"type":"string"},"packageType":{"type":"string"},"path":{"description":"Path of the node within its registry (`<image>/<tag>` for Docker/Helm). Present exactly\nwhen `id` is.\n","type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"tags":{"description":"Every tag pointing at this version's manifest, ordered by name. Absent for non-OCI\npackage types and for untagged OCI digests.\n","items":{"type":"string"},"type":"array"},"treePath":{"description":"Canonical tree address of the node. Present exactly when `id` is.","type":"string"},"type":{"description":"Always `version`.","enum":["version"],"type":"string"}},"required":["name","type","entityKind","entityId","packageId","packageName","registryId","registryName","packageType"],"type":"object"},"SearchAncestorV3":{"description":"One crumb of a search hit's breadcrumb. Use these rather than splitting a `path`\nstring, which cannot be split reliably (a package name may itself contain `/`).\n","properties":{"id":{"description":"Registry UUID when `type` is `registry`, otherwise the node UUID.","type":"string"},"name":{"description":"Display name of this crumb.","type":"string"},"type":{"description":"Which listing call expands this crumb's `id`: `registry` means\n`ListRegistryNodesV3`, `folder` means `ListNodeChildrenV3`.\n","enum":["registry","folder"],"type":"string"}},"required":["id","name","type"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The SectionType object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SectionType":{"description":"refers to client setup section type","discriminator":{"propertyName":"type"},"enum":["INLINE","TABS"],"type":"string"}}}}
```

## The SecurityPolicyFailureDetailConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SecurityPolicyFailureDetailConfigV3":{"description":"Security-specific failure detail payload.","properties":{"vulnerabilities":{"description":"List of security violations.","items":{"$ref":"#/components/schemas/SecurityPolicyFailureVulnerabilityV3"},"type":"array"}},"required":["vulnerabilities"],"type":"object"},"SecurityPolicyFailureVulnerabilityV3":{"description":"Security violation entry.","properties":{"cveId":{"description":"CVE identifier.","type":"string"},"cvssScore":{"description":"CVSS score.","format":"double","type":"number"},"cvssThreshold":{"description":"CVSS threshold.","format":"double","type":"number"}},"required":["cveId","cvssScore","cvssThreshold"],"type":"object"}}}}
```

## The SecurityPolicyFailureVulnerabilityV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SecurityPolicyFailureVulnerabilityV3":{"description":"Security violation entry.","properties":{"cveId":{"description":"CVE identifier.","type":"string"},"cvssScore":{"description":"CVSS score.","format":"double","type":"number"},"cvssThreshold":{"description":"CVSS threshold.","format":"double","type":"number"}},"required":["cveId","cvssScore","cvssThreshold"],"type":"object"}}}}
```

## The SemverBackfillTriggerDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SemverBackfillTriggerDataV3":{"description":"Response payload returned when a semver backfill is successfully triggered.","properties":{"jobId":{"description":"Numeric identifier of the CDC job row created for this backfill.","format":"int64","type":"integer"},"message":{"description":"Human-readable status message.","type":"string"}},"required":["jobId","message"],"type":"object"}}}}
```

## The SigningConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SigningConfig":{"description":"Configuration for repository metadata signing (e.g., GPG signing for Debian packages)","properties":{"keyId":{"description":"UUID of the signing key to use (must be ACTIVE and belong to same account/org/project)","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether signing is enabled for this registry","type":"boolean"}},"required":["signingEnabled"],"type":"object"}}}}
```

## The SigningConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SigningConfigV3":{"description":"Repository metadata signing configuration, e.g. GPG signing for Debian packages.","properties":{"keyId":{"description":"UUID of the signing key to use. The key must be ACTIVE and belong to the same account, org and project as the registry.\n","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether metadata signing is enabled for this registry.","type":"boolean"}},"required":["signingEnabled"],"type":"object"}}}}
```

## The SigningKeyAlgorithmV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SigningKeyAlgorithmV3":{"description":"Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.\n","type":"string"}}}}
```

## The SigningKeyStatusV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SigningKeyStatusV3":{"description":"Lifecycle state of a signing key. Known values include: ACTIVE, INACTIVE (expired or manually deactivated), REVOKED (compromised), DELETED (deleted). This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The SigningKeySummaryV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SigningKeySummaryV3":{"description":"Aggregate signing key counts for a single scope (account, org, or project). Counts cover only the requested scope and are not rolled up from parent or child scopes.\n","properties":{"expiringSoon":{"description":"Number of ACTIVE keys whose expiry falls within the next 30 days. Keys that never expire, and keys that have already expired, are excluded.\n","format":"int64","type":"integer"},"referencedRegistries":{"description":"Number of registries that have a signing configuration pointing at a key in this scope, whether or not signing is currently enabled on them. Soft-deleted registries are excluded.\n","format":"int64","type":"integer"},"totalKeys":{"description":"Total number of signing keys in the scope, including deleted keys (status DELETED).\n","format":"int64","type":"integer"}},"required":["totalKeys","referencedRegistries","expiringSoon"],"type":"object"}}}}
```

## The SigningKeyTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SigningKeyTypeV3":{"description":"Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The SigningKeyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SigningKeyV3":{"description":"A signing key used for repository metadata signing (Debian, Alpine, etc.)","properties":{"algorithm":{"$ref":"#/components/schemas/SigningKeyAlgorithmV3"},"createdAt":{"$ref":"#/components/schemas/CreatedAtMsV3"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"expirationAt":{"description":"Expiration timestamp in Unix milliseconds (null if never expires)","format":"int64","nullable":true,"type":"integer"},"fingerprint":{"description":"Primary identifier (GPG 40 hex chars, RSA SHA256 of public key 64 hex chars)","type":"string"},"id":{"description":"Unique internal identifier of the signing key","format":"uuid","type":"string"},"longKeyId":{"description":"Last 16 hex chars of fingerprint (for CLI compatibility)","type":"string"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"name":{"description":"Human-readable name for UI/API","type":"string"},"shortKeyId":{"description":"Last 8 hex chars of fingerprint (for CLI compatibility)","type":"string"},"size":{"description":"Key strength in bits (e.g. 2048, 3072, 4096 for RSA)","format":"int32","nullable":true,"type":"integer"},"source":{"description":"Origin of the key (created by system or provided by user)","enum":["GENERATED","IMPORTED"],"type":"string"},"status":{"$ref":"#/components/schemas/SigningKeyStatusV3"},"type":{"$ref":"#/components/schemas/SigningKeyTypeV3"},"updatedBy":{"$ref":"#/components/schemas/UserInfoV3"}},"required":["id","name","type","source","status","fingerprint","algorithm","createdAt","modifiedAt"],"type":"object"},"SigningKeyAlgorithmV3":{"description":"Underlying cryptographic algorithm of a signing key. Known values include: RSA, ED25519, ECDSA. This field is extensible; clients must handle unknown values. Note that only RSA and ED25519 can be generated; ECDSA is only observed on imported keys.\n","type":"string"},"CreatedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was created","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"SigningKeyStatusV3":{"description":"Lifecycle state of a signing key. Known values include: ACTIVE, INACTIVE (expired or manually deactivated), REVOKED (compromised), DELETED (deleted). This field is extensible; clients must handle unknown values.\n","type":"string"},"SigningKeyTypeV3":{"description":"Cryptographic system of a signing key. Known values include: GPG (for Debian, RPM, Alpine), RSA (for direct signing operations). This field is extensible; clients must handle unknown values.\n","type":"string"}}}}
```

## The StartedAtMsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"StartedAtMsV3":{"description":"Unix timestamp in milliseconds when the operation started","format":"int64","nullable":true,"type":"integer"}}}}
```

## The Status object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Status":{"description":"Request processing status indicator","enum":["SUCCESS","FAILURE","ERROR"],"type":"string"}}}}
```

## The StorageDetails object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"StorageDetails":{"description":"storage details","properties":{"dailyStorage":{"description":"Day-wise storage snapshots for the last 30 calendar days (UTC).","items":{"$ref":"#/components/schemas/DailyStorage"},"type":"array"},"last30DayAverage":{"description":"Average daily storage over the last 30 calendar days (UTC), as a human-readable auto-scaled size (e.g. \"468.78GB\").","type":"string"},"totalSize":{"description":"Total current storage, as a human-readable auto-scaled size (e.g. \"468.78GB\").","type":"string"},"totalSizeInBytes":{"description":"Total current storage in raw bytes (e.g. \"503316480\").","type":"string"}},"required":["totalSize"],"type":"object"},"DailyStorage":{"description":"Storage snapshot for a single calendar day.","properties":{"date":{"description":"Snapshot date in UTC (YYYY-MM-DD).","format":"date","type":"string"},"size":{"description":"Total storage on that date, as a human-readable auto-scaled size (e.g. \"468.78GB\").","type":"string"}},"required":["date","size"],"type":"object"}}}}
```

## The SwiftArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SwiftArtifactDetailConfig":{"description":"Config for swift artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The SystemInfoV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"SystemInfoV3":{"description":"System-level information for the Harness Artifact Registry","properties":{"registryHost":{"description":"The hostname of the registry without protocol or port","type":"string"},"registryUrl":{"description":"The full registry URL including protocol","type":"string"}},"required":["registryHost","registryUrl"],"type":"object"}}}}
```

## The TabSetupStep object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TabSetupStep":{"description":"Tab Setup step","properties":{"header":{"type":"string"},"sections":{"items":{"$ref":"#/components/schemas/ClientSetupSection"},"type":"array"}},"type":"object"},"ClientSetupSection":{"description":"Client Setup Section","discriminator":{"mapping":{"INLINE":"#/components/schemas/ClientSetupStepConfig","TABS":"#/components/schemas/TabSetupStepConfig"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ClientSetupStepConfig"},{"$ref":"#/components/schemas/TabSetupStepConfig"}],"properties":{"header":{"type":"string"},"secHeader":{"type":"string"},"type":{"$ref":"#/components/schemas/SectionType"}},"required":["type"],"type":"object"},"ClientSetupStepConfig":{"description":"Client Setup Step","properties":{"steps":{"items":{"$ref":"#/components/schemas/ClientSetupStep"},"type":"array"}},"type":"object"},"ClientSetupStep":{"description":"Client Setup Step","properties":{"commands":{"items":{"$ref":"#/components/schemas/ClientSetupStepCommand"},"type":"array"},"header":{"type":"string"},"type":{"$ref":"#/components/schemas/ClientSetupStepType"}},"type":"object"},"ClientSetupStepCommand":{"description":"Client Setup Step Command","properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"ClientSetupStepType":{"description":"ClientSetupStepType type","enum":["Static","GenerateToken"],"type":"string"},"TabSetupStepConfig":{"description":"Tab Setup step config","properties":{"tabs":{"items":{"$ref":"#/components/schemas/TabSetupStep"},"type":"array"}},"type":"object"},"SectionType":{"description":"refers to client setup section type","discriminator":{"propertyName":"type"},"enum":["INLINE","TABS"],"type":"string"}}}}
```

## The TabSetupStepConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TabSetupStepConfig":{"description":"Tab Setup step config","properties":{"tabs":{"items":{"$ref":"#/components/schemas/TabSetupStep"},"type":"array"}},"type":"object"},"TabSetupStep":{"description":"Tab Setup step","properties":{"header":{"type":"string"},"sections":{"items":{"$ref":"#/components/schemas/ClientSetupSection"},"type":"array"}},"type":"object"},"ClientSetupSection":{"description":"Client Setup Section","discriminator":{"mapping":{"INLINE":"#/components/schemas/ClientSetupStepConfig","TABS":"#/components/schemas/TabSetupStepConfig"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ClientSetupStepConfig"},{"$ref":"#/components/schemas/TabSetupStepConfig"}],"properties":{"header":{"type":"string"},"secHeader":{"type":"string"},"type":{"$ref":"#/components/schemas/SectionType"}},"required":["type"],"type":"object"},"ClientSetupStepConfig":{"description":"Client Setup Step","properties":{"steps":{"items":{"$ref":"#/components/schemas/ClientSetupStep"},"type":"array"}},"type":"object"},"ClientSetupStep":{"description":"Client Setup Step","properties":{"commands":{"items":{"$ref":"#/components/schemas/ClientSetupStepCommand"},"type":"array"},"header":{"type":"string"},"type":{"$ref":"#/components/schemas/ClientSetupStepType"}},"type":"object"},"ClientSetupStepCommand":{"description":"Client Setup Step Command","properties":{"label":{"type":"string"},"value":{"type":"string"}},"type":"object"},"ClientSetupStepType":{"description":"ClientSetupStepType type","enum":["Static","GenerateToken"],"type":"string"},"SectionType":{"description":"refers to client setup section type","discriminator":{"propertyName":"type"},"enum":["INLINE","TABS"],"type":"string"}}}}
```

## The TerraformArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TerraformArtifactDetailConfig":{"description":"Config for Terraform artifact details","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The TreeEntityKindV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The TreeNodeItemV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TreeNodeItemV3":{"description":"A node in the tree view representing a registry, package, version, folder, or file","properties":{"createdAt":{"description":"Creation time in epoch milliseconds. Absent when unknown.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the node is live. This is the\neffective state: the node's own entity's, else its package's, else its registry's, so\na file under a deleted version reads as deleted. Plain folders and files that belong to\nno resolvable package carry their registry's state.\n","format":"int64","type":"integer"},"entityId":{"description":"UUID of the registry, package or version this node is; present exactly when\n`entityKind` is. Pass it to the matching details API (`/registries/{id}/metadata`,\n`/packages/{id}/metadata`, `/versions/{id}/metadata`).\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"hasChildren":{"description":"Whether expanding this node returns at least one child.","type":"boolean"},"id":{"description":"Identifier to expand this node with. The registry UUID for a registry (pass it to\n`ListRegistryNodesV3`); otherwise pass it to `ListNodeChildrenV3`. Below the root it is\na node UUID, or for Docker/Helm registries a synthetic `<kind>:<registryUUID>:<innerId>`\nid - hence a plain string rather than a UUID. Treat it as opaque.\n","type":"string"},"name":{"description":"Display name. A collapsed `compact` row joins its segments with `/`; the Docker/Helm\nuntagged group reads `Untagged (n)`, with n shown as `1000+` past 1000.\n","type":"string"},"packageType":{"description":"Package type of the registry. Set on every level.","type":"string"},"path":{"description":"Display path of this node within its registry; the registry name for a registry.\nFor display only - do not split it to derive ancestor ids.\n","type":"string"},"treePath":{"description":"Canonical, readable address of this node: put it in a shareable URL and pass it as `path`\nto `ResolveTreePathV3` to get the node's ids back. Unlike `path`, it is unique and stable across responses. Absent when\nthe node cannot be addressed by path (a platform below a nested Docker/Helm manifest\nlist).\n","type":"string"},"type":{"description":"Type of the node. Docker/Helm registries expose `package` (image), `version` (tag or\nuntagged manifest) and `folder` (the untagged group and per-platform manifests). Other\npackage types expose `package` and `version` for folders that are one, and `folder`\nand `file` otherwise; Debian, CRAN, Conan, Wolfi and HELM_HTTP expose only `folder`\nand `file`.\n","enum":["registry","folder","package","version","file"],"type":"string"}},"required":["id","name","type","hasChildren"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The TreePaginationV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TreePaginationV3":{"description":"Pagination information for tree view","properties":{"hasMore":{"description":"Whether another page exists.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page, to send as `cursor`. Present only when `hasMore` is true.","type":"string"},"size":{"description":"The page size applied to this request.","format":"int32","type":"integer"},"total":{"description":"Total number of children matching the request, independent of pagination.\n\n* Root (`ListTreeRootsV3`): exact, and returned **on the first page only** - it is\n  absent when a `cursor` is sent, so keep the first page's value.\n* Below the root: returned on every page, exact up to 1000. Any value above 1000\n  means \"more than 1000\" and should be rendered as \"1000+\".\n\nDrive \"Load More\" from `hasMore`, not from `total`.\n","format":"int64","type":"integer"}},"required":["size","hasMore"],"type":"object"}}}}
```

## The TreePathStepV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TreePathStepV3":{"description":"One node along a resolved path. `id` matches the row's `id` in the tree listings, so the\nclient can find and expand it. Steps are never collapsed: with `compact=true` a listed row\nstands for every step from its first folder to its last, and its `id` is the last one's.\n","properties":{"entityId":{"description":"UUID of the registry, package or version this node is, as for `TreeNodeItemV3`. Use it\nfor the details APIs; a file's details take its `id`.\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"The node's tree id: a registry UUID, a node UUID, or an opaque Docker/Helm id that is\nonly meaningful to the tree endpoints.\n","type":"string"},"name":{"type":"string"},"treePath":{"type":"string"},"type":{"description":"The node's type, as `TreeNodeItemV3.type` reports it.","enum":["registry","folder","package","version","file"],"type":"string"}},"required":["id","name","type","treePath"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"}}}}
```

## The TreeResolveResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TreeResolveResponseBodyV3":{"description":"Response body for `ResolveTreePathV3`","properties":{"children":{"$ref":"#/components/schemas/TreeResponseBodyV3"},"steps":{"description":"Every node along the path, registry first, as the tree listings return them. The last\nstep is the requested node; the others are its ancestors.\n","items":{"$ref":"#/components/schemas/TreePathStepV3"},"type":"array"}},"required":["steps","children"],"type":"object"},"TreeResponseBodyV3":{"description":"Response body for tree view endpoints","properties":{"items":{"description":"Immediate children of the requested level, in display order.","items":{"$ref":"#/components/schemas/TreeNodeItemV3"},"type":"array"},"pagination":{"$ref":"#/components/schemas/TreePaginationV3"}},"required":["items","pagination"]},"TreeNodeItemV3":{"description":"A node in the tree view representing a registry, package, version, folder, or file","properties":{"createdAt":{"description":"Creation time in epoch milliseconds. Absent when unknown.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the node is live. This is the\neffective state: the node's own entity's, else its package's, else its registry's, so\na file under a deleted version reads as deleted. Plain folders and files that belong to\nno resolvable package carry their registry's state.\n","format":"int64","type":"integer"},"entityId":{"description":"UUID of the registry, package or version this node is; present exactly when\n`entityKind` is. Pass it to the matching details API (`/registries/{id}/metadata`,\n`/packages/{id}/metadata`, `/versions/{id}/metadata`).\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"hasChildren":{"description":"Whether expanding this node returns at least one child.","type":"boolean"},"id":{"description":"Identifier to expand this node with. The registry UUID for a registry (pass it to\n`ListRegistryNodesV3`); otherwise pass it to `ListNodeChildrenV3`. Below the root it is\na node UUID, or for Docker/Helm registries a synthetic `<kind>:<registryUUID>:<innerId>`\nid - hence a plain string rather than a UUID. Treat it as opaque.\n","type":"string"},"name":{"description":"Display name. A collapsed `compact` row joins its segments with `/`; the Docker/Helm\nuntagged group reads `Untagged (n)`, with n shown as `1000+` past 1000.\n","type":"string"},"packageType":{"description":"Package type of the registry. Set on every level.","type":"string"},"path":{"description":"Display path of this node within its registry; the registry name for a registry.\nFor display only - do not split it to derive ancestor ids.\n","type":"string"},"treePath":{"description":"Canonical, readable address of this node: put it in a shareable URL and pass it as `path`\nto `ResolveTreePathV3` to get the node's ids back. Unlike `path`, it is unique and stable across responses. Absent when\nthe node cannot be addressed by path (a platform below a nested Docker/Helm manifest\nlist).\n","type":"string"},"type":{"description":"Type of the node. Docker/Helm registries expose `package` (image), `version` (tag or\nuntagged manifest) and `folder` (the untagged group and per-platform manifests). Other\npackage types expose `package` and `version` for folders that are one, and `folder`\nand `file` otherwise; Debian, CRAN, Conan, Wolfi and HELM_HTTP expose only `folder`\nand `file`.\n","enum":["registry","folder","package","version","file"],"type":"string"}},"required":["id","name","type","hasChildren"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"},"TreePaginationV3":{"description":"Pagination information for tree view","properties":{"hasMore":{"description":"Whether another page exists.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page, to send as `cursor`. Present only when `hasMore` is true.","type":"string"},"size":{"description":"The page size applied to this request.","format":"int32","type":"integer"},"total":{"description":"Total number of children matching the request, independent of pagination.\n\n* Root (`ListTreeRootsV3`): exact, and returned **on the first page only** - it is\n  absent when a `cursor` is sent, so keep the first page's value.\n* Below the root: returned on every page, exact up to 1000. Any value above 1000\n  means \"more than 1000\" and should be rendered as \"1000+\".\n\nDrive \"Load More\" from `hasMore`, not from `total`.\n","format":"int64","type":"integer"}},"required":["size","hasMore"],"type":"object"},"TreePathStepV3":{"description":"One node along a resolved path. `id` matches the row's `id` in the tree listings, so the\nclient can find and expand it. Steps are never collapsed: with `compact=true` a listed row\nstands for every step from its first folder to its last, and its `id` is the last one's.\n","properties":{"entityId":{"description":"UUID of the registry, package or version this node is, as for `TreeNodeItemV3`. Use it\nfor the details APIs; a file's details take its `id`.\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"id":{"description":"The node's tree id: a registry UUID, a node UUID, or an opaque Docker/Helm id that is\nonly meaningful to the tree endpoints.\n","type":"string"},"name":{"type":"string"},"treePath":{"type":"string"},"type":{"description":"The node's type, as `TreeNodeItemV3.type` reports it.","enum":["registry","folder","package","version","file"],"type":"string"}},"required":["id","name","type","treePath"],"type":"object"}}}}
```

## The TreeResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TreeResponseBodyV3":{"description":"Response body for tree view endpoints","properties":{"items":{"description":"Immediate children of the requested level, in display order.","items":{"$ref":"#/components/schemas/TreeNodeItemV3"},"type":"array"},"pagination":{"$ref":"#/components/schemas/TreePaginationV3"}},"required":["items","pagination"]},"TreeNodeItemV3":{"description":"A node in the tree view representing a registry, package, version, folder, or file","properties":{"createdAt":{"description":"Creation time in epoch milliseconds. Absent when unknown.","format":"int64","type":"integer"},"deletedAt":{"description":"Soft-deletion time in epoch milliseconds; absent when the node is live. This is the\neffective state: the node's own entity's, else its package's, else its registry's, so\na file under a deleted version reads as deleted. Plain folders and files that belong to\nno resolvable package carry their registry's state.\n","format":"int64","type":"integer"},"entityId":{"description":"UUID of the registry, package or version this node is; present exactly when\n`entityKind` is. Pass it to the matching details API (`/registries/{id}/metadata`,\n`/packages/{id}/metadata`, `/versions/{id}/metadata`).\n","format":"uuid","type":"string"},"entityKind":{"$ref":"#/components/schemas/TreeEntityKindV3"},"hasChildren":{"description":"Whether expanding this node returns at least one child.","type":"boolean"},"id":{"description":"Identifier to expand this node with. The registry UUID for a registry (pass it to\n`ListRegistryNodesV3`); otherwise pass it to `ListNodeChildrenV3`. Below the root it is\na node UUID, or for Docker/Helm registries a synthetic `<kind>:<registryUUID>:<innerId>`\nid - hence a plain string rather than a UUID. Treat it as opaque.\n","type":"string"},"name":{"description":"Display name. A collapsed `compact` row joins its segments with `/`; the Docker/Helm\nuntagged group reads `Untagged (n)`, with n shown as `1000+` past 1000.\n","type":"string"},"packageType":{"description":"Package type of the registry. Set on every level.","type":"string"},"path":{"description":"Display path of this node within its registry; the registry name for a registry.\nFor display only - do not split it to derive ancestor ids.\n","type":"string"},"treePath":{"description":"Canonical, readable address of this node: put it in a shareable URL and pass it as `path`\nto `ResolveTreePathV3` to get the node's ids back. Unlike `path`, it is unique and stable across responses. Absent when\nthe node cannot be addressed by path (a platform below a nested Docker/Helm manifest\nlist).\n","type":"string"},"type":{"description":"Type of the node. Docker/Helm registries expose `package` (image), `version` (tag or\nuntagged manifest) and `folder` (the untagged group and per-platform manifests). Other\npackage types expose `package` and `version` for folders that are one, and `folder`\nand `file` otherwise; Debian, CRAN, Conan, Wolfi and HELM_HTTP expose only `folder`\nand `file`.\n","enum":["registry","folder","package","version","file"],"type":"string"}},"required":["id","name","type","hasChildren"],"type":"object"},"TreeEntityKindV3":{"description":"What a tree node or search hit is: a registry, a package or a version. Absent for plain\nfolders and files. A Docker/Helm platform row is a `folder` whose entity is its own\nmanifest's version.\n","enum":["REGISTRY","PACKAGE","VERSION"],"type":"string"},"TreePaginationV3":{"description":"Pagination information for tree view","properties":{"hasMore":{"description":"Whether another page exists.","type":"boolean"},"nextCursor":{"description":"Opaque cursor for the next page, to send as `cursor`. Present only when `hasMore` is true.","type":"string"},"size":{"description":"The page size applied to this request.","format":"int32","type":"integer"},"total":{"description":"Total number of children matching the request, independent of pagination.\n\n* Root (`ListTreeRootsV3`): exact, and returned **on the first page only** - it is\n  absent when a `cursor` is sent, so keep the first page's value.\n* Below the root: returned on every page, exact up to 1000. Any value above 1000\n  means \"more than 1000\" and should be rendered as \"1000+\".\n\nDrive \"Load More\" from `hasMore`, not from `total`.\n","format":"int64","type":"integer"}},"required":["size","hasMore"],"type":"object"}}}}
```

## The Trigger object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Trigger":{"description":"refers to trigger","enum":["ARTIFACT_CREATION","ARTIFACT_DELETION"],"type":"string"}}}}
```

## The TrigramIndexBuildDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TrigramIndexBuildDataV3":{"description":"Response payload returned when a trigram index build is accepted.","properties":{"indexes":{"description":"Names of the indexes this build is responsible for.","items":{"type":"string"},"type":"array"},"jobUid":{"description":"UID of the job row created for this build. Poll the jobs table with it, or call the status endpoint.","type":"string"}},"required":["jobUid","indexes"],"type":"object"}}}}
```

## The TrigramIndexStateV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TrigramIndexStateV3":{"description":"Catalog state of a single trigram index.","properties":{"exists":{"type":"boolean"},"name":{"type":"string"},"valid":{"description":"False for an index left INVALID by an interrupted CONCURRENTLY build. The planner never uses such an index, but writes still maintain it.","type":"boolean"}},"required":["name","exists","valid"],"type":"object"}}}}
```

## The TrigramIndexStatusDataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TrigramIndexStatusDataV3":{"description":"Current state of each trigram index, read from the Postgres catalog.","properties":{"indexes":{"description":"Per-index catalog state.","items":{"$ref":"#/components/schemas/TrigramIndexStateV3"},"type":"array"},"jobResult":{"description":"Result string of the most recent build job, naming each index and whether it was built or already present.","type":"string"},"jobState":{"description":"State of the most recent build job, absent if no build has ever been triggered.","type":"string"}},"required":["indexes"],"type":"object"},"TrigramIndexStateV3":{"description":"Catalog state of a single trigram index.","properties":{"exists":{"type":"boolean"},"name":{"type":"string"},"valid":{"description":"False for an index left INVALID by an interrupted CONCURRENTLY build. The planner never uses such an index, but writes still maintain it.","type":"boolean"}},"required":["name","exists","valid"],"type":"object"}}}}
```

## The TypesLabel object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TypesLabel":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"created":{"format":"int64","type":"integer"},"created_by":{"format":"int64","type":"integer"},"description":{"type":"string"},"id":{"format":"int64","type":"integer"},"key":{"type":"string"},"scope":{"format":"int64","type":"integer"},"space_id":{"format":"int64","nullable":true,"type":"integer"},"type":{"$ref":"#/components/schemas/EnumLabelType"},"updated":{"format":"int64","type":"integer"},"updated_by":{"format":"int64","type":"integer"},"value_count":{"format":"int64","type":"integer"}},"type":"object"},"EnumLabelColor":{"enum":["blue","brown","cyan","green","indigo","lime","mint","orange","pink","purple","red","violet","yellow"],"type":"string"},"EnumLabelType":{"enum":["dynamic","static"],"type":"string"}}}}
```

## The TypesLabelValue object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TypesLabelValue":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"created":{"type":"integer"},"created_by":{"type":"integer"},"id":{"type":"integer"},"label_id":{"type":"integer"},"updated":{"type":"integer"},"updated_by":{"type":"integer"},"value":{"type":"string"}},"type":"object"},"EnumLabelColor":{"enum":["blue","brown","cyan","green","indigo","lime","mint","orange","pink","purple","red","violet","yellow"],"type":"string"}}}}
```

## The TypesLabelWithValues object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TypesLabelWithValues":{"properties":{"label":{"$ref":"#/components/schemas/TypesLabel"},"values":{"items":{"$ref":"#/components/schemas/TypesLabelValue"},"type":"array"}},"type":"object"},"TypesLabel":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"created":{"format":"int64","type":"integer"},"created_by":{"format":"int64","type":"integer"},"description":{"type":"string"},"id":{"format":"int64","type":"integer"},"key":{"type":"string"},"scope":{"format":"int64","type":"integer"},"space_id":{"format":"int64","nullable":true,"type":"integer"},"type":{"$ref":"#/components/schemas/EnumLabelType"},"updated":{"format":"int64","type":"integer"},"updated_by":{"format":"int64","type":"integer"},"value_count":{"format":"int64","type":"integer"}},"type":"object"},"EnumLabelColor":{"enum":["blue","brown","cyan","green","indigo","lime","mint","orange","pink","purple","red","violet","yellow"],"type":"string"},"EnumLabelType":{"enum":["dynamic","static"],"type":"string"},"TypesLabelValue":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"created":{"type":"integer"},"created_by":{"type":"integer"},"id":{"type":"integer"},"label_id":{"type":"integer"},"updated":{"type":"integer"},"updated_by":{"type":"integer"},"value":{"type":"string"}},"type":"object"}}}}
```

## The TypesSaveLabelInput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TypesSaveLabelInput":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"description":{"type":"string"},"id":{"type":"integer"},"key":{"type":"string"},"type":{"$ref":"#/components/schemas/EnumLabelType"}},"type":"object"},"EnumLabelColor":{"enum":["blue","brown","cyan","green","indigo","lime","mint","orange","pink","purple","red","violet","yellow"],"type":"string"},"EnumLabelType":{"enum":["dynamic","static"],"type":"string"}}}}
```

## The TypesSaveLabelValueInput object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"TypesSaveLabelValueInput":{"properties":{"color":{"$ref":"#/components/schemas/EnumLabelColor"},"id":{"type":"integer"},"value":{"type":"string"}},"type":"object"},"EnumLabelColor":{"enum":["blue","brown","cyan","green","indigo","lime","mint","orange","pink","purple","red","violet","yellow"],"type":"string"}}}}
```

## The UpdateKeyRequestV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpdateKeyRequestV3":{"description":"Request to update a signing key status","properties":{"status":{"description":"New status for the key (cannot transition from REVOKED or DELETED). Intentionally a closed subset of `SigningKeyStatusV3` rather than an extensible enum: DELETED is reachable only via `DELETE /signing-keys/{id}`, which emits a distinct audit event.\n","enum":["ACTIVE","INACTIVE","REVOKED"],"type":"string"}},"required":["status"],"type":"object"}}}}
```

## The UpstreamAuthAccessKeySecretKeyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamAuthAccessKeySecretKeyV3":{"description":"Access key and secret key pair. Used when authType is ACCESS_KEY_SECRET_KEY.","properties":{"accessKey":{"description":"Plaintext access key. Mutually exclusive with accessKeySecretIdentifier.","type":"string"},"accessKeySecretIdentifier":{"description":"Identifier of the Harness secret holding the access key.","type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"description":"Identifier of the Harness secret holding the secret key.","type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"],"type":"object"}}}}
```

## The UpstreamAuthBearerTokenV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamAuthBearerTokenV3":{"description":"Bearer token held in a Harness secret. Used when authType is BEARER_TOKEN.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the bearer token.","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}},"type":"object"}}}}
```

## The UpstreamAuthTypeV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamAuthTypeV3":{"description":"Authentication scheme used against the upstream. Known values include: USER_PASSWORD, ACCESS_KEY_SECRET_KEY, BEARER_TOKEN, ANONYMOUS. This field is extensible; clients must handle unknown values. ANONYMOUS takes no auth object.\n","type":"string"}}}}
```

## The UpstreamAuthUserPasswordV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamAuthUserPasswordV3":{"description":"Username plus a password held in a Harness secret. Used when authType is USER_PASSWORD.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the password. This is a Harness platform secret, addressed by identifier and scope across all of Harness, so it is not a UUID.\n","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"],"type":"object"}}}}
```

## The UpstreamAuthV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamAuthV3":{"description":"Upstream credentials. The variant is selected by the sibling authType field rather than by a property on this object, so there is no discriminator here. Omit this object entirely when authType is ANONYMOUS.\n","oneOf":[{"$ref":"#/components/schemas/UpstreamAuthUserPasswordV3"},{"$ref":"#/components/schemas/UpstreamAuthAccessKeySecretKeyV3"},{"$ref":"#/components/schemas/UpstreamAuthBearerTokenV3"}]},"UpstreamAuthUserPasswordV3":{"description":"Username plus a password held in a Harness secret. Used when authType is USER_PASSWORD.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the password. This is a Harness platform secret, addressed by identifier and scope across all of Harness, so it is not a UUID.\n","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"],"type":"object"},"UpstreamAuthAccessKeySecretKeyV3":{"description":"Access key and secret key pair. Used when authType is ACCESS_KEY_SECRET_KEY.","properties":{"accessKey":{"description":"Plaintext access key. Mutually exclusive with accessKeySecretIdentifier.","type":"string"},"accessKeySecretIdentifier":{"description":"Identifier of the Harness secret holding the access key.","type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"description":"Identifier of the Harness secret holding the secret key.","type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"],"type":"object"},"UpstreamAuthBearerTokenV3":{"description":"Bearer token held in a Harness secret. Used when authType is BEARER_TOKEN.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the bearer token.","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}},"type":"object"}}}}
```

## The UpstreamConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamConfig":{"description":"Configuration for Harness Artifact UpstreamProxies","properties":{"auth":{"oneOf":[{"$ref":"#/components/schemas/UserPassword"},{"$ref":"#/components/schemas/Anonymous"},{"$ref":"#/components/schemas/AccessKeySecretKey"},{"$ref":"#/components/schemas/BearerToken"}]},"authType":{"$ref":"#/components/schemas/AuthType"},"firewallMode":{"$ref":"#/components/schemas/UpstreamProxyConfigFirewallMode"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached metadata.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND entries.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams, this allows overriding the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are not required and will be normalized.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"source":{"enum":["Dockerhub","Custom","AwsEcr","MavenCentral","PyPi","NpmJs","NugetOrg","Crates","RubyGems","GoProxy","HuggingFace","Anaconda","Pubdev","Packagist","PuppetForge","HelmChartRepo","ConanCenter","TerraformRegistry","CRAN","Wolfi","Alpine"],"type":"string"},"url":{"type":"string"}},"required":["authType"],"type":"object"},"UserPassword":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"]},"Anonymous":{},"AccessKeySecretKey":{"properties":{"accessKey":{"type":"string"},"accessKeySecretIdentifier":{"type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"]},"BearerToken":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}}},"AuthType":{"description":"Authentication type","enum":["UserPassword","AccessKeySecretKey","Anonymous","BearerToken"],"type":"string"},"UpstreamProxyConfigFirewallMode":{"description":"Firewall mode applied to an upstream proxy.","enum":["ALLOW","ENABLED","QUARANTINE"],"type":"string"},"SigningConfig":{"description":"Configuration for repository metadata signing (e.g., GPG signing for Debian packages)","properties":{"keyId":{"description":"UUID of the signing key to use (must be ACTIVE and belong to same account/org/project)","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether signing is enabled for this registry","type":"boolean"}},"required":["signingEnabled"],"type":"object"}}}}
```

## The UpstreamConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamConfigV3":{"description":"Configuration for an upstream proxy registry.","properties":{"auth":{"$ref":"#/components/schemas/UpstreamAuthV3"},"authType":{"$ref":"#/components/schemas/UpstreamAuthTypeV3"},"firewallMode":{"$ref":"#/components/schemas/FirewallModeV3"},"metadataCacheTTL":{"description":"Time-to-live in seconds for cached upstream metadata. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"negativeCacheTTL":{"description":"Time-to-live in seconds for cached NOT_FOUND responses from the upstream. A duration, not a timestamp, so it is expressed in seconds rather than milliseconds.\n","format":"int64","maximum":604800,"minimum":0,"type":"integer"},"remoteUrlSuffix":{"description":"Optional path suffix appended to the remote URL for this registry. For Python upstreams this overrides the default `/simple` path used for PyPI-compatible indexes. Leading and trailing slashes are normalized away.\n","type":"string"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"source":{"$ref":"#/components/schemas/UpstreamSourceV3"},"url":{"description":"Remote URL of the upstream. Required when source is CUSTOM.","type":"string"}},"required":["authType"],"type":"object"},"UpstreamAuthV3":{"description":"Upstream credentials. The variant is selected by the sibling authType field rather than by a property on this object, so there is no discriminator here. Omit this object entirely when authType is ANONYMOUS.\n","oneOf":[{"$ref":"#/components/schemas/UpstreamAuthUserPasswordV3"},{"$ref":"#/components/schemas/UpstreamAuthAccessKeySecretKeyV3"},{"$ref":"#/components/schemas/UpstreamAuthBearerTokenV3"}]},"UpstreamAuthUserPasswordV3":{"description":"Username plus a password held in a Harness secret. Used when authType is USER_PASSWORD.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the password. This is a Harness platform secret, addressed by identifier and scope across all of Harness, so it is not a UUID.\n","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"],"type":"object"},"UpstreamAuthAccessKeySecretKeyV3":{"description":"Access key and secret key pair. Used when authType is ACCESS_KEY_SECRET_KEY.","properties":{"accessKey":{"description":"Plaintext access key. Mutually exclusive with accessKeySecretIdentifier.","type":"string"},"accessKeySecretIdentifier":{"description":"Identifier of the Harness secret holding the access key.","type":"string"},"accessKeySecretSpaceId":{"format":"int64","type":"integer"},"accessKeySecretSpacePath":{"type":"string"},"secretKeyIdentifier":{"description":"Identifier of the Harness secret holding the secret key.","type":"string"},"secretKeySpaceId":{"format":"int64","type":"integer"},"secretKeySpacePath":{"type":"string"}},"required":["secretKeyIdentifier"],"type":"object"},"UpstreamAuthBearerTokenV3":{"description":"Bearer token held in a Harness secret. Used when authType is BEARER_TOKEN.","properties":{"secretIdentifier":{"description":"Identifier of the Harness secret holding the bearer token.","type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"}},"type":"object"},"UpstreamAuthTypeV3":{"description":"Authentication scheme used against the upstream. Known values include: USER_PASSWORD, ACCESS_KEY_SECRET_KEY, BEARER_TOKEN, ANONYMOUS. This field is extensible; clients must handle unknown values. ANONYMOUS takes no auth object.\n","type":"string"},"FirewallModeV3":{"description":"Firewall mode","enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"SigningConfigV3":{"description":"Repository metadata signing configuration, e.g. GPG signing for Debian packages.","properties":{"keyId":{"description":"UUID of the signing key to use. The key must be ACTIVE and belong to the same account, org and project as the registry.\n","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether metadata signing is enabled for this registry.","type":"boolean"}},"required":["signingEnabled"],"type":"object"},"UpstreamSourceV3":{"description":"Well-known upstream this proxy points at. Known values include: DOCKERHUB, CUSTOM, AWS_ECR, MAVEN_CENTRAL, PYPI, NPMJS, NUGET_ORG, CRATES, RUBYGEMS, GO_PROXY, HUGGING_FACE, ANACONDA, PUBDEV, PACKAGIST, PUPPET_FORGE, HELM_CHART_REPO, CONAN_CENTER, TERRAFORM_REGISTRY, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values. Use CUSTOM together with url for anything else.\n","type":"string"}}}}
```

## The UpstreamProxyConfigFirewallMode object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamProxyConfigFirewallMode":{"description":"Firewall mode applied to an upstream proxy.","enum":["ALLOW","ENABLED","QUARANTINE"],"type":"string"}}}}
```

## The UpstreamSourceV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UpstreamSourceV3":{"description":"Well-known upstream this proxy points at. Known values include: DOCKERHUB, CUSTOM, AWS_ECR, MAVEN_CENTRAL, PYPI, NPMJS, NUGET_ORG, CRATES, RUBYGEMS, GO_PROXY, HUGGING_FACE, ANACONDA, PUBDEV, PACKAGIST, PUPPET_FORGE, HELM_CHART_REPO, CONAN_CENTER, TERRAFORM_REGISTRY, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values. Use CUSTOM together with url for anything else.\n","type":"string"}}}}
```

## The UserInfo object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UserInfo":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"}}}}
```

## The UserInfoV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"}}}}
```

## The UserPassword object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UserPassword":{"properties":{"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"userName":{"type":"string"}},"required":["userName"]}}}}
```

## The UsererrorError object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"UsererrorError":{"properties":{"message":{"type":"string"},"values":{"additionalProperties":{},"type":"object"}},"type":"object"}}}}
```

## The VersionDeploymentV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VersionDeploymentV3":{"description":"A single Harness CD deployment record for a version.","properties":{"envIdentifier":{"type":"string"},"envName":{"type":"string"},"envType":{"description":"Environment type. Allowed values: `PRODUCTION`, `PRE_PRODUCTION`.\n","enum":["PRODUCTION","PRE_PRODUCTION"],"type":"string"},"infraIdentifier":{"type":"string"},"infraName":{"type":"string"},"instanceCount":{"description":"Number of running instances for this service + environment combination.","format":"int32","type":"integer"},"lastDeployedAt":{"description":"Unix timestamp in milliseconds of the last deployment.","format":"int64","nullable":true,"type":"integer"},"lastDeployedBy":{"$ref":"#/components/schemas/UserInfoV3"},"orgIdentifier":{"type":"string"},"pipelineExecutionId":{"type":"string"},"pipelineExecutionName":{"type":"string"},"projectIdentifier":{"type":"string"},"serviceIdentifier":{"type":"string"},"serviceName":{"type":"string"}},"required":["orgIdentifier","projectIdentifier","serviceIdentifier","serviceName","envIdentifier","envName","envType","instanceCount"],"type":"object"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"}}}}
```

## The VersionMetadata object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VersionMetadata":{"description":"Version Metadata","properties":{"artifactKey":{"additionalProperties":true,"type":"object"},"artifactType":{"$ref":"#/components/schemas/ArtifactType"},"deletedAt":{"description":"Timestamp in milliseconds when the registry was soft-deleted","type":"string"},"deletedBy":{"$ref":"#/components/schemas/PerformedBy"},"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadata"},"digestCount":{"format":"int64","type":"integer"},"downloadsCount":{"format":"int64","type":"integer"},"fileCount":{"type":"integer"},"firewallMode":{"enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"isQuarantined":{"type":"boolean"},"lastModified":{"type":"string"},"lastScannedAt":{"type":"string"},"metadata":{"$ref":"#/components/schemas/ArtifactEntityMetadata"},"package":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageType"},"pullCommand":{"type":"string"},"purl":{"description":"Package URL (PURL) for this artifact version when supported for the package type.","type":"string"},"quarantineReason":{"type":"string"},"registryIdentifier":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryType"},"registryUUID":{"type":"string"},"scanId":{"type":"string"},"scanStatus":{"enum":["WARN","BLOCKED","ALLOWED"],"type":"string"},"size":{"type":"string"},"uuid":{"type":"string"},"version":{"type":"string"}},"required":["package","registryIdentifier","version","packageType","lastModified","uuid","registryUUID"],"type":"object"},"ArtifactType":{"description":"refers to artifact type","enum":["model","dataset","module","provider"],"type":"string"},"PerformedBy":{"description":"Principal who performed the relevant action","properties":{"email":{"type":"string"},"name":{"type":"string"}},"required":["name","email"],"type":"object"},"DeploymentMetadata":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"ArtifactEntityMetadata":{"additionalProperties":true,"description":"Artifact Entity Metadata","type":"object"},"PackageType":{"description":"refers to package","enum":["DOCKER","MAVEN","PYTHON","GENERIC","HELM","NUGET","NPM","RPM","CARGO","COMPOSER","GO","HUGGINGFACE","CONDA","DART","SWIFT","PUPPET","RUBY","CRAN","WOLFI","ALPINE","RAW","HELM_HTTP","DEBIAN","CONAN","TERRAFORM","TERRAFORM_BACKEND"],"type":"string"},"RegistryType":{"description":"refers to type of registry i.e virtual or upstream","discriminator":{"propertyName":"type"},"enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The VersionStatsV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VersionStatsV3":{"description":"Statistics for a single version","properties":{"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadataV3"},"digestCount":{"description":"Number of digests/manifests in the version (for OCI artifacts with manifest lists)","type":"integer"},"downloadCount":{"description":"Total download count for the version","format":"int64","type":"integer"},"fileCount":{"description":"Number of files in the version","type":"integer"},"firewallMode":{"$ref":"#/components/schemas/FirewallModeV3"},"id":{"description":"Version UUID","format":"uuid","type":"string"},"lastScannedAt":{"type":"string"},"scanID":{"description":"Scan ID for the version","format":"uuid","type":"string"},"scanStatus":{"$ref":"#/components/schemas/ScanStatusV3"},"size":{"description":"Total size of the version (human-readable format)","type":"string"},"vulnerabilityMetadata":{"$ref":"#/components/schemas/VulnerabilityMetadataV3"}},"required":["id"],"type":"object"},"DeploymentMetadataV3":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"FirewallModeV3":{"description":"Firewall mode","enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"ScanStatusV3":{"description":"Status of an artifact scan evaluation.","enum":["ALLOWED","BLOCKED","WARN","UNKNOWN"],"type":"string"},"VulnerabilityMetadataV3":{"description":"OSS vulnerability metadata for a version from component service","properties":{"abandoned":{"type":"boolean"},"criticalVulnerabilities":{"type":"integer"},"highVulnerabilities":{"type":"integer"},"infoVulnerabilities":{"type":"integer"},"isMalicious":{"type":"boolean"},"lowVulnerabilities":{"type":"integer"},"mediumVulnerabilities":{"type":"integer"},"ossRiskLevel":{"type":"string"},"purl":{"description":"Package URL (PURL) identifying the package version","type":"string"},"totalVulnerabilities":{"type":"integer"}},"type":"object"}}}}
```

## The VersionV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VersionV3":{"description":"Version metadata","properties":{"artifactKey":{"additionalProperties":true,"type":"object"},"createdAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"createdBy":{"$ref":"#/components/schemas/UserInfoV3"},"deletedAt":{"$ref":"#/components/schemas/DeletedAtMsV3"},"deletedBy":{"$ref":"#/components/schemas/UserInfoV3"},"id":{"format":"uuid","type":"string"},"isQuarantined":{"type":"boolean"},"metadata":{"$ref":"#/components/schemas/ResourceMetadataV3"},"modifiedAt":{"$ref":"#/components/schemas/ModifiedAtMsV3"},"modifiedBy":{"$ref":"#/components/schemas/UserInfoV3"},"name":{"type":"string"},"orgIdentifier":{"$ref":"#/components/schemas/orgIdentifier"},"packageId":{"format":"uuid","type":"string"},"packageKind":{"$ref":"#/components/schemas/PackageKindV3"},"packageName":{"type":"string"},"packageType":{"$ref":"#/components/schemas/PackageTypeV3"},"projectIdentifier":{"$ref":"#/components/schemas/projectIdentifier"},"pullCommand":{"type":"string"},"pushedBy":{"$ref":"#/components/schemas/UserInfoV3"},"quarantineReason":{"type":"string"},"registryId":{"format":"uuid","type":"string"},"registryName":{"type":"string"},"registryType":{"$ref":"#/components/schemas/RegistryTypeV3"}},"required":["id","name","packageType","registryId","registryName","packageId","packageName","registryType"],"type":"object"},"ModifiedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was last modified","format":"int64","nullable":true,"type":"integer"},"UserInfoV3":{"description":"Structured user information for a principal","properties":{"display_name":{"description":"Human-readable display name","type":"string"},"email":{"description":"Email address","type":"string"},"type":{"description":"Principal type (user, service, service_account)","type":"string"},"uid":{"description":"Principal unique identifier (username)","type":"string"}},"type":"object"},"DeletedAtMsV3":{"description":"Unix timestamp in milliseconds when the resource was soft-deleted","format":"int64","nullable":true,"type":"integer"},"ResourceMetadataV3":{"additionalProperties":true,"description":"Resource Metadata","type":"object"},"orgIdentifier":{"type":"string"},"PackageKindV3":{"description":"refers to package kind which is being used in huggingface packages for model, dataset and terraform packages for module, provider","type":"string"},"PackageTypeV3":{"description":"Package type. Known values include: DOCKER, MAVEN, PYTHON, GENERIC, HELM, HELM_HTTP, NUGET, NPM, RPM, CARGO, COMPOSER, GO, HUGGINGFACE, CONDA, DART, SWIFT, PUPPET, RUBY, RAW, DEBIAN, CONAN, TERRAFORM, TERRAFORM_BACKEND, CRAN, WOLFI, ALPINE. This field is extensible; clients must handle unknown values.\n","type":"string"},"projectIdentifier":{"type":"string"},"RegistryTypeV3":{"description":"refers to type of registry i.e virtual or upstream","enum":["VIRTUAL","UPSTREAM"],"type":"string"}}}}
```

## The VersionsStatsRequestInputV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VersionsStatsRequestInputV3":{"description":"Request input for fetching version statistics","properties":{"versionIds":{"description":"List of version UUIDs to fetch statistics for","items":{"format":"uuid","type":"string"},"maxItems":100,"type":"array"}},"required":["versionIds"],"type":"object"}}}}
```

## The VersionsStatsResponseBodyV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VersionsStatsResponseBodyV3":{"description":"Response body containing version statistics","properties":{"items":{"description":"List of version statistics","items":{"$ref":"#/components/schemas/VersionStatsV3"},"type":"array"}},"required":["items"],"type":"object"},"VersionStatsV3":{"description":"Statistics for a single version","properties":{"deploymentMetadata":{"$ref":"#/components/schemas/DeploymentMetadataV3"},"digestCount":{"description":"Number of digests/manifests in the version (for OCI artifacts with manifest lists)","type":"integer"},"downloadCount":{"description":"Total download count for the version","format":"int64","type":"integer"},"fileCount":{"description":"Number of files in the version","type":"integer"},"firewallMode":{"$ref":"#/components/schemas/FirewallModeV3"},"id":{"description":"Version UUID","format":"uuid","type":"string"},"lastScannedAt":{"type":"string"},"scanID":{"description":"Scan ID for the version","format":"uuid","type":"string"},"scanStatus":{"$ref":"#/components/schemas/ScanStatusV3"},"size":{"description":"Total size of the version (human-readable format)","type":"string"},"vulnerabilityMetadata":{"$ref":"#/components/schemas/VulnerabilityMetadataV3"}},"required":["id"],"type":"object"},"DeploymentMetadataV3":{"properties":{"nonProdEnvCount":{"type":"integer"},"prodEnvCount":{"type":"integer"}},"required":["prodEnvCount","nonProdEnvCount"],"type":"object"},"FirewallModeV3":{"description":"Firewall mode","enum":["ENABLED","QUARANTINE","ALLOW"],"type":"string"},"ScanStatusV3":{"description":"Status of an artifact scan evaluation.","enum":["ALLOWED","BLOCKED","WARN","UNKNOWN"],"type":"string"},"VulnerabilityMetadataV3":{"description":"OSS vulnerability metadata for a version from component service","properties":{"abandoned":{"type":"boolean"},"criticalVulnerabilities":{"type":"integer"},"highVulnerabilities":{"type":"integer"},"infoVulnerabilities":{"type":"integer"},"isMalicious":{"type":"boolean"},"lowVulnerabilities":{"type":"integer"},"mediumVulnerabilities":{"type":"integer"},"ossRiskLevel":{"type":"string"},"purl":{"description":"Package URL (PURL) identifying the package version","type":"string"},"totalVulnerabilities":{"type":"integer"}},"type":"object"}}}}
```

## The VirtualConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VirtualConfig":{"description":"Configuration for Harness Virtual Artifact Registries","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfig"},"signingConfig":{"$ref":"#/components/schemas/SigningConfig"},"upstreamProxies":{"items":{"type":"string"},"type":"array"}},"type":"object"},"DebianConfig":{"description":"Debian-specific configuration, applicable only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Optional additional compression formats to generate for index/metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked remote (upstream) registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfig":{"description":"Configuration for repository metadata signing (e.g., GPG signing for Debian packages)","properties":{"keyId":{"description":"UUID of the signing key to use (must be ACTIVE and belong to same account/org/project)","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether signing is enabled for this registry","type":"boolean"}},"required":["signingEnabled"],"type":"object"}}}}
```

## The VirtualConfigV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VirtualConfigV3":{"description":"Configuration for a virtual registry.","properties":{"debianConfig":{"$ref":"#/components/schemas/DebianConfigV3"},"signingConfig":{"$ref":"#/components/schemas/SigningConfigV3"},"upstreamProxies":{"description":"UUIDs of the upstream proxy registries this virtual registry resolves through, in resolution order. Note that v1 accepts upstream proxy *names* here; v3 uses UUIDs per the id-over-identifier rule.\n","items":{"format":"uuid","type":"string"},"type":"array"}},"type":"object"},"DebianConfigV3":{"description":"Debian-specific configuration. Applies only when packageType is DEBIAN.","properties":{"optionalIndexCompressionFormats":{"description":"Additional compression formats to generate for index and metadata files.","items":{"enum":[".xz"],"type":"string"},"type":"array"},"remoteIndexedArchitectures":{"default":["amd64","i386","arm64"],"description":"Architectures to index when building metadata from linked upstream registries.","items":{"type":"string"},"type":"array"}},"type":"object"},"SigningConfigV3":{"description":"Repository metadata signing configuration, e.g. GPG signing for Debian packages.","properties":{"keyId":{"description":"UUID of the signing key to use. The key must be ACTIVE and belong to the same account, org and project as the registry.\n","format":"uuid","nullable":true,"type":"string"},"signingEnabled":{"default":false,"description":"Whether metadata signing is enabled for this registry.","type":"boolean"}},"required":["signingEnabled"],"type":"object"}}}}
```

## The VulnerabilityMetadataV3 object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"VulnerabilityMetadataV3":{"description":"OSS vulnerability metadata for a version from component service","properties":{"abandoned":{"type":"boolean"},"criticalVulnerabilities":{"type":"integer"},"highVulnerabilities":{"type":"integer"},"infoVulnerabilities":{"type":"integer"},"isMalicious":{"type":"boolean"},"lowVulnerabilities":{"type":"integer"},"mediumVulnerabilities":{"type":"integer"},"ossRiskLevel":{"type":"string"},"purl":{"description":"Package URL (PURL) identifying the package version","type":"string"},"totalVulnerabilities":{"type":"integer"}},"type":"object"}}}}
```

## The Webhook object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"Webhook":{"description":"Harness Regstries Webhook","properties":{"createdAt":{"type":"string"},"createdBy":{"format":"int64","type":"integer"},"description":{"type":"string"},"enabled":{"type":"boolean"},"extraHeaders":{"items":{"$ref":"#/components/schemas/ExtraHeader"},"type":"array"},"identifier":{"type":"string"},"insecure":{"type":"boolean"},"internal":{"type":"boolean"},"latestExecutionResult":{"$ref":"#/components/schemas/WebhookExecResult"},"modifiedAt":{"type":"string"},"name":{"type":"string"},"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"triggers":{"items":{"$ref":"#/components/schemas/Trigger"},"type":"array"},"url":{"type":"string"},"version":{"format":"int64","type":"integer"}},"required":["identifier","url","name","enabled","insecure"],"type":"object"},"ExtraHeader":{"description":"Webhook Extra Header","properties":{"key":{"type":"string"},"masked":{"default":false,"type":"boolean"},"value":{"type":"string"}},"required":["key","value"],"type":"object"},"WebhookExecResult":{"description":"refers to webhook execution","enum":["SUCCESS","RETRIABLE_ERROR","FATAL_ERROR"],"type":"string"},"Trigger":{"description":"refers to trigger","enum":["ARTIFACT_CREATION","ARTIFACT_DELETION"],"type":"string"}}}}
```

## The WebhookExecRequest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"WebhookExecRequest":{"description":"Harness Regstries HTTP Webhook Request","properties":{"body":{"type":"string"},"headers":{"type":"string"},"url":{"type":"string"}},"type":"object"}}}}
```

## The WebhookExecResponse object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"WebhookExecResponse":{"description":"Harness Regstries HTTP Webhook Response","properties":{"body":{"type":"string"},"headers":{"type":"string"},"status":{"type":"string"},"statusCode":{"type":"integer"}},"type":"object"}}}}
```

## The WebhookExecResult object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"WebhookExecResult":{"description":"refers to webhook execution","enum":["SUCCESS","RETRIABLE_ERROR","FATAL_ERROR"],"type":"string"}}}}
```

## The WebhookExecution object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"WebhookExecution":{"description":"Harness Regstries Webhook Execution","properties":{"created":{"format":"int64","type":"integer"},"duration":{"format":"int64","type":"integer"},"error":{"type":"string"},"id":{"format":"int64","type":"integer"},"request":{"$ref":"#/components/schemas/WebhookExecRequest"},"response":{"$ref":"#/components/schemas/WebhookExecResponse"},"result":{"$ref":"#/components/schemas/WebhookExecResult"},"retriggerOf":{"format":"int64","type":"integer"},"retriggerable":{"type":"boolean"},"triggerType":{"$ref":"#/components/schemas/Trigger"},"webhookId":{"format":"int64","type":"integer"}},"type":"object"},"WebhookExecRequest":{"description":"Harness Regstries HTTP Webhook Request","properties":{"body":{"type":"string"},"headers":{"type":"string"},"url":{"type":"string"}},"type":"object"},"WebhookExecResponse":{"description":"Harness Regstries HTTP Webhook Response","properties":{"body":{"type":"string"},"headers":{"type":"string"},"status":{"type":"string"},"statusCode":{"type":"integer"}},"type":"object"},"WebhookExecResult":{"description":"refers to webhook execution","enum":["SUCCESS","RETRIABLE_ERROR","FATAL_ERROR"],"type":"string"},"Trigger":{"description":"refers to trigger","enum":["ARTIFACT_CREATION","ARTIFACT_DELETION"],"type":"string"}}}}
```

## The WebhookRequest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"WebhookRequest":{"properties":{"description":{"type":"string"},"enabled":{"type":"boolean"},"extraHeaders":{"items":{"$ref":"#/components/schemas/ExtraHeader"},"type":"array"},"identifier":{"type":"string"},"insecure":{"type":"boolean"},"name":{"type":"string"},"secretIdentifier":{"type":"string"},"secretSpaceId":{"format":"int64","type":"integer"},"secretSpacePath":{"type":"string"},"triggers":{"items":{"$ref":"#/components/schemas/Trigger"},"type":"array"},"url":{"type":"string"}},"required":["insecure","enabled","identifier","url","name"],"type":"object"},"ExtraHeader":{"description":"Webhook Extra Header","properties":{"key":{"type":"string"},"masked":{"default":false,"type":"boolean"},"value":{"type":"string"}},"required":["key","value"],"type":"object"},"Trigger":{"description":"refers to trigger","enum":["ARTIFACT_CREATION","ARTIFACT_DELETION"],"type":"string"}}}}
```

## The WolfiArtifactDetailConfig object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"WolfiArtifactDetailConfig":{"description":"Config for Wolfi (APK) artifact details.","properties":{"metadata":{"additionalProperties":true,"type":"object"}},"type":"object"}}}}
```

## The orgIdentifier object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"orgIdentifier":{"type":"string"}}}}
```

## The projectIdentifier object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"projectIdentifier":{"type":"string"}}}}
```

## The quarantinePath object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"quarantinePath":{"description":"quarantine path","properties":{"artifactId":{"format":"int64","type":"integer"},"filePath":{"type":"string"},"id":{"type":"string"},"reason":{"type":"string"},"registryId":{"format":"int64","type":"integer"},"versionId":{"format":"int64","type":"integer"}},"required":["id","registryId","artifactId","reason"],"type":"object"}}}}
```

## The quarantineRequest object

```json
{"openapi":"3.0.0","info":{"title":"Harness Artifact Registry API","version":"1.0.0"},"components":{"schemas":{"quarantineRequest":{"properties":{"artifact":{"type":"string"},"artifactKeyFilters":{"additionalProperties":{"type":"string"},"type":"object"},"artifactType":{"type":"string"},"filePath":{"type":"string"},"reason":{"type":"string"},"version":{"type":"string"}},"required":["artifact","reason"],"type":"object"}}}}
```
