v3

latestOpenAPI 3.1.2Apache 2.02026-07-31231237972.0 KB
Default key-value store

Get default store's record

Gets a value stored 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 Get record endpoint.

get/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.

Query parameters

signaturestring
Example:2wTI46Bg8qWQrV7tavlPI

Signature used for the access.

attachmentboolean
Example:true

If true or 1, the response will be served with Content-Disposition: attachment header, causing web browsers to offer downloading HTML records instead of displaying them.

Response

RecordResponse required

The response body contains the value of the record. The content type of the response is determined by the Content-Type header stored with the record.

Example response

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