Harness Infrastructures API is one of 488 APIs that Harness publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Infrastructures. 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
8 operations
across 5 paths,
and defines 130 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}.
8 operations5 paths130 schemas1 DELETE2 GET3 POST2 PUT
Metadata
The identity and technical contract details declared by the specification.
Harness Infrastructures 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 8
Across 5 paths, the API surfaces 8 operations — 1 DELETE, 2 GET, 3 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.
Infrastructures 8
This contains APIs related to Infrastructure Definitions
GET
/ng/api/infrastructures
Gets Infrastructure list
getInfrastructureList13 params→ 400500default
PUT
/ng/api/infrastructures
Update an Infrastructure by identifier
updateInfrastructure1 parambody→ 400500default
POST
/ng/api/infrastructures
Create an Infrastructure in an Environment
createInfrastructure1 parambody→ 400500default
GET
/ng/api/infrastructures/{infraIdentifier}
Gets an Infrastructure by identifier
getInfrastructure6 params→ 400500default
DELETE
/ng/api/infrastructures/{infraIdentifier}
Delete an Infrastructure by identifier
deleteInfrastructure6 params→ 400500default
POST
/ng/api/infrastructures/import
Import and Create Infrastructure from Git Repository
The contract defines 130 schemas that model the data the API accepts and returns. The most detailed are FileOptions (44 properties), FileOptionsOrBuilder (40 properties), FileDescriptorProto (38 properties), TemplateDescriptorProto (36 properties). Each schema is shown below with its type and property counts.
GovernanceMetadata2
object
GovernanceMetadata for OPA evaluation
33 properties
ParserMessageLite
object
UninterpretedOption
object
20 properties
FieldDescriptor
object
26 properties
ParserLocation
object
FieldOptionsOrBuilder
object
27 properties
EnumValueDescriptorProtoOrBuilder
object
11 properties
PolicySetMetadataOrBuilder
object
27 properties
ParserEnumValueDescriptorProto
object
Error1
object
This is Error entity as defined in Harness
7 properties
DescriptorProtoOrBuilder
object
31 properties
ParserFieldDescriptorProto
object
CvDescriptorProto
object
36 properties
Location
object
19 properties
FeatureSupport
object
14 properties
ParserPolicyMetadata
object
ParserFeatureSupport
object
ExtensionRangeOrBuilder
object
10 properties
MessageOptionsOrBuilder
object
16 properties
TemplateDescriptorProtoOrBuilder
object
32 properties
OneofOptionsOrBuilder
object
11 properties
FieldDescriptorProtoOrBuilder
object
23 properties
InfrastructureGitUpdateResponse
object
Contains info about infrastructure that is updated.
1 property
ReservedRangeOrBuilder
object
8 properties
CvDescriptor
object
14 properties
ExtensionRange
object
13 properties
ParserFileDescriptorProto
object
InfrastructureResponseDTO
object
This is the InfrastructureResponseDTO entity defined in Harness
11 properties
FileOptions
object
44 properties
CvPolicyMetadata
object
31 properties
InfrastructureImportResponse
object
Contains info about infrastructure that is imported.
2 properties
OneofDescriptor
object
9 properties
ParserPolicySetMetadata
object
NamePart
object
12 properties
ParserReservedRange
object
ParserEnumOptions
object
ParserEditionDefault
object
ServiceOptionsOrBuilder
object
12 properties
ServiceDescriptorProto
object
16 properties
ParserMethodDescriptorProto
object
ParserOneofDescriptorProto
object
ParserMessageOptions
object
InfrastructureResponse1
object
6 properties
DeclarationOrBuilder
object
13 properties
ServiceOptions
object
16 properties
UninterpretedOptionOrBuilder
object
17 properties
OneofOptions
object
15 properties
ServiceDescriptor
object
7 properties
ParserExtensionRange
object
ParserUninterpretedOption
object
ParserFieldOptions
object
ResponseMessage
object
7 properties
FeatureSetOrBuilder
object
12 properties
ParserServiceOptions
object
Descriptor
object
14 properties
MethodDescriptor
object
11 properties
ParserOneofOptions
object
SourceCodeInfo
object
13 properties
ResponseDTOInfraMoveConfigResponse
object
4 properties
LocationOrBuilder
object
16 properties
FieldDescriptorProto
object
26 properties
ParserDescriptorProto
object
OneofDescriptorProto
object
13 properties
EditionDefaultOrBuilder
object
9 properties
InfraMoveConfigResponse
object
Tells us if the infra move config operation was successful or not
2 properties
EnumReservedRangeOrBuilder
object
8 properties
FileDescriptorProto
object
38 properties
ResponseDTOInfrastructureResponse
object
4 properties
ParserMethodOptions
object
ParserExtensionRangeOptions
object
ResponseDTOPageResponseInfrastructureResponse
object
4 properties
ParserServiceDescriptorProto
object
ServiceDescriptorProtoOrBuilder
object
13 properties
Message
object
8 properties
ParserFeatureSet
object
MethodDescriptorProtoOrBuilder
object
16 properties
ByteString
object
2 properties
ParserMessage
object
ResponseDTOBoolean
object
4 properties
EnumOptionsOrBuilder
object
14 properties
EnumDescriptorProto
object
21 properties
ParserSourceCodeInfo
object
MethodOptionsOrBuilder
object
13 properties
PolicyMetadata1
object
31 properties
EnumValueDescriptorProto
object
14 properties
ParserEnumValueOptions
object
ParserEnumDescriptorProto
object
UnknownFieldSet
object
6 properties
EnumValueOptions
object
19 properties
MethodDescriptorProto
object
19 properties
TemplateDescriptorProto
object
36 properties
FeatureSet
object
16 properties
EnumValueDescriptor
object
8 properties
PolicySetMetadata1
object
30 properties
ExtensionRangeOptions
object
19 properties
ParserDeclaration
object
ParserGovernanceMetadata
object
ResponseDTOInfrastructureGitUpdateResponse
object
4 properties
EnumDescriptorProtoOrBuilder
object
18 properties
FeatureSupportOrBuilder
object
11 properties
OpaOnSaveStatus
object
OPA onSave governance status for a remote CD entity; present when evaluated
9 properties
EnumOptions
object
18 properties
EnumValueOptionsOrBuilder
object
15 properties
EditionDefault
object
12 properties
FileDescriptor
object
12 properties
ValidationError
object
2 properties
OneofDescriptorProtoOrBuilder
object
10 properties
MessageOptions
object
20 properties
FileOptionsOrBuilder
object
40 properties
ParserFileOptions
object
ResponseDTOInfrastructureImportResponse
object
4 properties
ParserEnumReservedRange
object
ParserNamePart
object
NamePartOrBuilder
object
9 properties
CvDeclaration
object
16 properties
ExtensionRangeOptionsOrBuilder
object
15 properties
Failure
object
This is Failure entity as defied in Harness
5 properties
MethodOptions
object
17 properties
MessageLite
object
4 properties
FieldOptions
object
31 properties
EnumReservedRange
object
11 properties
PageResponseInfrastructureResponse
object
8 properties
ReservedRange
object
11 properties
EnumDescriptor
object
9 properties
ErrorMetadata2
object
This implements different error meta data objects
1 property
InfrastructureRequest
object
This is the InfrastructureRequest entity defined in Harness
9 properties1 required
SourceCodeInfoOrBuilder
object
9 properties
Parser
object
PolicyMetadataOrBuilder
object
28 properties
EntityGitDetails1
object
This contains Validity Details of the Entity
2 properties
Specification
The full machine-readable OpenAPI contract behind this narrative.
Every API here is available over the API and to AI agents over MCP. APIs is not yet its own endpoint on the v1 API. Reach this content through network search and the tag graph, or the MCP server below.
Installs https://mcp.apievangelist.com/mcp in Claude, Cursor, VS Code and the rest — one button, every client.
MCP tools for apis
4 tools reach this content
search_api_evangelistSearch every content type across the network at once.
find_relatedThe shared-tag relevance graph — what else covers this.
get_tagEverything one tag labels, across all content types.
guide_topicPRO — a curated bundle for a topic: area, guidance, rules, papers, stories, services.
A second provider on the same verified email joins the account you already have.
Your account
ⓘWhere this information came from
This is an independent, third-party profile of Harness Infrastructures 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.