---
title: "Return a single spec resource"
method: GET
path: "/specs/{id}"
tags: ["Informational"]
---

# Return a single spec resource

`GET /specs/{id}`

## Request

- Base URL: `https://demo.ziti.dev/edge/client/v1`
- URL: `https://demo.ziti.dev/edge/client/v1/specs/{id}`
- Auth: none required
- TypeScript: <https://skmtc.dev/openziti/apis/ziti-edge-client/docs/specs/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns single spec resource embedded within the controller for consumption/documentation/code geneartion

## Path parameters

- `id` string, required

## Response `200`

A single specification

- DetailSpecEnvelope
  - `data` SpecDetail, 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
    - `name` string, required
  - `meta` Meta, required
    - `apiEnrollmentVersion` string
    - `apiVersion` string
    - `filterableFields` string[]
    - `pagination` Pagination
      - `limit` number, required
      - `offset` number, required
      - `totalCount` number, required

## Changes

- **2026-10-14** `f7b51eaafbbb`: 1 breaking
  - the response property `data/allOf[#/components/schemas/baseEntity]/tags` became nullable for the status `200`
- **2024-05-29** `cce2800c1357`: 1 warning
  - the optional response header `WWW-Authenticate` removed for the status `200`

[Operation history](https://skmtc.dev/openziti/apis/ziti-edge-client/changes/specs/:id/get.md)

---

[API](https://skmtc.dev/openziti/apis/ziti-edge-client.md) - [All operations](https://skmtc.dev/openziti/apis/ziti-edge-client/llms.txt) - [OpenAPI document](https://skmtc.dev/openziti/apis/ziti-edge-client/revisions/f7b51eaafbbb?raw)
