> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.AssistantMemoryEpisode.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface AssistantMemoryEpisode

One per-session episode row, with full provenance (source project, session, trust class, timestamps). Timestamps are epoch milliseconds.

```typescript
interface AssistantMemoryEpisode {
    agentId: string | null;
    endedAt: number | null;
    id: number;
    lastOutcome: string | null;
    projectId: string | null;
    projectName: string | null;
    sessionId: string;
    startedAt: number | null;
    status: AssistantMemoryEpisodeStatus;
    summary: string | null;
    trustClass: string | null;
    turnCount: number;
    updatedAt: number;
}
```

Types: [agentId](#agentid), [endedAt](#endedat), [id](#id), [lastOutcome](#lastoutcome), [projectId](#projectid), [projectName](#projectname), [sessionId](#sessionid), [startedAt](#startedat), [status](#status), [AssistantMemoryEpisodeStatus](../types/core.AssistantMemoryEpisodeStatus.md), [summary](#summary), [trustClass](#trustclass), [turnCount](#turncount), [updatedAt](#updatedat)

##### Index

### <a id="properties"></a>Properties

[agentId](#agentid) [endedAt](#endedat) [id](#id) [lastOutcome](#lastoutcome) [projectId](#projectid) [projectName](#projectname) [sessionId](#sessionid) [startedAt](#startedat) [status](#status) [summary](#summary) [trustClass](#trustclass) [turnCount](#turncount) [updatedAt](#updatedat)

## <a id="properties-1"></a>Properties

### <a id="agentid"></a>agentId

```typescript
agentId: string | null
```

### <a id="endedat"></a>endedAt

```typescript
endedAt: number | null
```

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

```typescript
id: number
```

### <a id="lastoutcome"></a>lastOutcome

```typescript
lastOutcome: string | null
```

### <a id="projectid"></a>projectId

```typescript
projectId: string | null
```

### <a id="projectname"></a>projectName

```typescript
projectName: string | null
```

### <a id="sessionid"></a>sessionId

```typescript
sessionId: string
```

### <a id="startedat"></a>startedAt

```typescript
startedAt: number | null
```

### <a id="status"></a>status

```typescript
status: AssistantMemoryEpisodeStatus
```

Types: [AssistantMemoryEpisodeStatus](../types/core.AssistantMemoryEpisodeStatus.md)

### <a id="summary"></a>summary

```typescript
summary: string | null
```

### <a id="trustclass"></a>trustClass

```typescript
trustClass: string | null
```

### <a id="turncount"></a>turnCount

```typescript
turnCount: number
```

### <a id="updatedat"></a>updatedAt

```typescript
updatedAt: number
```
