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
Put a suggested link into the post: its anchor words become a link to its url, as a new version of the post, and the suggestion is marked applied. Applying it again changes nothing.
Permission: blog.post:update. An API key acts with the role of the member who created it.
Path Parameters
Post ID (id from Write a post or List posts).
Link suggestion ID (id of an item in the post’s links).
Responses
201The post, with the link in its text.
Saved public authors and publisher for this language/version. Null when unset; not inferred from members or source-language metadata.
Show child attributes
Public authors in byline order. Default empty; never inferred from the creating member.
Show child attributes
The type of the public author shown on this language’s page.
Exact public byline, in this language. Not an internal member name.
Actual public author profile URL; absolute HTTP(S), without credentials. Null or omitted when absent.
Explicit public publisher, or null. Never inferred from a website’s internal label.
Show child attributes
The actual publisher’s public name for this language.
Actual public publisher type. Individual publishers use Person; logoUrl is only for organizations.
Actual public publisher URL; absolute HTTP(S), without credentials.
Public publisher logo URL used on the page; absolute HTTP(S), without credentials. Not the post’s hero image.
Post ID.
The website it is written for. Null for a post written before your organization had a website.
The topic it was written from, or null.
Member ID of the author: the member who wrote it, or who created the API key that did.
The title. A title you sent is kept word for word; without one, the draft’s own title is used once it is written.
The URL slug, from the title or the SEO pack.
generating → draft (or failed). Then in_review → ready through the review routes, and published or archived with Update a post.
The language it is written in: a BCP-47 code.
The SEO pack. Null until it is written.
Show child attributes
The <title> for search results, about 60 characters.
The meta description, about 155 characters.
The search phrase the page should rank for.
Secondary keywords.
A two or three sentence summary of the post.
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
The question, as a reader would search it.
A short, direct answer.
Tags for your CMS.
The URL slug. Saving the pack with a slug also sets the slug of the post or translation.
The hero image. Null until there is one.
Show child attributes
ID of this image. It changes with every new image, and so does url.
Aspect ratio the image was made in, such as 16:9. Empty for an image chosen from your assets.
The prompt the image was made from. Empty for an image chosen from your assets.
The brand kit applied, or null.
MIME type of the image.
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.
asset for an image chosen from your assets. Absent or generated for a generated one.
The image in your organization’s assets, once it was saved there (or chosen from there).
Where the hero image is: queued (waiting for the draft), generating, done, or failed (see heroImageError). Null when none was asked for.
Why the last hero image failed, or null.
What the post was written from.
Show child attributes
The topic it was written from, or null.
The library prompt used, or null.
Values for the prompt’s {{placeholders}}, or null.
Memory notes read as context.
The brand kit whose tone of voice it follows, or null.
The brief, or null.
The search phrase it targets, or null.
The search intent it serves, or null.
The length it was written to, in words.
Whether the SEO pack was written after the draft.
Whether follow-up topics were suggested after the draft.
Whether a hero image was asked for.
Whether the post is sent for review once written.
The AI model that wrote it: your organization’s Blog model in its provider preferences (in the Universe app).
How hard the model reasoned, from the same preferences.
Words in the text, counted in its language.
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.
The version the post shows (see List versions).
Credits the post has cost so far: its draft, SEO pack, follow-ups, AI actions, hero images and translations, each counted once settled.
Where the post is live, as you set it with Update a post. Feeds structured data, hreflang links and analytics.
When it was first marked published, or null.
The project it is filed in, or null.
The member asked to review it. Null when anyone who may review can decide, or when it was never sent for review.
All reviewers; empty means anyone who can review.
The latest review note: the author’s note to the reviewer, or the reviewer’s note back.
When it was last sent for review, or null.
When a reviewer last approved it or sent it back, or null. Editing an approved post clears it.
Internal link suggestions from Suggest internal links, applied ones included. Empty when there are none.
Show child attributes
Suggestion ID, for Apply a link and Dismiss a link.
The page or post to link to.
Title of that page or post.
The words in the post the link goes on, exactly as they appear in the text.
Why the link helps the reader.
page: a page from the website’s sitemap. post: another published post of the website.
For kind: post, that post’s ID.
Whether the link was put into the post with Apply a link.
The on-page SEO score, from 0 to 100. Get a post returns its checks in seoScore.
Why the draft failed, or the latest SEO pack, follow-up or link run that failed. Null otherwise.
When the post was created.
When the post last changed.
The post as HTML: headings, paragraphs, lists, links, images and tables. Null while the first draft is written. Publish this, or contentMarkdown.
The same post as Markdown, kept in step with contentHtml. Null while the first draft is written.
The on-page SEO score and its 13 checks, computed on every read.
Show child attributes
From 0 to 100: the weights of the checks that pass.
The 13 checks.
Show child attributes
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.
What it checks, in words.
Whether the post passes it.
Points it is worth out of 100.
What was measured, or what to fix.
When it was computed: on every read.
Every AI run made for the post, newest first.
Show child attributes
Run ID, for Get a run.
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).
INPROGRESS, then DONE, or FAILED with the reason in error.
The AI model that ran it.
How hard the model reasoned.
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.
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).
Words the model wrote, once DONE: what the run is billed on.
Credits the run cost: its start charge, then the settled amount once it is done.
Details of the run, such as action, instruction and the start of selection for an editor action, and languageCode.
Why the run failed. Null unless status is FAILED.
The post the run is for.
When the run started.
When the run last changed.
Work still running on the post. Poll Get a post until every flag is false.
Show child attributes
A hero image is queued or being made.
The draft is being written.
The SEO pack is being written.
Follow-up topics are being suggested.
The topics suggested to write next, for a post on a website. Dismissed ones are left out.
Show child attributes
Topic ID: write it with Write a post and topicId.
The title to write.
The search phrase it targets.
The search intent it serves.
Estimated opportunity, from 1 to 100.
Why it is worth writing next.
Its status in the backlog (see List topics).
The post written from it, or null.
400- `The phrase “<anchor>” is no longer in the post — edit the text or dismiss the suggestion.` - A 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 post with this ID in your organization (`Post <id> not found`). When the key's role has Personal view on, also a post its member did not write, was not asked to review and is not assigned to (`Process not found`). Or no suggestion with this `linkId` (`Link suggestion 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.
409- `The draft is still being written.` - `Withdraw the review before editing this post.`: the post is `in_review`.
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/post/posts/5e8d1c2b-7a6f-4b3e-9c1d-2e3f4a5b6c7d/links/f1e2d3c4-b5a6-4978-8695-a4b3c2d1e0f9/apply' \
--request POST \
--header 'x-api-key: YOUR_API_KEY'{
"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
}
]
}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
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.