Get dataset items for last run
GET/v2/actor-tasks/:actorTaskId/runs/last/dataset/items
Returns items from the default dataset of the last actor task run. Redispatches to Get dataset items. Supports the same query parameters.
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
Task ID or a tilde-separated owner's username and Actor task name.
Example:janedoe~my-taskQuery Parameters
Filter for the run status. Only the most recent run with this status is used.
Example:SUCCEEDEDFormat of the results, possible values are json, jsonl, csv, html, xlsx, xml and rss.
Default value:jsonIf true, returns only non-empty items and skips hidden fields.
Number of items that should be skipped at the start.
Maximum number of items to return.
Comma-separated list of fields to include in the results.
Comma-separated list of fields to omit from the results.
Name of a field to unwind. If the field is an array, each element becomes a separate record.
Comma-separated list of fields to flatten. Nested objects are merged into the parent.
If true, results are returned in descending order.
If true, the response will be returned as a file attachment.
Status 200
Response Headers
[
{}
]
Schema
- 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: