Workflows

Check status of a blog-creation workflow

Poll the status of a blog-creation workflow started via POST /v1/ai/workspace/website/{website_id}/blog. Returns an agent-friendly envelope with done, status, message, and (when complete) the published result.

get/v1/ai/workspace/blog/status/{workflow_id}

Request

  • Base URL: https://api.lindo.ai
  • URL: https://api.lindo.ai/v1/ai/workspace/blog/status/{workflow_id}
  • Auth: HTTP bearer

Path parameters

workflow_idstring required

The workflow_id returned by the create-blog endpoint

Example:wf_abc123xyz789

Response

Status retrieved

successtrue required

The status poll succeeded. This is independent of whether the workflow itself succeeded; check status for that.

doneboolean required

True once the workflow has reached a terminal state (complete, partial, or errored). While false, clients should poll again after poll_after_ms.

status'scheduled' | 'running' | 'complete' | 'partial' | 'errored' required
  • scheduled: queued to run in the future
  • running: currently executing
  • complete: fully finished with no errors
  • partial: finished, but some sub-steps (e.g. individual pages of a website) failed
  • errored: the workflow itself failed
workflow_idstring required

The workflow_id you polled

messagestring required

Human-readable, safe-to-quote status message. Agents can surface this directly to end users.

poll_after_msnumber

When done is false, suggested delay before the next status check, in milliseconds. Absent when done is true.

errorstring

When status is errored, a machine-readable error message

Example response

{
  "success": true,
  "done": true,
  "status": "complete",
  "workflow_id": "wf_abc123xyz789",
  "message": "Page published at /about",
  "poll_after_ms": 5000,
  "result": {
    "website_id": "website_def456",
    "blog_id": "blog_jkl012",
    "slug": "hello-world",
    "path": "/blog/hello-world"
  },
  "error": "Insufficient credits: daily limit reached"
}

Changes

No recorded changes to this operation across all 1 revision of this API.