---
title: "Get Session Data By Session Id"
method: GET
path: "/api/v1/session_debug/session_id/{session_id}"
tags: ["session_debug"]
---

# Get Session Data By Session Id

`GET /api/v1/session_debug/session_id/{session_id}`

## Path parameters

- `session_id` integer, required

## Response `200`

Successful Response

- SessionData
  - `session_id` integer, required — Session ID
  - `source` string, required — Session source
  - `target` string, required — Session target
  - `is_test` boolean, required — Is test session
  - `messages` SessionMessage[], required — Session messages
    - `role` 'agent' | 'user', required — Role of dialog
    - `dialog` DialogMessage, required
      - `text` string, required — Dialog message text
    - `tool_calls` DialogToolCall[], required — Tool calls
      - `tool_call_id` string, required — Tool call ID
      - `tool_name` string, required — Tool name
      - `tool_arguments` unknown, required
      - `tool_result` unknown, required
      - `display_result` unknown
      - `timestamp` string, date-time, required — Tool call timestamp
    - `timestamp` string, date-time, required — Message timestamp

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/asksyllable/apis/syllablesdk.md) · [All operations](https://skmtc.dev/asksyllable/apis/syllablesdk/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/asksyllable/syllablesdk/revisions/203a46065323/schema)
