Deploy script
Scripts
Deploy script
Deploy a script with updated files, creating a new version
POST
Deploy script
Headers
Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.
Path Parameters
The unique identifier of the script
Example:
"s_abc123"
Body
application/json
Request model for deploying a script with updated files.
Array of files to include in the script
Example:
{
"content": "cHJpbnQoIkhlbGxvLCBXb3JsZCEiKQ==",
"encoding": "base64",
"mime_type": "text/x-python",
"path": "src/main.py"
}Response
Successful Response
Unique script identifier
Example:
"s_abc123"
Script version number
Example:
1
Total number of files in the script
Hierarchical file tree structure
Timestamp when the script was created
ID of the workflow run or task run that generated this script

