provider batch_exportsbatch_exports GET /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/logs/
@utdk/posthog /api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/logs/
environments_batch_exports_runs_logs_retrieve
after query
Only return entries after this ISO 8601 timestamp.
string
batch_export_id path required
string
before query
Only return entries before this ISO 8601 timestamp.
string
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this batch export run.
string
instance_id query
Filter logs to a specific execution instance.
string
level query
Comma-separated log levels to include, e.g. 'WARN,ERROR'. Valid levels: DEBUG, LOG, INFO, WARN, ERROR.
string
limit query
Maximum number of log entries to return (1-500, default 50).
integer
search query
Case-insensitive substring search across log messages.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsBatchExportsRunsLogsRetrieve
GET/api/environments/{environment_id}/batch_exports/{batch_export_id}/runs/{id}/logs/

Parameters

required
required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A UUID string identifying this batch export run.

Only return entries after this ISO 8601 timestamp.

Only return entries before this ISO 8601 timestamp.

Filter logs to a specific execution instance.

Comma-separated log levels to include, e.g. 'WARN,ERROR'. Valid levels: DEBUG, LOG, INFO, WARN, ERROR.

Maximum number of log entries to return (1-500, default 50).

Case-insensitive substring search across log messages.

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.environmentsBatchExportsRunsLogsRetrieve({
  "limit": 50
})