ai_observability

A trace ready to render: its tree with roll-ups, timeline, totals and person, without inputs or outputs.

get/api/projects/{project_id}/ai_observability/traces/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/ai_observability/traces/{id}/
  • Auth: HTTP bearer

Path parameters

idstring required

The trace id, sent as the unpadded base64url encoding of its UTF-8 bytes.

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/.

Query parameters

timestamp_hintstring date-time

When the trace happened, as carried by links into it. Lets a trace older than the AI events retention load from the shared events table.

Response

idstring required
namestring nullable required
createdAtstring date-time required
sessionIdstring nullable required
hasErrorboolean required
errorCountinteger required
totalMsnumber required
threadNodeIdsstring[] required

Changes

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