provider AI observabilityllm_analytics POST /api/projects/{project_id}/llm_analytics/summarization/batch_check/
@utdk/posthog /api/projects/{project_id}/llm_analytics/summarization/batch_check/
llm_analytics_summarization_batch_check_create
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
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
llmAnalyticsSummarizationBatchCheckCreate
POST/api/projects/{project_id}/llm_analytics/summarization/batch_check/
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

Parameters

required

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

Input

required

List of trace IDs to check for cached summaries

Summary detail level to check for * `minimal` - minimal * `detailed` - detailed

LLM model used for cached summaries

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.llmAnalyticsSummarizationBatchCheckCreate({
  "mode": "minimal"
})