provider AI observabilityllm_analytics POST /api/environments/{environment_id}/llm_analytics/summarization/batch_check/
@utdk/posthog /api/environments/{environment_id}/llm_analytics/summarization/batch_check/
environments_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
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsLlmAnalyticsSummarizationBatchCheckCreate
POST/api/environments/{environment_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

Deprecated. Use /api/projects/{project_id}/ instead.

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.environmentsLlmAnalyticsSummarizationBatchCheckCreate({
  "mode": "minimal"
})