Skip to main content

List Dynamic Workflows

List dynamic workflows in the workspace with pagination. By default, only unarchived records are returned.

Prerequisites

Complete the endpoint and authentication configuration. See API Overview and Authentication.

Endpoint

GET /dynamic_workflows

Query parameters

limit int (Optional)Number of items per page. Range 1–100, default 20page string (Optional)Pagination cursor. Omit on the first request; pass the next_page from the previous response for later pagesinclude_archived bool (Optional)Whether to include archived workflows. Default false

Request example

curl "$AGENTSTUDIO_URL/dynamic_workflows?limit=20&include_archived=true" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"

Response fields

data arrayWorkflow summary list, sorted by workflow ID in descending order. Each item contains id, type, name, description, status, archived, version, created_at, and updated_at; script and input_schema are always nullnext_page string / nullCursor for the next page; null when there are no more recordsrequest_id stringUnique request identifier

Response example

{
  "data": [
    {
      "id": "wf_01M7RMD9PRNVEPY2QKW1MA36TE",
      "type": "dynamic_workflow",
      "name": "sum-workflow",
      "description": "Adds two integers",
      "status": "published",
      "archived": false,
      "version": 2,
      "script": null,
      "input_schema": null,
      "created_at": "2026-11-19T01:00:00Z",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  ],
  "next_page": null,
  "request_id": "req_example"
}