Skip to main content

Get last run's default store's record

GET 

/v2/acts/:actorId/runs/last/key-value-store/records/:recordKey

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

Request

Path Parameters

    actorId string required

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


    Example: janedoe~my-actor
    recordKey string required

    Key of the record.


    Example: someKey

Query Parameters

    status string

    Filter for the run status.


    Example: SUCCEEDED
    signature string

    Signature used for the access.


    Example: 2wTI46Bg8qWQrV7tavlPI
    attachment boolean

    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.


    Example: true

Status 200

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