llm_analytics

post/api/projects/{project_id}/llm_analytics/trace_reviews/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/llm_analytics/trace_reviews/
  • Auth: HTTP bearer

Path parameters

project_idstring required

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

Request body

trace_idstring required

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

commentstring nullable

Optional comment or reasoning for the review.

queue_idstring uuid nullable

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.

Response

idstring uuid required
trace_idstring required

Trace ID for the review.

trace_urlstring uri required

Absolute URL to the trace this review is attached to.

commentstring nullable required

Optional comment or reasoning for the review.

created_atstring date-time required
updated_atstring date-time nullable required
teaminteger required

Changes

No recorded changes to this operation across all 1 revision of this API.