v1.0.0OpenAPI 3.1.1

Blog API

Download OpenAPI Document

Blog posts written with AI for your websites, translated through your translation memory, with SEO, reviews, scheduling and webhooks.

Write blog posts with AI for your websites, translate them through your translation memories, and review, schedule and publish them. A post comes with its SEO pack and, if you ask, a hero image. Its structured data is derived from saved page content; publish the content in your CMS and record each language’s real URL. New here? Read Blog for the whole flow, then make your first call with the Quickstart.

Every request

Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.

The typical flow: add a website, write a post from a title, a brief or a topic, poll Get a post until it is a draft with nothing pending, publish its contentHtml and mark it published, then translate it and poll Get a translation. Register a webhook to be told when posts and translations are ready instead of polling.

Languages in this API are BCP-47 codes such as en-US, fr-FR or hi-IN: the code of a language from List languages. Translating into a language a post already has replaces that translation, edits included, so check List translations first.

Writing, translating, AI actions, hero images, Autopilot runs, brand voice checks and recordings charge credits when they start, and are settled when they end. Those endpoints say so on their page, with the current price, and each has a price route that returns what its start will charge. Without enough credits they return 402 and nothing is created. See Credits.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Websites

A website is what your posts are written for. Its defaults (language, translation memory, brand kit, memories, prompt, reviewer and voice) apply to every post, translation, Autopilot run and recording you start for it. Once your organization has a website, every new post must name one.

List websites

Add a website

Get a website

Update a website

Posts

A post is written with AI from a title, a brief or a topic, then edited, published and translated. Writing one charges credits and runs in the background: poll Get a post until status is draft and nothing is pending. Get a post returns the text as HTML and as Markdown.

Write a post

Auth Required

Write a new blog post with AI. Give it something to write from: a title, a brief, or a topicId from the website's backlog. A title alone is enough: it is kept word for word, and the post is written to it; without a title, one is written from the brief. Name the website with siteId: it is required once your organization has a website, and an organization with none may leave it out (its posts join the first website it adds). The post comes back at once with status: generating. After the draft, the SEO pack and three follow-up topics are written (autoSeo, autoFollowups), and a hero image when you ask for one (generateHeroImage). Poll Get a post every 20–30 seconds until status is draft (or in_review with sendForReview, or failed with the reason in error) and no flag in pending is true, or listen for the post.generated and post.failed webhook events. The AI model is your organization's Blog model in its provider preferences. Price it first with Price a post.

Permission: blog.post:create. An API key acts with the role of the member who created it.

Credits: Charged when the post starts, all at once: the draft, on an estimate of its length in words (targetWordCount, else the topic’s suggestion, else 1,500), and what it sets off by itself: the SEO pack (400 words, unless autoSeo is false), the follow-up topics (350 words, for a post on a website, unless autoFollowups is false) and the hero image (one image, with generateHeroImage). Without enough credits nothing is created. When each finishes, its charge is settled to the words it actually wrote, never more than twice its start charge. If the draft fails on our side, it and everything it set off are refunded; a step that cannot run is refunded on its own. Deleting the post keeps the charge.

Rate What it covers Price
Blog draft Writing a blog post from a topic, memory and prompt. Charged per generated word. 0.5 credits per word
SEO pack Meta title, description, keywords, summary and FAQs for a post. Charged per generated word. 0.5 credits per word
Next-blog suggestions The three follow-up topics suggested under a finished post. Charged per generated word. 0.5 credits per word
Hero image Generating a hero image for a post with the brand kit applied. Charged per image. 300 credits

Bodyrequiredapplication/json

siteIdstring · uuid

The website the post is for (id from List websites). Required once your organization has a website; an organization with none may leave it out, and its posts join the first website it adds.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b
topicIdstring · uuid

Write a topic from the website’s backlog (id from List topics): its title, keyword, outline and suggested length fill in what you leave out. The topic must belong to siteId and not have a post yet.

Example: 7d6c5b4a-3928-4170-a6f5-e4d3c2b1a098
titlestring

The title, up to 500 characters, kept word for word (line breaks become spaces). A title alone is enough to write a post. Without a title, one is written from the brief.

Example: How to choose a compact tractor
briefstring

What the post must cover, up to 12,000 characters: the angle, the audience, the points, a call to action.

Example: For first-time buyers with 2 to 20 acres. Compare horsepower classes, hitch categories and must-have attachments. End with a call to book a test drive.
targetKeywordstring

The search phrase the post should rank for. Defaults to the topic’s.

Example: compact tractor
secondaryKeywordsstring[]

Supporting keywords, up to 10. Defaults to the topic’s.

Example: ["compact tractor buying guide","compact tractor horsepower"]
intentstring

