Put record in key-value store of last run
PUT/v2/acts/:actorId/runs/last/key-value-store/records/:recordKey
Stores a record in the default key-value store of the last Actor run. Redispatches to Put record.
Using the status query parameter you can ensure to only get a run with a certain status
(e.g. status=SUCCEEDED). Only the most recent run with that status is used.
Request
Path Parameters
actorId string required
Actor ID or a tilde-separated owner's username and Actor name.
Example:janedoe~my-actorrecordKey string required
The key of the record in the key-value store.
Example:INPUTQuery Parameters
status string
Filter for the run status. Only the most recent run with this status is used.
Example:SUCCEEDEDBodyrequired
- object object
Status 200
The record was saved.
Response Headers
Status 400
Bad request - invalid input parameters or request body.
{
"error": {
"type": "invalid-input",
"message": "Invalid input: The request body contains invalid data."
}
}
Schema
error object required
- type string requiredExample:
run-failed - message string requiredExample:
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
- type string requiredExample: