Abort build
[DEPRECATED] API endpoints related to build of the Actor were moved under new namespace actor-builds. Aborts an Actor build and returns an object that contains all the details about the build.
Only builds that are starting or running are aborted. For builds with status FINISHED, FAILED, ABORTING and TIMED-OUT this call does nothing.
Path parameters
Actor ID or the username of the Actor owner and the Actor name, separated by a tilde (~).
ID of the build, found in the build's Info tab.
Response
Example response
{
"data": {
"id": "HG7ML7M8z78YcAPEB",
"actId": "janedoe~my-actor",
"userId": "klmdEpoiojmdEMlk3",
"startedAt": "2019-11-30T07:34:24.202Z",
"finishedAt": "2019-12-12T09:30:12.202Z",
"status": "SUCCEEDED",
"meta": {
"origin": "WEB",
"clientIp": "172.234.12.34",
"userAgent": "Mozilla/5.0 (iPad)"
},
"stats": {
"durationMillis": 1000,
"runTimeSecs": 45.718,
"computeUnits": 0.012699444444444444
},
"options": {
"useCache": false,
"betaPackages": false,
"memoryMbytes": 1024,
"diskMbytes": 2048
},
"usage": {
"ACTOR_COMPUTE_UNITS": 0.08
},
"usageTotalUsd": 0.02,
"usageUsd": {
"ACTOR_COMPUTE_UNITS": 0.02
},
"inputSchema": "{\\n \"title\": \"Schema for ...\"}",
"readme": "# Magic Actor\\nThis Actor is magic.",
"buildNumber": "0.1.1",
"actorDefinition": {
"actorSpecification": 1,
"name": "example-actor",
"version": "1.0",
"buildTag": "latest",
"environmentVariables": {
"DEBUG_MODE": "false"
},
"input": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "The text prompt to generate completions for."
},
"maxTokens": {
"type": "integer",
"description": "The maximum number of tokens to generate."
}
},
"required": [
"prompt"
]
},
"storages": {
"dataset": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the generated text."
},
"text": {
"type": "string",
"description": "The generated text output from the model."
}
},
"required": [
"id",
"text"
]
}
},
"minMemoryMbytes": 512,
"maxMemoryMbytes": 2048,
"usesStandbyMode": false
}
}
}Changes
Changed in 3 of the 9 revisions of this API.121
- ●
added the new
cannot-publish-actor-taskenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-publish-actor-taskenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
- ○
api operation id
act_build_abort_postremoved and replaced withactors_build_abort_postapi-operation-id-removed
- ○
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
added the new
cannot-monetize-without-payout-billing-infoenum value to the/response property for the response statusresponse-property-enum-value-added
- ●
Of the 9 revisions, 1 has no diff computed.