Last Actor task run's default key-value store
Store record in last task run's default store (POST)
Stores a value under a specific key in the default key-value store of the last Actor task run.
This endpoint is a shortcut for getting the last task run's defaultKeyValueStoreId and then using the Store record endpoint.
post/v2/actor-tasks/{actorTaskId}/runs/last/key-value-store/records/{recordKey}
Path parameters
actorTaskIdstring required
Example:janedoe~my-task
Task ID or a tilde-separated owner's username and task's 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