7.1 KiB
Reference
client.runSdkAction({ ...params }) -> Skyvern.RunSdkActionResponse
-
📝 Description
-
-
Execute a single SDK action with the specified parameters
-
🔌 Usage
-
-
await client.runSdkAction({ url: "url", action: { type: "ai_act" } });
-
⚙️ Parameters
-
-
request:
Skyvern.RunSdkActionRequest
-
requestOptions:
SkyvernClient.RequestOptions
-
-
Artifacts
client.artifacts.getArtifactContent(artifactId) -> unknown
-
📝 Description
-
-
Download the raw content of an artifact (supports bundled artifacts).
-
🔌 Usage
-
-
await client.artifacts.getArtifactContent("artifact_id");
-
⚙️ Parameters
-
-
artifactId:
string
-
requestOptions:
Artifacts.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
-
-
Schedules
client.schedules.listAll({ ...params }) -> Skyvern.OrganizationScheduleListResponse
-
🔌 Usage
-
-
await client.schedules.listAll({ page: 1, page_size: 1, status: "active", search: "search" });
-
⚙️ Parameters
-
-
request:
Skyvern.SchedulesListAllRequest
-
requestOptions:
Schedules.RequestOptions
-
-
client.schedules.list(workflowPermanentId) -> Skyvern.WorkflowScheduleListResponse
-
🔌 Usage
-
-
await client.schedules.list("workflow_permanent_id");
-
⚙️ Parameters
-
-
workflowPermanentId:
string
-
requestOptions:
Schedules.RequestOptions
-
-
client.schedules.create(workflowPermanentId, { ...params }) -> Skyvern.WorkflowScheduleResponse
-
🔌 Usage
-
-
await client.schedules.create("workflow_permanent_id", { cron_expression: "cron_expression", timezone: "timezone" });
-
⚙️ Parameters
-
-
workflowPermanentId:
string
-
request:
Skyvern.WorkflowScheduleUpsertRequest
-
requestOptions:
Schedules.RequestOptions
-
-
client.schedules.get(workflowPermanentId, workflowScheduleId) -> Skyvern.WorkflowScheduleResponse
-
🔌 Usage
-
-
await client.schedules.get("workflow_permanent_id", "workflow_schedule_id");
-
⚙️ Parameters
-
-
workflowPermanentId:
string
-
workflowScheduleId:
string
-
requestOptions:
Schedules.RequestOptions
-
-
client.schedules.update(workflowPermanentId, workflowScheduleId, { ...params }) -> Skyvern.WorkflowScheduleResponse
-
🔌 Usage
-
-
await client.schedules.update("workflow_permanent_id", "workflow_schedule_id", { cron_expression: "cron_expression", timezone: "timezone" });
-
⚙️ Parameters
-
-
workflowPermanentId:
string
-
workflowScheduleId:
string
-
request:
Skyvern.WorkflowScheduleUpsertRequest
-
requestOptions:
Schedules.RequestOptions
-
-
client.schedules.delete(workflowPermanentId, workflowScheduleId) -> Skyvern.DeleteScheduleResponse
-
🔌 Usage
-
-
await client.schedules.delete("workflow_permanent_id", "workflow_schedule_id");
-
⚙️ Parameters
-
-
workflowPermanentId:
string
-
workflowScheduleId:
string
-
requestOptions:
Schedules.RequestOptions
-
-
client.schedules.enable(workflowPermanentId, workflowScheduleId) -> Skyvern.WorkflowScheduleResponse
-
🔌 Usage
-
-
await client.schedules.enable("workflow_permanent_id", "workflow_schedule_id");
-
⚙️ Parameters
-
-
workflowPermanentId:
string
-
workflowScheduleId:
string
-
requestOptions:
Schedules.RequestOptions
-
-
client.schedules.disable(workflowPermanentId, workflowScheduleId) -> Skyvern.WorkflowScheduleResponse
-
🔌 Usage
-
-
await client.schedules.disable("workflow_permanent_id", "workflow_schedule_id");
-
⚙️ Parameters
-
-
workflowPermanentId:
string
-
workflowScheduleId:
string
-
requestOptions:
Schedules.RequestOptions
-
-