---
title: "Fetch service details"
method: GET
path: "/services/{counterId}"
tags: ["Services"]
---

# Fetch service details

`GET /services/{counterId}`

## Request

- Base URL: `https://api.spike.sh`
- URL: `https://api.spike.sh/services/{counterId}`
- Auth: none declared. Required headers: `x-api-key`, `x-team-id`
- TypeScript: <https://skmtc.dev/spike/apis/spike-sh-api/docs/services/:counterId/get.ts> (a function with typed inputs; its response is checked against the schema)

Get service details including incidents

## Path parameters

- `counterId` string, required

## Headers

- `x-api-key` string, required
- `x-team-id` string, required

## Response `200`

Service details

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/spike/apis/spike-sh-api.md) - [All operations](https://skmtc.dev/spike/apis/spike-sh-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spike/apis/spike-sh-api/revisions/6854629119aa?raw)
