---
title: "Reset Session"
method: POST
path: "/api/v1/agentic/sessions/reset"
tags: ["agentic"]
---

# Reset Session

`POST /api/v1/agentic/sessions/reset`

Drop the calling user's session-scoped state.

Wipes:
    - conversation buffer for ``session_id`` (if provided).
    - registered components under the user's FS sandbox.

The user id is sourced from the authenticated session — the
``session_id`` query parameter only addresses the conversation
buffer entry and is never trusted for path resolution.

Returns a small envelope describing what was cleared, sufficient
for ops/log correlation but stripped of anything sensitive:

```
{"status": "ok", "components_cleared": <int>, "session_id": <str|null>}
```

## Query parameters

- `session_id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.net/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/22962dc5e81b/schema)
