---
title: "Inspect system values"
method: POST
path: "/inspections"
tags: ["Inspect"]
---

# Inspect system values

`POST /inspections`

## Request

- Base URL: `https://demo.ziti.dev/fabric/v1`
- URL: `https://demo.ziti.dev/fabric/v1/inspections`
- Auth: one of:
  - API key in header `zt-session`
  - OAuth 2
    - Authorization code: `/oidc/authorize`
    - Token URL: `/oidc/token` scopes: `openid`
- TypeScript: <https://skmtc.dev/openziti/apis/ziti-fabric/docs/inspections/post.ts> (a function with typed inputs; its response is checked against the schema)

Requests system information, such as stack dumps or information about capabilities. Requires admin access.

## Request body

- InspectRequest
  - `appRegex` string, required
  - `requestedValues` string[], required

## Response `200`

A response to an inspect request

- InspectResponse
  - `success` boolean, required
  - `errors` string[]
  - `values` InspectResponseValue[]
    - `appId` string, required
    - `name` string, required
    - `value` union, required
      - object
      - string
      - number
      - boolean

## Other responses

- `401`: The currently supplied session does not have the correct access rights to request this resource
- `429`: The resource requested is rate limited and the rate limit has been exceeded

## Changes

- **2023-10-23** `61384eb76c21`: 1 info
  - added the non-success response with the status `429`
- **2023-08-16** `94130b45fa7e`: 1 info
  - removed the non-success response with the status `429`

[Operation history](https://skmtc.dev/openziti/apis/ziti-fabric/changes/inspections/post.md)

---

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