---
title: "Get mesh status for service_name.instance_name"
method: GET
path: "/services/{service}/{instance}/mesh_status"
tags: ["service"]
---

# Get mesh status for service_name.instance_name

`GET /services/{service}/{instance}/mesh_status`

## Path parameters

- `service` string, required
- `instance` string, required

## Query parameters

- `include_smartstack` boolean
- `include_envoy` boolean

## Response `200`

Mesh status of an instance

- InstanceMeshStatus
  - `service` string — Service name
  - `instance` string — Instance name
  - `smartstack` SmartstackStatus
    - `registration` string — Registration name of the service in Smartstack
    - `expected_backends_per_location` integer — Number of backends expected to be present in each location
    - `locations` SmartstackLocation[] — Locations the service is deployed
      - `name` string — Name of the location
      - `running_backends_count` integer — Number of running backends for the service in this location
      - `backends` SmartstackBackend[] — Smartstack backends running in this location
        - `hostname` string — Name of the host on which the backend is running
        - `port` integer — Port number on which the backend responds
        - `status` string — Status of the backend in HAProxy
        - `check_status` string — Status of last health check of the backend
        - `check_code` string — Check code reported by HAProxy
        - `check_duration` integer — Duration in ms of the last health check performed by HAProxy
        - `last_change` integer — Seconds since last change in backend status
        - `has_associated_task` boolean — Whether this backend has an associated task running
  - `envoy` EnvoyStatus
    - `registration` string — Registration name of the service in Smartstack
    - `expected_backends_per_location` integer — Number of backends expected to be present in each location
    - `locations` EnvoyLocation[] — Locations the service is deployed
      - `name` string — Name of the location
      - `running_backends_count` integer — Number of running backends for the service in this location
      - `backends` EnvoyBackend[] — Envoy backends running in this location
        - `address` string — Address of the host on which the backend is running
        - `port_value` integer — Port number on which the backend responds
        - `hostname` string — Name of the host on which the backend is running
        - `eds_health_status` string — Status of the backend in Envoy as reported by the EDS
        - `weight` integer — The weight of this backend in the cluster
        - `has_associated_task` boolean — Whether this backend has an associated task running
      - `is_proxied_through_casper` boolean — Whether this backend is proxied through Casper

## Other responses

- `404` — Deployment key not found
- `405` — Instance type not supported
- `500` — Instance failure

---

[API](https://skmtc.net/yelp/apis/paasta-api.md) · [All operations](https://skmtc.net/yelp/apis/paasta-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yelp/paasta-api/versions/0f10edc28b60/schema)
