# KeyValueStoreRecord<!-- -->

Model for a key-value store record.

### Hierarchy

* [KeyValueStoreRecordMetadata](https://crawlee.dev/python/api/class/KeyValueStoreRecordMetadata)
  * *KeyValueStoreRecord*

## Index[](#Index)

### Properties

* [content_type](https://docs.apify.com/sdk/python/reference/class/KeyValueStoreRecord.md#content_type)
* [key](https://docs.apify.com/sdk/python/reference/class/KeyValueStoreRecord.md#key)
* [model_config](https://docs.apify.com/sdk/python/reference/class/KeyValueStoreRecord.md#model_config)
* [size](https://docs.apify.com/sdk/python/reference/class/KeyValueStoreRecord.md#size)
* [value](https://docs.apify.com/sdk/python/reference/class/KeyValueStoreRecord.md#value)

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

### [](#content_type)[](https://github.com/apify/crawlee-python/blob/ea492fa9b5377f44082dc51d582e85d686b23c75//src/crawlee/storage_clients/models.py#L92)content_type

content_type: Annotated\[str, Field(alias='contentType')]

Inherited from [KeyValueStoreRecordMetadata.content_type](https://crawlee.dev/python/api/class/KeyValueStoreRecordMetadata#content_type)

The MIME type of the record.

Describe the format and type of data stored in the record, following the MIME specification.

### [](#key)[](https://github.com/apify/crawlee-python/blob/ea492fa9b5377f44082dc51d582e85d686b23c75//src/crawlee/storage_clients/models.py#L86)key

key: Annotated\[str, Field(alias='key')]

Inherited from [KeyValueStoreRecordMetadata.key](https://crawlee.dev/python/api/class/KeyValueStoreRecordMetadata#key)

The key of the record.

A unique identifier for the record in the key-value store.

### [](#model_config)[](https://github.com/apify/crawlee-python/blob/ea492fa9b5377f44082dc51d582e85d686b23c75//src/crawlee/storage_clients/models.py#L106)model_config

model_config: Undefined

Overrides [KeyValueStoreRecordMetadata.model_config](https://crawlee.dev/python/api/class/KeyValueStoreRecordMetadata#model_config)

### [](#size)[](https://github.com/apify/crawlee-python/blob/ea492fa9b5377f44082dc51d582e85d686b23c75//src/crawlee/storage_clients/models.py#L98)size

size: Annotated\[int | None, Field(alias='size', default=None)]

Inherited from [KeyValueStoreRecordMetadata.size](https://crawlee.dev/python/api/class/KeyValueStoreRecordMetadata#size)

The size of the record in bytes.

### [](#value)[](https://github.com/apify/crawlee-python/blob/ea492fa9b5377f44082dc51d582e85d686b23c75//src/crawlee/storage_clients/models.py#L108)value

value: [KvsValueType](https://crawlee.dev/python/api#KvsValueType)

The value of the record.
