Retrieves a specific webhook log entry by its ID using the Rapida API.
Parameters
Configuration for the client connection.
request
GetAssistantWebhookLogRequest
required
The project identifier for scope filtering.
The unique identifier of the webhook log to retrieve.
Usage
from rapida import (
ConnectionConfig,
GetAssistantWebhookLogRequest,
get_assistant_webhook_log,
)
from pprint import pprint
connection_config = ConnectionConfig.default_connection_config(
ConnectionConfig.with_sdk("{rapida-api-key}")
)
response = get_assistant_webhook_log(
client_cfg=connection_config,
request=GetAssistantWebhookLogRequest(
id="{assistant_webhook_log_id}", projectId="{project_id}"
),
)
pprint(response)
Response
Numeric status code for the operation.
Indicates whether the operation was successful.
The webhook log entry details.
Unique identifier for the webhook log.
Identifier of the associated webhook.
The request payload sent to the webhook.
The response received from the webhook.
Status of the webhook execution.
Timestamp when the log entry was created.
Timestamp when the log entry was last updated.
Identifier of the associated assistant.
Identifier of the associated project.
Identifier of the associated organization.
Identifier of the associated conversation.
Asset prefix used for the webhook.
Event type that triggered the webhook.
HTTP response status code from the webhook.
Time taken for the webhook execution in milliseconds.
Number of retry attempts made.
HTTP method used for the webhook request.
URL that was called for the webhook.
Error information, if applicable.
Human-readable error message.