Table of Contents

Class TriggerExecution

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A run of a Trigger.

public sealed class TriggerExecution
Inheritance
TriggerExecution
Inherited Members
Extension Methods

Properties

EndTime

The end time (RFC 3339).

[JsonPropertyName("end_time")]
public string? EndTime { get; set; }

Property Value

string

EnvironmentId

The environment used by this run.

[JsonPropertyName("environment_id")]
public string? EnvironmentId { get; set; }

Property Value

string

Error

The error message of a failed run.

[JsonPropertyName("error")]
public string? Error { get; set; }

Property Value

string

ExtensionData

Fields this SDK does not model yet.

[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }

Property Value

Dictionary<string, JsonElement>

Id

The execution ID.

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string

InteractionId

The ID of the interaction created by this run.

[JsonPropertyName("interaction_id")]
public string? InteractionId { get; set; }

Property Value

string

ScheduledTime

The scheduled time (RFC 3339).

[JsonPropertyName("scheduled_time")]
public string? ScheduledTime { get; set; }

Property Value

string

StartTime

The start time (RFC 3339).

[JsonPropertyName("start_time")]
public string? StartTime { get; set; }

Property Value

string

Status

The execution status (see TriggerExecutionStatuses).

[JsonPropertyName("status")]
public string? Status { get; set; }

Property Value

string

TriggerId

The trigger ID.

[JsonPropertyName("trigger_id")]
public string? TriggerId { get; set; }

Property Value

string