---
title: "Refresh Summary"
method: POST
path: "/api/trajectories/{session_id}/summary/refresh"
tags: ["trajectories"]
---

# Refresh Summary

`POST /api/trajectories/{session_id}/summary/refresh`

Owner-initiated full re-summarize. Drops the cache and re-runs
from scratch.

Async: returns {status: "pending"} immediately and runs the LLM
call in a background task. The earlier synchronous version
(`await run_summarize` inline) tripped iOS WKWebView's
CFNetwork-level connection-drop ("The network connection was
lost", NSURLErrorNetworkConnectionLost / -1005) because LLM calls
routinely take 30-60s and the WebView aborts idle requests well
before that. Polling /summary picks up the eventual result.

## Path parameters

- `session_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/omicos/apis/omicos-server.md) · [All operations](https://skmtc.dev/omicos/apis/omicos-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/omicos/omicos-server/revisions/a00b94573ffe/schema)
