Skip to main content

Store items in last task run's dataset

POST 

/v2/actor-tasks/:actorTaskId/runs/last/dataset/items

Appends an item or an array of items to the end of the last Actor task run's default dataset.

This endpoint is a shortcut that resolves the last task run's defaultDatasetId and proxies to the Store items endpoint.

Request

Path Parameters

    actorTaskId string required

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


    Example: janedoe~my-task

Query Parameters

    status string

    Filter for the run status.


    Example: SUCCEEDED

Bodyrequired

    oneOf
  • object

    The request body containing the item(s) to add to the dataset. Can be a single object or an array of objects. Each object represents one dataset item.


    Example: {"title":"Example Item","url":"https://example.com","price":19.99}

Status 201

Response Headers
  • Location
{}