Skip to main content
apify.getKeyValueStoreRecord gets a JSON or text record from an Apify key-value store.

Example

automations/apify-get-key-value-store-record.automation.ts

Inputs

storeId is the key-value store ID or name. key is the exact record key.

Output

Returns key, value, and the optional contentType. JSON values stay structured; text values are strings. The action fails when the record is missing. Binary record bodies are outside this JSON-safe action.