Skip to main content

Put record in key-value store of last run

PUT 

/v2/actor-tasks/:actorTaskId/runs/last/key-value-store/records/:recordKey

Stores a record in the default key-value store of the last actor task 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

    actorTaskId string required

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


    Example: janedoe~my-task
    recordKey string required

    The key of the record in the key-value store.


    Example: INPUT

Query Parameters

    status string

    Filter for the run status. Only the most recent run with this status is used.


    Example: SUCCEEDED

Bodyrequired

  • object object

Status 200

The record was saved.

Response Headers