The search intent to serve. Defaults to the topic’s.

Enum values:informationalcommercialtransactionalnavigational
contentTypestring

The kind of post, such as how-to, listicle, comparison or guide. Defaults to the topic’s.

Example: guide
targetWordCountnumber

Length in words, from 300 to 8,000. Defaults to the topic’s suggested length, else 1,500. The draft is charged on it.

Default: 1500Example: 1500Min: 300Max: 8000
memoryIdsstring[]

Memory notes from your organization’s memory library to read as context, up to 25. Defaults to the website’s defaults.memoryIds.

Example: ["4f5a6b7c-8d9e-4f0a-9b1c-2d3e4f5a6b7c"]
promptIdstring · uuid

A prompt from your organization’s prompt library, added to the instructions. Defaults to the website’s defaults.promptId.

Example: 7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a0b
promptVariablesobject

Values for the {{placeholders}} of that prompt.

Example: {"region":"US Midwest"}
brandKitIdstring · uuid

The brand kit whose tone of voice to follow (id from List brand kits in the Image Translation API). Defaults to the website’s defaults.brandKitId.

Example: 2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a
sourceLanguagestring

The language to write in: a BCP-47 code from List languages (Platform API). Defaults to the website’s defaults.sourceLanguage, else en-US.

Example: en-US
autoSeoboolean

Write the SEO pack after the draft (charged with the draft).

Default: true
autoFollowupsboolean

Suggest three follow-up topics after the draft (charged with the draft). Only for a post on a website.

Default: true
generateHeroImageboolean

Make a hero image once the draft is written (charged with the draft, per image).

Default: false
projectIdstring · uuid

File the new post in this project. Leave it out for no project.

Example: 0f1e2d3c-4b5a-4697-8877-a6b5c4d3e2f1
sendForReviewboolean

Send the post for review, to the website’s default reviewer, as soon as the draft, its SEO pack and any hero image are done.

Default: false

Responses

201The post, charged and `generating`. Poll Get a post until the draft and everything it set off are done.
application/json
publicAttributionPublicAttributionDtorequired

Saved public authors and publisher for this language/version. Null when unset; not inferred from members or source-language metadata.

Show child attributes
authorsPublicAuthorDto[]

Public authors in byline order. Default empty; never inferred from the creating member.

Default: []
Show child attributes
typestringrequired

The type of the public author shown on this language’s page.

Enum values:PersonOrganization
Example: Person
namestringrequired

Exact public byline, in this language. Not an internal member name.

Example: Asha Sharma
urlstring | null

Actual public author profile URL; absolute HTTP(S), without credentials. Null or omitted when absent.

Example: https://example.com/authors/asha-sharma
publisherPublicPublisherDto

Explicit public publisher, or null. Never inferred from a website’s internal label.

Default: null
Show child attributes
namestringrequired

The actual publisher’s public name for this language.

Example: Example Editorial
typestring

Actual public publisher type. Individual publishers use Person; logoUrl is only for organizations.

Enum values:PersonOrganization
Default: OrganizationExample: Organization
urlstring | null

Actual public publisher URL; absolute HTTP(S), without credentials.

Example: https://example.com/
logoUrlstring | null

Public publisher logo URL used on the page; absolute HTTP(S), without credentials. Not the post’s hero image.

Example: https://example.com/logo.png
idstring · uuidrequired

Post ID.

Example: 5e8d1c2b-7a6f-4b3e-9c1d-2e3f4a5b6c7d
siteIdstring · uuid | nullrequired

The website it is written for. Null for a post written before your organization had a website.

Example: c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b
topicIdstring · uuid | nullrequired

The topic it was written from, or null.

Example: null
memberIdstring · uuid | nullrequired

Member ID of the author: the member who wrote it, or who created the API key that did.

Example: 6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d
titlestringrequired

The title. A title you sent is kept word for word; without one, the draft’s own title is used once it is written.

Example: How to choose a compact tractor
slugstringrequired

The URL slug, from the title or the SEO pack.

Example: how-to-choose-a-compact-tractor
statusstringrequired

generating → draft (or failed). Then in_review → ready through the review routes, and published or archived with Update a post.

Enum values:generatingfaileddraftin_reviewreadypublishedarchived
Example: draft
sourceLanguagestringrequired

The language it is written in: a BCP-47 code.

Example: en-US
seoPostSeoDtorequired

The SEO pack. Null until it is written.

Show child attributes
metaTitlestringrequired

The <title> for search results, about 60 characters.

