Table of Contents

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

string

BatchFailed

The batch job failed.

public const string BatchFailed = "batch.failed"

Field Value

string

BatchSucceeded

Batch processing finished successfully.

public const string BatchSucceeded = "batch.succeeded"

Field Value

string

InteractionCompleted

The interaction completed successfully.

public const string InteractionCompleted = "interaction.completed"

Field Value

string

InteractionFailed

The interaction failed.

public const string InteractionFailed = "interaction.failed"

Field Value

string

InteractionRequiresAction

The interaction requires action (e.g. function calling).

public const string InteractionRequiresAction = "interaction.requires_action"

Field Value

string

VideoGenerated

Video generation completed.

public const string VideoGenerated = "video.generated"

Field Value

string