Policy > Networking > Network Services > Metadata Proxy > Status

Get metadata proxy status

Request:

Method:
GET
URI Path(s):
/policy/api/v1/global-infra/metadata-proxies/<metadata-proxy-id>/statistics
/policy/api/v1/infra/metadata-proxies/<metadata-proxy-id>/statistics
Request Headers:
n/a
Query Parameters:
MetadataProxyRuntimeRequestParameters+
Request Body:
n/a

Example Request:

https://{{nsx-mgr}}/policy/api/v1/infra/metadata-proxies/p1/statistics?segment_path=/infra/segments/md-proxy-seg1&enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyMetadataProxyStatistics+

Example Response:

{ "metadata_proxy_path": "/infra/metadata-proxies/p1", "timestamp": 1591854737938, "statistics": [ { "segment_path": "/infra/segments/md-proxy-seg1", "requests_from_clients": 0, "responses_to_clients": 0, "requests_to_nova_server": 0, "succeeded_responses_from_nova_server": 0, "error_responses_from_nova_server": 0 } ] }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: