provider endpoints POST /api/environments/{environment_id}/endpoints/last_execution_times/
@utdk/posthog /api/environments/{environment_id}/endpoints/last_execution_times/
environments_endpoints_last_execution_times_create
Get the most recent execution time per endpoint (endpoint-level). Timestamps are recorded by the run path for personal-API-key calls. For per-version usage, query the query_log table directly.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsEndpointsLastExecutionTimesCreate
POST/api/environments/{environment_id}/endpoints/last_execution_times/
Get the most recent execution time per endpoint (endpoint-level). Timestamps are recorded by the run path for personal-API-key calls. For per-version usage, query the query_log table directly.

Parameters

required

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

Input

required

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.environmentsEndpointsLastExecutionTimesCreate()