provider llm_analytics POST /api/environments/{environment_id}/llm_analytics/trace_reviews/
@utdk/posthog /api/environments/{environment_id}/llm_analytics/trace_reviews/
environments_llm_analytics_trace_reviews_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsLlmAnalyticsTraceReviewsCreate
POST/api/environments/{environment_id}/llm_analytics/trace_reviews/

Parameters

required

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

Input

required

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