---
title: "Get details for a single service"
method: GET
path: "/services/{namespace}/{name}"
tags: ["services"]
---

# Get details for a single service

`GET /services/{namespace}/{name}`

Returns an object containing info about the service corresponding to the namespace and name

## Path parameters

- `namespace` string, required
- `name` string, required

## Response `200`

service details

- ServiceItem
  - `name` string, required
  - `status` 'available' | 'unavailable'
  - `namespace` string, required
  - `serviceType` 'ClusterIP' | 'LoadBalancer', required
  - `ports` ServicePortItem[], required
    - `name` string, required
    - `nodePort` integer
    - `port` integer, required
    - `protocol` string
    - `targetPort` string, required

## Other responses

- `404` — Service not found by namespace-name combination

---

[API](https://skmtc.dev/kubeshop/apis/kusk-gateway-api.md) · [All operations](https://skmtc.dev/kubeshop/apis/kusk-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubeshop/kusk-gateway-api/revisions/f8f51902550d/schema)
