---
title: "Retrieve target node sessions for the authenticated user"
method: GET
path: "/api/target_nodes/list"
tags: ["Target Nodes"]
---

# Retrieve target node sessions for the authenticated user

`GET /api/target_nodes/list`

Returns a list of target node sessions with detailed information including connection strings and instance details

## Query parameters

- `is_active` 'true' | 'false', required
- `session_uuid` string, uuid
- `state` 'pending' | 'running' | 'stopped' | 'terminated' | 'error'

## Headers

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

## Response `200`

Target node sessions retrieved successfully

- object
  - `success` boolean
  - `message` object — Dictionary of session UUIDs mapped to session details

## Other responses

- `400` — Bad request - missing or invalid parameters
- `401` — Authentication required
- `500` — Internal server error

---

[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)
