1.4 KiB
1.4 KiB
Reference
client.deployScript(scriptId, { ...params }) -> Skyvern.CreateScriptResponse
-
📝 Description
-
-
Deploy a script with updated files, creating a new version
-
🔌 Usage
-
-
await client.deployScript("s_abc123", { files: [{ path: "src/main.py", content: "content" }] });
-
⚙️ Parameters
-
-
scriptId:
string— The unique identifier of the script
-
request:
Skyvern.DeployScriptRequest
-
requestOptions:
SkyvernClient.RequestOptions
-
-
Scripts
client.scripts.runScript(scriptId) -> unknown
-
📝 Description
-
-
Run a script
-
🔌 Usage
-
-
await client.scripts.runScript("s_abc123");
-
⚙️ Parameters
-
-
scriptId:
string— The unique identifier of the script
-
requestOptions:
Scripts.RequestOptions
-
-