---
title: "Get Status"
method: GET
path: "/api/v2/status"
tags: ["Sessions & Agents"]
---

# Get Status

`GET /api/v2/status`

## Request

- The document declares no server URL.
- Auth: none declared

Get current active session status.

Requires management credential or loopback origin (same as other
agent-lifecycle endpoints). Reads the active session from local state.

## Headers

- `authorization` string, nullable
- `X-Api-Key` string, nullable

## Response `200`

Successful Response

- SessionInfo: Session information response
  - `session_id` string, required
  - `agent_id` string, required
  - `namespace` string, required
  - `started_at` string, date-time, required
  - `expires_at` string, date-time, required
  - `status` 'active' | 'expired' | 'terminated', required: Session status enum
  - `time_remaining_seconds` integer, required
  - `pattern` 'support' | 'project' | 'tool', nullable: Agent pattern types for memory organization

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-14** `51ea5daee7e4`: 3 info
  - added the new optional `header` request parameter `X-Api-Key`
  - added the new optional `header` request parameter `authorization`
  - added the non-success response with the status `422`
- **2026-06-23** `3f3d8570f1a6`: 2 warning, 1 info
  - deleted the `header` request parameter `X-Api-Key`
  - deleted the `header` request parameter `authorization`
  - removed the non-success response with the status `422`

[Operation history](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/changes/api/v2/status/get.md)

---

[API](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) - [All operations](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/llms.txt) - [OpenAPI document](https://skmtc.dev/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/revisions/ef842776283e?raw)
