Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Humanitec Agents API

An object containing the details of an Agent.

Humanitec Agents API is one of 45 APIs that Humanitec publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Agents. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, and authentication docs.

This API exposes 7 operations across 4 paths, and defines 6 schemas. It is described by OpenAPI 3.0.0, at version 0.28.24.

Requests are made against a single base URL, https://api.humanitec.io/.

7 operations 4 paths 6 schemas 2 DELETE2 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
0.28.24
Base URL
https://api.humanitec.io
Resource Areas
1

Paths & Operations 7

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

Agents 7

An object containing the details of an Agent.

POST
/orgs/{orgId}/agents
Register a new Agent under an Organization.
createAgent 1 param body → 200400409
GET
/orgs/{orgId}/agents
List all the agents in an Organization.
listAgents 2 params → 200
DELETE
/orgs/{orgId}/agents/{agentId}
Delete an Agent (and its keys) stored under an Organization.
deleteAgent 2 params → 204404
PATCH
/orgs/{orgId}/agents/{agentId}
Update the description of an Agent.
patchAgent 2 params body → 200400404
GET
/orgs/{orgId}/agents/{agentId}/keys
List all the keys registered under an Agent in an Organization.
listKeysInAgent 2 params → 200404
POST
/orgs/{orgId}/agents/{agentId}/keys
Register a new Key under an Agent in an Organization.
createKey 2 params body → 200400404409
DELETE
/orgs/{orgId}/agents/{agentId}/keys/{fingerprint}
Delete a key registered under a Agent.
deleteKeyInAgent 3 params → 204404

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Key (6 properties), Agent (4 properties), AgentCreateBody (3 properties), HumanitecErrorResponse (3 properties). Each schema is shown below with its type and property counts.

KeyCreateBody
object
1 property 1 required
HumanitecErrorResponse
object
HumanitecError represents a standard Humanitec Error
3 properties 2 required
AgentPatchBody
object
An object containing data to update the description field of an Agent.
1 property 1 required
Key
object
An object containing the details of a Key.
6 properties 6 required
AgentCreateBody
object
An object containing data needed to register an Agent.
3 properties 2 required
Agent
object
An object containing the details of an Agent.
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

humanitec-agents-api-openapi.yml Raw ↑

Other APIs Humanitec publishes across the network.

Humanitec AccountType API
Humanitec ActiveResource API
Humanitec Application API
Humanitec Artefact API
Humanitec ArtefactVersion API
Humanitec AuditLogs API
Humanitec AutomationRule API
Humanitec Delta API
Humanitec Deployment API
Humanitec DriverDefinition API
Humanitec Environment API
Humanitec EnvironmentPausedInfo API