---
title: "Get Session Messages"
method: GET
path: "/api/chat/sessions/{session_id}/messages"
tags: ["chat"]
---

# Get Session Messages

`GET /api/chat/sessions/{session_id}/messages`

## Request

- Base URL: `https://fojin.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fojin.app/api/chat/sessions/{session_id}/messages`
- Auth: HTTP bearer

Paginated session messages (page=1 returns the most recent messages).

分页获取会话消息（page=1 为最新消息）。

## Path parameters

- `session_id` integer, required

## Query parameters

- `page` integer
- `size` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform.md) · [All operations](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/revisions/969714238c61?raw)
