# RunInputRecord

> 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.runinputrecord/
> Summary: RunInputRecord: A run's stored input.

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

A run's stored input.

```csharp
public sealed record RunInputRecord : IEquatable<RunInputRecord>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.runinputrecord/">RunInputRecord</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;RunInputRecord&gt;</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.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>

## Constructors

### <a id="Tracon_RunInputRecord__ctor"></a> RunInputRecord\(\)

```csharp
public RunInputRecord()
```

## Properties

### <a id="Tracon_RunInputRecord_CreatedAt"></a> CreatedAt

The record's creation time (UTC).

```csharp
public required DateTimeOffset CreatedAt { get; init; }
```

#### Property Value

 [DateTimeOffset](https://learn.microsoft.com/dotnet/api/system.datetimeoffset)

### <a id="Tracon_RunInputRecord_Messages"></a> Messages

The input messages.

```csharp
public required IReadOnlyList<ChatMessage> Messages { get; init; }
```

#### Property Value

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

Carries polymorphic content (`TextContent`, `UriContent`,
`FunctionResultContent` ...). Stored in the `json` column,
**not** `jsonb`: `jsonb` reorders object keys,
and System.Text.Json's `$type` discriminator must be the object's
first property.

### <a id="Tracon_RunInputRecord_Parameters"></a> Parameters

The run's final parameter values: the values the caller supplied with the
schema defaults applied. [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) means nothing was
recorded (a run from before this field existed, or one started while
input recording was off); an empty map means the run was recorded and
carried no values.

```csharp
public IReadOnlyDictionary<string, string>? Parameters { get; init; }
```

#### Property Value

 [IReadOnlyDictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary\-2)<[string](https://learn.microsoft.com/dotnet/api/system.string), [string](https://learn.microsoft.com/dotnet/api/system.string)\>?

#### Remarks

The two states must stay apart. A replay, a workflow resume and an
approval resume read this to run with the SAME instructions as the source
run; a missing record read as "no values" would let a parameterized
definition run on its defaults and change what the model is told.

The values are user content. They are stored in their own column,
protected by [ProtectedColumn.RunInputParameters](/api/tracon.protectedcolumn/).

### <a id="Tracon_RunInputRecord_RunId"></a> RunId

The run identifier.

```csharp
public required Guid RunId { get; init; }
```

#### Property Value

 [Guid](https://learn.microsoft.com/dotnet/api/system.guid)

### <a id="Tracon_RunInputRecord_TenantId"></a> TenantId

The tenant the run belongs to.

```csharp
public required string TenantId { get; init; }
```

#### Property Value

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

### <a id="Tracon_RunInputRecord_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_RunInputRecord_Equals_Tracon_RunInputRecord_"></a> Equals\(RunInputRecord?\)

```csharp
public bool Equals(RunInputRecord? other)
```

#### Parameters

`other` [RunInputRecord](/api/tracon.runinputrecord/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_RunInputRecord_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_RunInputRecord_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

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

### <a id="Tracon_RunInputRecord_op_Equality_Tracon_RunInputRecord_Tracon_RunInputRecord_"></a> operator ==\(RunInputRecord?, RunInputRecord?\)

```csharp
public static bool operator ==(RunInputRecord? left, RunInputRecord? right)
```

#### Parameters

`left` [RunInputRecord](/api/tracon.runinputrecord/)?

`right` [RunInputRecord](/api/tracon.runinputrecord/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_RunInputRecord_op_Inequality_Tracon_RunInputRecord_Tracon_RunInputRecord_"></a> operator \!=\(RunInputRecord?, RunInputRecord?\)

```csharp
public static bool operator !=(RunInputRecord? left, RunInputRecord? right)
```

#### Parameters

`left` [RunInputRecord](/api/tracon.runinputrecord/)?

`right` [RunInputRecord](/api/tracon.runinputrecord/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
