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

HAProxy Log Target API

The LogTarget API from HAProxy — 12 operation(s) for logtarget.

HAProxy Log Target API is one of 68 APIs that HAProxy publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include LogTarget. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, a GitHub repository, and a changelog.

This API exposes 36 operations across 12 paths, and defines 3 schemas. It is described by OpenAPI 3.2.0, at version 3.4.

Requests are made against a single base URL, /v3.

36 operations 12 paths 3 schemas 6 DELETE12 GET6 POST12 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.4
Base URL
http://{haproxy-host}:5555/v3
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

HAProxy Log Target API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basic_auth). By default, every request must be authenticated.

Paths & Operations 36

Across 12 paths, the API surfaces 36 operations — 6 DELETE, 12 GET, 6 POST, 12 PUT. Each is listed below with its method, path, parameters, and response codes.

LogTarget 36
GET
/services/haproxy/configuration/global/log_targets
Return an array of all Log Targets
getAllLogTargetGlobal 1 param → 200default
PUT
/services/haproxy/configuration/global/log_targets
Replace a Log Target list
replaceAllLogTargetGlobal 3 params body → 200202400default
DELETE
/services/haproxy/configuration/global/log_targets/{index}
Delete a Log Target
deleteLogTargetGlobal 4 params → 202204404default
GET
/services/haproxy/configuration/global/log_targets/{index}
Return one Log Target
getLogTargetGlobal 2 params → 200404default
POST
/services/haproxy/configuration/global/log_targets/{index}
Add a new Log Target
createLogTargetGlobal 4 params body → 201202400409default
PUT
/services/haproxy/configuration/global/log_targets/{index}
Replace a Log Target
replaceLogTargetGlobal 4 params body → 200202400404default
GET
/services/haproxy/configuration/backends/{parent_name}/log_targets
Return an array of all Log Targets
getAllLogTargetBackend 2 params → 200default
PUT
/services/haproxy/configuration/backends/{parent_name}/log_targets
Replace a Log Target list
replaceAllLogTargetBackend 4 params body → 200202400default
GET
/services/haproxy/configuration/frontends/{parent_name}/log_targets
Return an array of all Log Targets
getAllLogTargetFrontend 2 params → 200default
PUT
/services/haproxy/configuration/frontends/{parent_name}/log_targets
Replace a Log Target list
replaceAllLogTargetFrontend 4 params body → 200202400default
GET
/services/haproxy/configuration/defaults/{parent_name}/log_targets
Return an array of all Log Targets
getAllLogTargetDefaults 2 params → 200default
PUT
/services/haproxy/configuration/defaults/{parent_name}/log_targets
Replace a Log Target list
replaceAllLogTargetDefaults 4 params body → 200202400default
GET
/services/haproxy/configuration/peers/{parent_name}/log_targets
Return an array of all Log Targets
getAllLogTargetPeer 2 params → 200default
PUT
/services/haproxy/configuration/peers/{parent_name}/log_targets
Replace a Log Target list
replaceAllLogTargetPeer 4 params body → 200202400default
GET
/services/haproxy/configuration/log_forwards/{parent_name}/log_targets
Return an array of all Log Targets
getAllLogTargetLogForward 2 params → 200default
PUT
/services/haproxy/configuration/log_forwards/{parent_name}/log_targets
Replace a Log Target list
replaceAllLogTargetLogForward 4 params body → 200202400default
DELETE
/services/haproxy/configuration/backends/{parent_name}/log_targets/{index}
Delete a Log Target
deleteLogTargetBackend 5 params → 202204404default
GET
/services/haproxy/configuration/backends/{parent_name}/log_targets/{index}
Return one Log Target
getLogTargetBackend 3 params → 200404default
POST
/services/haproxy/configuration/backends/{parent_name}/log_targets/{index}
Add a new Log Target
createLogTargetBackend 5 params body → 201202400409default
PUT
/services/haproxy/configuration/backends/{parent_name}/log_targets/{index}
Replace a Log Target
replaceLogTargetBackend 5 params body → 200202400404default
DELETE
/services/haproxy/configuration/frontends/{parent_name}/log_targets/{index}
Delete a Log Target
deleteLogTargetFrontend 5 params → 202204404default
GET
/services/haproxy/configuration/frontends/{parent_name}/log_targets/{index}
Return one Log Target
getLogTargetFrontend 3 params → 200404default
POST
/services/haproxy/configuration/frontends/{parent_name}/log_targets/{index}
Add a new Log Target
createLogTargetFrontend 5 params body → 201202400409default
PUT
/services/haproxy/configuration/frontends/{parent_name}/log_targets/{index}
Replace a Log Target
replaceLogTargetFrontend 5 params body → 200202400404default
DELETE
/services/haproxy/configuration/defaults/{parent_name}/log_targets/{index}
Delete a Log Target
deleteLogTargetDefaults 5 params → 202204404default
GET
/services/haproxy/configuration/defaults/{parent_name}/log_targets/{index}
Return one Log Target
getLogTargetDefaults 3 params → 200404default
POST
/services/haproxy/configuration/defaults/{parent_name}/log_targets/{index}
Add a new Log Target
createLogTargetDefaults 5 params body → 201202400409default
PUT
/services/haproxy/configuration/defaults/{parent_name}/log_targets/{index}
Replace a Log Target
replaceLogTargetDefaults 5 params body → 200202400404default
DELETE
/services/haproxy/configuration/peers/{parent_name}/log_targets/{index}
Delete a Log Target
deleteLogTargetPeer 5 params → 202204404default
GET
/services/haproxy/configuration/peers/{parent_name}/log_targets/{index}
Return one Log Target
getLogTargetPeer 3 params → 200404default
POST
/services/haproxy/configuration/peers/{parent_name}/log_targets/{index}
Add a new Log Target
createLogTargetPeer 5 params body → 201202400409default
PUT
/services/haproxy/configuration/peers/{parent_name}/log_targets/{index}
Replace a Log Target
replaceLogTargetPeer 5 params body → 200202400404default
DELETE
/services/haproxy/configuration/log_forwards/{parent_name}/log_targets/{index}
Delete a Log Target
deleteLogTargetLogForward 5 params → 202204404default
GET
/services/haproxy/configuration/log_forwards/{parent_name}/log_targets/{index}
Return one Log Target
getLogTargetLogForward 3 params → 200404default
POST
/services/haproxy/configuration/log_forwards/{parent_name}/log_targets/{index}
Add a new Log Target
createLogTargetLogForward 5 params body → 201202400409default
PUT
/services/haproxy/configuration/log_forwards/{parent_name}/log_targets/{index}
Replace a Log Target
replaceLogTargetLogForward 5 params body → 200202400404default

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are log_target (12 properties), error (2 properties). Each schema is shown below with its type and property counts.

log_target
object
Per-instance logging of events and traffic.
12 properties
log_targets
array
HAProxy log target array (corresponds to log directives)
error
object
API Error
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

haproxy-logtarget-api-openapi.yml Raw ↑

Other APIs HAProxy publishes across the network.

HAProxy Runtime API
HAProxy Kubernetes Ingress Controller
HAProxy ACL API
HAProxy ACL Runtime API
HAProxy Acme API
HAProxy Acme Runtime API
HAProxy Backend API
HAProxy Backend Switching Rule API
HAProxy Bind API
HAProxy Cache API
HAProxy Configuration API
HAProxy Crt Load API
Where this information came from

This is an independent, third-party profile of HAProxy Log Target 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.