Push items to dataset for last run
POST/v2/actor-tasks/:actorTaskId/runs/last/dataset/items
Pushes items to the default dataset of the last actor task run. Redispatches to Push items.
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-taskQuery Parameters
status string
Filter for the run status. Only the most recent run with this status is used.
Example:SUCCEEDEDBody arrayrequired
- object
Status 201
Items were added.
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: