# LangGraphSubmitOptions

Package: `@threadplane/langgraph` · 0.3.4

Reference: /docs/api/langgraph/LangGraphSubmitOptions

```typescript
import type { LangGraphSubmitOptions } from '@threadplane/langgraph';
```

## LangGraphSubmitOptions

Options accepted by LangGraph-backed submit calls.

```typescript
export interface LangGraphSubmitOptions  {
  afterSeconds?: number;
  checkpoint?: Omit<Checkpoint, 'thread_id'> | null;
  checkpointDuring?: boolean;
  checkpointId?: string;
  command?: Command;
  config?: Config;
  context?: unknown;
  durability?: LangGraphDurability;
  feedbackKeys?: string[];
  ifNotExists?: 'create' | 'reject';
  interruptAfter?: '*' | string[];
  interruptBefore?: '*' | string[];
  metadata?: Metadata;
  multitaskStrategy?: LangGraphMultitaskStrategy;
  onCompletion?: LangGraphOnCompletion;
  onDisconnect?: LangGraphOnDisconnect;
  onRunCreated?: (params: {
        run_id: string;
        thread_id?: string;
    }) => void;
  resume?: unknown;
  signal?: AbortSignal;
  streamMode?: StreamMode[];
  streamResumable?: boolean;
  streamSubgraphs?: boolean;
  webhook?: string;
}
```

### afterSeconds

```typescript
afterSeconds?: number;
```

### checkpoint

```typescript
checkpoint?: Omit<Checkpoint, 'thread_id'> | null;
```

### checkpointDuring

```typescript
checkpointDuring?: boolean;
```

### checkpointId

```typescript
checkpointId?: string;
```

### command

```typescript
command?: Command;
```

### config

```typescript
config?: Config;
```

### context

```typescript
context?: unknown;
```

### durability

```typescript
durability?: LangGraphDurability;
```

### feedbackKeys

```typescript
feedbackKeys?: string[];
```

### ifNotExists

```typescript
ifNotExists?: 'create' | 'reject';
```

### interruptAfter

```typescript
interruptAfter?: '*' | string[];
```

### interruptBefore

```typescript
interruptBefore?: '*' | string[];
```

### metadata

```typescript
metadata?: Metadata;
```

### multitaskStrategy

Strategy for handling concurrent runs on the same thread.

```typescript
multitaskStrategy?: LangGraphMultitaskStrategy;
```

### onCompletion

```typescript
onCompletion?: LangGraphOnCompletion;
```

### onDisconnect

```typescript
onDisconnect?: LangGraphOnDisconnect;
```

### onRunCreated

```typescript
onRunCreated?: (params: {
        run_id: string;
        thread_id?: string;
    }) => void;
```

### resume

Convenience alias normalized to `command.resume` before invoking LangGraph.

```typescript
resume?: unknown;
```

### signal

```typescript
signal?: AbortSignal;
```

### streamMode

```typescript
streamMode?: StreamMode[];
```

### streamResumable

```typescript
streamResumable?: boolean;
```

### streamSubgraphs

```typescript
streamSubgraphs?: boolean;
```

### webhook

```typescript
webhook?: string;
```