[GH-ISSUE #469] [langgraph-platform]: /threads/{thread_id}/history API only returns ~24 hours of history #40

Open
opened 2026-02-17 17:19:03 -05:00 by yindo · 1 comment
Owner

Originally created by @jammy23495 on GitHub (Jul 1, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/469

Issue with current documentation:

When using the /threads/{thread_id}/history endpoint in LangGraph Studio/Platform, it returns state checkpoints only from the last ~24 hours. Older checkpoints—despite thread metadata still being retrievable—do not appear via this endpoint.

According to the persistence docs, checkpointed thread history should be retrievable indefinitely via the API, with no mention of a 24‑hour cap.

This discrepancy between documentation and observed behavior creates confusion.

Steps to reproduce

  • Create and run a thread.
  • Wait for over 24 hours.
  • Call GET /threads/{thread_id}/history.
  • Only recent checkpoints (≤24h) are returned—even though older thread checkpoints should be available.

Expected behavior
The endpoint should return all available checkpoint history, regardless of age, since no time-based limit is specified in documentation.

Actual behavior
Only checkpoints from the most recent 24 hours are returned. There is no indication or warning explaining why older entries are missing.

Idea or request for content:

Questions for maintainers

  1. Is the 24‑hour retrieval limit for /threads/{thread_id}/history intentional?
  2. If so, can this limitation be documented in API references?
  3. Is there any way to access older checkpoints via API or parameters?
  4. Are there plans to allow full history retrieval via this endpoint?
Originally created by @jammy23495 on GitHub (Jul 1, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/469 ### Issue with current documentation: When using the /threads/{thread_id}/history endpoint in LangGraph Studio/Platform, it returns state checkpoints only from the last ~24 hours. Older checkpoints—despite thread metadata still being retrievable—do not appear via this endpoint. According to the [persistence docs](https://langchain-ai.github.io/langgraph/concepts/persistence/?utm_source=chatgpt.com), checkpointed thread history should be retrievable indefinitely via the API, with no mention of a 24‑hour cap. This discrepancy between documentation and observed behavior creates confusion. **Steps to reproduce** - Create and run a thread. - Wait for over 24 hours. - Call GET /threads/{thread_id}/history. - Only recent checkpoints (≤24h) are returned—even though older thread checkpoints should be available. **Expected behavior** The endpoint should return all available checkpoint history, regardless of age, since no time-based limit is specified in documentation. **Actual behavior** Only checkpoints from the most recent 24 hours are returned. There is no indication or warning explaining why older entries are missing. ### Idea or request for content: **Questions for maintainers** 1. Is the 24‑hour retrieval limit for /threads/{thread_id}/history intentional? 2. If so, can this limitation be documented in API references? 3. Is there any way to access older checkpoints via API or parameters? 4. Are there plans to allow full history retrieval via this endpoint?
yindo added the external label 2026-02-17 17:19:03 -05:00
Author
Owner

@isahers1 commented on GitHub (Sep 10, 2025):

Hey @jammy23495 so sorry for the delayed response. I am not able to reproduce this myself - are you setting any TTL yourself on the threads? When I try retrieving the history of old threads >1 week - everything is being returned fine for me. Any additional details you have to help me reproduce would be great and so sorry again about the delayed repsonse.

@isahers1 commented on GitHub (Sep 10, 2025): Hey @jammy23495 so sorry for the delayed response. I am not able to reproduce this myself - are you setting any TTL yourself on the threads? When I try retrieving the history of old threads >1 week - everything is being returned fine for me. Any additional details you have to help me reproduce would be great and so sorry again about the delayed repsonse.
yindo changed title from [langgraph-platform]: /threads/{thread_id}/history API only returns ~24 hours of history to [GH-ISSUE #469] [langgraph-platform]: /threads/{thread_id}/history API only returns ~24 hours of history 2026-06-05 17:24:43 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#40