---
title: "Pre-warm sessions cache for the active project"
method: POST
path: "/sessions/warmup"
tags: ["Session"]
---

# Pre-warm sessions cache for the active project

`POST /sessions/warmup`

Pre-warm OpenSearch shards + Redis list cache for the active project.
Fire-and-forget: returns {ok:true} immediately while the warmup runs in
the background. Triggered from the frontend right before a session query
is likely (sidebar hover, global search modal mount, RecipientPicker mount,
periodic refresh while on the Sessions page) so the user doesn't pay the
cold-shard penalty on first interaction.

## Headers

- `project` string, required

## Response `200`

Ok

- object
  - `ok` boolean, required

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/versions/6f02af3a6c47/schema)
