Skip to main content
Retrieves detailed information about a specific webhook configured for an assistant using the Rapida API.
For more authentication options, see: https://doc.rapida.ai/api-reference/authentication

Parameters

connectionConfig
ConnectionConfig
required
Configuration for the client connection.
request
GetAssistantWebhookRequest
required

Usage

from rapida import (
    ConnectionConfig,
    GetAssistantWebhookRequest,
    get_assistant_webhook,
)
from pprint import pprint
connection_config = ConnectionConfig.default_connection_config(
    ConnectionConfig.with_sdk(
        "{rapida-api-key}"
    )
)
response = get_assistant_webhook(
    client_cfg=connection_config,
    request=GetAssistantWebhookRequest(
        id="{assistant_webhook_id}", assistantId="{assistant_id}"
    ),
)
pprint(response)

Response

code
int32
Numeric status code for the operation.
success
boolean
Indicates whether the operation was successful.
data
AssistantWebhook
Detailed information about the assistant webhook.
error
object
Error information, if applicable.