provider llm_analytics POST /api/projects/{project_id}/llm_analytics/trace_reviews/
@utdk/posthog /api/projects/{project_id}/llm_analytics/trace_reviews/
llm_analytics_trace_reviews_create
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
llmAnalyticsTraceReviewsCreate
POST/api/projects/{project_id}/llm_analytics/trace_reviews/

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

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