mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
group workflow apis (#2396)
Some checks are pending
Run tests and pre-commit / test (push) Waiting to run
Run tests and pre-commit / fe-lint-build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run
Build Skyvern SDK and publish to PyPI / check-version-change (push) Waiting to run
Build Skyvern SDK and publish to PyPI / run-ci (push) Blocked by required conditions
Build Skyvern SDK and publish to PyPI / build-sdk (push) Blocked by required conditions
Sync to skyvern-cloud / sync (push) Waiting to run
Some checks are pending
Run tests and pre-commit / test (push) Waiting to run
Run tests and pre-commit / fe-lint-build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run
Build Skyvern SDK and publish to PyPI / check-version-change (push) Waiting to run
Build Skyvern SDK and publish to PyPI / run-ci (push) Blocked by required conditions
Build Skyvern SDK and publish to PyPI / build-sdk (push) Blocked by required conditions
Sync to skyvern-cloud / sync (push) Waiting to run
This commit is contained in:
parent
064a2aff24
commit
56267987e2
2 changed files with 4 additions and 4 deletions
|
|
@ -440,7 +440,7 @@ async def cancel_run(
|
|||
@base_router.post(
|
||||
"/workflows",
|
||||
response_model=Workflow,
|
||||
tags=["Agent"],
|
||||
tags=["Workflows"],
|
||||
openapi_extra={
|
||||
"x-fern-sdk-group-name": "agent",
|
||||
"x-fern-sdk-method-name": "create_workflow",
|
||||
|
|
@ -508,7 +508,7 @@ async def create_workflow(
|
|||
@base_router.post(
|
||||
"/workflows/{workflow_id}",
|
||||
response_model=Workflow,
|
||||
tags=["Agent"],
|
||||
tags=["Workflows"],
|
||||
openapi_extra={
|
||||
"requestBody": {
|
||||
"content": {"application/x-yaml": {"schema": WorkflowCreateYAMLRequest.model_json_schema()}},
|
||||
|
|
@ -580,7 +580,7 @@ async def update_workflow(
|
|||
@legacy_base_router.delete("/workflows/{workflow_id}/", include_in_schema=False)
|
||||
@base_router.post(
|
||||
"/workflows/{workflow_id}/delete",
|
||||
tags=["Agent"],
|
||||
tags=["Workflows"],
|
||||
openapi_extra={
|
||||
"x-fern-sdk-group-name": "agent",
|
||||
"x-fern-sdk-method-name": "delete_workflow",
|
||||
|
|
|
|||
|
|
@ -298,7 +298,7 @@ workflow_definition:
|
|||
DELETE_WORKFLOW_CODE_SAMPLE = """from skyvern import Skyvern
|
||||
|
||||
skyvern = Skyvern(api_key="your_api_key")
|
||||
await skyvern.agent.delete_workflow(workflow_id="wpid_123")
|
||||
await skyvern.workflows.delete_workflow(workflow_id="wpid_123")
|
||||
"""
|
||||
SEND_TOTP_CODE_CODE_SAMPLE = """from skyvern import Skyvern
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue