Deploy script
Changed onDeploy a script with updated files, creating a new version
Request
- Base URLhttps://api.skyvern.com
- URLhttps://api.skyvern.com/v1/scripts/{script_id}/deploy
- AuthAPI key in header x-api-key
Path parameters
The unique identifier of the script
Request body
Example request
{
"files": [
{
"path": "src/main.py"
}
]
}Response
Successful Response
Example response
{
"script_id": "s_abc123",
"version": 1
}Changes
- warning
deleted the
headerrequest parameterx-api-key - info
the endpoint scheme security
ApiKeyAuthwas added to the API
- warning
- breaking
the request property
//became not nullable - breaking
response property
file_tree/additionalProperties/childrenlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
file_tree/additionalProperties/content_hashlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
file_tree/additionalProperties/mime_typelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
file_tree/additionalProperties/sizelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
run_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - info
headerrequest parameterx-api-keylist-of-types was widened by adding typesnull - info
for the
headerrequest parameterx-api-key, the type was generalized fromstringto no type - info
request property
//list-of-types was widened by adding typesnullto media typeapplication/json - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking