Apify icon

Apify

Access Apify tools for web scraping, data extraction, and automation.

Key-Value Store → Get Key-Value Store Record

AI-generated

Overview

This node interacts with the Apify platform to retrieve a specific record from a Key-Value Store. It is useful in scenarios where you need to access stored data by specifying the store ID and the record key, such as fetching configuration data, user-generated content, or any other stored information within Apify's Key-Value Store service.

Use Case Examples

  1. Retrieve a configuration file stored in a Key-Value Store by specifying the store ID and the key of the configuration record.
  2. Fetch user session data stored in a Key-Value Store for processing or analysis.

Properties

Name Meaning
Key-Value Store ID The unique identifier of the Key-Value Store from which to retrieve the record.
Key-Value Store Record Key The key of the specific record within the Key-Value Store to be retrieved.
Authentication The method of authentication to use when accessing the Apify API, either via API Key or OAuth2.

Output

JSON

  • storeId - The ID of the Key-Value Store used in the request.
  • recordKey - The key of the record retrieved from the Key-Value Store.
  • recordValue - The value/content of the retrieved record from the Key-Value Store.

Dependencies

  • Apify API key or OAuth2 credentials for authentication.

Troubleshooting

  • Ensure the Key-Value Store ID and Record Key are correct and exist in the Apify platform to avoid 'not found' errors.
  • Verify that the authentication credentials (API key or OAuth2 token) are valid and have the necessary permissions to access the Key-Value Store.
  • Check network connectivity and Apify API status if requests fail or time out.

Links

Discussion