# KeyValueStoreRecordInput<!-- -->

A record to store with [KeyValueStoreClient.setRecord](https://docs.apify.com/api/client/js/reference/class/KeyValueStoreClient.md#setRecord).

### Hierarchy

* [KeyValueStoreRecord](https://docs.apify.com/api/client/js/reference/interface/KeyValueStoreRecord.md)<[KeyValueStoreRecordValue](https://docs.apify.com/api/client/js/reference.md#KeyValueStoreRecordValue)>
  * *KeyValueStoreRecordInput*

Added in 3.0.0

## Index[](#Index)

### Properties

* [contentEncoding](#contentEncoding)
* [contentType](#contentType)
* [key](#key)
* [value](#value)

## Properties<!-- -->[](#Properties)

### [](#contentEncoding)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/key_value_store.ts#L719)optionalcontentEncoding

contentEncoding?

<!-- -->

: string

Encoding already applied to `value`, sent as the `Content-Encoding` header. See [KeyValueStoreClient.setRecord](https://docs.apify.com/api/client/js/reference/class/KeyValueStoreClient.md#setRecord).

### [](#contentType)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/key_value_store.ts#L707)optionalinheritedcontentType

contentType?

<!-- -->

: string

Inherited from KeyValueStoreRecord.contentType

### [](#key)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/key_value_store.ts#L705)inheritedkey

key: string

Inherited from KeyValueStoreRecord.key

### [](#value)[](https://github.com/apify/apify-client-js/blob/af7590882995a0bde27cc341c79f21d08bec1e56/src/resource_clients/key_value_store.ts#L706)inheritedvalue

value: [KeyValueStoreRecordValue](https://docs.apify.com/api/client/js/reference.md#KeyValueStoreRecordValue)

Inherited from KeyValueStoreRecord.value
