Skip to content

Automate browser based workflows with AI

Update API specifications with fern api update (#5185)

Shuchang Zheng860a5158270b
diff --git a/fern/openapi/skyvern_openapi.json b/fern/openapi/skyvern_openapi.json
index 12223fa7c..8cd60deb0 100644
--- a/fern/openapi/skyvern_openapi.json
+++ b/fern/openapi/skyvern_openapi.json
@@ -1415,6 +1415,53 @@
"x-fern-sdk-method-name": "get_artifact"
}
},
+ "/v1/artifacts/{artifact_id}/content": {
+ "get": {
+ "tags": [
+ "Artifacts"
+ ],
+ "summary": "Get artifact content",
+ "description": "Download the raw content of an artifact (supports bundled artifacts).",
+ "operationId": "get_artifact_content_v1_artifacts__artifact_id__content_get",
+ "parameters": [
+ {
+ "name": "artifact_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Artifact Id"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Raw artifact content",
+ "content": {
+ "application/json": {
+ "schema": {}
+ }
+ }
+ },
+ "403": {
+ "description": "Invalid or expired artifact URL"
+ },
+ "404": {
+ "description": "Artifact not found or content unavailable"
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/v1/runs/{run_id}/artifacts": {
"get": {
"tags": [
@@ -3835,26 +3882,578 @@
}
}
},
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ },
+ "x-fern-sdk-method-name": "run_sdk_action"
+ }
+ },
+ "/api/v1/billing/checkout": {
+ "post": {
+ "summary": "Create Checkout Session",
+ "description": "Create a Stripe Checkout Session for subscribing to a tier.\n\nFrontend should redirect the user to the returned URL.\nAfter successful checkout, Stripe will send a webhook that we handle\nto store the subscription and initialize billing state.\n\nReturns 400 if org already has an active subscription (use portal instead).",
+ "operationId": "create_checkout_session_api_v1_billing_checkout_post",
+ "parameters": [
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CheckoutSubscriptionRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CheckoutSessionResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/billing/portal": {
+ "post": {
+ "summary": "Create Portal Session",
+ "description": "Create a Stripe Customer Portal session for managing subscription.\n\nFrontend should redirect the user to the returned URL.\nThe portal allows users to:\n- Update payment methods\n- Upgrade/downgrade plans\n- Cancel subscription\n- View invoices",
+ "operationId": "create_portal_session_api_v1_billing_portal_post",
+ "parameters": [
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PortalSessionResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/billing/state": {
+ "get": {
+ "summary": "Get Organization Billing",
+ "operationId": "get_organization_billing_api_v1_billing_state_get",
+ "parameters": [
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/BillingStateResponse"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Response Get Organization Billing Api V1 Billing State Get"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/billing/change-tier": {
+ "post": {
+ "summary": "Change Tier",
+ "description": "Redirect to Stripe Portal for tier changes.\nPortal handles proration based on configured settings:\n- Upgrades: Immediate proration charge\n- Downgrades: Apply at end of billing period",
+ "operationId": "change_tier_api_v1_billing_change_tier_post",
+ "parameters": [
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChangeTierRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChangeTierResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/schedules": {
+ "get": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "List Organization Schedules",
+ "operationId": "list_organization_schedules_api_v1_schedules_get",
+ "parameters": [
+ {
+ "name": "page",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "minimum": 1,
+ "default": 1,
+ "title": "Page"
+ }
+ },
+ {
+ "name": "page_size",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "integer",
+ "maximum": 100,
+ "minimum": 1,
+ "default": 10,
+ "title": "Page Size"
+ }
+ },
+ {
+ "name": "status",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "enum": [
+ "active",
+ "paused"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Filter by status: 'active' or 'paused'",
+ "title": "Status"
+ },
+ "description": "Filter by status: 'active' or 'paused'"
+ },
+ {
+ "name": "search",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Search by workflow title or schedule name",
+ "title": "Search"
+ },
+ "description": "Search by workflow title or schedule name"
+ },
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/OrganizationScheduleListResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/workflows/{workflow_permanent_id}/schedules": {
+ "post": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "Create Workflow Schedule",
+ "operationId": "create_workflow_schedule_api_v1_workflows__workflow_permanent_id__schedules_post",
+ "parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowScheduleUpsertRequest"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowScheduleResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "List Workflow Schedules",
+ "operationId": "list_workflow_schedules_api_v1_workflows__workflow_permanent_id__schedules_get",
+ "parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowScheduleListResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "/api/v1/workflows/{workflow_permanent_id}/schedules/{workflow_schedule_id}": {
+ "get": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "Get Workflow Schedule",
+ "operationId": "get_workflow_schedule_api_v1_workflows__workflow_permanent_id__schedules__workflow_schedule_id__get",
+ "parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "workflow_schedule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Schedule Id"
+ }
+ },
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.",
+ "title": "X-Api-Key"
+ },
+ "description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/WorkflowScheduleResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "Update Workflow Schedule",
+ "operationId": "update_workflow_schedule_api_v1_workflows__workflow_permanent_id__schedules__workflow_schedule_id__put",
+ "parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "workflow_schedule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Schedule Id"
}
- }
- },
- "x-fern-sdk-method-name": "run_sdk_action"
- }
- },
- "/api/v1/billing/checkout": {
- "post": {
- "summary": "Create Checkout Session",
- "description": "Create a Stripe Checkout Session for subscribing to a tier.\n\nFrontend should redirect the user to the returned URL.\nAfter successful checkout, Stripe will send a webhook that we handle\nto store the subscription and initialize billing state.\n\nReturns 400 if org already has an active subscription (use portal instead).",
- "operationId": "create_checkout_session_api_v1_billing_checkout_post",
- "parameters": [
+ },
{
"name": "x-api-key",
"in": "header",
@@ -3879,7 +4478,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CheckoutSubscriptionRequest"
+ "$ref": "#/components/schemas/WorkflowScheduleUpsertRequest"
}
}
}
@@ -3890,7 +4489,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CheckoutSessionResponse"
+ "$ref": "#/components/schemas/WorkflowScheduleResponse"
}
}
}
@@ -3906,14 +4505,32 @@
}
}
}
- }
- },
- "/api/v1/billing/portal": {
- "post": {
- "summary": "Create Portal Session",
- "description": "Create a Stripe Customer Portal session for managing subscription.\n\nFrontend should redirect the user to the returned URL.\nThe portal allows users to:\n- Update payment methods\n- Upgrade/downgrade plans\n- Cancel subscription\n- View invoices",
- "operationId": "create_portal_session_api_v1_billing_portal_post",
+ },
+ "delete": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "Delete Workflow Schedule Route",
+ "operationId": "delete_workflow_schedule_route_api_v1_workflows__workflow_permanent_id__schedules__workflow_schedule_id__delete",
"parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "workflow_schedule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Schedule Id"
+ }
+ },
{
"name": "x-api-key",
"in": "header",
@@ -3939,7 +4556,11 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/PortalSessionResponse"
+ "type": "object",
+ "additionalProperties": {
+ "type": "boolean"
+ },
+ "title": "Response Delete Workflow Schedule Route Api V1 Workflows Workflow Permanent Id Schedules Workflow Schedule Id Delete"
}
}
}
@@ -3957,11 +4578,32 @@
}
}
},
- "/api/v1/billing/state": {
- "get": {
- "summary": "Get Organization Billing",
- "operationId": "get_organization_billing_api_v1_billing_state_get",
+ "/api/v1/workflows/{workflow_permanent_id}/schedules/{workflow_schedule_id}/enable": {
+ "post": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "Enable Workflow Schedule",
+ "operationId": "enable_workflow_schedule_api_v1_workflows__workflow_permanent_id__schedules__workflow_schedule_id__enable_post",
"parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "workflow_schedule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Schedule Id"
+ }
+ },
{
"name": "x-api-key",
"in": "header",
@@ -3987,15 +4629,7 @@
"content": {
"application/json": {
"schema": {
- "anyOf": [
- {
- "$ref": "#/components/schemas/BillingStateResponse"
- },
- {
- "type": "null"
- }
- ],
- "title": "Response Get Organization Billing Api V1 Billing State Get"
+ "$ref": "#/components/schemas/WorkflowScheduleResponse"
}
}
}
@@ -4013,12 +4647,32 @@
}
}
},
- "/api/v1/billing/change-tier": {
+ "/api/v1/workflows/{workflow_permanent_id}/schedules/{workflow_schedule_id}/disable": {
"post": {
- "summary": "Change Tier",
- "description": "Redirect to Stripe Portal for tier changes.\nPortal handles proration based on configured settings:\n- Upgrades: Immediate proration charge\n- Downgrades: Apply at end of billing period",
- "operationId": "change_tier_api_v1_billing_change_tier_post",
+ "tags": [
+ "agent"
+ ],
+ "summary": "Disable Workflow Schedule",
+ "operationId": "disable_workflow_schedule_api_v1_workflows__workflow_permanent_id__schedules__workflow_schedule_id__disable_post",
"parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "workflow_schedule_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Schedule Id"
+ }
+ },
{
"name": "x-api-key",
"in": "header",
@@ -4038,23 +4692,13 @@
"description": "Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings."
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ChangeTierRequest"
- }
- }
- }
- },
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/ChangeTierResponse"
+ "$ref": "#/components/schemas/WorkflowScheduleResponse"
}
}
}
@@ -12801,9 +13445,160 @@
"type": "string",
"title": "Vault Id"
},
- "item_id": {
- "type": "string",
- "title": "Item Id"
+ "item_id": {
+ "type": "string",
+ "title": "Item Id"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "onepassword_credential_parameter_id",
+ "workflow_id",
+ "vault_id",
+ "item_id",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "OnePasswordCredentialParameter"
+ },
+ "OnePasswordCredentialParameterYAML": {
+ "properties": {
+ "parameter_type": {
+ "type": "string",
+ "const": "onepassword",
+ "title": "Parameter Type",
+ "default": "onepassword"
+ },
+ "key": {
+ "type": "string",
+ "title": "Key"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "vault_id": {
+ "type": "string",
+ "title": "Vault Id"
+ },
+ "item_id": {
+ "type": "string",
+ "title": "Item Id"
+ }
+ },
+ "type": "object",
+ "required": [
+ "key",
+ "vault_id",
+ "item_id"
+ ],
+ "title": "OnePasswordCredentialParameterYAML"
+ },
+ "OrganizationScheduleItem": {
+ "properties": {
+ "workflow_schedule_id": {
+ "type": "string",
+ "title": "Workflow Schedule Id"
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id"
+ },
+ "workflow_permanent_id": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ },
+ "workflow_title": {
+ "type": "string",
+ "title": "Workflow Title"
+ },
+ "cron_expression": {
+ "type": "string",
+ "title": "Cron Expression"
+ },
+ "timezone": {
+ "type": "string",
+ "title": "Timezone"
+ },
+ "enabled": {
+ "type": "boolean",
+ "title": "Enabled"
+ },
+ "parameters": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parameters"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Name"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "next_run": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Next Run"
},
"created_at": {
"type": "string",
@@ -12814,71 +13609,52 @@
"type": "string",
"format": "date-time",
"title": "Modified At"
- },
- "deleted_at": {
- "anyOf": [
- {
- "type": "string",
- "format": "date-time"
- },
- {
- "type": "null"
- }
- ],
- "title": "Deleted At"
}
},
"type": "object",
"required": [
- "key",
- "onepassword_credential_parameter_id",
- "workflow_id",
- "vault_id",
- "item_id",
+ "workflow_schedule_id",
+ "organization_id",
+ "workflow_permanent_id",
+ "workflow_title",
+ "cron_expression",
+ "timezone",
+ "enabled",
"created_at",
"modified_at"
],
- "title": "OnePasswordCredentialParameter"
+ "title": "OrganizationScheduleItem"
},
- "OnePasswordCredentialParameterYAML": {
+ "OrganizationScheduleListResponse": {
"properties": {
- "parameter_type": {
- "type": "string",
- "const": "onepassword",
- "title": "Parameter Type",
- "default": "onepassword"
- },
- "key": {
- "type": "string",
- "title": "Key"
+ "schedules": {
+ "items": {
+ "$ref": "#/components/schemas/OrganizationScheduleItem"
+ },
+ "type": "array",
+ "title": "Schedules"
},
- "description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Description"
+ "total_count": {
+ "type": "integer",
+ "title": "Total Count"
},
- "vault_id": {
- "type": "string",
- "title": "Vault Id"
+ "page": {
+ "type": "integer",
+ "title": "Page"
},
- "item_id": {
- "type": "string",
- "title": "Item Id"
+ "page_size": {
+ "type": "integer",
+ "title": "Page Size"
}
},
"type": "object",
"required": [
- "key",
- "vault_id",
- "item_id"
+ "schedules",
+ "total_count",
+ "page",
+ "page_size"
],
- "title": "OnePasswordCredentialParameterYAML"
+ "title": "OrganizationScheduleListResponse"
},
"OutputParameter": {
"properties": {
@@ -13182,7 +13958,8 @@
"type": "string",
"enum": [
"msedge",
- "chrome"
+ "chrome",
+ "stealth-chromium"
],
"title": "PersistentBrowserType"
},
@@ -18926,6 +19703,27 @@
],
"title": "Code Gen"
},
+ "trigger_type": {
+ "anyOf": [
+ {
+ "$ref": "#/components/schemas/WorkflowRunTriggerType"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "workflow_schedule_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Workflow Schedule Id"
+ },
"queued_at": {
"anyOf": [
{
@@ -19092,6 +19890,14 @@
],
"title": "Failure Reason"
},
+ "error_codes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "title": "Error Codes",
+ "default": []
+ },
"engine": {
"anyOf": [
{
@@ -20008,6 +20814,215 @@
],
"title": "WorkflowRunTimelineType"
},
+ "WorkflowRunTriggerType": {
+ "type": "string",
+ "enum": [
+ "manual",
+ "api",
+ "scheduled"
+ ],
+ "title": "WorkflowRunTriggerType"
+ },
+ "WorkflowSchedule": {
+ "properties": {
+ "workflow_schedule_id": {
+ "type": "string",
+ "title": "Workflow Schedule Id"
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id"
+ },
+ "workflow_permanent_id": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ },
+ "cron_expression": {
+ "type": "string",
+ "title": "Cron Expression"
+ },
+ "timezone": {
+ "type": "string",
+ "title": "Timezone"
+ },
+ "enabled": {
+ "type": "boolean",
+ "title": "Enabled"
+ },
+ "parameters": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parameters"
+ },
+ "temporal_schedule_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Temporal Schedule Id"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Name"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "deleted_at": {
+ "anyOf": [
+ {
+ "type": "string",
+ "format": "date-time"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Deleted At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "workflow_schedule_id",
+ "organization_id",
+ "workflow_permanent_id",
+ "cron_expression",
+ "timezone",
+ "enabled",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "WorkflowSchedule"
+ },
+ "WorkflowScheduleListResponse": {
+ "properties": {
+ "schedules": {
+ "items": {
+ "$ref": "#/components/schemas/WorkflowSchedule"
+ },
+ "type": "array",
+ "title": "Schedules"
+ }
+ },
+ "type": "object",
+ "required": [
+ "schedules"
+ ],
+ "title": "WorkflowScheduleListResponse"
+ },
+ "WorkflowScheduleResponse": {
+ "properties": {
+ "schedule": {
+ "$ref": "#/components/schemas/WorkflowSchedule"
+ },
+ "next_runs": {
+ "items": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "type": "array",
+ "title": "Next Runs"
+ }
+ },
+ "type": "object",
+ "required": [
+ "schedule"
+ ],
+ "title": "WorkflowScheduleResponse"
+ },
+ "WorkflowScheduleUpsertRequest": {
+ "properties": {
+ "cron_expression": {
+ "type": "string",
+ "title": "Cron Expression"
+ },
+ "timezone": {
+ "type": "string",
+ "title": "Timezone"
+ },
+ "enabled": {
+ "type": "boolean",
+ "title": "Enabled",
+ "default": true
+ },
+ "parameters": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Parameters"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Name"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Description"
+ }
+ },
+ "type": "object",
+ "required": [
+ "cron_expression",
+ "timezone"
+ ],
+ "title": "WorkflowScheduleUpsertRequest"
+ },
"WorkflowStatus": {
"type": "string",
"enum": [