Indexly

Content

Fetch Article Content

Retrieve generated article content, drafts, metadata, and publishing status. Supports fetching a specific article generation by ID or listing content using filters.

GET/api/v1/content

Fetch Article Content

cURL

curl --request GET \
  --url 'https://app.indexly.ai/api/v1/content?light=true' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

{
  "data": [
    {
      "id": "article_123",
      "userId": "user_123",
      "topic": "React Server Components",
      "selectedTitle": "Why React Server Components Matter",
      "articleFormat": "blog",
      "articleType": "seo",
      "primaryKeyword": "react server components",
      "secondaryKeyword": "next.js",
      "selectedKeywords": [
        "react",
        "server components"
      ],
      "currentStep": "completed",
      "isCompleted": true,
      "isAutoPilot": false,
      "siteId": "site_123",
      "country": "US",
      "language": "en",
      "tone": "professional",
      "objective": "educate",
      "brandNarrative": "Modern React development",
      "createdAt": "2026-05-01T12:00:00.000Z",
      "updatedAt": "2026-05-01T12:30:00.000Z",
      "isPublishedToCMS": false,
      "contentPlan": {
        "topic": "React Server Components",
        "primaryKeyword": "react server components",
        "secondaryKeyword": "next.js",
        "tone": "professional",
        "objective": "educate",
        "audience": "developers"
      }
    }
  ]
}

Authorizations

X-API-Keystringheaderrequired

API key for authentication. Get yours from the Indexly dashboard under Settings → API Access

Query parameters

idstring

Specific article generation ID. Returns a single article generation object when provided.

siteIdstring

Filter article generations belonging to a specific site.

isAutoPilotboolean

Filter article generations created through AutoPilot.

includeUnassignedbooleandefault: false

Include content items that are not assigned to any site.

lightbooleandefault: false

Return lightweight article objects without large content fields such as content, fullArticle, excerpt, and heroImage.

Response

200 application/json

Default Response

dataarray | objectrequiredArticle generation data. Returns a single object when id is provided, otherwise returns a list of article generations.