Get record from key-value store of last run
GET/v2/acts/:actorId/runs/last/key-value-store/records/:recordKey
Returns a record from the default key-value store of the last Actor run. Redispatches to Get 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:SUCCEEDEDStatus 200
The record value. Content depends on the stored content type.
Response Headers
{}
Schema
- object object
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: