Skip to content

Automate browser based workflows with AI

update latest openapi (#1994)

Shuchang Zheng4f37078433cb
diff --git a/fern/openapi/skyvern_openapi.json b/fern/openapi/skyvern_openapi.json
index 55d2f6c5d..5864d2f86 100644
--- a/fern/openapi/skyvern_openapi.json
+++ b/fern/openapi/skyvern_openapi.json
@@ -1,8 +1,9 @@
{
"openapi": "3.1.0",
"info": {
- "title": "FastAPI",
- "version": "0.1.0"
+ "title": "Skyvern API",
+ "description": "API for Skyvern",
+ "version": "1.0.0"
},
"paths": {
"/api/v1/webhook": {
@@ -67,7 +68,9 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "server",
+ "x-fern-sdk-method-name": "webhook"
}
},
"/api/v1/heartbeat": {
@@ -89,7 +92,9 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "server",
+ "x-fern-sdk-method-name": "heartbeat"
}
},
"/api/v1/tasks": {
@@ -97,8 +102,8 @@
"tags": [
"agent"
],
- "summary": "Run Task",
- "operationId": "run_task_api_v1_tasks_post",
+ "summary": "Run Task V1",
+ "operationId": "run_task_v1_api_v1_tasks_post",
"parameters": [
{
"name": "x-api-key",
@@ -180,7 +185,9 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "run_task_v1"
},
"get": {
"tags": [
@@ -349,13 +356,18 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_tasks"
}
},
"/api/v1/tasks/{task_id}": {
"get": {
- "summary": "Get Task",
- "operationId": "get_task_api_v1_tasks__task_id__get",
+ "tags": [
+ "agent"
+ ],
+ "summary": "Get Task V1",
+ "operationId": "get_task_v1_api_v1_tasks__task_id__get",
"parameters": [
{
"name": "task_id",
@@ -420,11 +432,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_task_v1"
}
},
"/api/v1/tasks/{task_id}/cancel": {
"post": {
+ "tags": [
+ "agent"
+ ],
"summary": "Cancel Task",
"operationId": "cancel_task_api_v1_tasks__task_id__cancel_post",
"parameters": [
@@ -491,11 +508,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "cancel_task"
}
},
"/api/v1/workflows/runs/{workflow_run_id}/cancel": {
"post": {
+ "tags": [
+ "agent"
+ ],
"summary": "Cancel Workflow Run",
"operationId": "cancel_workflow_run_api_v1_workflows_runs__workflow_run_id__cancel_post",
"parameters": [
@@ -562,7 +584,9 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "cancel_workflow_run"
}
},
"/api/v1/tasks/{task_id}/retry_webhook": {
@@ -636,11 +660,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "retry_webhook"
}
},
"/api/v1/runs": {
"get": {
+ "tags": [
+ "agent"
+ ],
"summary": "Get Runs",
"operationId": "get_runs_api_v1_runs_get",
"parameters": [
@@ -750,7 +779,85 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_runs"
+ }
+ },
+ "/api/v1/runs/{run_id}": {
+ "get": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "Get Run",
+ "operationId": "get_run_api_v1_runs__run_id__get",
+ "parameters": [
+ {
+ "name": "run_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string",
+ "title": "Run Id"
+ }
+ },
+ {
+ "name": "x-api-key",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "X-Api-Key"
+ }
+ },
+ {
+ "name": "authorization",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Authorization"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TaskRunResponse"
+ }
+ }
+ }
+ },
+ "422": {
+ "description": "Validation Error",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ }
+ }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_run"
}
},
"/api/v1/tasks/{task_id}/steps": {
@@ -829,7 +936,9 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_steps"
}
},
"/api/v1/{entity_type}/{entity_id}/artifacts": {
@@ -916,7 +1025,9 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_artifacts"
}
},
"/api/v1/tasks/{task_id}/steps/{step_id}/artifacts": {
@@ -1004,11 +1115,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_step_artifacts"
}
},
"/api/v1/tasks/{task_id}/actions": {
"get": {
+ "tags": [
+ "agent"
+ ],
"summary": "Get Actions",
"operationId": "get_actions_api_v1_tasks__task_id__actions_get",
"parameters": [
@@ -1079,11 +1195,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_actions"
}
},
"/api/v1/workflows/{workflow_id}/run": {
"post": {
+ "tags": [
+ "agent"
+ ],
"summary": "Run Workflow",
"operationId": "run_workflow_api_v1_workflows__workflow_id__run_post",
"parameters": [
@@ -1202,11 +1323,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "run_workflow"
}
},
"/api/v1/workflows/runs": {
"get": {
+ "tags": [
+ "agent"
+ ],
"summary": "Get Workflow Runs",
"operationId": "get_workflow_runs_api_v1_workflows_runs_get",
"parameters": [
@@ -1309,11 +1435,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflow_runs"
}
},
"/api/v1/workflows/{workflow_id}/runs": {
"get": {
+ "tags": [
+ "agent"
+ ],
"summary": "Get Workflow Runs By Id",
"operationId": "get_workflow_runs_by_id_api_v1_workflows__workflow_id__runs_get",
"parameters": [
@@ -1425,13 +1556,18 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflow_runs_by_id"
}
},
"/api/v1/workflows/{workflow_id}/runs/{workflow_run_id}": {
"get": {
- "summary": "Get Workflow Run",
- "operationId": "get_workflow_run_api_v1_workflows__workflow_id__runs__workflow_run_id__get",
+ "tags": [
+ "agent"
+ ],
+ "summary": "Get Workflow Run With Workflow Id",
+ "operationId": "get_workflow_run_with_workflow_id_api_v1_workflows__workflow_id__runs__workflow_run_id__get",
"parameters": [
{
"name": "workflow_id",
@@ -1491,7 +1627,7 @@
"application/json": {
"schema": {
"type": "object",
- "title": "Response Get Workflow Run Api V1 Workflows Workflow Id Runs Workflow Run Id Get"
+ "title": "Response Get Workflow Run With Workflow Id Api V1 Workflows Workflow Id Runs Workflow Run Id Get"
}
}
}
@@ -1506,11 +1642,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflow_run_with_workflow_id"
}
},
"/api/v1/workflows/{workflow_id}/runs/{workflow_run_id}/timeline": {
"get": {
+ "tags": [
+ "agent"
+ ],
"summary": "Get Workflow Run Timeline",
"operationId": "get_workflow_run_timeline_api_v1_workflows__workflow_id__runs__workflow_run_id__timeline_get",
"parameters": [
@@ -1603,13 +1744,18 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflow_run_timeline"
}
},
"/api/v1/workflows/runs/{workflow_run_id}": {
"get": {
- "summary": "Get Workflow Run By Run Id",
- "operationId": "get_workflow_run_by_run_id_api_v1_workflows_runs__workflow_run_id__get",
+ "tags": [
+ "agent"
+ ],
+ "summary": "Get Workflow Run",
+ "operationId": "get_workflow_run_api_v1_workflows_runs__workflow_run_id__get",
"parameters": [
{
"name": "workflow_run_id",
@@ -1659,7 +1805,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/WorkflowRunStatusResponse"
+ "$ref": "#/components/schemas/WorkflowRunResponse"
}
}
}
@@ -1674,11 +1820,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflow_run"
}
},
"/api/v1/workflows": {
"post": {
+ "tags": [
+ "agent"
+ ],
"summary": "Create Workflow",
"operationId": "create_workflow_api_v1_workflows_post",
"parameters": [
@@ -2750,6 +2901,11 @@
}
],
"title": "Terminate Criterion"
+ },
+ "complete_verification": {
+ "default": true,
+ "title": "Complete Verification",
+ "type": "boolean"
}
},
"required": [
@@ -2903,6 +3059,11 @@
}
],
"title": "Terminate Criterion"
+ },
+ "complete_verification": {
+ "default": true,
+ "title": "Complete Verification",
+ "type": "boolean"
}
},
"required": [
@@ -3267,6 +3428,11 @@
}
],
"title": "Terminate Criterion"
+ },
+ "complete_verification": {
+ "default": true,
+ "title": "Complete Verification",
+ "type": "boolean"
}
},
"required": [
@@ -3886,9 +4052,14 @@
}
},
"required": true
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "create_workflow"
},
"get": {
+ "tags": [
+ "agent"
+ ],
"summary": "Get Workflows",
"description": "Get all workflows with the latest version for the organization.",
"operationId": "get_workflows_api_v1_workflows_get",
@@ -4013,11 +4184,16 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflows"
}
},
"/api/v1/workflows/{workflow_permanent_id}": {
"put": {
+ "tags": [
+ "agent"
+ ],
"summary": "Update Workflow",
"operationId": "update_workflow_api_v1_workflows__workflow_permanent_id__put",
"parameters": [
@@ -5098,6 +5274,11 @@
}
],
"title": "Terminate Criterion"
+ },
+ "complete_verification": {
+ "default": true,
+ "title": "Complete Verification",
+ "type": "boolean"
}
},
"required": [
@@ -5251,6 +5432,11 @@
}
],
"title": "Terminate Criterion"
+ },
+ "complete_verification": {
+ "default": true,
+ "title": "Complete Verification",
+ "type": "boolean"
}
},
"required": [
@@ -5615,6 +5801,11 @@
}
],
"title": "Terminate Criterion"
+ },
+ "complete_verification": {
+ "default": true,
+ "title": "Complete Verification",
+ "type": "boolean"
}
},
"required": [
@@ -6234,9 +6425,14 @@
}
},
"required": true
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "update_workflow"
},
"delete": {
+ "tags": [
+ "agent"
+ ],
"summary": "Delete Workflow",
"operationId": "delete_workflow_api_v1_workflows__workflow_permanent_id__delete",
"parameters": [
@@ -6303,9 +6499,14 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "delete_workflow"
},
"get": {
+ "tags": [
+ "agent"
+ ],
"summary": "Get Workflow",
"operationId": "get_workflow_api_v1_workflows__workflow_permanent_id__get",
"parameters": [
@@ -6398,444 +6599,76 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflow"
}
},
- "/api/v1/workflows/": {
+ "/api/v1/workflows/templates": {
"get": {
- "summary": "Get Workflows",
- "description": "Get all workflows with the latest version for the organization.",
- "operationId": "get_workflows_api_v1_workflows__get",
- "parameters": [
- {
- "name": "page",
- "in": "query",
- "required": false,
- "schema": {
- "type": "integer",
- "minimum": 1,
- "default": 1,
- "title": "Page"
+ "tags": [
+ "agent"
+ ],
+ "summary": "Get Workflow Templates",
+ "operationId": "get_workflow_templates_api_v1_workflows_templates_get",
+ "responses": {
+ "200": {
+ "description": "Successful Response",
+ "content": {
+ "application/json": {
+ "schema": {
+ "items": {
+ "$ref": "#/components/schemas/Workflow"
+ },
+ "type": "array",
+ "title": "Response Get Workflow Templates Api V1 Workflows Templates Get"
+ }
+ }
}
- },
+ }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_workflow_templates"
+ }
+ },
+ "/api/v1/generate/task": {
+ "post": {
+ "tags": [
+ "agent"
+ ],
+ "summary": "Generate Task",
+ "operationId": "generate_task_api_v1_generate_task_post",
+ "parameters": [
{
- "name": "page_size",
- "in": "query",
+ "name": "x-api-key",
+ "in": "header",
"required": false,
"schema": {
- "type": "integer",
- "minimum": 1,
- "default": 10,
- "title": "Page Size"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "X-Api-Key"
}
},
{
- "name": "only_saved_tasks",
- "in": "query",
+ "name": "authorization",
+ "in": "header",
"required": false,
"schema": {
- "type": "boolean",
- "default": false,
- "title": "Only Saved Tasks"
- }
- },
- {
- "name": "only_workflows",
- "in": "query",
- "required": false,
- "schema": {
- "type": "boolean",
- "default": false,
- "title": "Only Workflows"
- }
- },
- {
- "name": "title",
- "in": "query",
- "required": false,
- "schema": {
- "type": "string",
- "default": "",
- "title": "Title"
- }
- },
- {
- "name": "template",
- "in": "query",
- "required": false,
- "schema": {
- "type": "boolean",
- "default": false,
- "title": "Template"
- }
- },
- {
- "name": "x-api-key",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Api-Key"
- }
- },
- {
- "name": "authorization",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Authorization"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Workflow"
- },
- "title": "Response Get Workflows Api V1 Workflows Get"
- }
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- }
- }
- },
- "/api/v1/workflows/templates": {
- "get": {
- "summary": "Get Workflow Templates",
- "operationId": "get_workflow_templates_api_v1_workflows_templates_get",
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {
- "items": {
- "$ref": "#/components/schemas/Workflow"
- },
- "type": "array",
- "title": "Response Get Workflow Templates Api V1 Workflows Templates Get"
- }
- }
- }
- }
- }
- }
- },
- "/api/v1/workflows/{workflow_permanent_id}/": {
- "get": {
- "summary": "Get Workflow",
- "operationId": "get_workflow_api_v1_workflows__workflow_permanent_id___get",
- "parameters": [
- {
- "name": "workflow_permanent_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "title": "Workflow Permanent Id"
- }
- },
- {
- "name": "version",
- "in": "query",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "title": "Version"
- }
- },
- {
- "name": "template",
- "in": "query",
- "required": false,
- "schema": {
- "type": "boolean",
- "default": false,
- "title": "Template"
- }
- },
- {
- "name": "x-api-key",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Api-Key"
- }
- },
- {
- "name": "authorization",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Authorization"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/Workflow"
- }
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- }
- }
- },
- "/api/v1/suggest/{ai_suggestion_type}/": {
- "post": {
- "summary": "Suggest",
- "operationId": "suggest_api_v1_suggest__ai_suggestion_type___post",
- "parameters": [
- {
- "name": "ai_suggestion_type",
- "in": "path",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/AISuggestionType"
- }
- },
- {
- "name": "x-api-key",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Api-Key"
- }
- },
- {
- "name": "authorization",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Authorization"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AISuggestionRequest"
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AISuggestionBase"
- }
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- }
- }
- },
- "/api/v1/generate/task/": {
- "post": {
- "summary": "Generate Task",
- "operationId": "generate_task_api_v1_generate_task__post",
- "parameters": [
- {
- "name": "x-api-key",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Api-Key"
- }
- },
- {
- "name": "authorization",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Authorization"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GenerateTaskRequest"
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TaskGeneration"
- }
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- }
- }
- },
- "/api/v1/organizations": {
- "put": {
- "summary": "Update Organization",
- "operationId": "update_organization_api_v1_organizations_put",
- "parameters": [
- {
- "name": "x-api-key",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Api-Key"
- }
- },
- {
- "name": "authorization",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Authorization"
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Authorization"
}
}
],
@@ -6844,7 +6677,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/OrganizationUpdate"
+ "$ref": "#/components/schemas/GenerateTaskRequest"
}
}
}
@@ -6855,67 +6688,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Organization"
- }
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- }
- },
- "get": {
- "summary": "Get Organizations",
- "operationId": "get_organizations_api_v1_organizations_get",
- "parameters": [
- {
- "name": "x-api-key",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Api-Key"
- }
- },
- {
- "name": "authorization",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Authorization"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GetOrganizationsResponse"
+ "$ref": "#/components/schemas/TaskGeneration"
}
}
}
@@ -6930,13 +6703,18 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "generate_task"
}
},
- "/api/v1/upload_file": {
- "post": {
- "summary": "Upload File",
- "operationId": "upload_file_api_v1_upload_file_post",
+ "/api/v1/organizations": {
+ "put": {
+ "tags": [
+ "server"
+ ],
+ "summary": "Update Organization",
+ "operationId": "update_organization_api_v1_organizations_put",
"parameters": [
{
"name": "x-api-key",
@@ -6974,9 +6752,9 @@
"requestBody": {
"required": true,
"content": {
- "multipart/form-data": {
+ "application/json": {
"schema": {
- "$ref": "#/components/schemas/Body_upload_file_api_v1_upload_file_post"
+ "$ref": "#/components/schemas/OrganizationUpdate"
}
}
}
@@ -6987,7 +6765,7 @@
"content": {
"application/json": {
"schema": {
-
+ "$ref": "#/components/schemas/Organization"
}
}
}
@@ -7002,23 +6780,17 @@
}
}
}
- }
- }
- },
- "/api/v1/browser_sessions/{browser_session_id}": {
+ },
+ "x-fern-sdk-group-name": "server",
+ "x-fern-sdk-method-name": "update_organization"
+ },
"get": {
- "summary": "Get Browser Session",
- "operationId": "get_browser_session_api_v1_browser_sessions__browser_session_id__get",
+ "tags": [
+ "server"
+ ],
+ "summary": "Get Organizations",
+ "operationId": "get_organizations_api_v1_organizations_get",
"parameters": [
- {
- "name": "browser_session_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "title": "Browser Session Id"
- }
- },
{
"name": "x-api-key",
"in": "header",
@@ -7058,7 +6830,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BrowserSessionResponse"
+ "$ref": "#/components/schemas/GetOrganizationsResponse"
}
}
}
@@ -7073,79 +6845,28 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "server",
+ "x-fern-sdk-method-name": "get_organizations"
}
},
- "/api/v1/browser_sessions": {
+ "/api/v1/organizations/{organization_id}/apikeys/": {
"get": {
- "summary": "Get Browser Sessions",
- "description": "Get all active browser sessions for the organization",
- "operationId": "get_browser_sessions_api_v1_browser_sessions_get",
+ "tags": [
+ "server"
+ ],
+ "summary": "Get Api Keys",
+ "operationId": "get_api_keys_api_v1_organizations__organization_id__apikeys__get",
"parameters": [
{
- "name": "x-api-key",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Api-Key"
- }
- },
- {
- "name": "authorization",
- "in": "header",
- "required": false,
+ "name": "organization_id",
+ "in": "path",
+ "required": true,
"schema": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Authorization"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/BrowserSessionResponse"
- },
- "title": "Response Get Browser Sessions Api V1 Browser Sessions Get"
- }
- }
+ "type": "string",
+ "title": "Organization Id"
}
},
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- }
- },
- "post": {
- "summary": "Create Browser Session",
- "operationId": "create_browser_session_api_v1_browser_sessions_post",
- "parameters": [
{
"name": "x-api-key",
"in": "header",
@@ -7185,7 +6906,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/BrowserSessionResponse"
+ "$ref": "#/components/schemas/GetOrganizationAPIKeysResponse"
}
}
}
@@ -7200,23 +6921,19 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "server",
+ "x-fern-sdk-method-name": "get_api_keys"
}
},
- "/api/v1/browser_sessions/{session_id}/close": {
+ "/api/v1/upload_file": {
"post": {
- "summary": "Close Browser Session",
- "operationId": "close_browser_session_api_v1_browser_sessions__session_id__close_post",
+ "tags": [
+ "server"
+ ],
+ "summary": "Upload File",
+ "operationId": "upload_file_api_v1_upload_file_post",
"parameters": [
- {
- "name": "session_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "title": "Session Id"
- }
- },
{
"name": "x-api-key",
"in": "header",
@@ -7250,6 +6967,16 @@
}
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "multipart/form-data": {
+ "schema": {
+ "$ref": "#/components/schemas/Body_upload_file_api_v1_upload_file_post"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "Successful Response",
@@ -7271,50 +6998,26 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "server",
+ "x-fern-sdk-method-name": "upload_file"
}
},
- "/api/v2/tasks": {
- "post": {
- "summary": "Run Task V2",
- "operationId": "run_task_v2_api_v2_tasks_post",
+ "/api/v1/browser_sessions/{browser_session_id}": {
+ "get": {
+ "tags": [
+ "browser"
+ ],
+ "summary": "Get Browser Session",
+ "operationId": "get_browser_session_api_v1_browser_sessions__browser_session_id__get",
"parameters": [
{
- "name": "x-max-iterations-override",
- "in": "header",
- "required": false,
- "schema": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Max-Iterations-Override"
- }
- },
- {
- "name": "x-max-steps-override",
- "in": "header",
- "required": false,
+ "name": "browser_session_id",
+ "in": "path",
+ "required": true,
"schema": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "X-Max-Steps-Override"
+ "type": "string",
+ "title": "Browser Session Id"
}
},
{
@@ -7350,24 +7053,13 @@
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TaskV2Request"
- }
- }
- }
- },
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "title": "Response Run Task V2 Api V2 Tasks Post"
+ "$ref": "#/components/schemas/BrowserSessionResponse"
}
}
}
@@ -7382,23 +7074,20 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "browser",
+ "x-fern-sdk-method-name": "get_browser_session"
}
},
- "/api/v2/tasks/{task_id}": {
+ "/api/v1/browser_sessions": {
"get": {
- "summary": "Get Task V2",
- "operationId": "get_task_v2_api_v2_tasks__task_id__get",
+ "tags": [
+ "browser"
+ ],
+ "summary": "Get Browser Sessions",
+ "description": "Get all active browser sessions for the organization",
+ "operationId": "get_browser_sessions_api_v1_browser_sessions_get",
"parameters": [
- {
- "name": "task_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "title": "Task Id"
- }
- },
{
"name": "x-api-key",
"in": "header",
@@ -7438,8 +7127,11 @@
"content": {
"application/json": {
"schema": {
- "type": "object",
- "title": "Response Get Task V2 Api V2 Tasks Task Id Get"
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/BrowserSessionResponse"
+ },
+ "title": "Response Get Browser Sessions Api V1 Browser Sessions Get"
}
}
}
@@ -7454,13 +7146,16 @@
}
}
}
- }
- }
- },
- "/api/v1/totp": {
+ },
+ "x-fern-sdk-group-name": "browser",
+ "x-fern-sdk-method-name": "get_browser_sessions"
+ },
"post": {
- "summary": "Save Totp Code",
- "operationId": "save_totp_code_api_v1_totp_post",
+ "tags": [
+ "browser"
+ ],
+ "summary": "Create Browser Session",
+ "operationId": "create_browser_session_api_v1_browser_sessions_post",
"parameters": [
{
"name": "x-api-key",
@@ -7495,23 +7190,13 @@
}
}
],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TOTPCodeCreate"
- }
- }
- }
- },
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/TOTPCode"
+ "$ref": "#/components/schemas/BrowserSessionResponse"
}
}
}
@@ -7526,34 +7211,26 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "browser",
+ "x-fern-sdk-method-name": "create_browser_session"
}
},
- "/api/v1/credentials": {
- "get": {
- "summary": "Get Credentials",
- "operationId": "get_credentials_api_v1_credentials_get",
+ "/api/v1/browser_sessions/{session_id}/close": {
+ "post": {
+ "tags": [
+ "browser"
+ ],
+ "summary": "Close Browser Session",
+ "operationId": "close_browser_session_api_v1_browser_sessions__session_id__close_post",
"parameters": [
{
- "name": "page",
- "in": "query",
- "required": false,
- "schema": {
- "type": "integer",
- "minimum": 1,
- "default": 1,
- "title": "Page"
- }
- },
- {
- "name": "page_size",
- "in": "query",
- "required": false,
+ "name": "session_id",
+ "in": "path",
+ "required": true,
"schema": {
- "type": "integer",
- "minimum": 1,
- "default": 10,
- "title": "Page Size"
+ "type": "string",
+ "title": "Session Id"
}
},
{
@@ -7595,11 +7272,7 @@
"content": {
"application/json": {
"schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CredentialResponse"
- },
- "title": "Response Get Credentials Api V1 Credentials Get"
+
}
}
}
@@ -7614,12 +7287,57 @@
}
}
}
- }
- },
+ },
+ "x-fern-sdk-group-name": "browser",
+ "x-fern-sdk-method-name": "close_browser_session"
+ }
+ },
+ "/api/v2/tasks": {
"post": {
- "summary": "Create Credential",
- "operationId": "create_credential_api_v1_credentials_post",
+ "tags": [
+ "agent"
+ ],
+ "summary": "Run Task V2",
+ "operationId": "run_task_v2_api_v2_tasks_post",
"parameters": [
+ {
+ "name": "x-max-iterations-override",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "X-Max-Iterations-Override"
+ }
+ },
+ {
+ "name": "x-max-steps-override",
+ "in": "header",
+ "required": false,
+ "schema": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "X-Max-Steps-Override"
+ }
+ },
{
"name": "x-api-key",
"in": "header",
@@ -7658,7 +7376,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CreateCredentialRequest"
+ "$ref": "#/components/schemas/TaskV2Request"
}
}
}
@@ -7669,7 +7387,8 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CredentialResponse"
+ "type": "object",
+ "title": "Response Run Task V2 Api V2 Tasks Post"
}
}
}
@@ -7684,21 +7403,26 @@
}
}
}
- }
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "run_task_v2"
}
},
- "/api/v1/credentials/{credential_id}": {
+ "/api/v2/tasks/{task_id}": {
"get": {
- "summary": "Get Credential",
- "operationId": "get_credential_api_v1_credentials__credential_id__get",
+ "tags": [
+ "agent"
+ ],
+ "summary": "Get Task V2",
+ "operationId": "get_task_v2_api_v2_tasks__task_id__get",
"parameters": [
{
- "name": "credential_id",
+ "name": "task_id",
"in": "path",
"required": true,
"schema": {
"type": "string",
- "title": "Credential Id"
+ "title": "Task Id"
}
},
{
@@ -7740,7 +7464,8 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/CredentialResponse"
+ "type": "object",
+ "title": "Response Get Task V2 Api V2 Tasks Task Id Get"
}
}
}
@@ -7755,21 +7480,16 @@
}
}
}
- }
- },
- "delete": {
- "summary": "Delete Credential",
- "operationId": "delete_credential_api_v1_credentials__credential_id__delete",
+ },
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "get_task_v2"
+ }
+ },
+ "/api/v1/totp": {
+ "post": {
+ "summary": "Save Totp Code",
+ "operationId": "save_totp_code_api_v1_totp_post",
"parameters": [
- {
- "name": "credential_id",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string",
- "title": "Credential Id"
- }
- },
{
"name": "x-api-key",
"in": "header",
@@ -7803,13 +7523,23 @@
}
}
],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TOTPCodeCreate"
+ }
+ }
+ }
+ },
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
-
+ "$ref": "#/components/schemas/TOTPCode"
}
}
}
@@ -7822,66 +7552,14 @@
"$ref": "#/components/schemas/HTTPValidationError"
}
}
- }
- }
- }
- }
- }
- },
- "components": {
- "schemas": {
- "AISuggestionBase": {
- "properties": {
- "output": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "title": "Output"
- }
- },
- "type": "object",
- "title": "AISuggestionBase"
- },
- "AISuggestionRequest": {
- "properties": {
- "input": {
- "type": "string",
- "minLength": 1,
- "title": "Input"
- },
- "context": {
- "anyOf": [
- {
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "title": "Context"
- }
- },
- "type": "object",
- "required": [
- "input"
- ],
- "title": "AISuggestionRequest"
- },
- "AISuggestionType": {
- "type": "string",
- "enum": [
- "data_schema"
- ],
- "title": "AISuggestionType"
- },
+ }
+ }
+ }
+ }
+ }
+ },
+ "components": {
+ "schemas": {
"AWSSecretParameter": {
"properties": {
"parameter_type": {
@@ -8493,6 +8171,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -9879,6 +9562,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -10109,6 +9797,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -10394,6 +10087,22 @@
],
"title": "GenerateTaskRequest"
},
+ "GetOrganizationAPIKeysResponse": {
+ "properties": {
+ "api_keys": {
+ "items": {
+ "$ref": "#/components/schemas/OrganizationAuthToken"
+ },
+ "type": "array",
+ "title": "Api Keys"
+ }
+ },
+ "type": "object",
+ "required": [
+ "api_keys"
+ ],
+ "title": "GetOrganizationAPIKeysResponse"
+ },
"GetOrganizationsResponse": {
"properties": {
"organizations": {
@@ -10643,6 +10352,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -10865,6 +10579,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -11057,6 +10776,57 @@
],
"title": "Organization"
},
+ "OrganizationAuthToken": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "Id"
+ },
+ "organization_id": {
+ "type": "string",
+ "title": "Organization Id"
+ },
+ "token_type": {
+ "$ref": "#/components/schemas/OrganizationAuthTokenType"
+ },
+ "token": {
+ "type": "string",
+ "title": "Token"
+ },
+ "valid": {
+ "type": "boolean",
+ "title": "Valid"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ }
+ },
+ "type": "object",
+ "required": [
+ "id",
+ "organization_id",
+ "token_type",
+ "token",
+ "valid",
+ "created_at",
+ "modified_at"
+ ],
+ "title": "OrganizationAuthToken"
+ },
+ "OrganizationAuthTokenType": {
+ "type": "string",
+ "enum": [
+ "api"
+ ],
+ "title": "OrganizationAuthTokenType"
+ },
"OrganizationUpdate": {
"properties": {
"max_steps_per_run": {
@@ -11219,6 +10989,14 @@
],
"title": "ProxyLocation"
},
+ "RunEngine": {
+ "type": "string",
+ "enum": [
+ "skyvern-1.0",
+ "skyvern-2.0"
+ ],
+ "title": "RunEngine"
+ },
"RunWorkflowResponse": {
"properties": {
"workflow_id": {
@@ -11426,6 +11204,28 @@
"title": "Output Token Count",
"default": 0
},
+ "reasoning_token_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Reasoning Token Count"
+ },
+ "cached_token_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cached Token Count"
+ },
"step_cost": {
"type": "number",
"title": "Step Cost",
@@ -12455,6 +12255,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -12852,48 +12657,210 @@
"type": "null"
}
],
- "title": "Browser Session Id"
+ "title": "Browser Session Id"
+ }
+ },
+ "type": "object",
+ "required": [
+ "url"
+ ],
+ "title": "TaskRequest"
+ },
+ "TaskResponse": {
+ "properties": {
+ "request": {
+ "$ref": "#/components/schemas/TaskBase"
+ },
+ "task_id": {
+ "type": "string",
+ "title": "Task Id"
+ },
+ "status": {
+ "$ref": "#/components/schemas/TaskStatus"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
+ },
+ "extracted_information": {
+ "anyOf": [
+ {
+ "items": {
+
+ },
+ "type": "array"
+ },
+ {
+ "type": "object"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Extracted Information"
+ },
+ "action_screenshot_urls": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Action Screenshot Urls"
+ },
+ "screenshot_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Screenshot Url"
+ },
+ "recording_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Recording Url"
+ },
+ "browser_console_log_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Browser Console Log Url"
+ },
+ "downloaded_files": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/components/schemas/FileInfo"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Downloaded Files"
+ },
+ "downloaded_file_urls": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Downloaded File Urls"
+ },
+ "failure_reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Failure Reason"
+ },
+ "errors": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array",
+ "title": "Errors",
+ "default": []
+ },
+ "max_steps_per_run": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Max Steps Per Run"
+ },
+ "workflow_run_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Workflow Run Id"
}
},
"type": "object",
"required": [
- "url"
+ "request",
+ "task_id",
+ "status",
+ "created_at",
+ "modified_at"
],
- "title": "TaskRequest"
+ "title": "TaskResponse"
},
- "TaskResponse": {
+ "TaskRunResponse": {
"properties": {
- "request": {
- "$ref": "#/components/schemas/TaskBase"
- },
- "task_id": {
+ "run_id": {
"type": "string",
- "title": "Task Id"
- },
- "status": {
- "$ref": "#/components/schemas/TaskStatus"
+ "title": "Run Id"
},
- "created_at": {
- "type": "string",
- "format": "date-time",
- "title": "Created At"
+ "engine": {
+ "$ref": "#/components/schemas/RunEngine",
+ "default": "skyvern-1.0"
},
- "modified_at": {
- "type": "string",
- "format": "date-time",
- "title": "Modified At"
+ "status": {
+ "$ref": "#/components/schemas/TaskRunStatus"
},
- "extracted_information": {
+ "goal": {
"anyOf": [
{
- "items": {
-
- },
- "type": "array"
+ "type": "string"
},
{
- "type": "object"
- },
+ "type": "null"
+ }
+ ],
+ "title": "Goal"
+ },
+ "url": {
+ "anyOf": [
{
"type": "string"
},
@@ -12901,23 +12868,29 @@
"type": "null"
}
],
- "title": "Extracted Information"
+ "title": "Url"
},
- "action_screenshot_urls": {
+ "output": {
"anyOf": [
+ {
+ "type": "object"
+ },
{
"items": {
- "type": "string"
+
},
"type": "array"
},
+ {
+ "type": "string"
+ },
{
"type": "null"
}
],
- "title": "Action Screenshot Urls"
+ "title": "Output"
},
- "screenshot_url": {
+ "failure_reason": {
"anyOf": [
{
"type": "string"
@@ -12926,9 +12899,9 @@
"type": "null"
}
],
- "title": "Screenshot Url"
+ "title": "Failure Reason"
},
- "recording_url": {
+ "webhook_url": {
"anyOf": [
{
"type": "string"
@@ -12937,9 +12910,9 @@
"type": "null"
}
],
- "title": "Recording Url"
+ "title": "Webhook Url"
},
- "browser_console_log_url": {
+ "totp_identifier": {
"anyOf": [
{
"type": "string"
@@ -12948,87 +12921,98 @@
"type": "null"
}
],
- "title": "Browser Console Log Url"
+ "title": "Totp Identifier"
},
- "downloaded_files": {
+ "totp_url": {
"anyOf": [
{
- "items": {
- "$ref": "#/components/schemas/FileInfo"
- },
- "type": "array"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Downloaded Files"
+ "title": "Totp Url"
},
- "downloaded_file_urls": {
+ "proxy_location": {
"anyOf": [
{
- "items": {
- "type": "string"
- },
- "type": "array"
+ "$ref": "#/components/schemas/ProxyLocation"
},
{
"type": "null"
}
- ],
- "title": "Downloaded File Urls"
+ ]
},
- "failure_reason": {
+ "error_code_mapping": {
"anyOf": [
{
- "type": "string"
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
},
{
"type": "null"
}
],
- "title": "Failure Reason"
- },
- "errors": {
- "items": {
- "type": "object"
- },
- "type": "array",
- "title": "Errors",
- "default": []
+ "title": "Error Code Mapping"
},
- "max_steps_per_run": {
+ "title": {
"anyOf": [
{
- "type": "integer"
+ "type": "string"
},
{
"type": "null"
}
],
- "title": "Max Steps Per Run"
+ "title": "Title"
},
- "workflow_run_id": {
+ "max_steps": {
"anyOf": [
{
- "type": "string"
+ "type": "integer"
},
{
"type": "null"
}
],
- "title": "Workflow Run Id"
+ "title": "Max Steps"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Created At"
+ },
+ "modified_at": {
+ "type": "string",
+ "format": "date-time",
+ "title": "Modified At"
}
},
"type": "object",
"required": [
- "request",
- "task_id",
+ "run_id",
"status",
"created_at",
"modified_at"
],
- "title": "TaskResponse"
+ "title": "TaskRunResponse"
+ },
+ "TaskRunStatus": {
+ "type": "string",
+ "enum": [
+ "created",
+ "queued",
+ "running",
+ "timed_out",
+ "failed",
+ "terminated",
+ "completed",
+ "canceled"
+ ],
+ "title": "TaskRunStatus"
},
"TaskStatus": {
"type": "string",
@@ -13202,6 +13186,37 @@
],
"title": "Webhook Callback Url"
},
+ "extracted_information_schema": {
+ "anyOf": [
+ {
+ "type": "object"
+ },
+ {
+ "items": {
+
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Extracted Information Schema"
+ },
+ "error_code_mapping": {
+ "anyOf": [
+ {
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Error Code Mapping"
+ },
"created_at": {
"type": "string",
"format": "date-time",
@@ -13373,6 +13388,40 @@
"type": "boolean",
"title": "Publish Workflow",
"default": false
+ },
+ "extracted_information_schema": {
+ "anyOf": [
+ {
+ "type": "object"
+ },
+ {
+ "items": {
+
+ },
+ "type": "array"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Extracted Information Schema"
+ },
+ "error_code_mapping": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Error Code Mapping"
}
},
"type": "object",
@@ -13653,6 +13702,28 @@
],
"title": "Output Token Count"
},
+ "reasoning_token_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Reasoning Token Count"
+ },
+ "cached_token_count": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Cached Token Count"
+ },
"thought_cost": {
"anyOf": [
{
@@ -13959,6 +14030,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -14214,6 +14290,11 @@
"type": "boolean",
"title": "Cache Actions",
"default": false
+ },
+ "complete_verification": {
+ "type": "boolean",
+ "title": "Complete Verification",
+ "default": true
}
},
"type": "object",
@@ -15241,21 +15322,7 @@
],
"title": "WorkflowRunBlock"
},
- "WorkflowRunStatus": {
- "type": "string",
- "enum": [
- "created",
- "queued",
- "running",
- "failed",
- "terminated",
- "canceled",
- "timed_out",
- "completed"
- ],
- "title": "WorkflowRunStatus"
- },
- "WorkflowRunStatusResponse": {
+ "WorkflowRunResponse": {
"properties": {
"workflow_id": {
"type": "string",
@@ -15453,7 +15520,21 @@
"modified_at",
"parameters"
],
- "title": "WorkflowRunStatusResponse"
+ "title": "WorkflowRunResponse"
+ },
+ "WorkflowRunStatus": {
+ "type": "string",
+ "enum": [
+ "created",
+ "queued",
+ "running",
+ "failed",
+ "terminated",
+ "canceled",
+ "timed_out",
+ "completed"
+ ],
+ "title": "WorkflowRunStatus"
},
"WorkflowRunTimeline": {
"properties": {
@@ -15525,5 +15606,11 @@
"title": "WorkflowStatus"
}
}
- }
+ },
+ "servers": [
+ {
+ "url": "https://api.skyvern.com",
+ "x-fern-server-name": "Production"
+ }
+ ]
}
\ No newline at end of file
diff --git a/skyvern/forge/sdk/routes/totp.py b/skyvern/forge/sdk/routes/totp.py
index b1ef4d25f..70af41f9f 100644
--- a/skyvern/forge/sdk/routes/totp.py
+++ b/skyvern/forge/sdk/routes/totp.py
@@ -11,9 +11,16 @@ LOG = structlog.get_logger()
totp_router = APIRouter()
-@totp_router.post("")
+@totp_router.post(
+ "",
+ tags=["agent"],
+ openapi_extra={
+ "x-fern-sdk-group-name": "agent",
+ "x-fern-sdk-method-name": "send_totp_code",
+ },
+)
@totp_router.post("/", include_in_schema=False)
-async def save_totp_code(
+async def send_totp_code(
data: TOTPCodeCreate, curr_org: Organization = Depends(org_auth_service.get_current_org)
) -> TOTPCode:
LOG.info(