# GoHarbor Artifact API

**Canonical:** https://apis.io/apis/goharbor/goharbor-artifact-api/  
**Provider:** GoHarbor — https://apis.io/providers/goharbor/  
**Base URL:** https://{host}/api/v2.0  
**Documentation:** https://goharbor.io/docs/2.15.0/working-with-projects/using-api-explorer/

GoHarbor Artifact API is one of 38 APIs that [GoHarbor](https://apis.io/providers/goharbor/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Artifact. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The artifact API from GoHarbor — 9 operation(s) for artifact.

## Operations (12)

| Method | Path | Summary |
|---|---|---|
| GET | `/projects/{project_name}/repositories/{repository_name}/artifacts` | List artifacts |
| POST | `/projects/{project_name}/repositories/{repository_name}/artifacts` | Copy artifact |
| GET | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}` | Get the specific artifact |
| DELETE | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}` | Delete the specific artifact |
| POST | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags` | Create tag |
| GET | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags` | List tags |
| DELETE | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/tags/{tag_name}` | Delete tag |
| GET | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/accessories` | List accessories |
| GET | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/vulnerabilities` | Get the vulnerabilities addition of the specific artifact |
| GET | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/additions/{addition}` | Get the addition of the specific artifact |
| POST | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels` | Add label to artifact |
| DELETE | `/projects/{project_name}/repositories/{repository_name}/artifacts/{reference}/labels/{label_id}` | Remove label from artifact |

## Machine-readable artifacts (10)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/openapi/goharbor-artifact-api-openapi.yml
- **Documentation** — https://goharbor.io/docs/2.15.0/working-with-projects/using-api-explorer/
- **SourceCode** — https://github.com/goharbor/harbor
- **Documentation** — https://goharbor.io/docs/2.15.0/
- **APIReference** — https://goharbor.io/docs/2.15.0/working-with-projects/using-api-explorer/
- **DataModel** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/data-model/goharbor-data-model.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/errors/goharbor-problem-types.yml
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/goharbor/refs/heads/main/asyncapi/goharbor-webhooks.yml
- **Documentation** — https://goharbor.io/docs/2.15.0/administration/vulnerability-scanning/
- **SourceCode** — https://github.com/goharbor/pluggable-scanner-spec

## Other GoHarbor APIs (12)

- [GoHarbor Health API](https://apis.io/apis/goharbor/goharbor-health-api/)
- [GoHarbor Replication API](https://apis.io/apis/goharbor/goharbor-replication-api/)
- [GoHarbor Scan API](https://apis.io/apis/goharbor/goharbor-scan-api/)
- [GoHarbor Search API](https://apis.io/apis/goharbor/goharbor-search-api/)
- [GoHarbor Configure API](https://apis.io/apis/goharbor/goharbor-configure-api/)
- [GoHarbor Gc API](https://apis.io/apis/goharbor/goharbor-gc-api/)
- [GoHarbor Icon API](https://apis.io/apis/goharbor/goharbor-icon-api/)
- [GoHarbor Immutable API](https://apis.io/apis/goharbor/goharbor-immutable-api/)
- [GoHarbor Label API](https://apis.io/apis/goharbor/goharbor-label-api/)
- [GoHarbor Ldap API](https://apis.io/apis/goharbor/goharbor-ldap-api/)
- [GoHarbor Member API](https://apis.io/apis/goharbor/goharbor-member-api/)
- [GoHarbor Oidc API](https://apis.io/apis/goharbor/goharbor-oidc-api/)

## Tags

Artifact

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/goharbor/goharbor-artifact-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/goharbor/.
