naftiko: 1.0.0-alpha2 info: label: PostHog API — logs description: 'PostHog API — logs. 125 operations. Lead operation: logs. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - logs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-logs baseUri: '' description: PostHog API — logs business capability. Self-contained, no shared references. resources: - name: api-environments-environment_id-logs-alerts path: /api/environments/{environment_id}/logs/alerts/ operations: - name: environmentslogsalertslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: environmentslogsalertslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: environmentslogsalertscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: environmentslogsalertscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-environments-environment_id-logs-alerts-simulate path: /api/environments/{environment_id}/logs/alerts/simulate/ operations: - name: environmentslogsalertssimulatecreate method: POST description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogsalertssimulatecreate method: POST description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-alerts-id path: /api/environments/{environment_id}/logs/alerts/{id}/ operations: - name: environmentslogsalertsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: environmentslogsalertsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: environmentslogsalertsupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentslogsalertsupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentslogsalertspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentslogsalertspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentslogsalertsdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: environmentslogsalertsdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: api-environments-environment_id-logs-alerts-id-destinations path: /api/environments/{environment_id}/logs/alerts/{id}/destinations/ operations: - name: environmentslogsalertsdestinationscreate method: POST description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogsalertsdestinationscreate method: POST description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-alerts-id-destinations-delete path: /api/environments/{environment_id}/logs/alerts/{id}/destinations/delete/ operations: - name: environmentslogsalertsdestinationsdeletecreate method: POST description: Delete a notification destination by deleting its HogFunction group atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogsalertsdestinationsdeletecreate method: POST description: Delete a notification destination by deleting its HogFunction group atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-alerts-id-events path: /api/environments/{environment_id}/logs/alerts/{id}/events/ operations: - name: environmentslogsalertseventslist method: GET description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: environmentslogsalertseventslist method: GET description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: api-environments-environment_id-logs-alerts-id-reset path: /api/environments/{environment_id}/logs/alerts/{id}/reset/ operations: - name: environmentslogsalertsresetcreate method: POST description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: environmentslogsalertsresetcreate method: POST description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: api-environments-environment_id-logs-attributes path: /api/environments/{environment_id}/logs/attributes/ operations: - name: environmentslogsattributesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attributes: "log" for log attributes, "resource" for resource attributes. Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for attributes. - name: limit in: query type: integer description: 'Max results (default: 100)' - name: offset in: query type: integer description: 'Pagination offset (default: 0)' - name: search in: query type: string description: Search filter for attribute names - name: search_values in: query type: boolean description: When true, the search query also matches attribute values (not just keys). Each result indicates whether it matched on key or value. - name: serviceNames in: query type: array description: Filter attributes to those appearing in logs from these services. - name: environmentslogsattributesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attributes: "log" for log attributes, "resource" for resource attributes. Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for attributes. - name: limit in: query type: integer description: 'Max results (default: 100)' - name: offset in: query type: integer description: 'Pagination offset (default: 0)' - name: search in: query type: string description: Search filter for attribute names - name: search_values in: query type: boolean description: When true, the search query also matches attribute values (not just keys). Each result indicates whether it matched on key or value. - name: serviceNames in: query type: array description: Filter attributes to those appearing in logs from these services. - name: api-environments-environment_id-logs-count-ranges path: /api/environments/{environment_id}/logs/count-ranges/ operations: - name: environmentslogscountrangescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogscountrangescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-count path: /api/environments/{environment_id}/logs/count/ operations: - name: environmentslogscountcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogscountcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-export path: /api/environments/{environment_id}/logs/export/ operations: - name: environmentslogsexportcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: environmentslogsexportcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-environments-environment_id-logs-has_logs path: /api/environments/{environment_id}/logs/has_logs/ operations: - name: environmentslogshaslogsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: environmentslogshaslogsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-environments-environment_id-logs-query path: /api/environments/{environment_id}/logs/query/ operations: - name: environmentslogsquerycreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogsquerycreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-sampling_rules path: /api/environments/{environment_id}/logs/sampling_rules/ operations: - name: environmentslogssamplingruleslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: environmentslogssamplingruleslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: environmentslogssamplingrulescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogssamplingrulescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-sampling_rules-reorder path: /api/environments/{environment_id}/logs/sampling_rules/reorder/ operations: - name: environmentslogssamplingrulesreordercreate method: POST description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogssamplingrulesreordercreate method: POST description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-sampling_rules-id path: /api/environments/{environment_id}/logs/sampling_rules/{id}/ operations: - name: environmentslogssamplingrulesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: environmentslogssamplingrulesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: environmentslogssamplingrulesupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogssamplingrulesupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogssamplingrulespartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentslogssamplingrulespartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: environmentslogssamplingrulesdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: environmentslogssamplingrulesdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: api-environments-environment_id-logs-sampling_rules-id-simulate path: /api/environments/{environment_id}/logs/sampling_rules/{id}/simulate/ operations: - name: environmentslogssamplingrulessimulatecreate method: POST description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: environmentslogssamplingrulessimulatecreate method: POST description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: api-environments-environment_id-logs-services path: /api/environments/{environment_id}/logs/services/ operations: - name: environmentslogsservicescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogsservicescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-sparkline path: /api/environments/{environment_id}/logs/sparkline/ operations: - name: environmentslogssparklinecreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: environmentslogssparklinecreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-environment_id-logs-values path: /api/environments/{environment_id}/logs/values/ operations: - name: environmentslogsvaluesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attribute: "log" or "resource". Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for values. - name: key in: query type: string description: The attribute key to get values for required: true - name: serviceNames in: query type: array description: Filter values to those appearing in logs from these services. - name: value in: query type: string description: Search filter for attribute values - name: environmentslogsvaluesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attribute: "log" or "resource". Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for values. - name: key in: query type: string description: The attribute key to get values for required: true - name: serviceNames in: query type: array description: Filter values to those appearing in logs from these services. - name: value in: query type: string description: Search filter for attribute values - name: api-environments-project_id-logs-explainLogWithAI path: /api/environments/{project_id}/logs/explainLogWithAI/ operations: - name: logsexplainlogwithaicreate method: POST description: Explain a log entry using AI. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-project_id-logs-views path: /api/environments/{project_id}/logs/views/ operations: - name: logsviewslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: logsviewslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: logsviewscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logsviewscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-environments-project_id-logs-views-short_id path: /api/environments/{project_id}/logs/views/{short_id}/ operations: - name: logsviewsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: logsviewsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: logsviewsupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: logsviewsupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: logsviewspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logsviewspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logsviewsdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: logsviewsdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: short_id in: path type: string required: true - name: api-projects-project_id-logs-alerts path: /api/projects/{project_id}/logs/alerts/ operations: - name: logsalertslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: logsalertslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: logsalertscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: logsalertscreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-projects-project_id-logs-alerts-simulate path: /api/projects/{project_id}/logs/alerts/simulate/ operations: - name: logsalertssimulatecreate method: POST description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logsalertssimulatecreate method: POST description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-alerts-id path: /api/projects/{project_id}/logs/alerts/{id}/ operations: - name: logsalertsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: logsalertsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: logsalertsupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logsalertsupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logsalertspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logsalertspartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logsalertsdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: logsalertsdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: api-projects-project_id-logs-alerts-id-destinations path: /api/projects/{project_id}/logs/alerts/{id}/destinations/ operations: - name: logsalertsdestinationscreate method: POST description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: logsalertsdestinationscreate method: POST description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-alerts-id-destinations-delete path: /api/projects/{project_id}/logs/alerts/{id}/destinations/delete/ operations: - name: logsalertsdestinationsdeletecreate method: POST description: Delete a notification destination by deleting its HogFunction group atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: logsalertsdestinationsdeletecreate method: POST description: Delete a notification destination by deleting its HogFunction group atomically. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-alerts-id-events path: /api/projects/{project_id}/logs/alerts/{id}/events/ operations: - name: logsalertseventslist method: GET description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: logsalertseventslist method: GET description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: api-projects-project_id-logs-alerts-id-reset path: /api/projects/{project_id}/logs/alerts/{id}/reset/ operations: - name: logsalertsresetcreate method: POST description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: logsalertsresetcreate method: POST description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs alert configuration. required: true - name: api-projects-project_id-logs-attributes path: /api/projects/{project_id}/logs/attributes/ operations: - name: logsattributesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attributes: "log" for log attributes, "resource" for resource attributes. Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for attributes. - name: limit in: query type: integer description: 'Max results (default: 100)' - name: offset in: query type: integer description: 'Pagination offset (default: 0)' - name: search in: query type: string description: Search filter for attribute names - name: search_values in: query type: boolean description: When true, the search query also matches attribute values (not just keys). Each result indicates whether it matched on key or value. - name: serviceNames in: query type: array description: Filter attributes to those appearing in logs from these services. - name: logsattributesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attributes: "log" for log attributes, "resource" for resource attributes. Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for attributes. - name: limit in: query type: integer description: 'Max results (default: 100)' - name: offset in: query type: integer description: 'Pagination offset (default: 0)' - name: search in: query type: string description: Search filter for attribute names - name: search_values in: query type: boolean description: When true, the search query also matches attribute values (not just keys). Each result indicates whether it matched on key or value. - name: serviceNames in: query type: array description: Filter attributes to those appearing in logs from these services. - name: api-projects-project_id-logs-count-ranges path: /api/projects/{project_id}/logs/count-ranges/ operations: - name: logscountrangescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logscountrangescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-count path: /api/projects/{project_id}/logs/count/ operations: - name: logscountcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logscountcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-export path: /api/projects/{project_id}/logs/export/ operations: - name: logsexportcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: logsexportcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-projects-project_id-logs-has_logs path: /api/projects/{project_id}/logs/has_logs/ operations: - name: logshaslogsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: logshaslogsretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-projects-project_id-logs-query path: /api/projects/{project_id}/logs/query/ operations: - name: logsquerycreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logsquerycreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-sampling_rules path: /api/projects/{project_id}/logs/sampling_rules/ operations: - name: logssamplingruleslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: logssamplingruleslist method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: logssamplingrulescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logssamplingrulescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-sampling_rules-reorder path: /api/projects/{project_id}/logs/sampling_rules/reorder/ operations: - name: logssamplingrulesreordercreate method: POST description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: body in: body type: object description: Request body (JSON). required: true - name: logssamplingrulesreordercreate method: POST description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Number of results to return per page. - name: offset in: query type: integer description: The initial index from which to return the results. - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-sampling_rules-id path: /api/projects/{project_id}/logs/sampling_rules/{id}/ operations: - name: logssamplingrulesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: logssamplingrulesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: logssamplingrulesupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: logssamplingrulesupdate method: PUT description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: logssamplingrulespartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logssamplingrulespartialupdate method: PATCH description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: logssamplingrulesdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: logssamplingrulesdestroy method: DELETE description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: api-projects-project_id-logs-sampling_rules-id-simulate path: /api/projects/{project_id}/logs/sampling_rules/{id}/simulate/ operations: - name: logssamplingrulessimulatecreate method: POST description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: logssamplingrulessimulatecreate method: POST description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: A UUID string identifying this logs exclusion rule. required: true - name: api-projects-project_id-logs-services path: /api/projects/{project_id}/logs/services/ operations: - name: logsservicescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logsservicescreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-sparkline path: /api/projects/{project_id}/logs/sparkline/ operations: - name: logssparklinecreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: logssparklinecreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-projects-project_id-logs-values path: /api/projects/{project_id}/logs/values/ operations: - name: logsvaluesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attribute: "log" or "resource". Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for values. - name: key in: query type: string description: The attribute key to get values for required: true - name: serviceNames in: query type: array description: Filter values to those appearing in logs from these services. - name: value in: query type: string description: Search filter for attribute values - name: logsvaluesretrieve method: GET description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: attribute_type in: query type: string description: 'Type of attribute: "log" or "resource". Defaults to "log".' - name: dateRange in: query type: string description: Date range to search within. Defaults to last hour. - name: filterGroup in: query type: array description: Property filters to narrow which logs are scanned for values. - name: key in: query type: string description: The attribute key to get values for required: true - name: serviceNames in: query type: array description: Filter values to those appearing in logs from these services. - name: value in: query type: string description: Search filter for attribute values authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-logs-rest port: 8080 description: REST adapter for PostHog API — logs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/environments/{environment-id}/logs/alerts name: api-environments-environment-id-logs-alerts description: REST surface for api-environments-environment_id-logs-alerts. operations: - method: GET name: environmentslogsalertslist description: environmentslogsalertslist call: posthog-logs.environmentslogsalertslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: environmentslogsalertslist description: environmentslogsalertslist call: posthog-logs.environmentslogsalertslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: environmentslogsalertscreate description: environmentslogsalertscreate call: posthog-logs.environmentslogsalertscreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogsalertscreate description: environmentslogsalertscreate call: posthog-logs.environmentslogsalertscreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/alerts/simulate name: api-environments-environment-id-logs-alerts-simulate description: REST surface for api-environments-environment_id-logs-alerts-simulate. operations: - method: POST name: environmentslogsalertssimulatecreate description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. call: posthog-logs.environmentslogsalertssimulatecreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogsalertssimulatecreate description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. call: posthog-logs.environmentslogsalertssimulatecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/alerts/{id} name: api-environments-environment-id-logs-alerts-id description: REST surface for api-environments-environment_id-logs-alerts-id. operations: - method: GET name: environmentslogsalertsretrieve description: environmentslogsalertsretrieve call: posthog-logs.environmentslogsalertsretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: environmentslogsalertsretrieve description: environmentslogsalertsretrieve call: posthog-logs.environmentslogsalertsretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: environmentslogsalertsupdate description: environmentslogsalertsupdate call: posthog-logs.environmentslogsalertsupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: environmentslogsalertsupdate description: environmentslogsalertsupdate call: posthog-logs.environmentslogsalertsupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: environmentslogsalertspartialupdate description: environmentslogsalertspartialupdate call: posthog-logs.environmentslogsalertspartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: environmentslogsalertspartialupdate description: environmentslogsalertspartialupdate call: posthog-logs.environmentslogsalertspartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: environmentslogsalertsdestroy description: environmentslogsalertsdestroy call: posthog-logs.environmentslogsalertsdestroy with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: environmentslogsalertsdestroy description: environmentslogsalertsdestroy call: posthog-logs.environmentslogsalertsdestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/alerts/{id}/destinations name: api-environments-environment-id-logs-alerts-id-destinations description: REST surface for api-environments-environment_id-logs-alerts-id-destinations. operations: - method: POST name: environmentslogsalertsdestinationscreate description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. call: posthog-logs.environmentslogsalertsdestinationscreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogsalertsdestinationscreate description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. call: posthog-logs.environmentslogsalertsdestinationscreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/alerts/{id}/destinations/delete name: api-environments-environment-id-logs-alerts-id-destinations-delete description: REST surface for api-environments-environment_id-logs-alerts-id-destinations-delete. operations: - method: POST name: environmentslogsalertsdestinationsdeletecreate description: Delete a notification destination by deleting its HogFunction group atomically. call: posthog-logs.environmentslogsalertsdestinationsdeletecreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogsalertsdestinationsdeletecreate description: Delete a notification destination by deleting its HogFunction group atomically. call: posthog-logs.environmentslogsalertsdestinationsdeletecreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/alerts/{id}/events name: api-environments-environment-id-logs-alerts-id-events description: REST surface for api-environments-environment_id-logs-alerts-id-events. operations: - method: GET name: environmentslogsalertseventslist description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c call: posthog-logs.environmentslogsalertseventslist with: id: rest.id limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: environmentslogsalertseventslist description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c call: posthog-logs.environmentslogsalertseventslist with: id: rest.id limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/alerts/{id}/reset name: api-environments-environment-id-logs-alerts-id-reset description: REST surface for api-environments-environment_id-logs-alerts-id-reset. operations: - method: POST name: environmentslogsalertsresetcreate description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. call: posthog-logs.environmentslogsalertsresetcreate with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: environmentslogsalertsresetcreate description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. call: posthog-logs.environmentslogsalertsresetcreate with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/attributes name: api-environments-environment-id-logs-attributes description: REST surface for api-environments-environment_id-logs-attributes. operations: - method: GET name: environmentslogsattributesretrieve description: environmentslogsattributesretrieve call: posthog-logs.environmentslogsattributesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup limit: rest.limit offset: rest.offset search: rest.search search_values: rest.search_values serviceNames: rest.serviceNames outputParameters: - type: object mapping: $. - method: GET name: environmentslogsattributesretrieve description: environmentslogsattributesretrieve call: posthog-logs.environmentslogsattributesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup limit: rest.limit offset: rest.offset search: rest.search search_values: rest.search_values serviceNames: rest.serviceNames outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/count-ranges name: api-environments-environment-id-logs-count-ranges description: REST surface for api-environments-environment_id-logs-count-ranges. operations: - method: POST name: environmentslogscountrangescreate description: environmentslogscountrangescreate call: posthog-logs.environmentslogscountrangescreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogscountrangescreate description: environmentslogscountrangescreate call: posthog-logs.environmentslogscountrangescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/count name: api-environments-environment-id-logs-count description: REST surface for api-environments-environment_id-logs-count. operations: - method: POST name: environmentslogscountcreate description: environmentslogscountcreate call: posthog-logs.environmentslogscountcreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogscountcreate description: environmentslogscountcreate call: posthog-logs.environmentslogscountcreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/export name: api-environments-environment-id-logs-export description: REST surface for api-environments-environment_id-logs-export. operations: - method: POST name: environmentslogsexportcreate description: environmentslogsexportcreate call: posthog-logs.environmentslogsexportcreate outputParameters: - type: object mapping: $. - method: POST name: environmentslogsexportcreate description: environmentslogsexportcreate call: posthog-logs.environmentslogsexportcreate outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/has-logs name: api-environments-environment-id-logs-has-logs description: REST surface for api-environments-environment_id-logs-has_logs. operations: - method: GET name: environmentslogshaslogsretrieve description: environmentslogshaslogsretrieve call: posthog-logs.environmentslogshaslogsretrieve outputParameters: - type: object mapping: $. - method: GET name: environmentslogshaslogsretrieve description: environmentslogshaslogsretrieve call: posthog-logs.environmentslogshaslogsretrieve outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/query name: api-environments-environment-id-logs-query description: REST surface for api-environments-environment_id-logs-query. operations: - method: POST name: environmentslogsquerycreate description: environmentslogsquerycreate call: posthog-logs.environmentslogsquerycreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogsquerycreate description: environmentslogsquerycreate call: posthog-logs.environmentslogsquerycreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/sampling-rules name: api-environments-environment-id-logs-sampling-rules description: REST surface for api-environments-environment_id-logs-sampling_rules. operations: - method: GET name: environmentslogssamplingruleslist description: environmentslogssamplingruleslist call: posthog-logs.environmentslogssamplingruleslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: environmentslogssamplingruleslist description: environmentslogssamplingruleslist call: posthog-logs.environmentslogssamplingruleslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: environmentslogssamplingrulescreate description: environmentslogssamplingrulescreate call: posthog-logs.environmentslogssamplingrulescreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogssamplingrulescreate description: environmentslogssamplingrulescreate call: posthog-logs.environmentslogssamplingrulescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/sampling-rules/reorder name: api-environments-environment-id-logs-sampling-rules-reorder description: REST surface for api-environments-environment_id-logs-sampling_rules-reorder. operations: - method: POST name: environmentslogssamplingrulesreordercreate description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). call: posthog-logs.environmentslogssamplingrulesreordercreate with: limit: rest.limit offset: rest.offset body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogssamplingrulesreordercreate description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). call: posthog-logs.environmentslogssamplingrulesreordercreate with: limit: rest.limit offset: rest.offset body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/sampling-rules/{id} name: api-environments-environment-id-logs-sampling-rules-id description: REST surface for api-environments-environment_id-logs-sampling_rules-id. operations: - method: GET name: environmentslogssamplingrulesretrieve description: environmentslogssamplingrulesretrieve call: posthog-logs.environmentslogssamplingrulesretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: environmentslogssamplingrulesretrieve description: environmentslogssamplingrulesretrieve call: posthog-logs.environmentslogssamplingrulesretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: environmentslogssamplingrulesupdate description: environmentslogssamplingrulesupdate call: posthog-logs.environmentslogssamplingrulesupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: environmentslogssamplingrulesupdate description: environmentslogssamplingrulesupdate call: posthog-logs.environmentslogssamplingrulesupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: environmentslogssamplingrulespartialupdate description: environmentslogssamplingrulespartialupdate call: posthog-logs.environmentslogssamplingrulespartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: environmentslogssamplingrulespartialupdate description: environmentslogssamplingrulespartialupdate call: posthog-logs.environmentslogssamplingrulespartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: environmentslogssamplingrulesdestroy description: environmentslogssamplingrulesdestroy call: posthog-logs.environmentslogssamplingrulesdestroy with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: environmentslogssamplingrulesdestroy description: environmentslogssamplingrulesdestroy call: posthog-logs.environmentslogssamplingrulesdestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/sampling-rules/{id}/simulate name: api-environments-environment-id-logs-sampling-rules-id-simulate description: REST surface for api-environments-environment_id-logs-sampling_rules-id-simulate. operations: - method: POST name: environmentslogssamplingrulessimulatecreate description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). call: posthog-logs.environmentslogssamplingrulessimulatecreate with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: environmentslogssamplingrulessimulatecreate description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). call: posthog-logs.environmentslogssamplingrulessimulatecreate with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/services name: api-environments-environment-id-logs-services description: REST surface for api-environments-environment_id-logs-services. operations: - method: POST name: environmentslogsservicescreate description: environmentslogsservicescreate call: posthog-logs.environmentslogsservicescreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogsservicescreate description: environmentslogsservicescreate call: posthog-logs.environmentslogsservicescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/sparkline name: api-environments-environment-id-logs-sparkline description: REST surface for api-environments-environment_id-logs-sparkline. operations: - method: POST name: environmentslogssparklinecreate description: environmentslogssparklinecreate call: posthog-logs.environmentslogssparklinecreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: environmentslogssparklinecreate description: environmentslogssparklinecreate call: posthog-logs.environmentslogssparklinecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{environment-id}/logs/values name: api-environments-environment-id-logs-values description: REST surface for api-environments-environment_id-logs-values. operations: - method: GET name: environmentslogsvaluesretrieve description: environmentslogsvaluesretrieve call: posthog-logs.environmentslogsvaluesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup key: rest.key serviceNames: rest.serviceNames value: rest.value outputParameters: - type: object mapping: $. - method: GET name: environmentslogsvaluesretrieve description: environmentslogsvaluesretrieve call: posthog-logs.environmentslogsvaluesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup key: rest.key serviceNames: rest.serviceNames value: rest.value outputParameters: - type: object mapping: $. - path: /v1/api/environments/{project-id}/logs/explainlogwithai name: api-environments-project-id-logs-explainlogwithai description: REST surface for api-environments-project_id-logs-explainLogWithAI. operations: - method: POST name: logsexplainlogwithaicreate description: Explain a log entry using AI. call: posthog-logs.logsexplainlogwithaicreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{project-id}/logs/views name: api-environments-project-id-logs-views description: REST surface for api-environments-project_id-logs-views. operations: - method: GET name: logsviewslist description: logsviewslist call: posthog-logs.logsviewslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: logsviewslist description: logsviewslist call: posthog-logs.logsviewslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: logsviewscreate description: logsviewscreate call: posthog-logs.logsviewscreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logsviewscreate description: logsviewscreate call: posthog-logs.logsviewscreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/environments/{project-id}/logs/views/{short-id} name: api-environments-project-id-logs-views-short-id description: REST surface for api-environments-project_id-logs-views-short_id. operations: - method: GET name: logsviewsretrieve description: logsviewsretrieve call: posthog-logs.logsviewsretrieve with: short_id: rest.short_id outputParameters: - type: object mapping: $. - method: GET name: logsviewsretrieve description: logsviewsretrieve call: posthog-logs.logsviewsretrieve with: short_id: rest.short_id outputParameters: - type: object mapping: $. - method: PUT name: logsviewsupdate description: logsviewsupdate call: posthog-logs.logsviewsupdate with: short_id: rest.short_id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: logsviewsupdate description: logsviewsupdate call: posthog-logs.logsviewsupdate with: short_id: rest.short_id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: logsviewspartialupdate description: logsviewspartialupdate call: posthog-logs.logsviewspartialupdate with: short_id: rest.short_id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: logsviewspartialupdate description: logsviewspartialupdate call: posthog-logs.logsviewspartialupdate with: short_id: rest.short_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: logsviewsdestroy description: logsviewsdestroy call: posthog-logs.logsviewsdestroy with: short_id: rest.short_id outputParameters: - type: object mapping: $. - method: DELETE name: logsviewsdestroy description: logsviewsdestroy call: posthog-logs.logsviewsdestroy with: short_id: rest.short_id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/alerts name: api-projects-project-id-logs-alerts description: REST surface for api-projects-project_id-logs-alerts. operations: - method: GET name: logsalertslist description: logsalertslist call: posthog-logs.logsalertslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: logsalertslist description: logsalertslist call: posthog-logs.logsalertslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: logsalertscreate description: logsalertscreate call: posthog-logs.logsalertscreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logsalertscreate description: logsalertscreate call: posthog-logs.logsalertscreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/alerts/simulate name: api-projects-project-id-logs-alerts-simulate description: REST surface for api-projects-project_id-logs-alerts-simulate. operations: - method: POST name: logsalertssimulatecreate description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. call: posthog-logs.logsalertssimulatecreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logsalertssimulatecreate description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. call: posthog-logs.logsalertssimulatecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/alerts/{id} name: api-projects-project-id-logs-alerts-id description: REST surface for api-projects-project_id-logs-alerts-id. operations: - method: GET name: logsalertsretrieve description: logsalertsretrieve call: posthog-logs.logsalertsretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: logsalertsretrieve description: logsalertsretrieve call: posthog-logs.logsalertsretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: logsalertsupdate description: logsalertsupdate call: posthog-logs.logsalertsupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: logsalertsupdate description: logsalertsupdate call: posthog-logs.logsalertsupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: logsalertspartialupdate description: logsalertspartialupdate call: posthog-logs.logsalertspartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: logsalertspartialupdate description: logsalertspartialupdate call: posthog-logs.logsalertspartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: logsalertsdestroy description: logsalertsdestroy call: posthog-logs.logsalertsdestroy with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: logsalertsdestroy description: logsalertsdestroy call: posthog-logs.logsalertsdestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/alerts/{id}/destinations name: api-projects-project-id-logs-alerts-id-destinations description: REST surface for api-projects-project_id-logs-alerts-id-destinations. operations: - method: POST name: logsalertsdestinationscreate description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. call: posthog-logs.logsalertsdestinationscreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logsalertsdestinationscreate description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. call: posthog-logs.logsalertsdestinationscreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/alerts/{id}/destinations/delete name: api-projects-project-id-logs-alerts-id-destinations-delete description: REST surface for api-projects-project_id-logs-alerts-id-destinations-delete. operations: - method: POST name: logsalertsdestinationsdeletecreate description: Delete a notification destination by deleting its HogFunction group atomically. call: posthog-logs.logsalertsdestinationsdeletecreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logsalertsdestinationsdeletecreate description: Delete a notification destination by deleting its HogFunction group atomically. call: posthog-logs.logsalertsdestinationsdeletecreate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/alerts/{id}/events name: api-projects-project-id-logs-alerts-id-events description: REST surface for api-projects-project_id-logs-alerts-id-events. operations: - method: GET name: logsalertseventslist description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c call: posthog-logs.logsalertseventslist with: id: rest.id limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: logsalertseventslist description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c call: posthog-logs.logsalertseventslist with: id: rest.id limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/alerts/{id}/reset name: api-projects-project-id-logs-alerts-id-reset description: REST surface for api-projects-project_id-logs-alerts-id-reset. operations: - method: POST name: logsalertsresetcreate description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. call: posthog-logs.logsalertsresetcreate with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: logsalertsresetcreate description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. call: posthog-logs.logsalertsresetcreate with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/attributes name: api-projects-project-id-logs-attributes description: REST surface for api-projects-project_id-logs-attributes. operations: - method: GET name: logsattributesretrieve description: logsattributesretrieve call: posthog-logs.logsattributesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup limit: rest.limit offset: rest.offset search: rest.search search_values: rest.search_values serviceNames: rest.serviceNames outputParameters: - type: object mapping: $. - method: GET name: logsattributesretrieve description: logsattributesretrieve call: posthog-logs.logsattributesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup limit: rest.limit offset: rest.offset search: rest.search search_values: rest.search_values serviceNames: rest.serviceNames outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/count-ranges name: api-projects-project-id-logs-count-ranges description: REST surface for api-projects-project_id-logs-count-ranges. operations: - method: POST name: logscountrangescreate description: logscountrangescreate call: posthog-logs.logscountrangescreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logscountrangescreate description: logscountrangescreate call: posthog-logs.logscountrangescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/count name: api-projects-project-id-logs-count description: REST surface for api-projects-project_id-logs-count. operations: - method: POST name: logscountcreate description: logscountcreate call: posthog-logs.logscountcreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logscountcreate description: logscountcreate call: posthog-logs.logscountcreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/export name: api-projects-project-id-logs-export description: REST surface for api-projects-project_id-logs-export. operations: - method: POST name: logsexportcreate description: logsexportcreate call: posthog-logs.logsexportcreate outputParameters: - type: object mapping: $. - method: POST name: logsexportcreate description: logsexportcreate call: posthog-logs.logsexportcreate outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/has-logs name: api-projects-project-id-logs-has-logs description: REST surface for api-projects-project_id-logs-has_logs. operations: - method: GET name: logshaslogsretrieve description: logshaslogsretrieve call: posthog-logs.logshaslogsretrieve outputParameters: - type: object mapping: $. - method: GET name: logshaslogsretrieve description: logshaslogsretrieve call: posthog-logs.logshaslogsretrieve outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/query name: api-projects-project-id-logs-query description: REST surface for api-projects-project_id-logs-query. operations: - method: POST name: logsquerycreate description: logsquerycreate call: posthog-logs.logsquerycreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logsquerycreate description: logsquerycreate call: posthog-logs.logsquerycreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/sampling-rules name: api-projects-project-id-logs-sampling-rules description: REST surface for api-projects-project_id-logs-sampling_rules. operations: - method: GET name: logssamplingruleslist description: logssamplingruleslist call: posthog-logs.logssamplingruleslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: GET name: logssamplingruleslist description: logssamplingruleslist call: posthog-logs.logssamplingruleslist with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: logssamplingrulescreate description: logssamplingrulescreate call: posthog-logs.logssamplingrulescreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logssamplingrulescreate description: logssamplingrulescreate call: posthog-logs.logssamplingrulescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/sampling-rules/reorder name: api-projects-project-id-logs-sampling-rules-reorder description: REST surface for api-projects-project_id-logs-sampling_rules-reorder. operations: - method: POST name: logssamplingrulesreordercreate description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). call: posthog-logs.logssamplingrulesreordercreate with: limit: rest.limit offset: rest.offset body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logssamplingrulesreordercreate description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). call: posthog-logs.logssamplingrulesreordercreate with: limit: rest.limit offset: rest.offset body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/sampling-rules/{id} name: api-projects-project-id-logs-sampling-rules-id description: REST surface for api-projects-project_id-logs-sampling_rules-id. operations: - method: GET name: logssamplingrulesretrieve description: logssamplingrulesretrieve call: posthog-logs.logssamplingrulesretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: logssamplingrulesretrieve description: logssamplingrulesretrieve call: posthog-logs.logssamplingrulesretrieve with: id: rest.id outputParameters: - type: object mapping: $. - method: PUT name: logssamplingrulesupdate description: logssamplingrulesupdate call: posthog-logs.logssamplingrulesupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: logssamplingrulesupdate description: logssamplingrulesupdate call: posthog-logs.logssamplingrulesupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: logssamplingrulespartialupdate description: logssamplingrulespartialupdate call: posthog-logs.logssamplingrulespartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: logssamplingrulespartialupdate description: logssamplingrulespartialupdate call: posthog-logs.logssamplingrulespartialupdate with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: logssamplingrulesdestroy description: logssamplingrulesdestroy call: posthog-logs.logssamplingrulesdestroy with: id: rest.id outputParameters: - type: object mapping: $. - method: DELETE name: logssamplingrulesdestroy description: logssamplingrulesdestroy call: posthog-logs.logssamplingrulesdestroy with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/sampling-rules/{id}/simulate name: api-projects-project-id-logs-sampling-rules-id-simulate description: REST surface for api-projects-project_id-logs-sampling_rules-id-simulate. operations: - method: POST name: logssamplingrulessimulatecreate description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). call: posthog-logs.logssamplingrulessimulatecreate with: id: rest.id outputParameters: - type: object mapping: $. - method: POST name: logssamplingrulessimulatecreate description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). call: posthog-logs.logssamplingrulessimulatecreate with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/services name: api-projects-project-id-logs-services description: REST surface for api-projects-project_id-logs-services. operations: - method: POST name: logsservicescreate description: logsservicescreate call: posthog-logs.logsservicescreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logsservicescreate description: logsservicescreate call: posthog-logs.logsservicescreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/sparkline name: api-projects-project-id-logs-sparkline description: REST surface for api-projects-project_id-logs-sparkline. operations: - method: POST name: logssparklinecreate description: logssparklinecreate call: posthog-logs.logssparklinecreate with: body: rest.body outputParameters: - type: object mapping: $. - method: POST name: logssparklinecreate description: logssparklinecreate call: posthog-logs.logssparklinecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/projects/{project-id}/logs/values name: api-projects-project-id-logs-values description: REST surface for api-projects-project_id-logs-values. operations: - method: GET name: logsvaluesretrieve description: logsvaluesretrieve call: posthog-logs.logsvaluesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup key: rest.key serviceNames: rest.serviceNames value: rest.value outputParameters: - type: object mapping: $. - method: GET name: logsvaluesretrieve description: logsvaluesretrieve call: posthog-logs.logsvaluesretrieve with: attribute_type: rest.attribute_type dateRange: rest.dateRange filterGroup: rest.filterGroup key: rest.key serviceNames: rest.serviceNames value: rest.value outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-logs-mcp port: 9090 transport: http description: MCP adapter for PostHog API — logs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: environmentslogsalertslist description: environmentslogsalertslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsalertslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: environmentslogsalertslist-2 description: environmentslogsalertslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsalertslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: environmentslogsalertscreate description: environmentslogsalertscreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsalertscreate-2 description: environmentslogsalertscreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: simulate-logs-alert-historical-data description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. hints: readOnly: true destructive: false idempotent: false call: posthog-logs.environmentslogsalertssimulatecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: simulate-logs-alert-historical-data-2 description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. hints: readOnly: true destructive: false idempotent: false call: posthog-logs.environmentslogsalertssimulatecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsalertsretrieve description: environmentslogsalertsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsalertsretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogsalertsretrieve-2 description: environmentslogsalertsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsalertsretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogsalertsupdate description: environmentslogsalertsupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogsalertsupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsalertsupdate-2 description: environmentslogsalertsupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogsalertsupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsalertspartialupdate description: environmentslogsalertspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogsalertspartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsalertspartialupdate-2 description: environmentslogsalertspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogsalertspartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsalertsdestroy description: environmentslogsalertsdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.environmentslogsalertsdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogsalertsdestroy-2 description: environmentslogsalertsdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.environmentslogsalertsdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: create-notification-destination-this-alert description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertsdestinationscreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: create-notification-destination-this-alert-2 description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertsdestinationscreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-notification-destination-deleting-its description: Delete a notification destination by deleting its HogFunction group atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertsdestinationsdeletecreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-notification-destination-deleting-its-2 description: Delete a notification destination by deleting its HogFunction group atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertsdestinationsdeletecreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: paginated-event-history-this-alert description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsalertseventslist with: id: tools.id limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: paginated-event-history-this-alert-2 description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsalertseventslist with: id: tools.id limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: reset-broken-alert-clears-consecutive description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertsresetcreate with: id: tools.id outputParameters: - type: object mapping: $. - name: reset-broken-alert-clears-consecutive-2 description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsalertsresetcreate with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogsattributesretrieve description: environmentslogsattributesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsattributesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup limit: tools.limit offset: tools.offset search: tools.search search_values: tools.search_values serviceNames: tools.serviceNames outputParameters: - type: object mapping: $. - name: environmentslogsattributesretrieve-2 description: environmentslogsattributesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsattributesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup limit: tools.limit offset: tools.offset search: tools.search search_values: tools.search_values serviceNames: tools.serviceNames outputParameters: - type: object mapping: $. - name: environmentslogscountrangescreate description: environmentslogscountrangescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogscountrangescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogscountrangescreate-2 description: environmentslogscountrangescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogscountrangescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogscountcreate description: environmentslogscountcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogscountcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogscountcreate-2 description: environmentslogscountcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogscountcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsexportcreate description: environmentslogsexportcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsexportcreate outputParameters: - type: object mapping: $. - name: environmentslogsexportcreate-2 description: environmentslogsexportcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsexportcreate outputParameters: - type: object mapping: $. - name: environmentslogshaslogsretrieve description: environmentslogshaslogsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogshaslogsretrieve outputParameters: - type: object mapping: $. - name: environmentslogshaslogsretrieve-2 description: environmentslogshaslogsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogshaslogsretrieve outputParameters: - type: object mapping: $. - name: environmentslogsquerycreate description: environmentslogsquerycreate hints: readOnly: true destructive: false idempotent: false call: posthog-logs.environmentslogsquerycreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsquerycreate-2 description: environmentslogsquerycreate hints: readOnly: true destructive: false idempotent: false call: posthog-logs.environmentslogsquerycreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssamplingruleslist description: environmentslogssamplingruleslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogssamplingruleslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: environmentslogssamplingruleslist-2 description: environmentslogssamplingruleslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogssamplingruleslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulescreate description: environmentslogssamplingrulescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssamplingrulescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulescreate-2 description: environmentslogssamplingrulescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssamplingrulescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: atomically-reassign-priorities-so-given description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssamplingrulesreordercreate with: limit: tools.limit offset: tools.offset body: tools.body outputParameters: - type: object mapping: $. - name: atomically-reassign-priorities-so-given-2 description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssamplingrulesreordercreate with: limit: tools.limit offset: tools.offset body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulesretrieve description: environmentslogssamplingrulesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogssamplingrulesretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulesretrieve-2 description: environmentslogssamplingrulesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogssamplingrulesretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulesupdate description: environmentslogssamplingrulesupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogssamplingrulesupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulesupdate-2 description: environmentslogssamplingrulesupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogssamplingrulesupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulespartialupdate description: environmentslogssamplingrulespartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogssamplingrulespartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulespartialupdate-2 description: environmentslogssamplingrulespartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.environmentslogssamplingrulespartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulesdestroy description: environmentslogssamplingrulesdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.environmentslogssamplingrulesdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogssamplingrulesdestroy-2 description: environmentslogssamplingrulesdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.environmentslogssamplingrulesdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: dry-run-estimate-how-much description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssamplingrulessimulatecreate with: id: tools.id outputParameters: - type: object mapping: $. - name: dry-run-estimate-how-much-2 description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssamplingrulessimulatecreate with: id: tools.id outputParameters: - type: object mapping: $. - name: environmentslogsservicescreate description: environmentslogsservicescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsservicescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsservicescreate-2 description: environmentslogsservicescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogsservicescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssparklinecreate description: environmentslogssparklinecreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssparklinecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogssparklinecreate-2 description: environmentslogssparklinecreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.environmentslogssparklinecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: environmentslogsvaluesretrieve description: environmentslogsvaluesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsvaluesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup key: tools.key serviceNames: tools.serviceNames value: tools.value outputParameters: - type: object mapping: $. - name: environmentslogsvaluesretrieve-2 description: environmentslogsvaluesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.environmentslogsvaluesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup key: tools.key serviceNames: tools.serviceNames value: tools.value outputParameters: - type: object mapping: $. - name: explain-log-entry-using-ai description: Explain a log entry using AI. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsexplainlogwithaicreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsviewslist description: logsviewslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsviewslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: logsviewslist-2 description: logsviewslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsviewslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: logsviewscreate description: logsviewscreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsviewscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsviewscreate-2 description: logsviewscreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsviewscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsviewsretrieve description: logsviewsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsviewsretrieve with: short_id: tools.short_id outputParameters: - type: object mapping: $. - name: logsviewsretrieve-2 description: logsviewsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsviewsretrieve with: short_id: tools.short_id outputParameters: - type: object mapping: $. - name: logsviewsupdate description: logsviewsupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsviewsupdate with: short_id: tools.short_id body: tools.body outputParameters: - type: object mapping: $. - name: logsviewsupdate-2 description: logsviewsupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsviewsupdate with: short_id: tools.short_id body: tools.body outputParameters: - type: object mapping: $. - name: logsviewspartialupdate description: logsviewspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsviewspartialupdate with: short_id: tools.short_id body: tools.body outputParameters: - type: object mapping: $. - name: logsviewspartialupdate-2 description: logsviewspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsviewspartialupdate with: short_id: tools.short_id body: tools.body outputParameters: - type: object mapping: $. - name: logsviewsdestroy description: logsviewsdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.logsviewsdestroy with: short_id: tools.short_id outputParameters: - type: object mapping: $. - name: logsviewsdestroy-2 description: logsviewsdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.logsviewsdestroy with: short_id: tools.short_id outputParameters: - type: object mapping: $. - name: logsalertslist description: logsalertslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsalertslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: logsalertslist-2 description: logsalertslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsalertslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: logsalertscreate description: logsalertscreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsalertscreate-2 description: logsalertscreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertscreate with: body: tools.body outputParameters: - type: object mapping: $. - name: simulate-logs-alert-historical-data-3 description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. hints: readOnly: true destructive: false idempotent: false call: posthog-logs.logsalertssimulatecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: simulate-logs-alert-historical-data-4 description: Simulate a logs alert on historical data using the full state machine. Read-only — no alert check records are created. hints: readOnly: true destructive: false idempotent: false call: posthog-logs.logsalertssimulatecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsalertsretrieve description: logsalertsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsalertsretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: logsalertsretrieve-2 description: logsalertsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsalertsretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: logsalertsupdate description: logsalertsupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsalertsupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logsalertsupdate-2 description: logsalertsupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsalertsupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logsalertspartialupdate description: logsalertspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsalertspartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logsalertspartialupdate-2 description: logsalertspartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logsalertspartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logsalertsdestroy description: logsalertsdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.logsalertsdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: logsalertsdestroy-2 description: logsalertsdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.logsalertsdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: create-notification-destination-this-alert-3 description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertsdestinationscreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: create-notification-destination-this-alert-4 description: Create a notification destination for this alert. One HogFunction is created per alert event kind (firing, resolved, ...) atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertsdestinationscreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-notification-destination-deleting-its-3 description: Delete a notification destination by deleting its HogFunction group atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertsdestinationsdeletecreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-notification-destination-deleting-its-4 description: Delete a notification destination by deleting its HogFunction group atomically. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertsdestinationsdeletecreate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: paginated-event-history-this-alert-3 description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsalertseventslist with: id: tools.id limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: paginated-event-history-this-alert-4 description: Paginated event history for this alert, newest first. Returns state transitions, errored checks, and user-initiated control-plane rows (reset, enable/disable, snooze/unsnooze, threshold change) — quiet no-op check rows (where state didn't c hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsalertseventslist with: id: tools.id limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: reset-broken-alert-clears-consecutive-3 description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertsresetcreate with: id: tools.id outputParameters: - type: object mapping: $. - name: reset-broken-alert-clears-consecutive-4 description: Reset a broken alert. Clears the consecutive-failure counter and schedules an immediate recheck. hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsalertsresetcreate with: id: tools.id outputParameters: - type: object mapping: $. - name: logsattributesretrieve description: logsattributesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsattributesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup limit: tools.limit offset: tools.offset search: tools.search search_values: tools.search_values serviceNames: tools.serviceNames outputParameters: - type: object mapping: $. - name: logsattributesretrieve-2 description: logsattributesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsattributesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup limit: tools.limit offset: tools.offset search: tools.search search_values: tools.search_values serviceNames: tools.serviceNames outputParameters: - type: object mapping: $. - name: logscountrangescreate description: logscountrangescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logscountrangescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logscountrangescreate-2 description: logscountrangescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logscountrangescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logscountcreate description: logscountcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logscountcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logscountcreate-2 description: logscountcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logscountcreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsexportcreate description: logsexportcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsexportcreate outputParameters: - type: object mapping: $. - name: logsexportcreate-2 description: logsexportcreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsexportcreate outputParameters: - type: object mapping: $. - name: logshaslogsretrieve description: logshaslogsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logshaslogsretrieve outputParameters: - type: object mapping: $. - name: logshaslogsretrieve-2 description: logshaslogsretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logshaslogsretrieve outputParameters: - type: object mapping: $. - name: logsquerycreate description: logsquerycreate hints: readOnly: true destructive: false idempotent: false call: posthog-logs.logsquerycreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsquerycreate-2 description: logsquerycreate hints: readOnly: true destructive: false idempotent: false call: posthog-logs.logsquerycreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logssamplingruleslist description: logssamplingruleslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logssamplingruleslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: logssamplingruleslist-2 description: logssamplingruleslist hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logssamplingruleslist with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: logssamplingrulescreate description: logssamplingrulescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssamplingrulescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logssamplingrulescreate-2 description: logssamplingrulescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssamplingrulescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: atomically-reassign-priorities-so-given-3 description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssamplingrulesreordercreate with: limit: tools.limit offset: tools.offset body: tools.body outputParameters: - type: object mapping: $. - name: atomically-reassign-priorities-so-given-4 description: Atomically reassign priorities so the given ID order maps to ascending priorities (0..n-1). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssamplingrulesreordercreate with: limit: tools.limit offset: tools.offset body: tools.body outputParameters: - type: object mapping: $. - name: logssamplingrulesretrieve description: logssamplingrulesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logssamplingrulesretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: logssamplingrulesretrieve-2 description: logssamplingrulesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logssamplingrulesretrieve with: id: tools.id outputParameters: - type: object mapping: $. - name: logssamplingrulesupdate description: logssamplingrulesupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logssamplingrulesupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logssamplingrulesupdate-2 description: logssamplingrulesupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logssamplingrulesupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logssamplingrulespartialupdate description: logssamplingrulespartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logssamplingrulespartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logssamplingrulespartialupdate-2 description: logssamplingrulespartialupdate hints: readOnly: false destructive: false idempotent: true call: posthog-logs.logssamplingrulespartialupdate with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: logssamplingrulesdestroy description: logssamplingrulesdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.logssamplingrulesdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: logssamplingrulesdestroy-2 description: logssamplingrulesdestroy hints: readOnly: false destructive: true idempotent: true call: posthog-logs.logssamplingrulesdestroy with: id: tools.id outputParameters: - type: object mapping: $. - name: dry-run-estimate-how-much-3 description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssamplingrulessimulatecreate with: id: tools.id outputParameters: - type: object mapping: $. - name: dry-run-estimate-how-much-4 description: Dry-run estimate for how much volume this rule would remove (placeholder response until CH-backed simulation is wired). hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssamplingrulessimulatecreate with: id: tools.id outputParameters: - type: object mapping: $. - name: logsservicescreate description: logsservicescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsservicescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsservicescreate-2 description: logsservicescreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logsservicescreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logssparklinecreate description: logssparklinecreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssparklinecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logssparklinecreate-2 description: logssparklinecreate hints: readOnly: false destructive: false idempotent: false call: posthog-logs.logssparklinecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: logsvaluesretrieve description: logsvaluesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsvaluesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup key: tools.key serviceNames: tools.serviceNames value: tools.value outputParameters: - type: object mapping: $. - name: logsvaluesretrieve-2 description: logsvaluesretrieve hints: readOnly: true destructive: false idempotent: true call: posthog-logs.logsvaluesretrieve with: attribute_type: tools.attribute_type dateRange: tools.dateRange filterGroup: tools.filterGroup key: tools.key serviceNames: tools.serviceNames value: tools.value outputParameters: - type: object mapping: $.