Exported Services HTTP Endpoint
Note
The exported services HTTP API endpoint requires Consul v1.17.3 or newer.The /exported-services
endpoint returns a list of exported services, as well as the admin partitions and cluster peers that consume the services.
This list consists of the services that were exported using an exported-services
configuration entry. Sameness groups and wildcards in the configuration entry are expanded in the response.
List Exported Services
This endpoint returns a list of exported services.
Method | Path | Produces |
---|---|---|
GET | /exported-services | application/json |
The table below shows this endpoint's support for blocking queries, consistency modes, agent caching, and required ACLs.
Blocking Queries | Consistency Modes | Agent Caching | ACL Required |
---|---|---|---|
YES | none | none | mesh:read or operator:read |
Query Parameters
partition
(string: "")
Enterprise - Specifies the admin partition the services are exported from. When not specified, assumes the default valuedefault
.
Sample Request
Sample Response