Skip to main content
Generate full AI-written articles from a keyword — including research, outline, and polished content.
Full endpoint reference available on Swagger.

Quick Start

Create a writer agent order to generate an article:

Endpoints

MethodPathDescription
POST/api/writer-agent/order/Create a writer agent order
GET/api/writer-agent/order/?id={id}Get order status and generated article
GET/api/writer-agent/options/Get available options (POV, content types, tones)

Parameters

Required

ParameterTypeDescription
keywordstringThe main keyword or topic for the article
language_codestringISO 639-1 language code (e.g. en)
location_namestringLocation name (e.g. United States). See /api/keywords-insights/locations/
folder_idstringDashboard folder ID to organize the order. Retrieve from the browser URL in the KWI dashboard

Optional

ParameterTypeDefaultDescription
point_of_viewstringFirst person (I/We)First person (I/We), Second Person (You), Third Person (He/She/They/It)
content_typestringarticlearticle or landing_page
additional_insightsstringExtra context or instructions for the AI (e.g. “Focus on B2B companies”)

Customizations

Point of View

Control the writing perspective:

Content Type

Choose between article-style content or landing page copy:

Additional Context

Steer the AI with specific instructions:

Getting Available Options

Retrieve all available options before creating an order:

Retrieving Results

Writer agent orders process through multiple stages (outline, plan, article). Poll until the article is generated:

Complete Example

End-to-end: create a writer agent order, wait for the article, and save it.