---
title: DispatchInput
description: "A dispatch's input: the run's body — the slot's schema's type, or any JSON object."
---

# `DispatchInput`

Type, in `@jr2/orchestrator/src/dispatch-effect.ts`. The signature of an export, or a type that it names, names this type. The [Authoring surface](../authoring-surface.md) page lists each export. This type is not an export of `@jr2/orchestrator`, so a workflow module does not import it by name.

```ts
type DispatchInput<S> = S extends z.ZodObject ? z.infer<S> : Record<string, unknown>;
```

A dispatch's input: the run's body — the slot's schema's type, or any JSON object.
