---
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.

---

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