# WebhookEvents

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.webhookevents/
> Summary: WebhookEvents: The event types Tracon can publish.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

The event types Tracon can publish.

```csharp
public static class WebhookEvents
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.webhookevents/">WebhookEvents</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Remarks

Event names are part of the contract and **must not change**:
subscribers save these strings.

## Fields

### <a id="Tracon_WebhookEvents_ApprovalPending"></a> ApprovalPending

A tool call is awaiting approval.

```csharp
public const string ApprovalPending = "approval.pending"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_EvalCompleted"></a> EvalCompleted

An evaluation run completed.

```csharp
public const string EvalCompleted = "eval.completed"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_JobCompleted"></a> JobCompleted

A queued job completed successfully.

```csharp
public const string JobCompleted = "job.completed"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_JobFailed"></a> JobFailed

A queued job ended in an error.

```csharp
public const string JobFailed = "job.failed"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_QuotaThreshold"></a> QuotaThreshold

A quota threshold was exceeded (80% or 100%).

```csharp
public const string QuotaThreshold = "quota.threshold"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_RunCompleted"></a> RunCompleted

A run completed successfully.

```csharp
public const string RunCompleted = "run.completed"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_RunFailed"></a> RunFailed

A run ended in an error.

```csharp
public const string RunFailed = "run.failed"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_RunScoreLow"></a> RunScoreLow

The online evaluation window's average score dropped below the
threshold. A single low score does not TRIGGER this event —
the minimum sample count must be exceeded.

```csharp
public const string RunScoreLow = "run.score.low"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_Test"></a> Test

The test event sent to verify a subscription endpoint.

```csharp
public const string Test = "test.ping"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_WebhookEvents_WorkflowRequestPending"></a> WorkflowRequestPending

A workflow is awaiting human input.

```csharp
public const string WorkflowRequestPending = "workflow.request.pending"
```

#### Field Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Properties

### <a id="Tracon_WebhookEvents_All"></a> All

All recognized event names.

```csharp
public static IReadOnlyList<string> All { get; }
```

#### Property Value

 [IReadOnlyList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist\-1)<[string](https://learn.microsoft.com/dotnet/api/system.string)\>

## Methods

### <a id="Tracon_WebhookEvents_IsKnown_System_String_"></a> IsKnown\(string?\)

Reports whether an event name is recognized.

```csharp
public static bool IsKnown(string? eventType)
```

#### Parameters

`eventType` [string](https://learn.microsoft.com/dotnet/api/system.string)?

The event name.

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

[true](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool) if the name is recognized.
