Default key-value store
Store record in default store
Stores a value under a specific key in the default key-value store of the Actor run.
This endpoint is a shortcut for getting the run's defaultKeyValueStoreId and then using the Store record endpoint.
put/v2/actor-runs/{runId}/key-value-store/records/{recordKey}
Path parameters
runIdstring required
Example:3KH8gEpp4d8uQSe8T
Actor run ID.
recordKeystring required
Example:someKey
Key of the record.
Headers
Content-Encoding'br' | 'gzip' | 'deflate' | 'identity'
Compression encoding of the request body.
Request body
PutRecordRequest required
The request body contains the value to store in the record. The content type should be specified in the Content-Type header.
Example request
{
"message": "Hello, world!",
"count": 42
}Response
object required