---
title: "Get all dependencies for a chat session"
method: GET
path: "/chat/sessions/{session_id}/dependencies"
tags: ["chat"]
---

# Get all dependencies for a chat session

`GET /chat/sessions/{session_id}/dependencies`

## Path parameters

- `session_id` string, required

## Response `200`

Dependencies retrieved successfully

- GetDependenciesResponse — Response structure for getting chat dependencies
  - `dependencies` ChatDependency[], required — List of dependencies for the chat session
    - `package_name` string, required — Name of the Python package
    - `version_spec` string, nullable — Optional version specifier (e.g., ">=1.0.0", "==2.0.0")

## Other responses

- `400` — Invalid session ID format
- `404` — Chat session not found
- `500` — Internal server error

---

[API](https://skmtc.net/structifyai/apis/structify.md) · [All operations](https://skmtc.net/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/structifyai/structify/versions/1364930b6980/schema)
