---
title: "Retrieve the current state of target node sessions"
method: GET
path: "/api/target_nodes/session_state"
tags: ["Target Nodes"]
---

# Retrieve the current state of target node sessions

`GET /api/target_nodes/session_state`

Returns the current state (pending, running, stopped, etc.) for one or more target node sessions

## Query parameters

- `session_uuid` string, required

## Headers

- `X-EDH-USER` string, required
- `X-EDH-TOKEN` string, required

## Response `200`

Session states retrieved successfully

- object
  - `success` boolean
  - `message` object — Dictionary mapping session UUIDs to their current states

## Other responses

- `400` — Bad request - missing or invalid parameters
- `401` — Authentication required

---

[API](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/versions/6db97cead8df/schema)
