---
title: "获取会话列表"
method: GET
path: "/sessions"
tags: ["会话"]
---

# 获取会话列表

`GET /sessions`

获取当前空间的会话列表，支持分页、关键字搜索、按来源/Agent 筛选

## Query parameters

- `page` integer
- `page_size` integer
- `keyword` string
- `source` string
- `agent_id` string

## Response `200`

会话列表

- object

## Other responses

- `400` — 请求参数错误

## Changes

- **2026-05-11** `80a8b4b45cb8` — 3 info
  - added the new optional `query` request parameter `agent_id`
  - added the new optional `query` request parameter `keyword`
  - added the new optional `query` request parameter `source`
- **2025-12-22** `e625bcd5b8b9` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2025-12-16** `edf61e68559d` — 3 warning, 1 info
  - deleted the `query` request parameter `agent_id`
  - deleted the `query` request parameter `keyword`
  - deleted the `query` request parameter `source`
  - the endpoint scheme security `ApiKeyAuth` was removed from the API

[Change history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/sessions/get.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) · [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tencentblueking/weknora-api/revisions/ef2e057b249e/schema)
