# Slot

- [JSON representation](https://developers.google.com/assistant/conversational/reference/rest/v1/Slot#SCHEMA_REPRESENTATION)

Represents a slot.

| JSON representation ||
|---|---|
| ``` { "mode": enum (`https://developers.google.com/assistant/conversational/reference/rest/v1/SlotMode`), "status": enum (`https://developers.google.com/assistant/conversational/reference/rest/v1/SlotStatus`), "value": value, "updated": boolean, "prompt": { object (`https://developers.google.com/assistant/conversational/reference/rest/v1/TopLevel/fulfill#Prompt`) } } ``` |

| Fields ||
|---|---|
| `mode` | ``enum (`https://developers.google.com/assistant/conversational/reference/rest/v1/SlotMode`)`` The mode of the slot (required or optional). Can be set by developer. |
| `status` | ``enum (`https://developers.google.com/assistant/conversational/reference/rest/v1/SlotStatus`)`` The status of the slot. |
| `value` | ``value (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value` format)`` The value of the slot. Changing this value in the response, will modify the value in slot filling. |
| `updated` | `boolean` Indicates if the slot value was collected on the last turn. This field is read-only. |
| `prompt` | ``object (`https://developers.google.com/assistant/conversational/reference/rest/v1/TopLevel/fulfill#Prompt`)`` Optional. This prompt is sent to the user when needed to fill a required slot. This prompt overrides the existing prompt defined in the console. This field is not included in the webhook request. |