Example: How to Choose a Compact Tractor (2026 Buyer's Guide)
metaDescriptionstringrequired

The meta description, about 155 characters.

Example: Horsepower, hitch class, tyres and attachments: what actually matters when you buy a compact tractor.
focusKeywordstringrequired

The search phrase the page should rank for.

Example: compact tractor
keywordsstring[]required

Secondary keywords.

Example: ["compact tractor buying guide","sub-compact vs compact tractor"]
summarystringrequired

A two or three sentence summary of the post.

Example: A practical guide to sizing and specifying a compact tractor for a smallholding.
faqsPostFaqDto[]required

Suggested questions and answers. Render them in the saved body to qualify for FAQPage markup; metadata alone is not visible page content.

Show child attributes
questionstringrequired

The question, as a reader would search it.

Example: How much horsepower does a compact tractor need?
answerstringrequired

A short, direct answer.

Example: 25–50 hp covers most smallholdings; go higher only for heavy loader work.
tagsstring[]required

Tags for your CMS.

Example: ["tractors","buying-guide"]
slugstring

The URL slug. Saving the pack with a slug also sets the slug of the post or translation.

Example: how-to-choose-a-compact-tractor
heroImagePostHeroImageDtorequired

The hero image. Null until there is one.

Show child attributes
generationIdstring · uuidrequired

ID of this image. It changes with every new image, and so does url.

Example: b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e
aspectRatiostringrequired

Aspect ratio the image was made in, such as 16:9. Empty for an image chosen from your assets.

Example: 16:9
promptstringrequired

The prompt the image was made from. Empty for an image chosen from your assets.

Example: Editorial hero image for a blog post titled "How to choose a compact tractor". Subject: compact tractor.
brandKitIdstring · uuid | nullrequired

The brand kit applied, or null.

Example: 2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a
mimeTypestring | nullrequired

MIME type of the image.

Example: image/png
urlstringrequired

A stable address of the image on this API that never expires: embed it in the published post. It redirects to the file and needs no API key.

Example: {{API_BASE_URL}}/v1/galaxy/blog/post/hero/5e8d1c2b-7a6f-4b3e-9c1d-2e3f4a5b6c7d/b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e/q3Zx8bWm1TfK0pLs7NvYc2RgH5dJ4aEe
sourcestring

asset for an image chosen from your assets. Absent or generated for a generated one.

Enum values:generatedasset
Example: generated
assetIdstring · uuid | null

The image in your organization’s assets, once it was saved there (or chosen from there).

Example: null
heroImageStatusstring | nullrequired

Where the hero image is: queued (waiting for the draft), generating, done, or failed (see heroImageError). Null when none was asked for.

Enum values:queuedgeneratingdonefailed
Example: null
heroImageErrorstring | nullrequired

Why the last hero image failed, or null.

Example: null
contextPostGenerationContextDtorequired

What the post was written from.

Show child attributes
topicIdstring · uuid | nullrequired

The topic it was written from, or null.

Example: null
promptIdstring · uuid | nullrequired

The library prompt used, or null.

Example: null
promptVariablesobject | nullrequired

Values for the prompt’s {{placeholders}}, or null.

Example: null
memoryIdsstring[]required

Memory notes read as context.

Example: []
brandKitIdstring · uuid | nullrequired

The brand kit whose tone of voice it follows, or null.

Example: 2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a
briefstring | nullrequired

The brief, or null.

Example: null
targetKeywordstring | nullrequired

The search phrase it targets, or null.

Example: compact tractor
intentstring | nullrequired

The search intent it serves, or null.

Enum values:informationalcommercialtransactionalnavigational
Example: commercial
targetWordCountnumber | nullrequired

The length it was written to, in words.

Example: 1500
autoSeoboolean

Whether the SEO pack was written after the draft.

Example: true
autoFollowupsboolean

Whether follow-up topics were suggested after the draft.

Example: true
generateHeroImageboolean

Whether a hero image was asked for.

Example: false
sendForReviewboolean

Whether the post is sent for review once written.

Example: false
modelstringrequired

The AI model that wrote it: your organization’s Blog model in its provider preferences (in the Universe app).

Example: gpt-5.6-terra
reasoningEffortstringrequired

How hard the model reasoned, from the same preferences.

Enum values:lowmediumhigh
Example: high
wordCountnumberrequired

Words in the text, counted in its language.

Example: 1540
versionCountnumberrequired

The current version: every save that changes the title, the text or the SEO pack adds one. Send it as expectedVersion to Update a post.

Example: 3
activeVersionIdstring · uuid | nullrequired

The version the post shows (see List versions).

Example: e3d2c1b0-a9f8-4e7d-8c6b-5a4f3e2d1c0b
totalCreditsnumberrequired

Credits the post has cost so far: its draft, SEO pack, follow-ups, AI actions, hero images and translations, each counted once settled.

Example: 1125
publishedUrlstring | nullrequired

Where the post is live, as you set it with Update a post. Feeds structured data, hreflang links and analytics.

Example: null
publishedAtstring · date-time | nullrequired

When it was first marked published, or null.

Example: null
projectIdstring · uuid | nullrequired

The project it is filed in, or null.

Example: null
reviewerMemberIdstring · uuid | nullrequired

The member asked to review it. Null when anyone who may review can decide, or when it was never sent for review.

Example: null
reviewerMemberIdsstring[]required

All reviewers; empty means anyone who can review.

Example: ["6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d"]
reviewNotestring | nullrequired

The latest review note: the author’s note to the reviewer, or the reviewer’s note back.

Example: null
reviewRequestedAtstring · date-time | nullrequired

When it was last sent for review, or null.

Example: null
reviewedAtstring · date-time | nullrequired

When a reviewer last approved it or sent it back, or null. Editing an approved post clears it.

Example: null
linksPostLinkDto[]required

Internal link suggestions from Suggest internal links, applied ones included. Empty when there are none.

Show child attributes
idstring · uuidrequired

Suggestion ID, for Apply a link and Dismiss a link.

Example: f1e2d3c4-b5a6-4978-8695-a4b3c2d1e0f9
urlstringrequired

The page or post to link to.

Example: https://example.com/blog/compact-tractor-maintenance-checklist
titlestringrequired

Title of that page or post.

Example: Compact Tractor Maintenance Checklist
anchorstringrequired

The words in the post the link goes on, exactly as they appear in the text.

Example: seasonal maintenance
reasonstringrequired

Why the link helps the reader.

Example: Readers comparing tractors also ask how much upkeep they need.
kindstringrequired

page: a page from the website’s sitemap. post: another published post of the website.

Enum values:pagepost
Example: page
postIdstring · uuid | null

For kind: post, that post’s ID.

Example: null
appliedboolean

Whether the link was put into the post with Apply a link.

Example: false
seoScoreValuenumberrequired

The on-page SEO score, from 0 to 100. Get a post returns its checks in seoScore.

Example: 86
errorstring | nullrequired

Why the draft failed, or the latest SEO pack, follow-up or link run that failed. Null otherwise.

Example: null
createdAtstring · date-timerequired

When the post was created.

Example: 2026-10-07T09:38:02.441Z
updatedAtstring · date-timerequired

When the post last changed.

Example: 2026-10-07T09:41:12.301Z
contentHtmlstring | nullrequired

The post as HTML: headings, paragraphs, lists, links, images and tables. Null while the first draft is written. Publish this, or contentMarkdown.

Example: <p>A compact tractor is the workhorse of a smallholding…</p><h2>How much horsepower do you need?</h2><p>For 2 to 20 acres, 25 to 50 hp covers mowing, loader work and light tillage.</p>
contentMarkdownstring | nullrequired

The same post as Markdown, kept in step with contentHtml. Null while the first draft is written.

Example: A compact tractor is the workhorse of a smallholding… ## How much horsepower do you need? For 2 to 20 acres, 25 to 50 hp covers mowing, loader work and light tillage.
seoScorePostSeoScoreDtorequired

The on-page SEO score and its 13 checks, computed on every read.

Show child attributes
scorenumberrequired

From 0 to 100: the weights of the checks that pass.

Example: 86
checksPostSeoCheckDto[]required

The 13 checks.

Show child attributes
keystringrequired

Which check: focus_keyword, keyword_in_title, keyword_in_intro, keyword_in_heading, meta_title, meta_description, slug, length, structure, images, internal_links, faq or readability.

Example: meta_title
labelstringrequired

What it checks, in words.

Example: Meta title 30–60 characters
okbooleanrequired

Whether the post passes it.

Example: true
weightnumberrequired

Points it is worth out of 100.

Example: 8
detailstring | null

What was measured, or what to fix.

Example: 52 characters
computedAtstring · date-timerequired

When it was computed: on every read.

Example: 2026-10-07T09:52:40.120Z
runsBlogAiRunDto[]required

Every AI run made for the post, newest first.

Show child attributes
idstring · uuidrequired

Run ID, for Get a run.

Example: 9f8e7d6c-5b4a-4392-8170-6f5e4d3c2b1a
kindstringrequired

What the run does: post_draft, post_seo_pack, post_followups, post_editor_action (editor actions and Refresh from analytics), post_voice_check, post_link_suggestions or post_seo_localise (a translation’s localized SEO).

Enum values:autopilot_planautopilot_clusterpost_draftpost_seo_packpost_followupspost_editor_actionpost_voice_checkpost_link_suggestionspost_seo_localise
Example: post_editor_action
statusstringrequired

INPROGRESS, then DONE, or FAILED with the reason in error.

Enum values:RUNNINGCOMPLETEDFAILED
Example: DONE
modelstringrequired

The AI model that ran it.

Example: gpt-5.6-terra
reasoningEffortstringrequired

How hard the model reasoned.

Enum values:lowmediumhigh
Example: high
outputTextstring | nullrequired

The answer as Markdown, once DONE: for an editor action, the rewritten text to put into the post with Update a post. Null for runs that answer in outputJson.

Example: ## How much horsepower do you need? For 2 to 20 acres, 25 to 50 hp covers mowing, loader work and light tillage.
outputJsonobject | nullrequired

The answer as JSON, once DONE, for the SEO pack, follow-ups, link suggestions and checks. Their result is also saved where it belongs (the post’s seo, followups, links, or the check).

Example: null
wordsnumber | nullrequired

Words the model wrote, once DONE: what the run is billed on.

Example: 212
creditsnumber | nullrequired

Credits the run cost: its start charge, then the settled amount once it is done.

Example: 106
metaobjectrequired

Details of the run, such as action, instruction and the start of selection for an editor action, and languageCode.

Example: {"action":"improve","selection":"A compact tractor is the workhorse of a smallholding…","languageCode":"en-US"}
errorstring | nullrequired

Why the run failed. Null unless status is FAILED.

Example: null
postIdstring · uuid | nullrequired

The post the run is for.

Example: 5e8d1c2b-7a6f-4b3e-9c1d-2e3f4a5b6c7d
createdAtstring · date-timerequired

When the run started.

Example: 2026-10-07T09:55:10.000Z
updatedAtstring · date-timerequired

When the run last changed.

Example: 2026-10-07T09:55:41.000Z
pendingPostPendingDtorequired

Work still running on the post. Poll Get a post until every flag is false.

Show child attributes
heroImagebooleanrequired

A hero image is queued or being made.

Example: false
draftbooleanrequired

The draft is being written.

Example: false
seoPackbooleanrequired

The SEO pack is being written.

Example: true
followupsbooleanrequired

Follow-up topics are being suggested.

Example: false
followupsPostFollowupDto[]required

The topics suggested to write next, for a post on a website. Dismissed ones are left out.

Show child attributes
idstring · uuidrequired

Topic ID: write it with Write a post and topicId.

Example: 7d6c5b4a-3928-4170-a6f5-e4d3c2b1a098
titlestringrequired

The title to write.

Example: Compact tractor attachments: which five to buy first
targetKeywordstringrequired

The search phrase it targets.

Example: compact tractor attachments
intentstringrequired

The search intent it serves.

Enum values:informationalcommercialtransactionalnavigational
Example: commercial
opportunitynumberrequired

Estimated opportunity, from 1 to 100.

Example: 76
rationalestring | nullrequired

Why it is worth writing next.

Example: Readers who choose a tractor ask next what to put on it.
statusstringrequired

Its status in the backlog (see List topics).

Enum values:suggestedin_progresswrittendismissed
Example: suggested
postIdstring · uuid | nullrequired

The post written from it, or null.

Example: null
400Nothing was charged. A field failed validation, or: - `Choose the website this blog is for.`: your organization has a website, and `siteId` is missing. - `Give the blog a title or a brief to write from.` - `The topic must belong to the selected website.` - `Choose a supported source language in the post or website settings.`
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
402Not enough credits for this start, or your organization owes credits. Nothing was created, and the topic stays free.
application/json
statusCodenumberrequired

HTTP status code.

Example: 402
errorstringrequired

Always InsufficientCredits.

Example: InsufficientCredits
messagestringrequired

What happened, in plain words.

Example: You don't have enough credits to start this. It needs 120; you have 45.
requirednumberrequired

Credits this request needs.

Example: 120
availablenumberrequired

Credits your organization can spend now.

Example: 45
owednumberrequired

Credits your organization owes from earlier jobs (0 when nothing is owed). While anything is owed, every paid request is refused until it is repaid.

Example: 0
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
404Nothing was charged: `siteId` is not a website in your organization (`Site <id> not found`), `topicId` is not a topic of it (`Topic <id> not found`), or `projectId` is not a project in your organization (`Project not found`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
409`This topic already has a post.`: the topic is written or being written. Nothing was charged.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
503- `The AI worker could not be reached. Please try again in a moment.`: the draft could not be started. The post is left `failed` and every charge is refunded. - `Projects are not available for blog posts on this server yet.`: `projectId` cannot be used. Nothing was charged.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
POST/v1/galaxy/blog/post/generate
curl '{{API_BASE_URL}}/v1/galaxy/blog/post/generate' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "siteId": "c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b",
  "topicId": "7d6c5b4a-3928-4170-a6f5-e4d3c2b1a098",
  "title": "How to choose a compact tractor",
  "brief": "For first-time buyers with 2 to 20 acres. Compare horsepower classes, hitch categories and must-have attachments. End with a call to book a test drive.",
  "targetKeyword": "compact tractor",
  "secondaryKeywords": [
    "compact tractor buying guide",
    "compact tractor horsepower"
  ],
  "intent": "informational",
  "contentType": "guide",
  "targetWordCount": 1500,
  "memoryIds": [
    "4f5a6b7c-8d9e-4f0a-9b1c-2d3e4f5a6b7c"
  ],
  "promptId": "7e8f9a0b-1c2d-4e3f-8a4b-5c6d7e8f9a0b",
  "promptVariables": {
    "region": "US Midwest"
  },
  "brandKitId": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
  "sourceLanguage": "en-US",
  "autoSeo": true,
  "autoFollowups": true,
  "generateHeroImage": false,
  "projectId": "0f1e2d3c-4b5a-4697-8877-a6b5c4d3e2f1",
  "sendForReview": false
}'
{
  "publicAttribution": {
    "authors": [
      {
        "type": "Person",
        "name": "Asha Sharma",
        "url": "https://example.com/authors/asha-sharma"
      }
    ],
    "publisher": {
      "type": "Organization",
      "name": "Example Editorial",
      "url": "https://example.com/",
      "logoUrl": "https://example.com/logo.png"
    }
  },
  "id": "5e8d1c2b-7a6f-4b3e-9c1d-2e3f4a5b6c7d",
  "siteId": "c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b",
  "topicId": null,
  "memberId": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
  "title": "How to choose a compact tractor",
  "slug": "how-to-choose-a-compact-tractor",
  "status": "draft",
  "sourceLanguage": "en-US",
  "seo": {
    "metaTitle": "How to Choose a Compact Tractor (2026 Buyer's Guide)",
    "metaDescription": "Horsepower, hitch class, tyres and attachments: what actually matters when you buy a compact tractor.",
    "slug": "how-to-choose-a-compact-tractor",
    "focusKeyword": "compact tractor",
    "keywords": [
      "compact tractor buying guide",
      "sub-compact vs compact tractor"
    ],
    "summary": "A practical guide to sizing and specifying a compact tractor for a smallholding.",
    "faqs": [
      {
        "question": "How much horsepower does a compact tractor need?",
        "answer": "25–50 hp covers most smallholdings; go higher only for heavy loader work."
      }
    ],
    "tags": [
      "tractors",
      "buying-guide"
    ]
  },
  "heroImage": {
    "generationId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
    "aspectRatio": "16:9",
    "prompt": "Editorial hero image for a blog post titled \"How to choose a compact tractor\". Subject: compact tractor.",
    "brandKitId": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
    "mimeType": "image/png",
    "source": "generated",
    "assetId": null,
    "url": "{{API_BASE_URL}}/v1/galaxy/blog/post/hero/5e8d1c2b-7a6f-4b3e-9c1d-2e3f4a5b6c7d/b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e/q3Zx8bWm1TfK0pLs7NvYc2RgH5dJ4aEe"
  },
  "heroImageStatus": null,
  "heroImageError": null,
  "context": {
    "topicId": null,
    "promptId": null,
    "promptVariables": null,
    "memoryIds": [],
    "brandKitId": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
    "brief": null,
    "targetKeyword": "compact tractor",
    "intent": "commercial",
    "targetWordCount": 1500,
    "autoSeo": true,
    "autoFollowups": true,
    "generateHeroImage": false,
    "sendForReview": false
  },
  "model": "gpt-5.6-terra",
  "reasoningEffort": "high",
  "wordCount": 1540,
  "versionCount": 3,
  "activeVersionId": "e3d2c1b0-a9f8-4e7d-8c6b-5a4f3e2d1c0b",
  "totalCredits": 1125,
  "publishedUrl": null,
  "publishedAt": null,
  "projectId": null,
  "reviewerMemberId": null,
  "reviewerMemberIds": [
    "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d"
  ],
  "reviewNote": null,
  "reviewRequestedAt": null,
  "reviewedAt": null,
  "links": [
    {
      "id": "f1e2d3c4-b5a6-4978-8695-a4b3c2d1e0f9",
      "url": "https://example.com/blog/compact-tractor-maintenance-checklist",
      "title": "Compact Tractor Maintenance Checklist",
      "anchor": "seasonal maintenance",
      "reason": "Readers comparing tractors also ask how much upkeep they need.",
      "kind": "page",
      "postId": null,
      "applied": false
    }
  ],
  "seoScoreValue": 86,
  "error": null,
  "createdAt": "2026-10-07T09:38:02.441Z",
  "updatedAt": "2026-10-07T09:41:12.301Z",
  "contentHtml": "<p>A compact tractor is the workhorse of a smallholding…</p><h2>How much horsepower do you need?</h2><p>For 2 to 20 acres, 25 to 50 hp covers mowing, loader work and light tillage.</p>",
  "contentMarkdown": "A compact tractor is the workhorse of a smallholding…\n\n## How much horsepower do you need?\n\nFor 2 to 20 acres, 25 to 50 hp covers mowing, loader work and light tillage.",
  "seoScore": {
    "score": 86,
    "checks": [
      {
        "key": "meta_title",
        "label": "Meta title 30–60 characters",
        "ok": true,
        "weight": 8,
        "detail": "52 characters"
      }
    ],
    "computedAt": "2026-10-07T09:52:40.120Z"
  },
  "runs": [
    {
      "id": "9f8e7d6c-5b4a-4392-8170-6f5e4d3c2b1a",
      "kind": "post_editor_action",
      "status": "DONE",
      "model": "gpt-5.6-terra",
      "reasoningEffort": "high",
      "outputText": "## How much horsepower do you need?\n\nFor 2 to 20 acres, 25 to 50 hp covers mowing, loader work and light tillage.",
      "outputJson": null,
      "words": 212,
      "credits": 106,
      "meta": {
        "action": "improve",
        "selection": "A compact tractor is the workhorse of a smallholding…",
        "languageCode": "en-US"
      },
      "error": null,
      "postId": "5e8d1c2b-7a6f-4b3e-9c1d-2e3f4a5b6c7d",
      "createdAt": "2026-10-07T09:55:10.000Z",
      "updatedAt": "2026-10-07T09:55:41.000Z"
    }
  ],
  "pending": {
    "heroImage": false,
    "draft": false,
    "seoPack": true,
    "followups": false
  },
  "followups": [
    {
      "id": "7d6c5b4a-3928-4170-a6f5-e4d3c2b1a098",
      "title": "Compact tractor attachments: which five to buy first",
      "targetKeyword": "compact tractor attachments",
      "intent": "commercial",
      "opportunity": 76,
      "rationale": "Readers who choose a tractor ask next what to put on it.",
      "status": "suggested",
      "postId": null
    }
  ]
}

Price a post

List posts

Get a post

Update a post

Move a post to a project

Save an export to assets

Get an upload URL for an export

Translation memory sync

Keep a translation and its translation memory in step: write the corrections a person made back to the memory, or pull wording the memory now has into the translation. Only finished translations sync.

Get the sync status

Sync to the translation memory

Sync from the translation memory

AI actions

Work an AI model does on an existing post: the SEO pack, follow-up topics, editor actions and a refresh from analytics. Each one charges credits and returns a run: poll Get a run until status is DONE or FAILED. Price any of them first with Price an AI action.

Price an AI action

Generate the SEO pack

Suggest follow-up topics

Run an editor action

Refresh from analytics

Get a run

List the runs of a post

Hero images

The image at the top of a post: generated with your brand kit, or chosen from your organization's assets. heroImage.url is a stable address you can embed in the published post.

Generate a hero image

Use an asset as the hero image

Save the hero image to assets

Reviews

An optional approval step before publishing. A post sent for review is locked until a key with the blog.post:review permission approves it or sends it back, or the review is withdrawn.

Send a post for review

List the review queue

Approve a post

Request changes

Versions

Every save that changes a post's title, text or SEO pack is a new version. List them, read one, or restore an earlier one as a new version.

Completed translations also have their own saved history. List a translation’s versions and restore one using its updatedAt for optimistic concurrency. Restoring writes a new current version, preserves published URL/credit accounting, and does not charge credits. Old revisions discarded before history was installed cannot be recovered. Refresh structured data after restoration.

List versions

Get a version

Restore a version

SEO

Schema.org structured data, the on-page SEO score and the hreflang links of a post and its translations, computed on every read from their published URLs.

The graph describes only the selected saved language. It includes the actual title/body, visible body images and matching visible FAQs. Set each language’s real published URL; no draft URL, author or breadcrumb is invented. The result includes publishing warnings. Schema wordCount uses linguistic segmentation and does not change credit metering. Google no longer displays FAQ rich results.

Get structured data

Checks

Review a post before it goes out: a brand voice check against your brand kit's tone of voice (charged, runs in the background), or a term check against your translation memory's term bases (free, instant).

Run a brand voice check

Run a term check

List checks

Audio

Recordings of a post or of one of its translations, read aloud by a text-to-speech voice. One recording per language; each is charged per second of speech and saved to your organization's assets.

Price a recording

Record a post

List recordings

Get a recording

Autopilot

Autopilot audits a website's sitemap, groups what it could rank for into keyword clusters, and writes topic suggestions to write next. A run is charged once when it starts and works in the background: poll Get an Autopilot run.

Price an Autopilot run

Start an Autopilot run

List Autopilot runs

Get an Autopilot run

List audited pages

Topics

The backlog of what to write next: suggestions from Autopilot, follow-ups from finished posts, and topics you add. Write one with Write a post and its topicId.

List topics

Add a topic

Get a topic

Dismiss or restore a topic

Calendar

The editorial calendar of a website. Its cadence plans entries from the topic backlog and, in auto mode, writes each one on its day within a weekly credit budget. Entries can also be added, moved, skipped and written by hand.

Cadence responses distinguish nextPublishAt, the next selected weekday/hour in the website's timezone, from nextTickAt, the daily planning and retry check. A publishing slot does not guarantee an entry or a published post: the topic backlog, weekly allocation, budget and review still apply. Both timestamps are absolute instants; display them in settings.timezone. Both are null while cadence is off.

Get the cadence

Set the cadence

Price a cadence run

Run the cadence now

List calendar entries

Add a calendar entry

Update a calendar entry

Write an entry now

Analytics

Numbers from the website's Google Analytics 4 and Search Console, synced every day once Google is connected in the Universe app.

Get insights

Get post performance

Webhooks

Get a signed POST to your own URL when a post, translation, recording or Autopilot run finishes, instead of polling. See Webhooks for the events, the payload and how to check the signature.

Register a webhook

List webhooks

Update a webhook

Send a test delivery

List deliveries

Models

AddMatchingLinksDto
AnalyticsPageRowDto
AnalyticsQueryRowDto
AudioVoiceDto
AutopilotChargesDto
AutopilotClusterDto
AutopilotRunDetailDto
AutopilotRunDto
AutopilotRunInputsDto
AutopilotRunProgressDto
AutopilotSiteSummaryDto
BlogAiRunDto
BlogAnalyticsSummaryDto
BlogCadenceDto
BlogChargesDto
BlogGoogleConnectionDto
BlogPostDto
BlogPostListDto
BlogPostListItemDto
BlogPostSummaryDto
BlogQuoteItemDto
BlogRecordingDto
BlogSiteDto
BlogTopicDto
BlogTopicListDto
BlogTranslationDto
BlogTranslationVersionDto
BlogTranslationWithContentDto
BlogVoiceDto
BlogWebhookCreatedDto
BlogWebhookDto
CadenceSettingsDto
CalendarEntryDto
CalendarEntryPostDto
CreateEntryDto
CreateSiteDto
CreateStagedUploadDto
CreateTopicDto
CreateTranslationDto
CreateWebhookDto
EditorActionDto
Ga4InsightsDto
GenerateAudioDto
GenerateChargesDto
GenerateEntryDto
GeneratePostDto
GscInsightsDto
HeroFromAssetDto
HeroImageDto
HreflangAlternateDto
HreflangDto
InsufficientCreditsErrorDto
MovedPostProjectDto
MovePostToProjectBodyDto
MovePostToProjectResponseDto
NewTmSourcePairDto
PerformanceOpportunityDto
PostAssigneeDto
PostChargesDto
PostCheckAgainstDto
PostCheckDto
PostCheckIssueDto
PostCheckResultDto
PostFaqDto
PostFollowupDto
PostGenerationContextDto
PostHeroImageDto
PostLinkDto
PostPendingDto
PostPerformanceDto
PostSeoCheckDto
PostSeoDto
PostSeoScoreDto
PostVersionDto
PostVersionSummaryDto
PublicAttributionDto
PublicAuthorDto
PublicPublisherDto
ReviewDecisionDto
ReviewRequestDto
SaveBlogToAssetsDto
SaveExportToAssetsResponseDto
SaveHeroToAssetsResponseDto
SiteAnalyticsDto
SiteDefaultsDto
SiteInsightsDto
SitemapPageDto
SitemapPageListDto
SitePerformanceDto
StagedUploadTicketDto
StartAutopilotRunDto
StructuredDataDto
SyncFromTmDto
SyncFromTmResultDto
SyncToTmDto
SyncToTmResultDto
TermLintDto
TmSyncStatusDto
TopicOutlineSectionDto
UnpairedTmSegmentDto
UpdateEntryDto
UpdatePostDto
UpdateSiteDto
UpdateTopicDto
UpdateTranslationDto
UpdateWebhookDto
UpsertCadenceDto
VoiceCheckDto
WebhookDeliveryDto
WebhookPayloadDto