AI observability
llm_analytics

Check which traces have cached summaries available.

This endpoint allows batch checking of multiple trace IDs to see which ones have cached summaries. Returns only the traces that have cached summaries with their titles.

Use Cases:

  • Load cached summaries on session view load
  • Avoid unnecessary LLM calls for already-summarized traces
  • Display summary previews without generating new summaries
post/api/projects/{project_id}/llm_analytics/summarization/batch_check/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/llm_analytics/summarization/batch_check/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

trace_idsstring[] required

List of trace IDs to check for cached summaries

mode'minimal' | 'detailed'
  • minimal - minimal
  • detailed - detailed
modelstring nullable

LLM model used for cached summaries

Response

Changes

No recorded changes to this operation across all 1 revision of this API.