logs

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

Request

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

Response

queryobject required

The parsed query that was executed, echoed back for confirmation.

hasMoreboolean required

True if more results exist beyond this page.

nextCursorstring nullable

Opaque cursor to pass as after in the next request to fetch the next page. Null when hasMore is false.

maxExportableLogsinteger required

Maximum number of rows the export endpoint will produce — informational.

columnsstring[] nullable

Aliases for the requested customColumns, in request order. Each result row carries its custom column values under these keys. Null when no custom columns were requested.

Changes

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