Skip to main content
POST
/
v1
/
ai
/
workspace
/
blog
/
status
/
batch
Check status of up to 25 blog workflows at once
curl --request POST \
  --url https://api.lindo.ai/v1/ai/workspace/blog/status/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "record_ids": [
    "rec_abc",
    "rec_def",
    "rec_ghi"
  ]
}
'
{
  "success": true,
  "done": true,
  "status": "scheduled",
  "message": "5 items complete.",
  "summary": {
    "total": 5,
    "complete": 5,
    "running": 0,
    "partial": 0,
    "errored": 0,
    "not_found": 0
  },
  "items": [
    {
      "success": true,
      "record_id": "<string>",
      "done": true,
      "status": "complete",
      "message": "<string>",
      "result": {
        "website_id": "website_def456",
        "blog_id": "blog_jkl012",
        "slug": "hello-world",
        "path": "/blog/hello-world"
      },
      "error": "<string>"
    }
  ],
  "poll_after_ms": 123
}

Documentation Index

Fetch the complete documentation index at: https://lindo.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Body

application/json
record_ids
string[]
required

Array of record_ids to poll. Between 1 and 25 items.

Required array length: 1 - 25 elements
Example:
["rec_abc", "rec_def", "rec_ghi"]

Response

Batch status retrieved

success
enum<boolean>
required
Available options:
true
done
boolean
required

True once every item has reached a terminal state.

status
enum<string>
required
  • scheduled: every item is scheduled
  • running: at least one item is still running or scheduled
  • complete: every item finished cleanly
  • partial: every item is terminal but some errored
  • errored: every item errored
Available options:
scheduled,
running,
complete,
partial,
errored
message
string
required

Human-readable summary of the batch, safe to quote.

Example:

"5 items complete."

summary
object
required
items
object[]
required

Per-record status, in the same order as the requested record_ids.

poll_after_ms
number

Suggested delay before polling again while done is false.