---
title: "Return current configuration"
method: GET
path: "/inspect"
tags: ["Inspect"]
---

# Return current configuration

`GET /inspect`

Retrieve the current configuration of a device.

## Query parameters

- `targetHost` string
- `targetPort` integer
- `targetUsername` string
- `targetPassword` string

## Response `200`

Retrieval was successful.

- Inspect — The current configuration of a device.
  - `id` string, uuid
  - `selfLink` string, uri
  - `result` Result — Standard result object in responses.
    - `class` 'Result'
    - `code` integer — Status code.
    - `status` 'OK' | 'ERROR' | 'ROLLING_BACK' | 'RUNNING' | 'REBOOTING' | 'REVOKING' — Status string.
    - `message` string — Overall result message.
    - `errors` string[] — Array of errors that occurred.
  - `declaration` object
    - `class` 'DO'
    - `declaration` Device — unresolved $ref

## Other responses

- `500` — Something went wrong internally and a bug report should be filed&#58; https://github.com/F5Networks/f5-declarative-onboarding/issues/new/choose.

## Changes

- **2022-09-22** `a6af033d6e51` — 1 info
  - endpoint added
- **2022-09-22** `89c43e8c94c8` — 1 breaking
  - api path removed without deprecation
- **2022-07-07** `416d108e05ed` — 4 warning, 3 info
  - added the new `REBOOTING` enum value to the `result/status` response property for the response status `200`
  - added the new `REVOKING` enum value to the `result/status` response property for the response status `200`
  - added the new `ROLLING_BACK` enum value to the `result/status` response property for the response status `200`
  - added the new `RUNNING` enum value to the `result/status` response property for the response status `200`
  - …3 more
- **2020-05-21** `7fc26ad82f48` — 2 warning, 5 info
  - added the new `` enum value to the `result/message` response property for the response status `200`
  - added the new `failed` enum value to the `result/message` response property for the response status `200`
  - removed the non-success response with the status `500`
  - removed the `REBOOTING` enum value from the `result/status` response property for the response status `200`
  - …3 more

[Change history](https://skmtc.dev/f5networks/apis/f5-big-ip-declarative-onboarding/changes/inspect/get.md)

---

[API](https://skmtc.dev/f5networks/apis/f5-big-ip-declarative-onboarding.md) · [All operations](https://skmtc.dev/f5networks/apis/f5-big-ip-declarative-onboarding/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/f5networks/f5-big-ip-declarative-onboarding/revisions/ad4f7f41e106/schema)
