Update last run's default dataset
Updates the default dataset associated with the last Actor run.
This endpoint is a shortcut for getting the last run's defaultDatasetId and then using the Update dataset endpoint.
Path parameters
Actor ID or the username of the Actor owner and the Actor name, separated by a tilde (~).
Query parameters
Filter for the run status.
Filter for the run origin, i.e. the means by which the run was started.
Request body
Example request
{
"name": "new-dataset-name",
"generalAccess": "RESTRICTED"
}Response
Example response
{
"data": {
"id": "WkzbQMuFYuamGv3YF",
"name": "d7b9MDYsbtX5L7XAj",
"userId": "wRsJZtadYvn4mBZmm",
"createdAt": "2019-12-12T07:34:14.202Z",
"modifiedAt": "2019-12-13T08:36:13.202Z",
"accessedAt": "2019-12-14T08:36:13.202Z",
"itemCount": 7,
"cleanItemCount": 5,
"schema": {
"actorSpecification": 1,
"title": "My dataset",
"views": {
"overview": {
"title": "Overview",
"transformation": {
"fields": [
"linkUrl"
]
},
"display": {
"component": "table",
"properties": {
"linkUrl": {
"label": "Link URL",
"format": "link"
}
}
}
}
}
},
"consoleUrl": "https://console.apify.com/storage/datasets/27TmTznX9YPeAYhkC",
"itemsPublicUrl": "https://api.apify.com/v2/datasets/WkzbQMuFYuamGv3YF/items?signature=abc123",
"generalAccess": "RESTRICTED",
"stats": {
"readCount": 22,
"writeCount": 3,
"storageBytes": 783
}
}
}Changes
Changed in 3 of the 7 revisions of this API.161
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status400response-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status401response-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status403response-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status404response-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status405response-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status413response-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status415response-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to theerror/typeresponse property for the response status429response-property-enum-value-added
- ●
- ○
api operation id
act_runs_last_dataset_putremoved and replaced withactor_runs_last_dataset_putapi-operation-id-removed
- ○
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status400response-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status401response-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status403response-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status404response-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status405response-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status413response-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status415response-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to theerror/typeresponse property for the response status429response-property-enum-value-added
- ●