Execute a deployment operation (deploy, mark_complete, take_screenshot)
Changed onRequest
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/projects/{project_id}/deployments/{deployment_id}/operations
- Auth: HTTP bearer
Path parameters
Request body
Response
Operation accepted. take_screenshot returns status: pending with success: null; poll the operation status for completed (with screenshot_location) or failed (with the reason)
Example response
{
"data": {
"screenshot": {
"captured_at": "2026-10-10T01:25:34.793514Z"
}
},
"executed_at": "2025-10-12T12:15:47.609192Z"
}Changes
- breaking
the response property
became nullable for the status - breaking
the response property
became optional for the status
- breaking
- breaking
the
response's property type changed from no type toobjectfor status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
the response property
became required for the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
to the response with the status
- breaking