[SKY-8952] CSV with Wide Header Exceede ~1 MB (#5510)

This commit is contained in:
Aaron Perez 2026-04-15 13:43:14 -05:00 committed by GitHub
parent ae08f4c64d
commit 0e72bdabd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 65 additions and 857 deletions

View file

@ -2414,555 +2414,6 @@
}
}
}
},
"/v1/schedules": {
"get": {
"tags": [
"Schedules"
],
"summary": "List all schedules for the organization",
"operationId": "schedules_list_all",
"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": {
"enum": [
"active",
"paused"
],
"type": "string",
"nullable": true,
"description": "Filter by status: 'active' or 'paused'",
"title": "Status"
},
"description": "Filter by status: 'active' or 'paused'"
},
{
"name": "search",
"in": "query",
"required": false,
"schema": {
"type": "string",
"nullable": true,
"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": {
"type": "string",
"nullable": true,
"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"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "list_organization_schedules"
}
},
"/v1/workflows/{workflow_permanent_id}/schedules": {
"post": {
"tags": [
"Schedules"
],
"summary": "Create a schedule for a workflow",
"operationId": "schedules_create",
"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": {
"type": "string",
"nullable": true,
"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"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "create_workflow_schedule"
},
"get": {
"tags": [
"Schedules"
],
"summary": "List schedules for a workflow",
"operationId": "schedules_list",
"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": {
"type": "string",
"nullable": true,
"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"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "list_workflow_schedules"
}
},
"/v1/workflows/{workflow_permanent_id}/schedules/{workflow_schedule_id}": {
"get": {
"tags": [
"Schedules"
],
"summary": "Get a schedule by ID",
"operationId": "schedules_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": {
"type": "string",
"nullable": true,
"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"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "get_workflow_schedule"
},
"put": {
"tags": [
"Schedules"
],
"summary": "Update a schedule",
"operationId": "schedules_update",
"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": {
"type": "string",
"nullable": true,
"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"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "update_workflow_schedule"
},
"delete": {
"tags": [
"Schedules"
],
"summary": "Delete a schedule",
"operationId": "schedules_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",
"required": false,
"schema": {
"type": "string",
"nullable": true,
"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/DeleteScheduleResponse"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "delete_workflow_schedule_route"
}
},
"/v1/workflows/{workflow_permanent_id}/schedules/{workflow_schedule_id}/enable": {
"post": {
"tags": [
"Schedules"
],
"summary": "Enable a schedule",
"operationId": "schedules_enable",
"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": {
"type": "string",
"nullable": true,
"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"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "enable_workflow_schedule"
}
},
"/v1/workflows/{workflow_permanent_id}/schedules/{workflow_schedule_id}/disable": {
"post": {
"tags": [
"Schedules"
],
"summary": "Disable a schedule",
"operationId": "schedules_disable",
"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": {
"type": "string",
"nullable": true,
"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"
}
}
}
}
},
"x-fern-sdk-group-name": "agent",
"x-fern-sdk-method-name": "disable_workflow_schedule"
}
}
},
"components": {
@ -4512,8 +3963,8 @@
"properties": {
"file": {
"type": "string",
"title": "File",
"format": "binary"
"format": "binary",
"title": "File"
}
},
"type": "object",
@ -10999,8 +10450,8 @@
},
"engine": {
"$ref": "#/components/schemas/RunEngine",
"description": "\nThe engine that powers the agent task. The default value is `skyvern-1.0`, which is good for simple tasks like filling a form, or searching for information on Google. `skyvern-2.0` is the latest Skyvern agent that performs well with complex and multi-step tasks. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.\n",
"default": "skyvern-1.0"
"description": "\nThe engine that powers the agent task. The default value is `skyvern-2.0`, the latest Skyvern agent that performs pretty well with complex and multi-step tasks. `skyvern-1.0` is good for simple tasks like filling a form, or searching for information on Google. The `openai-cua` engine uses OpenAI's CUA model. The `anthropic-cua` uses Anthropic's Claude Sonnet 3.7 model with the computer use tool.\n",
"default": "skyvern-2.0"
},
"title": {
"type": "string",
@ -14264,280 +13715,6 @@
"azure_vault"
],
"title": "CredentialType"
},
"DeleteScheduleResponse": {
"properties": {
"ok": {
"type": "boolean",
"title": "Ok"
}
},
"type": "object",
"required": [
"ok"
],
"title": "DeleteScheduleResponse"
},
"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": {
"additionalProperties": true,
"type": "object",
"nullable": true,
"title": "Parameters"
},
"name": {
"type": "string",
"nullable": true,
"title": "Name"
},
"description": {
"type": "string",
"nullable": true,
"title": "Description"
},
"next_run": {
"type": "string",
"format": "date-time",
"nullable": true,
"title": "Next Run"
},
"created_at": {
"type": "string",
"format": "date-time",
"title": "Created At"
},
"modified_at": {
"type": "string",
"format": "date-time",
"title": "Modified At"
}
},
"type": "object",
"required": [
"workflow_schedule_id",
"organization_id",
"workflow_permanent_id",
"workflow_title",
"cron_expression",
"timezone",
"enabled",
"created_at",
"modified_at"
],
"title": "OrganizationScheduleItem",
"description": "Compact schedule projection for the org-wide list endpoint."
},
"OrganizationScheduleListResponse": {
"properties": {
"schedules": {
"items": {
"$ref": "#/components/schemas/OrganizationScheduleItem"
},
"type": "array",
"title": "Schedules"
},
"total_count": {
"type": "integer",
"title": "Total Count"
},
"page": {
"type": "integer",
"title": "Page"
},
"page_size": {
"type": "integer",
"title": "Page Size"
}
},
"type": "object",
"required": [
"schedules",
"total_count",
"page",
"page_size"
],
"title": "OrganizationScheduleListResponse"
},
"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": {
"additionalProperties": true,
"type": "object",
"nullable": true,
"title": "Parameters"
},
"temporal_schedule_id": {
"type": "string",
"nullable": true,
"title": "Temporal Schedule Id"
},
"name": {
"type": "string",
"nullable": true,
"title": "Name"
},
"description": {
"type": "string",
"nullable": true,
"title": "Description"
},
"created_at": {
"type": "string",
"format": "date-time",
"title": "Created At"
},
"modified_at": {
"type": "string",
"format": "date-time",
"title": "Modified At"
},
"deleted_at": {
"type": "string",
"format": "date-time",
"nullable": true,
"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": {
"additionalProperties": true,
"type": "object",
"nullable": true,
"title": "Parameters"
},
"name": {
"type": "string",
"nullable": true,
"title": "Name"
},
"description": {
"type": "string",
"nullable": true,
"title": "Description"
}
},
"type": "object",
"required": [
"cron_expression",
"timezone"
],
"title": "WorkflowScheduleUpsertRequest"
}
}
},
@ -14552,4 +13729,4 @@
"url": "http://localhost:8000"
}
]
}
}