---
title: "PreviewInput"
description: "a predicate or its hash, the place, the window, the speeds wanted, and the surface it calls from"
section: concepts
address: /concepts/previewinput
contract: 0476e35e6e275db5
---

# PreviewInput

a predicate or its hash, the place, the window, the speeds wanted, and the surface it calls from

[figure: PreviewInput is a value at none scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | value |
| scope | none |
| key | none |
| store | none |
| family | harness |



## Fields


| field | type | required | note |
|---|---|---|---|
| `predicate` | [Predicate](/concepts/predicate) | no |  |
| `predicate_hash` | `hash` | no |  |
| `place` | [PlaceARunsAt](/concepts/placearunsat) | yes |  |
| `window` | [Window](/concepts/window) | yes |  |
| `speeds` | `[one of instant \| the last seven days \| the whole record]` | yes |  |



## Routes that use it
- [`/v1/ask/preview`](/reference/ask/preview) takes it as input
