katana_public_api_client.api.webhook_logs.export_webhook_logs¶
katana_public_api_client.api.webhook_logs.export_webhook_logs
¶
Classes¶
Functions¶
asyncio(*, client, body)
async
¶
Export webhook logs
Use the endpoint to export your webhook logs and troubleshoot any issues. Webhook logs are filtered by the provided parameters and exported into a CSV file. The response contains an URL to the CSV file.
Parameters:
-
body(WebhookLogsExportRequest) –Request parameters for exporting webhook delivery logs for analysis and debugging Example: {'webhook_id': 1, 'start_date': '2024-01-10T00:00:00Z', 'end_date': '2024-01-15T23:59:59Z', 'status_filter': ['failure', 'retry'], 'format': 'csv'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
DetailedErrorResponse | ErrorResponse | WebhookLogsExport | None–Union[DetailedErrorResponse, ErrorResponse, WebhookLogsExport]
Source code in katana_public_api_client/api/webhook_logs/export_webhook_logs.py
asyncio_detailed(*, client, body)
async
¶
Export webhook logs
Use the endpoint to export your webhook logs and troubleshoot any issues. Webhook logs are filtered by the provided parameters and exported into a CSV file. The response contains an URL to the CSV file.
Parameters:
-
body(WebhookLogsExportRequest) –Request parameters for exporting webhook delivery logs for analysis and debugging Example: {'webhook_id': 1, 'start_date': '2024-01-10T00:00:00Z', 'end_date': '2024-01-15T23:59:59Z', 'status_filter': ['failure', 'retry'], 'format': 'csv'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[DetailedErrorResponse | ErrorResponse | WebhookLogsExport]–Response[Union[DetailedErrorResponse, ErrorResponse, WebhookLogsExport]]
Source code in katana_public_api_client/api/webhook_logs/export_webhook_logs.py
sync(*, client, body)
¶
Export webhook logs
Use the endpoint to export your webhook logs and troubleshoot any issues. Webhook logs are filtered by the provided parameters and exported into a CSV file. The response contains an URL to the CSV file.
Parameters:
-
body(WebhookLogsExportRequest) –Request parameters for exporting webhook delivery logs for analysis and debugging Example: {'webhook_id': 1, 'start_date': '2024-01-10T00:00:00Z', 'end_date': '2024-01-15T23:59:59Z', 'status_filter': ['failure', 'retry'], 'format': 'csv'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
DetailedErrorResponse | ErrorResponse | WebhookLogsExport | None–Union[DetailedErrorResponse, ErrorResponse, WebhookLogsExport]
Source code in katana_public_api_client/api/webhook_logs/export_webhook_logs.py
sync_detailed(*, client, body)
¶
Export webhook logs
Use the endpoint to export your webhook logs and troubleshoot any issues. Webhook logs are filtered by the provided parameters and exported into a CSV file. The response contains an URL to the CSV file.
Parameters:
-
body(WebhookLogsExportRequest) –Request parameters for exporting webhook delivery logs for analysis and debugging Example: {'webhook_id': 1, 'start_date': '2024-01-10T00:00:00Z', 'end_date': '2024-01-15T23:59:59Z', 'status_filter': ['failure', 'retry'], 'format': 'csv'}.
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[DetailedErrorResponse | ErrorResponse | WebhookLogsExport]–Response[Union[DetailedErrorResponse, ErrorResponse, WebhookLogsExport]]