Update API specifications with fern api update (#4221)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Shuchang Zheng
2025-12-07 12:52:48 -05:00
committed by GitHub
parent 0dba57f423
commit 45307cc2ba

View File

@@ -1310,12 +1310,12 @@
} }
} }
}, },
"404": {
"description": "Workflow not found"
},
"400": { "400": {
"description": "Folder not found" "description": "Folder not found"
}, },
"404": {
"description": "Workflow not found"
},
"422": { "422": {
"description": "Validation Error", "description": "Validation Error",
"content": { "content": {
@@ -1620,12 +1620,12 @@
} }
} }
}, },
"404": {
"description": "Run not found"
},
"400": { "400": {
"description": "Timeline not available for this run type" "description": "Timeline not available for this run type"
}, },
"404": {
"description": "Run not found"
},
"422": { "422": {
"description": "Validation Error", "description": "Validation Error",
"content": { "content": {
@@ -2266,12 +2266,12 @@
} }
} }
}, },
"404": {
"description": "Browser session not found"
},
"403": { "403": {
"description": "Unauthorized - Invalid or missing authentication" "description": "Unauthorized - Invalid or missing authentication"
}, },
"404": {
"description": "Browser session not found"
},
"422": { "422": {
"description": "Validation Error", "description": "Validation Error",
"content": { "content": {
@@ -5264,6 +5264,10 @@
}, },
"BranchCondition": { "BranchCondition": {
"properties": { "properties": {
"id": {
"type": "string",
"title": "Id"
},
"criteria": { "criteria": {
"anyOf": [ "anyOf": [
{ {
@@ -5699,7 +5703,7 @@
"type": "number", "type": "number",
"title": "Timeout", "title": "Timeout",
"description": "Timeout in milliseconds", "description": "Timeout in milliseconds",
"default": 5000 "default": 10000
} }
}, },
"type": "object", "type": "object",
@@ -6253,8 +6257,8 @@
"anyOf": [ "anyOf": [
{ {
"type": "integer", "type": "integer",
"maximum": 1440.0, "maximum": 1440,
"minimum": 5.0 "minimum": 5
}, },
{ {
"type": "null" "type": "null"
@@ -10040,7 +10044,7 @@
"type": "number", "type": "number",
"title": "Timeout", "title": "Timeout",
"description": "Timeout in milliseconds", "description": "Timeout in milliseconds",
"default": 5000 "default": 10000
} }
}, },
"type": "object", "type": "object",
@@ -11880,6 +11884,53 @@
"title": "PasswordCredentialResponse", "title": "PasswordCredentialResponse",
"description": "Response model for password credentials, containing only the username." "description": "Response model for password credentials, containing only the username."
}, },
"PromptAction": {
"properties": {
"type": {
"type": "string",
"const": "prompt",
"title": "Type",
"default": "prompt"
},
"prompt": {
"type": "string",
"title": "Prompt",
"description": "The prompt to send to the LLM"
},
"schema": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Schema",
"description": "Optional JSON schema to structure the response"
},
"model": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Model",
"description": "Optional model configuration"
}
},
"type": "object",
"required": [
"prompt"
],
"title": "PromptAction",
"description": "Prompt action parameters."
},
"ProxyLocation": { "ProxyLocation": {
"type": "string", "type": "string",
"enum": [ "enum": [
@@ -11987,6 +12038,9 @@
}, },
{ {
"$ref": "#/components/schemas/LocateElementAction" "$ref": "#/components/schemas/LocateElementAction"
},
{
"$ref": "#/components/schemas/PromptAction"
} }
], ],
"title": "Action", "title": "Action",
@@ -12000,7 +12054,8 @@
"ai_select_option": "#/components/schemas/SelectOptionAction", "ai_select_option": "#/components/schemas/SelectOptionAction",
"ai_upload_file": "#/components/schemas/UploadFileAction", "ai_upload_file": "#/components/schemas/UploadFileAction",
"extract": "#/components/schemas/ExtractAction", "extract": "#/components/schemas/ExtractAction",
"locate_element": "#/components/schemas/LocateElementAction" "locate_element": "#/components/schemas/LocateElementAction",
"prompt": "#/components/schemas/PromptAction"
} }
} }
} }
@@ -12274,7 +12329,7 @@
"type": "number", "type": "number",
"title": "Timeout", "title": "Timeout",
"description": "Timeout in milliseconds", "description": "Timeout in milliseconds",
"default": 5000 "default": 10000
} }
}, },
"type": "object", "type": "object",
@@ -14624,7 +14679,7 @@
"type": "number", "type": "number",
"title": "Timeout", "title": "Timeout",
"description": "Timeout in milliseconds", "description": "Timeout in milliseconds",
"default": 5000 "default": 10000
} }
}, },
"type": "object", "type": "object",
@@ -15133,8 +15188,8 @@
}, },
"confidence_float": { "confidence_float": {
"type": "number", "type": "number",
"maximum": 1.0, "maximum": 1,
"minimum": 0.0, "minimum": 0,
"title": "Confidence Float" "title": "Confidence Float"
} }
}, },