Update an AssetPromptBatchJob.
Stop an in-progress job by patching status to STOPPED, or restart a stopped job by patching status to STARTED.
Security
bearerToken
The unique ID of the AssetPromptBatchJob
- Productionhttps://api-v2.dash.app/asset-prompt-batch-jobs/{id}
- Staginghttps://api-v2.dashstaging.app/asset-prompt-batch-jobs/{id}
curl -i -X PATCH \
'https://api-v2.dash.app/asset-prompt-batch-jobs/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "STARTED"
}'Success
Unique identifier of the job that has been created
Example:"be161977-d44e-4888-af3c-66522e223963"
The ID of the account the job is happening in
Example:"cfb665ca-ce35-4418-b9d5-70ee815db4bd"
The ID of the User who created the job
Example:"google-oauth2|110955770826801837334"
Response
{ "id": "be161977-d44e-4888-af3c-66522e223963", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "type": "IN_PROGRESS", "progress": { "steps": [ … ] }, "status": "PENDING", "result": { "successes": { … }, "failures": { … } } }