# Harness Spaces API

**Canonical:** https://apis.io/apis/harness/harness-spaces-api/  
**Provider:** Harness — https://apis.io/providers/harness/  
**Base URL:** https://app.harness.io  
**Documentation:** https://apidocs.harness.io

Harness Spaces API is one of 488 APIs that [Harness](https://apis.io/providers/harness/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Space. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

The Spaces API from Harness — 8 operation(s) for spaces.

## Operations (14)

| Method | Path | Summary |
|---|---|---|
| GET | `/har/api/v1/spaces/{space_ref}/artifact/stats` | Get artifact stats |
| GET | `/har/api/v1/spaces/{space_ref}/artifacts` | List artifacts |
| GET | `/har/api/v1/spaces/{space_ref}/details` | Get storage details for given space |
| GET | `/har/api/v1/spaces/{space_ref}/labels` | Registrylist space labels |
| POST | `/har/api/v1/spaces/{space_ref}/labels` | Registrydefine space label |
| PUT | `/har/api/v1/spaces/{space_ref}/labels` | Registrysave space label |
| DELETE | `/har/api/v1/spaces/{space_ref}/labels/{key}` | Registrydelete space label |
| GET | `/har/api/v1/spaces/{space_ref}/labels/{key}` | Find space label |
| PATCH | `/har/api/v1/spaces/{space_ref}/labels/{key}` | Registryupdate space label |
| GET | `/har/api/v1/spaces/{space_ref}/labels/{key}/values` | Registrylist space label values |
| POST | `/har/api/v1/spaces/{space_ref}/labels/{key}/values` | Registrydefine space label value |
| DELETE | `/har/api/v1/spaces/{space_ref}/labels/{key}/values/{value}` | Registrydelete space label value |
| PATCH | `/har/api/v1/spaces/{space_ref}/labels/{key}/values/{value}` | Registryupdate space label value |
| GET | `/har/api/v1/spaces/{space_ref}/registries` | List registries |

## Machine-readable artifacts (10)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/openapi/harness-spaces-api-openapi.yml
- **Documentation** — https://apidocs.harness.io
- **APIReference** — https://apidocs.harness.io
- **GettingStarted** — https://developer.harness.io/docs/platform/automation/api/api-quickstart/
- **Authentication** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/authentication/harness-authentication.yml
- **OAuthScopes** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/scopes/harness-scopes.yml
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/errors/harness-error-codes.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/conventions/harness-conventions.yml
- **Idempotency** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/conventions/harness-conventions.yml
- **RateLimits** — https://raw.githubusercontent.com/api-evangelist/harness/refs/heads/main/rate-limits/harness-rate-limits.yml

## Other Harness APIs (12)

- [Harness Continuous Integration API](https://apis.io/apis/harness/ci-api/)
- [Harness Continuous Delivery and GitOps API](https://apis.io/apis/harness/cd-api/)
- [Harness Feature Management and Experimentation API](https://apis.io/apis/harness/feature-flags-api/)
- [Harness Cloud Cost Management API](https://apis.io/apis/harness/ccm-api/)
- [Harness Chaos Engineering API](https://apis.io/apis/harness/chaos-api/)
- [Harness Security Testing Orchestration API](https://apis.io/apis/harness/sto-api/)
- [Harness Internal Developer Portal API](https://apis.io/apis/harness/idp-api/)
- [Harness Code Repository API](https://apis.io/apis/harness/code-repo-api/)
- [Harness Service Reliability Management API](https://apis.io/apis/harness/srm-api/)
- [Harness Infrastructure as Code Management API](https://apis.io/apis/harness/iacm-api/)
- [Harness Supply Chain Security API](https://apis.io/apis/harness/ssca-api/)
- [Harness Software Engineering Insights API](https://apis.io/apis/harness/sei-api/)

## Tags

Space

---

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