Skip to main content
For a conceptual overview of how workflows work, see Core Concepts: Workflows.

platform.list_workflows

List recent workflows with status and progress.

Parameters

NameTypeRequiredDefaultDescription
statusstringNo""Filter: In Progress, Completed, Failed
limitintegerNo20Maximum workflows to return

Response

{
  "workflows": [
    {
      "_id": "wf_xyz789",
      "name": "Create Adaptive Prompt-Driven Post Draft",
      "status": "Completed",
      "progress": 100,
      "currentAction": "Done"
    }
  ],
  "count": 1
}

Usage

{ "status": "In Progress", "limit": 5 }

workflows.get_status

Check a specific workflow’s progress. Returns status, progress percentage, current action, and output (when completed).

Parameters

NameTypeRequiredDescription
workflow_idstringYesThe workflow ID

Response

See Workflows: Polling for status for the full response shape including In Progress, Completed, Failed, and Human Review states.

Usage

{ "workflow_id": "wf_xyz789" }

workflows.resume

Submit a review decision to resume a paused workflow. Only applicable when workflow status is Human Review.

Parameters

NameTypeRequiredDescription
workflow_idstringYesThe workflow ID
decisionobjectYesDecision payload — varies by review type
See Workflows: Decision payloads for the decision format for each review type.

Response

{
  "workflow_id": "wf_xyz789",
  "status": "resuming",
  "review_type": "implementation_spec_review",
  "message": "Decision submitted. Poll workflows.get_status for progress."
}

Usage

{
  "workflow_id": "wf_xyz789",
  "decision": {
    "approved": true,
    "selected_change_ids": [1, 3, 5]
  }
}

platform.list_published_content

List all content pieces that have been published to a CMS.

Parameters

None.

Response

{
  "items": [
    {
      "url": "https://example.com/blog/seo-guide",
      "title": "Complete SEO Guide for 2026",
      "postId": "12345",
      "cmsType": "wordpress",
      "publishedAt": 1711324800000,
      "status": "published"
    }
  ],
  "count": 1
}

Usage

Call platform.list_published_content with no parameters.