---
title: "Get sessions"
method: GET
path: "/session"
tags: ["session"]
---

# Get sessions

`GET /session`

Get all sessions under a project, optionally filtered by space_id

## Query parameters

- `space_id` string, uuid
- `not_connected` boolean
- `limit` integer
- `cursor` string
- `time_desc` string

## Response `200`

OK

- object
  - `code` integer
  - `data` ServiceListSessionsOutput
    - `has_more` boolean
    - `items` ModelSession[]
      - `configs` object
      - `created_at` string
      - `id` string
      - `project_id` string
      - `space_id` string
      - `updated_at` string
    - `next_cursor` string
  - `error` string
  - `msg` string

## Changes

- **2025-11-12** `a1c1bcb0e2ee` — 2 warning, 2 info
  - deleted the `query` request parameter `filter_by_configs`
  - deleted the `query` request parameter `user`
  - added the new optional `query` request parameter `not_connected`
  - added the new optional `query` request parameter `space_id`

[Change history](https://skmtc.dev/memodb-io/apis/acontext-api/changes/session/get.md)

---

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