---
title: "Retrieves a single service"
method: GET
path: "/services/{id}"
tags: ["Service"]
---

# Retrieves a single service

`GET /services/{id}`

Retrieves a single service by id. Requires admin access.

## Path parameters

- `id` string, required

## Response `200`

A single service

- DetailServiceEnvelope
  - `data` ServiceDetail, required — Fields shared by all Edge API entities
    - `_links` object, required — A map of named links
    - `createdAt` string, date-time, required
    - `id` string, required
    - `tags` Tags
    - `updatedAt` string, date-time, required
    - `config` object, required — map of config data for this service keyed by the config type name. Only configs of the types requested will be returned.
    - `configs` string[], required
    - `encryptionRequired` boolean, required — Describes whether connections must support end-to-end encryption on both sides of the connection. Read-only property, set at create.
    - `maxIdleTimeMillis` integer, required
    - `name` string, required
    - `permissions` DialBind[], required
    - `postureQueries` PostureQueries[], required
      - `isPassing` boolean, required
      - `policyId` string, required
      - `policyType` 'Dial' | 'Bind' | 'Invalid'
      - `postureQueries` PostureQuery[], required
        - `_links` object, required — A map of named links
        - `createdAt` string, date-time, required
        - `id` string, required
        - `tags` Tags
        - `updatedAt` string, date-time, required
        - `isPassing` boolean, required
        - `process` PostureQueryProcess
          - `osType` 'Windows' | 'WindowsServer' | 'Android' | 'iOS' | 'Linux' | 'macOS'
          - `path` string
        - `processes` PostureQueryProcess[]
          - `osType` 'Windows' | 'WindowsServer' | 'Android' | 'iOS' | 'Linux' | 'macOS'
          - `path` string
        - `promptGracePeriodSeconds` integer
        - `promptOnUnlock` boolean
        - `promptOnWake` boolean
        - `queryType` 'OS' | 'PROCESS' | 'DOMAIN' | 'MAC' | 'MFA' | 'PROCESS_MULTI', required
        - `timeout` integer, required
        - `timeoutAt` string, date-time, nullable
        - `timeoutRemaining` integer, required
    - `roleAttributes` string[], nullable, required — A set of strings used to loosely couple this resource to policies
    - `terminatorStrategy` string, required
  - `meta` Meta, required
    - `apiEnrollmentVersion` string
    - `apiVersion` string
    - `filterableFields` string[]
    - `pagination` Pagination
      - `limit` number, required
      - `offset` number, required
      - `totalCount` number, required

## Other responses

- `401` — The supplied session does not have the correct access rights to request this resource
- `404` — The requested resource does not exist
- `429` — The resource requested is rate limited and the rate limit has been exceeded
- `503` — The request could not be completed due to the server being busy or in a temporarily bad state

---

[API](https://skmtc.net/openziti/apis/ziti-edge-client.md) · [All operations](https://skmtc.net/openziti/apis/ziti-edge-client/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openziti/ziti-edge-client/revisions/25da9a73a095/schema)
