# InterruptConformanceRequest

Package: `@threadplane/core/testing` · 0.3.7

Reference: /docs/api/core/testing/InterruptConformanceRequest

```typescript
import type { InterruptConformanceRequest } from '@threadplane/core/testing';
```

## InterruptConformanceRequest

What one request to the backend meant; the harness keeps the wire assertions.

```typescript
export interface InterruptConformanceRequest  {
  readonly messages: readonly string[];
  readonly responses: readonly AgentInterruptResponse[];
  readonly state: Readonly<Record<string, PlainValue>>;
}
```

### messages

The text of each user message the request carried.

```typescript
readonly messages: readonly string[];
```

### responses

The answers the request carried, in the order they were given.

```typescript
readonly responses: readonly AgentInterruptResponse[];
```

### state

The state update the request carried; empty when it carried none.

```typescript
readonly state: Readonly<Record<string, PlainValue>>;
```