provider llm_analytics PATCH /api/environments/{environment_id}/llm_analytics/trace_reviews/{id}/
@utdk/posthog /api/environments/{environment_id}/llm_analytics/trace_reviews/{id}/
environments_llm_analytics_trace_reviews_partial_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this trace review.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsLlmAnalyticsTraceReviewsPartialUpdate
PATCH/api/environments/{environment_id}/llm_analytics/trace_reviews/{id}/

Parameters

required

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

required

A UUID string identifying this trace review.

Input

Trace ID for the review. Only one active review can exist per trace and team.

Optional comment or reasoning for the review.

Full desired score set for this review. Omit scorers you want to leave blank.

Optional review queue ID for queue-context saves. When provided, the matching pending queue item is cleared after the review is saved. If omitted, any pending queue item for the same trace is cleared.

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.environmentsLlmAnalyticsTraceReviewsPartialUpdate()