This description was created by Ellipsis for commit 7d3dc50dbed2ff72fe6402b94c9b5698f5fab632
Summary:
Implemented endpoints to fetch workflow runs by workflow_id, organization_id, and workflow_permanent_id with pagination.
Key points:
Added get_workflow_runs_by_workflow_id method in skyvern/forge/sdk/db/client.py to fetch workflow runs by workflow_id and organization_id with pagination.
Added get_workflow_runs method in skyvern/forge/sdk/db/client.py to fetch workflow runs by organization_id with pagination.
Added get_workflow_runs_for_workflow_permanent_id method in skyvern/forge/sdk/db/client.py to fetch workflow runs by workflow_permanent_id and organization_id with pagination.
Introduced get_workflow_runs_by_workflow_id method in skyvern/forge/sdk/workflow/service.py to call the database method for fetching workflow runs by workflow_id and organization_id.
Introduced get_workflow_runs method in skyvern/forge/sdk/workflow/service.py to call the database method for fetching workflow runs by organization_id.
Introduced get_workflow_runs_for_workflow_permanent_id method in skyvern/forge/sdk/workflow/service.py to call the database method for fetching workflow runs by workflow_permanent_id and organization_id.
Created get_workflow_runs endpoint in skyvern/forge/sdk/routes/agent_protocol.py to expose the functionality via API.
Created get_workflow_runs_for_workflow_permanent_id endpoint in skyvern/forge/sdk/routes/agent_protocol.py to expose the functionality via API.
Summary:
Implemented endpoints to fetch workflow runs by
workflow_id
,organization_id
, andworkflow_permanent_id
with pagination.Key points:
get_workflow_runs_by_workflow_id
method inskyvern/forge/sdk/db/client.py
to fetch workflow runs byworkflow_id
andorganization_id
with pagination.get_workflow_runs
method inskyvern/forge/sdk/db/client.py
to fetch workflow runs byorganization_id
with pagination.get_workflow_runs_for_workflow_permanent_id
method inskyvern/forge/sdk/db/client.py
to fetch workflow runs byworkflow_permanent_id
andorganization_id
with pagination.get_workflow_runs_by_workflow_id
method inskyvern/forge/sdk/workflow/service.py
to call the database method for fetching workflow runs byworkflow_id
andorganization_id
.get_workflow_runs
method inskyvern/forge/sdk/workflow/service.py
to call the database method for fetching workflow runs byorganization_id
.get_workflow_runs_for_workflow_permanent_id
method inskyvern/forge/sdk/workflow/service.py
to call the database method for fetching workflow runs byworkflow_permanent_id
andorganization_id
.get_workflow_runs
endpoint inskyvern/forge/sdk/routes/agent_protocol.py
to expose the functionality via API.get_workflow_runs_for_workflow_permanent_id
endpoint inskyvern/forge/sdk/routes/agent_protocol.py
to expose the functionality via API.Generated with :heart: by ellipsis.dev