Class WebhookEvents
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Known event types a Webhook can subscribe to (see SubscribedEvents). The API may add new events, so events are exposed as strings.
public static class WebhookEvents
- Inheritance
-
WebhookEvents
- Inherited Members
Fields
BatchExpired
The batch has not been processed within the 48h timeframe.
public const string BatchExpired = "batch.expired"
Field Value
BatchFailed
The batch job failed.
public const string BatchFailed = "batch.failed"
Field Value
BatchSucceeded
Batch processing finished successfully.
public const string BatchSucceeded = "batch.succeeded"
Field Value
InteractionCompleted
The interaction completed successfully.
public const string InteractionCompleted = "interaction.completed"
Field Value
InteractionFailed
The interaction failed.
public const string InteractionFailed = "interaction.failed"
Field Value
InteractionRequiresAction
The interaction requires action (e.g. function calling).
public const string InteractionRequiresAction = "interaction.requires_action"
Field Value
VideoGenerated
Video generation completed.
public const string VideoGenerated = "video.generated"