Skip to content

Automate browser based workflows with AI

Update API specifications with fern api update (#4288)

Shuchang Zhenge9f4632ff7b3
diff --git a/fern/openapi/skyvern_openapi.json b/fern/openapi/skyvern_openapi.json
index 1f1594e6a..701bf6579 100644
--- a/fern/openapi/skyvern_openapi.json
+++ b/fern/openapi/skyvern_openapi.json
@@ -548,6 +548,16 @@
"title": "Only Workflows"
}
},
+ {
+ "name": "only_templates",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "boolean",
+ "default": false,
+ "title": "Only Templates"
+ }
+ },
{
"name": "search_key",
"in": "query",
@@ -1181,6 +1191,78 @@
]
}
},
+ "/v1/workflows/{workflow_permanent_id}/template": {
+ "put": {
+ "tags": [
+ "Workflows"
+ ],
+ "summary": "Set Workflow Template Status",
+ "description": "Set or unset a workflow as a template.\n\nTemplate status is stored at the workflow_permanent_id level (not per-version),\nmeaning all versions of a workflow share the same template status.",
+ "operationId": "set_workflow_template_status_v1_workflows__workflow_permanent_id__template_put",
+ "parameters": [
+ {
+ "name": "workflow_permanent_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Workflow Permanent Id"
+ }
+ },
+ {
+ "name": "is_template",
+ "in": "query",
+ "required": true,
+ "schema": {
+ "type": "boolean",
+ "title": "Is Template"
+ }
+ },
+ {
+ "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": {
+ "type": "object",
+ "additionalProperties": true,
+ "title": "Response Set Workflow Template Status V1 Workflows Workflow Permanent Id Template Put"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"/v1/browser_profiles": {
"post": {
"tags": [
@@ -3961,6 +4043,17 @@
],
"title": "Workflow Run Block Id"
},
+ "run_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Run Id"
+ },
"observer_cruise_id": {
"anyOf": [
{
@@ -15403,6 +15496,11 @@
"type": "boolean",
"title": "Is Saved Task"
},
+ "is_template": {
+ "type": "boolean",
+ "title": "Is Template",
+ "default": false
+ },
"description": {
"anyOf": [
{