How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Harness Environment API

The environment service for working with Environment-type infrastructures

Harness Environment API is one of 488 APIs that Harness publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Environment. 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.

This API exposes 5 operations across 4 paths, and defines 20 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://app.harness.io, https://{vanity}.

5 operations 4 paths 20 schemas 1 DELETE1 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.harness.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Harness Environment API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (x-api-key). By default, every request must be authenticated.

  • x-api-key — API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.

Paths & Operations 5

Across 4 paths, the API surfaces 5 operations — 1 DELETE, 1 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Environment 5

The environment service for working with Environment-type infrastructures

POST
/v1/idp-environments
Create Compile And Execute Environment
create-compile-and-execute-environment 4 params body → 200
PUT
/v1/idp-environments/{environment-id}
Update Compile And Execute Environment
update-compile-and-execute-environment 4 params body → 200
DELETE
/v1/idp-environments/{environment-id}
Delete Environment
delete-environment1 4 params → 200
POST
/api/environments/compile
Compile Environment
Environment#Compile 1 param body → 200400404409500501
GET
/api/environments/schemas
Schemas Environment
Environment#Schemas 1 param body → 200400404409500501

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are EnvironmentProxyCreateRequest (12 properties), InfraInstance (6 properties), Steps (6 properties), EnvironmentProxyUpdateRequest (5 properties). Each schema is shown below with its type and property counts.

EnvironmentOverrides
object
2 properties 2 required
SchemasRequestBody
object
Scope for the request, including account, org and project.
2 properties
InterfaceInput
object
3 properties 1 required
EntityConfigOptions
object
2 properties 1 required
Infrastructure1
object
5 properties 2 required
CompileError
object
1 property 1 required
EntityOverrides
object
2 properties 1 required
EnvironmentProxyUpdateRequest
object
5 properties
InfraInstance
object
6 properties 1 required
Dependency
object
2 properties 1 required
EnvironmentConfigOptions
object
2 properties 2 required
Steps
object
6 properties 2 required
CompileResponseBody
object
4 properties 2 required
EnvironmentProxyCreateRequest
object
Information Environment to be created in catalog - environment name, identifier, owner, blueprint identifier, overrides
12 properties 6 required
Error
object
4 properties 2 required
State
object
1 property 1 required
Output
object
3 properties 1 required
SchemasResponseBody
object
2 properties 2 required
Implementation
object
3 properties 2 required
CompileRequestBody
object
Scope for the request, including account, org and project.
4 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-environment-api-openapi.yml Raw ↑

Other APIs Harness publishes across the network.

Harness Continuous Integration API
Harness Continuous Delivery and GitOps API
Harness Feature Management and Experimentation API
Harness Cloud Cost Management API
Harness Chaos Engineering API
Harness Security Testing Orchestration API
Harness Internal Developer Portal API
Harness Code Repository API
Harness Service Reliability Management API
Harness Infrastructure as Code Management API
Harness Supply Chain Security API
Harness Software Engineering Insights API
Where this information came from

This is an independent, third-party profile of Harness Environment API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.