Studio API
The Studio API lets your system send articles to Helix Studio, Helix's editorial app, and get them back finished. You send a brief, and Helix's writing agents research and write the article. Or you send an article you already have, and they check and edit it. You don't watch the work: once your endpoint is registered, Helix calls it when the article is done (a webhook), and you then read the result.
This page introduces the terms the other pages use. The Quickstart then follows one article from start to finish.
Helix Studio in brief
In Helix Studio, a publisher's editors and Helix's writing agents work on articles together in the browser. The API reaches the same articles, so an editor can open any article your system creates and work on it in the app.
Studio is organized like this:
Organization (your company's Helix account)
└── Spaces (a tree: one per site, client, desk or team)
├── Writers and article types (set up by people in Helix)
└── Articles
- Organization (org). Your company's account in Helix. Everything the API touches belongs to one org.
- Space. A section of the org, such as one website, one client or one desk. Spaces nest: a space can sit inside another. Anyone with access to a space can also reach everything in the spaces below it. Each article lives in one space.
- Role. What an account may do in a space: Viewer, Writer, Editor or Admin. Roles are given per space. To create or stop an article through the API, you need the Writer role or higher in that space.
- Writer. A writing voice set up in Helix: the style, tone and rules an article is written in.
- Article type. The kind of article, such as a game preview or a product review. It decides how the article is researched and laid out.
"Writer" means three things in these docs, and the context tells them apart:
- a writer (lowercase): a writing voice, as above;
- the Writer role: the lowest role that may create articles in a space;
- Writer, the Studio app that holds articles. The API's article paths and fields sit under its name:
/writer/articles,/writer/config/…andwriter.canCreateArticles.
People set up writers and article types in Helix Studio, per space. A space can also use the ones set up in the spaces above it. The API can read them but not change them.
What your system can do
There are two kinds of article:
- Written. You send a brief: what the article should cover, in plain words. Helix researches the topic, plans the article, writes it and polishes it.
- Edited. You send your own article as HTML or Markdown. Helix imports it, checks its facts and the space's writing rules, and gives it an editor pass. Helix can apply the safe fixes for you and leaves the rest open for a person to handle in Helix Studio.
Either way, the article starts as soon as you create it and runs unattended. Expect it to take several minutes or more.
| You want to | Call |
|---|---|
| Check that your key works | GET /me |
| Find your spaces, and which ones you can write in | GET /spaces |
| See the writers and article types a space offers | GET /writer/config/writers, GET /writer/config/article-types |
| Have Helix write an article from a brief | POST /writer/articles with "kind": "written" |
| Have Helix edit an article you already have | POST /writer/articles with "kind": "edited" |
| Follow an article and get the result | Webhooks, or GET /writer/articles/{ref} |
| Stop an article | POST /writer/articles/{ref}/stop |
In these paths, {ref} is Helix's ID for the article or your own ID for it, its
externalId.
Getting access
The Helix team sets up your organization in Helix Studio and makes someone on your side its admin. If you don't have an org yet, contact the Helix team at [email protected]. For development access, ask them for an org in Helix's development environment too (see Base URLs).
Your service account and key
Your system calls the API as a service account: an account in your org for software, not a person. Your org's admin
creates it in Helix and gives it a role in the spaces it should reach. Then they create a key for it: a secret that
starts hxk_. You send the key on every call:
Authorization: Bearer hxk_…
The key decides everything else: which org you are in, which spaces you can see and what you may do there. You never send an org or account ID.
Studio API keys are separate from the keys for Helix's feeds APIs, such as News, Events and Parse, which run on
api.feeds.onhelix.ai. A key works only on its own API; the other API answers 401. For changing keys and what happens
when one is revoked, see Keys and service accounts.
Base URLs
| Environment | URL |
|---|---|
| Production | https://api.studio.onhelix.ai |
| Development | https://api.dev.studio.onhelix.ai |
Development is a separate Helix environment with its own org, spaces, service accounts, keys and webhook endpoints. Nothing carries over between the two: a production key doesn't work in development, a development key doesn't work in production, and a webhook endpoint is registered for one environment only. Articles in development are researched and written the same way as in production. Ask the Helix team what usage limits apply to your development org.
Next steps
- Quickstart: create your first article and read it back.
- Concepts: the rules behind every call.
- Webhooks: get told when an article changes.
- API Reference: every endpoint and field.