Skip to main content

Store record in default store

PUT 

/v2/actor-runs/:runId/key-value-store/records/:recordKey

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.

Request

Path Parameters

    runId string required

    Actor run ID.


    Example: 3KH8gEpp4d8uQSe8T
    recordKey string required

    Key of the record.


    Example: someKey

Header Parameters

    Content-Encoding string

    Possible values: [gzip, deflate, br, identity]

Bodyrequired

  • property name* any

    The request body contains the value to store in the record. The content type should be specified in the Content-Type header.


    Example: {"message":"Hello, world!","count":42}

Status 201

Response Headers
  • Location
{}