Blog API
Download OpenAPI DocumentBlog 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.
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
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
Translations
One translation per language, made through a translation memory. Translating runs in the background and charges the post's source words: poll Get a translation until status is done. Translating into a language the post already has replaces that translation, edits included.
- GET/v1/galaxy/blog/translation/posts/{postId}/charges
- POST/v1/galaxy/blog/translation/posts/{postId}
- GET/v1/galaxy/blog/translation/posts/{postId}
- GET/v1/galaxy/blog/translation/{id}
- PATCH/v1/galaxy/blog/translation/{id}
- POST/v1/galaxy/blog/translation/{id}/retranslate
- GET/v1/galaxy/blog/translation/{id}/versions
- POST/v1/galaxy/blog/translation/{id}/versions/{versionId}/restore
Price a translation
Translate a post
List translations
Get a translation
Update a translation
Translate again
List translation versions
Restore a translation version
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
Get hreflang links
Internal links
Links from a post to pages of its website and to your other published posts, suggested by AI from the website's sitemap. Apply the ones you want; each becomes a new version of the post.
Suggest internal links
Apply a link
Add matching internal links
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
One Autopilot run, with its keyword clusters. Poll it after Start an Autopilot run, every 30–60 seconds, until status is succeeded, failed (with the reason in error) or cancelled. progress counts the pages read and the topics written as it goes, and summary holds what it learned about the website once planning is done.
Permission: blog.autopilot:read. An API key acts with the role of the member who created it.
Path Parameters
Autopilot run ID (id from Start an Autopilot run or List Autopilot runs).
Responses
200The run and its clusters.
Autopilot run ID.
The website the run audits.
SCHEDULED → RUNNING (see phase) → COMPLETED. FAILED: the run stopped on an error, error says why, and its charge is refunded. TERMINATED: stopped with Cancel an Autopilot run.
While RUNNING: ingesting (reading the sitemap and the pages), planning (summing up the website and planning keyword clusters) or generating (writing the topics of each cluster). Null otherwise.
What the run is doing now, in words, for display: for example Fetched 150 of 300 pages…, 3 of 5 clusters done · 30 of 50 topics so far or Done — 50 topics in 5 clusters. Read status and progress in your code, not this.
What the run was asked to do, with the defaults it applied.
Show child attributes
The website's URL when the run started.
The sitemap the run was asked to read: the request's sitemapUrl, else the website's. Null when neither was set: the run then looked for one in robots.txt and at the usual places.
How many topics the run was asked to write.
How many topics each keyword cluster was asked for.
Whether the run read each page's title and meta description, or worked from the URLs alone.
Whether the model searched the web while it planned. Only OpenAI models can: with another model this is false, whatever the request asked.
Whether the run used the website's Google Analytics 4 and Search Console data, when connected.
Memory notes the run read as context: the request's, else the website's defaults.memoryIds.
The library prompt added to the run's instructions: the request's, else the website's defaults.promptId. Null for none.
Values for the {{placeholders}} of that prompt. Null for none.
The brief the run was given. Null for none.
The AI model that ran it: your organization's Blog model in its provider preferences (in the Universe app) when the run started.
How hard the model reasoned, from the same provider preferences.
Counters that grow as the run works.
Show child attributes
Page URLs found in the website's sitemap.
Pages whose title and meta description were read so far.
Keyword clusters the run planned.
Clusters whose topics are written.
Clusters that produced no topics.
Topics written so far, in every cluster.
How many of those pages the run reads, articles first and newest first, up to its crawl limit. Absent until the reading starts, and when inputs.fetchPages is false.
What the run learned about the website. Null until planning is done.
Show child attributes
What the website sells or covers, and for whom.
Who reads the website: roles, needs, expertise, region.
How the website makes money.
Themes the existing content already covers well.
Themes the audience needs that the existing content misses or covers thinly. The clusters are planned around them.
The content strategy the topics follow, in a few sentences.
Credits charged for the run: its start charge while it runs (see Price an Autopilot run), the amount settled to the words it wrote once it has succeeded, and 0 when a failure was refunded. A cancelled run keeps its start charge.
Why the run failed. Null unless status is failed.
When the run was started.
When the run last changed.
When the run succeeded, failed or was cancelled. Null while it is in progress.
The keyword clusters the run planned, highest priority first. Empty until planning is done.
Show child attributes
Cluster ID. List topics takes it as clusterId; each topic names it too.
Name of the cluster, a short topical label.
The main keyword the cluster is built around.
The main search intent of the cluster.
Why the cluster is worth writing: missing (nothing on the website covers it), thin (covered weakly), refresh (old content to redo), competitive (competitors rank for it and the website does not) or new_niche (an adjacent area worth claiming).
Priority from 1 to 100, from traffic potential, fit and ease. Higher first.
Why the run chose this cluster.
planned → generating → done. failed: the cluster produced no topics, or the run was cancelled or failed while it was being written; error says why.
How many topics the cluster holds.
Why the cluster failed (Cancelled when the run was cancelled). Null otherwise.
400A path ID is not a UUID (`Validation failed (uuid is expected)`).
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
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.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
404No Autopilot run with this ID in your organization (`Autopilot run <id> not found`).
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
HTTP status code, repeated in the body.
What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.
Short name of the status.
curl '{{API_BASE_URL}}/v1/galaxy/blog/autopilot/runs/2b3c4d5e-6f70-4812-9a3b-4c5d6e7f8091' \
--header 'x-api-key: YOUR_API_KEY'{
"id": "2b3c4d5e-6f70-4812-9a3b-4c5d6e7f8091",
"siteId": "c1a2b3c4-d5e6-4f70-8a9b-0c1d2e3f4a5b",
"status": "COMPLETED",
"phase": "generating",
"stage": "Done — 50 topics in 5 clusters",
"inputs": {
"websiteUrl": "https://example.com",
"sitemapUrl": "https://example.com/sitemap.xml",
"targetTopics": 50,
"topicsPerCluster": 10,
"fetchPages": true,
"useSearch": true,
"useAnalytics": true,
"memoryIds": [
"4f5a6b7c-8d9e-4f0a-9b1c-2d3e4f5a6b7c"
],
"promptId": null,
"promptVariables": null,
"brief": "We sell compact and sub-compact tractors to smallholders in the US Midwest. Favor buying guides and mention our 0% financing offer.",
"model": "gpt-5.6-terra",
"reasoningEffort": "high"
},
"progress": {
"pagesFound": 412,
"pagesQueued": 300,
"pagesFetched": 296,
"clustersPlanned": 5,
"clustersDone": 5,
"clustersFailed": 0,
"topicsGenerated": 50
},
"summary": {
"niche": "Compact and sub-compact tractors, attachments and financing for smallholdings and hobby farms.",
"audience": "First-time tractor buyers with 2 to 20 acres, mostly in the US Midwest, comparing models before they visit a dealer.",
"businessModel": "Dealer sales of tractors and attachments, financing and service plans.",
"contentStrengths": [
"Attachment guides",
"Seasonal maintenance checklists"
],
"contentGaps": [
"Buying guides that compare horsepower classes",
"Financing and total cost of ownership"
],
"strategy": "Lead with buying guides for first-time owners, then support them with maintenance and attachment content that links back to the product pages."
},
"credits": 8490,
"error": null,
"createdAt": "2026-09-28T15:02:11.000Z",
"updatedAt": "2026-09-28T15:19:47.000Z",
"finishedAt": "2026-09-28T15:19:47.000Z",
"clusters": [
{
"id": "4e5f6071-8293-4a4b-b5c6-d7e8f9012345",
"name": "Compact tractor buying guides",
"pillarKeyword": "compact tractor buying guide",
"intent": "commercial",
"gapType": "missing",
"priority": 92,
"rationale": "The website sells compact tractors but has no guide that helps a first-time buyer choose one.",
"status": "done",
"topicCount": 10,
"error": null
}
]
}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/v1/galaxy/blog/calendar/sites/{siteId}/cadence
- PUT/v1/galaxy/blog/calendar/sites/{siteId}/cadence
- GET/v1/galaxy/blog/calendar/sites/{siteId}/cadence/tick/charges
- POST/v1/galaxy/blog/calendar/sites/{siteId}/cadence/tick
- GET/v1/galaxy/blog/calendar/entries
- POST/v1/galaxy/blog/calendar/entries
- PATCH/v1/galaxy/blog/calendar/entries/{id}
- POST/v1/galaxy/blog/calendar/entries/{id}/generate
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.