v3

latestOpenAPI 3.1.2Apache 2.02026-07-31231237972.0 KB
Last Actor run's default key-value store

Store record in last run's default store (POST)

Stores a value under a specific key in the default key-value store of the last Actor run.

This endpoint is a shortcut for getting the last run's defaultKeyValueStoreId and then using the Store record endpoint.

post/v2/actors/{actorId}/runs/last/key-value-store/records/{recordKey}

Path parameters

actorIdstring required
Example:janedoe~my-actor

Actor ID or a tilde-separated owner's username and Actor name.

recordKeystring required
Example:someKey

Key of the record.

Query parameters

statusstring
Example:SUCCEEDED

Filter for the run status.

origin'DEVELOPMENT' | 'WEB' | 'API' | 'SCHEDULER' | 'TEST' | 'WEBHOOK' | 'ACTOR' | 'CLI' | 'CI' | 'STANDBY' | 'MCP'

Filter for the run origin, i.e. the means by which the run was started.

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