logs

Explain a log entry using AI.

POST /api/environments/:id/logs/explainLogWithAI/

post/api/projects/{project_id}/logs/explainLogWithAI/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/logs/explainLogWithAI/
  • 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

uuidstring required

UUID of the log entry to explain

timestampstring date-time required

Timestamp of the log entry (used for efficient lookup)

force_refreshboolean

Force regenerate explanation, bypassing cache

Response

uuidstring required

UUID of the log entry to explain

timestampstring date-time required

Timestamp of the log entry (used for efficient lookup)

force_refreshboolean

Force regenerate explanation, bypassing cache

Changes

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