# Unspar documentation Unspar is an AI article writer (https://www.unspar.com, app at https://app.unspar.com). This file holds every page of https://www.unspar.com/docs/ as Markdown. --- # Getting started How you sign up for Unspar, tell it who your site is for and write your first article. Web version: https://www.unspar.com/docs/guides/getting-started/ Unspar writes articles for your website. Give it a topic, and it researches the web and drafts an article for your readers. Once you're happy with the result, you can download it or have Unspar publish it straight to your site. This guide walks you from signing up to your first finished article. For a closer look at each part of the app, see [How Unspar works](https://www.unspar.com/docs/guides/how-unspar-works/). ## Sign up 1. Open [Register](https://app.unspar.com/register). 2. Enter your name and email address, and choose a password. 3. Choose **Register**. Unspar sends you an email with a confirmation link. 4. Open the link in that email within 60 minutes. If it expires, choose **Resend verification email** in the app. The app then opens on your [Dashboard](https://app.unspar.com/dashboard). ## Get your free credits Credits are how you pay in Unspar, and a normal article costs 1 credit. After you confirm your email address, Unspar runs a quick check on your new account and adds 10 free credits, valid for 30 days. A bar at the top of the app shows how many credits you have left and when they expire. If the bar says **Your free credits are on hold**, the check didn't release them automatically. You can still look around and get article ideas, but you won't be able to start an article yet. Email support@unspar.com with a quick line about your project, or subscribe to a plan under [Billing](https://app.unspar.com/billing) to get credits right away. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) for details. ## Set up your project In Unspar, a project represents one website. It holds that site's articles along with the default settings every new article starts from. Unspar creates one for you automatically, called **My First Project**, with its timezone set to UTC. The most important setting is **Site context**, which is a few plain sentences about who reads your site. Unspar reads this before writing each article, so it's worth setting up before your first one. 1. Open [Projects](https://app.unspar.com/projects) and choose **My First Project** to open the project page. 2. Open the **More actions** menu (⋮) at the top right and choose **Edit**. 3. In **Name**, type the name of your site. 4. In **Site context**, write two to four sentences about your readers. For example: > Guides for people who repair their own bikes at home. Readers are in the UK, so prices are in pounds. We don't recommend specific shops. 5. In **Timezone**, search for your city and select it. Unspar uses this for publishing times. 6. Choose **Save**. Unspar takes you back to the list of projects. ![Project page with the More actions menu open and Edit marked](https://www.unspar.com/images/docs/start-1-project-menu.webp) Step 2: The More actions menu at the top right of the project page holds Edit. ![Edit project form with Name and Site context filled in](https://www.unspar.com/images/docs/start-2-name-context.webp) Step 3–4: Give the project your site's name and describe your readers in Site context. ![Timezone field set to Chicago (America)](https://www.unspar.com/images/docs/start-3-timezone.webp) Step 5: Search for your city in Timezone. ![Bottom of the Edit project form with the Save button marked](https://www.unspar.com/images/docs/start-4-save.webp) Step 6: Save the settings at the bottom of the form. Leave your writing style out of the site context, since a [voice](https://www.unspar.com/docs/guides/voices/) controls how your articles sound. For other settings like the article language, see [Projects](https://www.unspar.com/docs/guides/projects-and-site-context/). ## Write your first article You can start your first article in two ways: let the Dashboard suggest topics for you, or enter your own topic on the Create page. ### Let the Dashboard suggest a topic Before your projects have any articles, the [Dashboard](https://app.unspar.com/dashboard) shows a panel called **Tell us what you have** that suggests first articles for free. 1. Open the [Dashboard](https://app.unspar.com/dashboard). 2. In **Website URL**, type your site's address if you have one. 3. Leave **What do you want to create?** set to **Website articles or blog posts**. 4. In **Topic or goal**, write one sentence about what you want to cover. You need a website, a topic, or both. 5. Choose **Get article ideas**. Unspar reads your home page and suggests three to five articles. 6. Choose **Write this article · 1 credit** on the one you like. Unspar starts writing and opens the article page with the message "Your first article is queued." If none of the suggestions fit, choose **Try a different topic**. Unused suggestions expire after 10 minutes. After that, Unspar keeps looking for more topics in the background for free and lists them under [Ideas](https://app.unspar.com/ideas) (see [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/)). The panel disappears as soon as a project has an article, even a draft. ![Dashboard panel Tell us what you have with Website URL, What do you want to create?, Topic or goal and Get article ideas marked](https://www.unspar.com/images/docs/start-5-dashboard-panel.webp) Step 2–5: Enter a website or a topic, then choose Get article ideas. The suggestions are free. ![Four suggested articles, each with a Write this article · 1 credit button](https://www.unspar.com/images/docs/start-6-suggestions.webp) Step 6: Each suggestion shows its size, and its button shows the price. ### Write about your own topic If you already know what you want to write about, use the Create page. 1. Open [Create](https://app.unspar.com/articles/create). 2. Check that **Project** shows your project. 3. Type your topic into **Title or topic**, for example "How to fix a flat bike tire". 4. Check the price under **Estimated credits**. For a normal article, it says "Size: Article · 1 credit". 5. Choose **Queue article (1 credit)**. Unspar starts writing and opens the article page. See [Create an article](https://www.unspar.com/docs/guides/create-an-article/) for the rest of the options on this page, such as adding specific points the article must cover. ## What happens while Unspar writes? The article starts with the status **Queued for generation**. Once writing begins, it switches to **Generating**, and the page shows "Writing your article" along with its progress. The page updates automatically, and you can close it while Unspar finishes in the background. Unspar holds the credit while it writes and deducts it once the article is **Completed**. If something goes wrong and the article fails, the credit returns to your balance and the page explains why it stopped. When your first article is ready, Unspar sends you an email. You can find all your articles under [Articles](https://app.unspar.com/articles). ## Read it and ask for changes Read the finished article on the **Preview** tab. Rather than editing the text directly, you tell Unspar what to change. 1. Choose **Request changes** at the top of the article. 2. Describe what you want in plain words, for example "Shorten the introduction to two sentences." 3. Choose **Revise article**. Unspar updates the article while keeping the rest intact. Your first round of changes is free, and each additional round costs 1 credit. See [The article page](https://www.unspar.com/docs/guides/the-article-page/) for more details. ## Put it on your site To upload the article yourself, choose **Download** and pick a format such as Markdown or HTML. Unspar can also publish it for you. Connect your site once as an outlet (a destination for finished articles, like a WordPress site), then choose **Publish** on the article. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/) to set it up. ## For AI agents The same first steps from a terminal. A person runs unspar login once and signs in in the browser. After that, the agent can set up the project and write the article. Writing spends credits, so the agent checks the price first. With --force, create starts the article without asking again. ```sh curl -fsSL https://app.unspar.com/install.sh | sh unspar login unspar projects list unspar projects update --name "My blog" --timezone Europe/London --context-file site.md unspar api post /articles/estimate --field project= --field "brief=How to fix a flat bike tyre" unspar articles create --project --brief "How to fix a flat bike tyre" --force --wait unspar articles content --output article.md unspar articles revise --feedback "Shorten the introduction to two sentences." --wait ``` --- # How Unspar works Unspar writes articles for your website. This page explains the parts you work with and what happens between your topic and the finished article. Web version: https://www.unspar.com/docs/guides/how-unspar-works/ Unspar writes articles for your website, like blog posts and guides. You give it a topic, or let it suggest one. It then researches the subject on the web, writes the article for your readers, and publishes it to your site once you're happy with it. Most of the setup happens once. After that, you mostly type topics. This page walks through each part of Unspar in plain words and shows how they fit together. The other guides use the same terms. ## What is a project? A project represents one website in Unspar. It holds that site's articles, ideas, and default settings for new articles, such as the language. You can have as many projects as you want, and they cost nothing. The most important setting in a project is the site context. This is a few sentences describing who reads your site and what it covers. Unspar reads it before researching and writing every article. See [Projects](https://www.unspar.com/docs/guides/projects-and-site-context/). ## What decides how an article turns out? Every article is shaped by a template and a voice. A template is the recipe for one kind of text, like a guide or a buyer's guide. It controls how much research goes into the piece and how the article is structured, including whether sources appear as links. New projects default to the General Guide template, which fits most topics. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). A voice controls how the article sounds, from sentence length to how formal the tone is. You can pick a built-in voice or create one from your own writing. If you don't pick a voice, Unspar uses the template's plain style. See [Voices](https://www.unspar.com/docs/guides/voices/). ## What happens when you start an article? An article is anything Unspar writes for you. You start one on the Create page by typing a topic, checking the price, and queuing it. Once queued, Unspar gets to work in the background, so you're free to close the page. Four AI agents handle the writing, one after the other: 1. The researcher looks up the topic on the web and reads any material you added yourself, like a web page or a PDF. 2. The author writes the article in your project's language and voice. 3. The fact checker compares the draft against the research. If a number isn't backed by the research, it goes back to the author. 4. The editor reads through the article and smooths out stiff sentences. Once the article is finished, you can review it in the app. If something looks off, describe the change in plain words and Unspar will revise it. From there, you can publish it or download it. See [Create an article](https://www.unspar.com/docs/guides/create-an-article/) and [The article page](https://www.unspar.com/docs/guides/the-article-page/). ## Where do topics come from? You can type your own topics, or let Unspar suggest them. A suggested article is called an idea, and Unspar finds them by reading a website or searching a topic on the web. Project Auto goes one step further. It writes articles from a project's ideas every day, up to a number you set, so you don't have to start each one by hand. See [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/). ## How does an article get onto your site? An outlet is where your finished articles go, such as your WordPress site or a GitHub repository. You connect an outlet once. After that, choosing **Publish** on an article sends it there, either right away or at a time you pick. You can also set a project to publish finished articles on its own. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/) and [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). ## What do credits pay for? Credits are how you pay in Unspar. A normal article costs 1 credit, while longer articles and deep research cost more. You always see the price before an article starts. When you queue an article, Unspar puts those credits on hold and takes them once the article is finished. If an article fails, the credits go back to your balance. New accounts get free credits, and plans add credits every month. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## Can other people work in my account? Yes. Your account is set up as a team when you sign up, with you as the owner. Everyone on the team shares the same projects and credits. You can invite people and assign each one a role that controls what they can do. For example, a Member can read articles but can't create them. See [Teams](https://www.unspar.com/docs/guides/teams/). ## Where do I find each part in the app? The sidebar on the left leads to every main screen. - [Dashboard](https://app.unspar.com/dashboard): see what needs your attention. - [Create](https://app.unspar.com/articles/create): start a new article. - [Projects](https://app.unspar.com/projects): manage your websites and their settings, including Project Auto. - [Ideas](https://app.unspar.com/ideas): browse topics Unspar suggests. - [Articles](https://app.unspar.com/articles): view every article and its status. - [Voices](https://app.unspar.com/voices): pick built-in voices or manage your own. - [Outlets](https://app.unspar.com/outlets): connect the sites you publish to. - [Credits](https://app.unspar.com/credits): check your balance and what you spent. Only the team owner sees this screen. - [Settings](https://app.unspar.com/settings): update your profile, manage your team, and find your API keys. ![The Unspar sidebar with Dashboard, Create, Projects, Ideas, Articles, Voices, Outlets, Connected sites, Credits, Settings and Support](https://www.unspar.com/images/docs/how-sidebar.webp) The sidebar leads to every main screen. ## Can I use Unspar without the web app? Yes. AI tools like Claude Code or Cursor can use Unspar through the [MCP server](https://www.unspar.com/docs/mcp/). Developers can also use the [CLI](https://www.unspar.com/docs/cli/), a command for the terminal, or call the [REST API](https://www.unspar.com/docs/api/) from their own code. All three share the same projects and credits as the web app. --- # Projects A project is one website in Unspar. It keeps the site's articles and the settings every new article starts from. Web version: https://www.unspar.com/docs/guides/projects-and-site-context/ A project is one website in Unspar. It holds the articles and ideas for that site, along with the default settings for every new article, like language and length. The most important setting is the site context, a few plain sentences about who reads your site. Unspar reads them before writing each article. ## Create a project Make one project per website. Projects are free, and you can create as many as you want. Every new account starts with one called **My First Project**. You only need a second project for the same site if part of it needs different settings, such as another language. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. In the first field, type your website address or a few words about the project. 3. Choose **Preview setup**. Unspar reads your home page and fills in **Project name** and **Project focus**. It also suggests the language. The preview is free. 4. Check **Default article language** and **Timezone**. 5. If you want a first list of topics for the site, check **Generate ideas after creating the project**. This costs 1 credit. 6. Choose **Create project**. Unspar opens the new project. If you checked the box, it opens [Ideas](https://app.unspar.com/ideas) instead, where your first ideas appear. See [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/). The site context isn't on this form. You add it next on the **Edit** page. ## Change the settings 1. Open the project from [Projects](https://app.unspar.com/projects). 2. Open the **More actions** menu (⋮) at the top right and choose **Edit**. 3. Change what you need and choose **Save**. Unspar takes you back to the list of projects. Changes apply to any articles you create after that. ![Project page with the More actions menu open and Edit marked](https://www.unspar.com/images/docs/start-1-project-menu.webp) The project's settings open from More actions, then Edit. ## What goes into the site context? Write two to four plain sentences in **Site context**. Say who reads the site and what it covers. You can also mention what the site doesn't do. > Guides for people who repair their own bikes at home. Readers are in the UK, so prices are in pounds. We don't recommend specific shops. Put your readers and their region first. Unspar reads the full text when it writes, up to 5,000 characters, but its research only uses about the first 700. Leave these out: - Your writing style. The [voice](https://www.unspar.com/docs/guides/voices/) and the template decide how articles sound. - The topic of a single article. That goes into **Title or topic** on the [Create page](https://www.unspar.com/docs/guides/create-an-article/). - Keyword lists. They tell Unspar nothing about your readers. If one article needs extra background, add it on the Create page under **More options** in **Additional context**. Unspar adds it below the site context for that article only. **Project focus** looks similar, but it does something else. It's a sentence or two about the project's topics, and Unspar only uses it when looking for ideas on its own, such as when Project Auto runs out of ideas. **Description** only appears under the project's name. ![Edit project form with Name, Description, Project focus, URL and Site context, Site context marked](https://www.unspar.com/images/docs/projects-edit-context.webp) Site context shapes the articles. Project focus guides the ideas Unspar finds by itself. ## Which languages can Unspar write in? Unspar writes in four languages, each with a few regional versions. | Language | Regional versions | | -------- | ------------------------------------ | | English | US, UK, Australia, Canada | | German | Germany, Austria, Switzerland | | Spanish | Spain, Mexico, Argentina | | French | France, Canada, Belgium, Switzerland | The app lists them as **English (US)**, **German (Austria)**, and so on. Other languages aren't available. **Default article language** sets the language for new articles in the project. The regional version tells Unspar where your readers are, so several templates search the web from that country. Currency and local law still belong in the site context. For a single article, you can pick another **Language** on the Create page under **More options**. If you regularly write in two languages, use one project per language. To translate articles you already have, see [Translations](https://www.unspar.com/docs/guides/translations/). ## Formal or informal "you"? German, French, and Spanish have both a formal and an informal way to address the reader. **Form of address** decides which one your articles use. | Option | German | French | Spanish | | ------------ | ------ | ------ | ------- | | **Formal** | Sie | vous | usted | | **Informal** | du | tu | tú | **Automatic** uses the usual form for the language and the topic. A new project in German, French, or Spanish starts on **Formal**. If you switch an existing project to one of these languages, the form of address doesn't change automatically, so you'll need to set it yourself. For English, leave it on **Automatic**. If a template sets its own form of address, that overrides this setting. ## How long will the articles be? **Default length** sets a target length for new articles. Longer articles cost more. Here are the prices with the default template, General Guide. | Default length | Price | | ------------------------------------------------------------ | ------------------------------------------------------------------- | | **Follows the topic** | Unspar picks the length per topic. The Create page shows the price. | | **Concise (~1,000 words)** or **Standard (~2,000 words)** | 1 credit | | **Detailed (~3,000 words)** or **Thorough (~5,000 words)** | 4 credits | | **Long-form (~7,500 words)** or **Extended (~10,000 words)** | 15 credits | Leave it on **Follows the topic** unless your site needs fixed lengths. If a template sets its own length, that overrides this setting. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## What do the other settings do? - **Timezone**: publishing times use it, and Project Auto uses it to count articles per day. My First Project starts on UTC. - **Writing voice**: controls how new articles sound. With "No project voice (use the template's voice)", the template decides. See [Voices](https://www.unspar.com/docs/guides/voices/). - **Default article setup**: the template new articles start from. New projects use General Guide. Project Auto has its own template setting. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). - **Images in the article**: controls whether new articles get images. It's off in a new project, and each image costs 1 credit. See [Images](https://www.unspar.com/docs/guides/images/). - **Publishing automation**: sets the **Default outlet** and whether finished articles publish on their own. See [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). ![Default article language, Timezone, Status, Form of address and Default length on the Edit project form](https://www.unspar.com/images/docs/projects-edit-settings.webp) Language, timezone and the other defaults sit next to each other on the Edit page. ## Pause or delete a project **Status** can be **Active**, **Paused**, or **Archived**. Only an Active project works normally. When a project is Paused or Archived: - Queued articles wait until the project is Active again. - Its ideas disappear from the Ideas page. - Project Auto pauses, and resumes on its own when the project is Active again. To delete a project, open **More actions** and choose **Delete**. You can't undo this. The project's articles disappear from Unspar along with it, so download any you still need first. Articles already published on your site stay there. If you might need the project again, set it to **Paused** instead. ## For AI agents Set the site context once in the project. Don't repeat it in the --brief of each article. The default template, voice and outlet take ids from unspar templates list, unspar voices list and unspar outlets list. Languages are tags like en-US or de-AT. ```sh unspar projects list unspar projects show unspar projects create --name "My blog (German)" --language de-AT --timezone Europe/Vienna --context-file site-de.md unspar projects update --context-file site.md unspar projects update --address-form formal unspar projects update --target-word-count 0 unspar projects update --default-template template:builtin:general_guide unspar projects update --default-voice voice:builtin:friendly_explainer unspar projects update --default-outlet unspar projects update --internal-links-enabled=false unspar projects update --status paused unspar articles create --project --brief "How to fix a flat bike tyre" --language en-GB ``` --- # Create an article The Create page is where you tell Unspar what to write. You type a topic, and Unspar shows the template and the price before it starts. Web version: https://www.unspar.com/docs/guides/create-an-article/ You start an article on the Create page. Type a topic, and Unspar picks a template and shows the price before anything runs. Once you queue the article, Unspar writes it in the background. If you need many articles at once, the batch page takes a whole list of topics. Every article belongs to a project, which holds the settings for one website. See [Projects](https://www.unspar.com/docs/guides/projects-and-site-context/). If you don't have a topic yet, Unspar can suggest ideas. See [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/). ## Write one article The **Assistant** tab is all you need for a normal article. 1. Open [Create](https://app.unspar.com/articles/create). The **Create article** page opens on the **Assistant** tab. 2. Check **Project**. Unspar picks the project you used last. 3. Type the topic into **Title or topic**. It can be a working headline, a question, or a search keyword. 4. If the topic alone doesn't say enough, add a few lines under **What should Unspar create?**. 5. Look at the **Recommended template** panel below the form. It shows the template Unspar will use. 6. Check the price under **Estimated credits**. 7. Choose **Queue article**. Unspar holds the credits and starts writing. The [article page](https://www.unspar.com/docs/guides/the-article-page/) opens with the message "Article queued for generation." You can close the page and let it run. ![Create page with Project and Title or topic marked](https://www.unspar.com/images/docs/create-1-project-topic.webp) Step 2–3: Check the project and type your topic. ![The What should Unspar create? box filled with two sentences](https://www.unspar.com/images/docs/create-2-what.webp) Step 4: Add the angle or the points the article must cover, if the topic isn't enough. ![Recommended template panel showing General Guide as the project default](https://www.unspar.com/images/docs/create-3-template.webp) Step 5: The Recommended template panel shows the template Unspar will use, with other choices below. ![Estimated credits showing Size: Article · 1 credit and the Queue article (1 credit) button](https://www.unspar.com/images/docs/create-4-price-queue.webp) Step 6–7: Check the price, then queue the article. ## What goes into the brief? **What should Unspar create?** is an optional brief. Use it to set the angle and list the points the article needs to cover. For example: > For people who have never ridden an e-bike. Compare hub motors and > mid-drive motors. Don't describe your usual readers here. That's what the project's site context is for, and Unspar adds it to every article. If you leave **Title or topic** empty, Unspar makes a title from the brief. The **Depth** and **Intended use** menus below the brief are optional too. They help Unspar pick a template, and they don't set a word count. ## Which template does Unspar use? A template is the recipe for one kind of text, like a guide or a comparison. It decides how much research goes in and how the article is built. New projects use General Guide as the default template. The **Recommended template** panel then says **Project default** and shows "General Guide (project default)". To use another template for this one article, choose it under **Other templates**. The project default stays as it is. Without a project default, the panel says **Recommended**, and Unspar picks a template from your topic. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). ## What will the article cost? The **Estimated credits** box shows the size of the article and its price. For a normal article it says "Size: Article · 1 credit". If a setting makes the article bigger, the line explains why. The queue button shows the same number. | Size | Credits | What makes an article this size | | -------- | ------- | -------------------------------------------------------------------------------------- | | Article | 1 | Normal settings | | In-depth | 4 | About 3,000 words or more, deep research, 3 or more source links, or any uploaded file | | Report | 15 | About 7,500 words or more, 8 or more source links, or 4 or more files | | Project | Quote | Very long texts or very large sources | Sources are your own reference material for a single article. Add them in the **Sources** card under the brief by pasting text or adding web links and files. Because sources can raise the price, check **Estimated credits** again after you add them. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). Unspar holds the credits when you queue the article and charges them once it's finished. If generation fails, the text costs nothing. If your balance is too low, the box says "Insufficient credits to queue this article." You can still save a draft. ## Should I turn on Check the facts? **Check the facts** is a checkbox above the price. It checks the finished article's claims against the research and the web, fixes clear errors, and lists claims you should check yourself. It costs 1 extra credit for a normal article, 3 for In-depth, and 6 for a Report. You only pay when the check completes. ## What's under More options? **More options** is a closed section below the brief. You only need it when one article should differ from the project's settings. - **Keep title verbatim**: the title stays exactly as you typed it. - **Additional context**: background for this one article, like product facts. It's added below the project's site context. - **Language**: another language for this article. - **Outlet**: where the article goes when you publish it. It starts with the project's default outlet. - **Publish no earlier than**: the earliest time the article can go live. Leave **Publish no earlier than** empty if you want to read the article first. Once an article has a publish time, you can't ask for changes anymore. You can set the time later, when you publish. The **Manual** tab shows every setting for the article, including **Length guidance**. Changes there apply only to this article. ## Queue now or save a draft? **Save as draft** is the button next to **Queue article**. It saves the article without starting it and holds no credits. The article gets the status **Draft**. You can start it later with **Queue** on its page or in [Articles](https://app.unspar.com/articles). ## Create many articles at once The batch page turns a list of topics into articles, with each line becoming one article. A batch can hold up to 1,000 lines. 1. Open [Many articles at once](https://app.unspar.com/articles/batch-create). You can also get there from the **Batch** tab on the Create page, with **Create new articles**. 2. Pick the **Project** and the **Template**. Check **Language** and **Outlet**. These apply to the whole batch. 3. Under **Rows**, paste your topics, one per line. If they're in a spreadsheet, save it as a CSV file and choose **Upload CSV** instead. 4. Choose **Parse and review**. Unspar shows each line with its price under **Estimate**. It also marks lines that match an article already in the project. 5. Tick **Queue** on each line Unspar should start now. The **Queue** box above the table ticks all lines at once. Lines without a tick are saved as drafts. 6. Choose **Save & queue selected**. To start nothing yet, choose **Save drafts**. Unspar then opens [Articles](https://app.unspar.com/articles), where you can follow the new articles like any other. A line can hold more than the topic. Separate the parts with a vertical bar, in this order: title, brief, context, publish date. ```text Chain care in winter Tubeless or inner tubes | Compare both for city bikes | Our shop sells both | 2026-12-01 09:00 ``` A CSV file needs a header row. It can use these columns: ```text title_or_topic,article_brief,additional_context,language,keep_title_verbatim,scheduled_at ``` Each article costs the same as when you create it on its own. If the selected lines cost more than your balance, **Save & queue selected** stays gray. Untick some lines, or save them all as drafts. A batch can't add sources, set a voice, or turn on the fact-check. A publish date in a line works like **Publish no earlier than**, so you can't ask for changes on that article. To translate many articles at once, see [Translations](https://www.unspar.com/docs/guides/translations/). ![Batch review table with five topics, the Estimate and Queue columns, and Save & queue selected](https://www.unspar.com/images/docs/create-batch-review.webp) Each line shows its size under Estimate. Tick Queue for the lines Unspar should start now. ## For AI agents An agent sends the topic in --brief and lets the project and its template set the rest. The estimate doesn't create an article and doesn't hold credits. create starts the article and asks for confirmation first. With --force, it doesn't ask. With --no-queue, create saves a draft, and queue starts it later. There is no batch command, so to create many articles an agent runs create once per topic. ```sh unspar projects list unspar templates recommend --topic "How to choose an e-bike for a hilly commute" --project unspar api post /articles/estimate --field project= --field "brief=How to choose an e-bike for a hilly commute" unspar articles create --project --brief "How to choose an e-bike for a hilly commute" --no-queue unspar articles queue unspar articles status --wait ``` --- # Templates A template is the setup for one kind of text, like a guide or a buyer's guide. It decides how Unspar researches the topic and how the article is built. Web version: https://www.unspar.com/docs/guides/choosing-a-template/ Every article in Unspar is written with a template. A template is a saved setup for one kind of text, like a guide or a short social post. It controls how much Unspar researches, whether it links to its sources, and how the article is structured. You don't have to pick a template for every article. Each project has a default template, and new projects start with General Guide. You only need to pick another one when an article calls for a different kind of text. How the text sounds is a separate choice, called a [voice](https://www.unspar.com/docs/guides/voices/). ## Which templates are there? Unspar has 17 built-in templates for new articles. | Template | What it writes | | ------------------------------------------------ | ---------------------------------------------------------------------------------------- | | General Guide | A plain, helpful guide on most topics. The default for new projects. | | SEO Blog (classic) | Explainers that follow the reader's questions, with links to sources. | | Technical Explainer | Technical topics for readers who know technology but are new to the subject. | | Practical Explainer | Practical explanations for beginners, based on deep research. | | Research Explainer | Well-documented research, explained in plain words. | | Buyer's Guide | Options and their tradeoffs before a purchase, without hands-on reviews or live prices. | | Local Area Guide | A neighborhood overview for people thinking about moving there. | | Travel Guide | Destination guides and itineraries for a first visit. | | Newsletter Note | One short note for a newsletter, up to 1,500 characters. | | Short Social Post, Social Post, Long Social Post | One social media post on a topic, up to 280, 1,500, or 2,500 characters. | | Expert Reply | An answer to a journalist's request. See [Expert replies](https://www.unspar.com/docs/guides/expert-replies/). | | SaaS Playbook | Practical guidance for software businesses. Experimental. | | Op-Ed | An opinion piece with a strong editorial voice. Experimental. | | White Paper | A formal piece with a lot of evidence. Experimental. | | Comparison | A head-to-head of options. Experimental. | Experimental means the template hasn't passed our review yet, so read those articles more carefully before you publish them. Choosing a template is free. Credits are how you pay in Unspar. A normal article costs 1 credit with most templates, while Practical Explainer and White Paper cost 4 because they use deep research, which is a longer research run. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). Unspar also has its own templates for [refreshing](https://www.unspar.com/docs/guides/refresh/) and [translating](https://www.unspar.com/docs/guides/translations/) an article you already have. ## Which template does a new article use? The Create page shows which template an article will use before you queue it. You can keep it or pick another one for that article. 1. Open [Create](https://app.unspar.com/articles/create). 2. On the **Assistant** tab, type your topic under **What should Unspar create?** 3. Look at the **Recommended template** panel below the form. Its box says **Project default** and shows the project's template with "(project default)" after the name. 4. To use another template for this article, click it under **Other templates**. Unspar matches your topic against what each template is built for, at no cost, and puts the best fit first under **Other templates**. Picking one there applies to this article only. ![Recommended template panel on the Create page with General Guide as the project default and three other templates below](https://www.unspar.com/images/docs/create-3-template.webp) The Recommended template panel shows the template this article will use. Other templates lists a few alternatives. **Other templates** doesn't include the experimental templates, Research Explainer, Travel Guide, Newsletter Note, or the social posts. To use one of those, open the **Manual** tab and pick it in the **Template** field of the **Basics** group, which lists all templates. Its first option, **Project defaults**, goes back to the project's template. ![Template field on the Manual tab of the Create page, set to Project defaults](https://www.unspar.com/images/docs/templates-manual-field.webp) The Template field on the Manual tab lists every template. ## Set the project's default template Every new article in the project uses the default template unless you pick another one. Choose the template that fits most of what your site publishes. 1. Open the project from [Projects](https://app.unspar.com/projects). 2. Open **More actions** (⋮) and choose **Edit**. 3. Under **Default article setup**, pick a template. 4. Choose **Save**. Articles that have already started keep their template. [Project Auto](https://www.unspar.com/docs/guides/project-auto-and-ideas/), which writes articles by itself, has its own **Template** setting that doesn't follow the project's default. ![Default article setup field on the Edit project form, set to General Guide](https://www.unspar.com/images/docs/templates-project-default.webp) The project's default template is set under Default article setup. ## Make your own template Most sites never need their own template. For longer articles, change **Default length** in the project. For a different tone, pick a [voice](https://www.unspar.com/docs/guides/voices/). Making your own template makes sense when one setting in a built-in template is wrong for all your articles. For example, General Guide shows no sources, and you might want a list of sources at the end. You can't edit a built-in template, so you copy it and change the copy. The web app has no screen for this. Instead, use the [unspar CLI](https://www.unspar.com/docs/cli/), the [REST API](https://www.unspar.com/docs/api/templates/), or an AI tool connected through the [MCP server](https://www.unspar.com/docs/mcp/). Your API key needs the **Template management** permission, which keys with **Full access** already have. See [API keys and connections](https://www.unspar.com/docs/agents/access/). Copies are free. 1. Copy the built-in template closest to what you want. The command prints the ID of the copy. ```sh unspar templates duplicate template:builtin:general_guide --name "Guide with sources" ``` 2. Read the copy and note its `revision` number. ```sh unspar templates show --json ``` 3. Write your change into a file such as `change.json`, with the revision and a one-line reason. This example adds a list of sources at the end. ```json { "revision": 2, "reason": "Readers want to check the sources, so list them at the end", "configuration": { "citation_mode": "footer" } } ``` 4. Send the change. ```sh unspar templates update --body-file change.json ``` You only need to send the settings you want to change; everything else stays as it was. Once updated, your team will see the copy by name in the **Template** field on the **Manual** tab and under **Default article setup** in the project. ## For AI agents Send the topic as the brief and leave the template out. The article then uses the project's default template. Use --content-template only when an article needs a clearly different kind of text. Don't write a template from scratch. To change a template, duplicate the closest built-in, then send only the fields you change, with the current revision and a one-line reason. templates compare shows what the copy changed. Working with templates costs no credits. ```sh unspar projects show unspar templates recommend --topic "How to choose a password manager" --project unspar templates list unspar templates show template:builtin:general_guide unspar articles create --project --brief "How to choose a password manager" unspar articles create --project --brief "How end-to-end encryption works" --content-template template:builtin:technical_explainer unspar projects update --default-template template:builtin:general_guide unspar templates duplicate template:builtin:general_guide --name "Guide with sources" unspar templates show --json unspar templates update --body-file change.json unspar templates compare unspar projects update --default-template unspar templates archive --revision unspar templates unarchive --revision ``` --- # Voices A voice sets how an article sounds, for example how formal it is and how long the sentences are. Unspar has 14 built-in voices, and you can make your own from your writing. Web version: https://www.unspar.com/docs/guides/voices/ A voice is a short writing profile that Unspar follows when it writes. It controls how direct and formal the text is, how long the sentences run, and how the headings sound. It also sets whether the writer uses "I". You don't have to use a voice. Without one, an article follows the style of its [template](https://www.unspar.com/docs/guides/choosing-a-template/). The template decides what kind of text you get, like a guide, while the voice decides how it sounds. A voice is useful when your site already has a recognizable style, or when a single article needs a different tone. ## Pick a built-in voice Unspar includes 14 built-in voices. Open [Voices](https://app.unspar.com/voices) and look under **Built-in voices**. Select **View** to read a sample in that voice, or **Use in create** to open the [Create page](https://www.unspar.com/docs/guides/create-an-article/) with that voice already selected. | Voice | How it sounds | Made for | | ------------------------------ | ------------------------------------------------------------ | ------------ | | Friendly Explainer | Plain help for beginners that talks to the reader. | Any language | | Science Professor | A lecture that defines each term. | Any language | | Technical Documentation Writer | Documentation with numbered steps and warnings. | Any language | | Serious Newspaper Reporter | A news report without advice. | Any language | | Investigative Journalist | Evidence first, with what is documented and what is unclear. | Any language | | Opinionated Blogger | Takes a side, in the first person. | Any language | | Startup Founder | A memo with the decision first. | Any language | | LinkedIn Thought Leader | A short personal essay with one-sentence paragraphs. | Any language | | Sachlicher Ratgeber | Sober practical advice with a concrete next step. | German | | Feuilleton | Reflective commentary on culture. | German | | Freundlicher Du-Blog | Friendly everyday help with the informal "du". | German | | Service Magazine | Advice with a quick verdict. | English | | Narrative Feature | A story that starts with a concrete detail. | English | | Concise Business Briefing | A compact brief for a decision. | English | A voice made for German or English also works in other languages. You can't edit a built-in voice, but **Duplicate** gives you a copy you can change. ![Voices page with the Built-in voices list and the View, Use in create and Duplicate links on the first voice](https://www.unspar.com/images/docs/voices-page.webp) The built-in voices, each with a description and a shortcut to the Create page. ## Make a voice from your website The **Your site voice** card on your project page builds a voice from articles already on the project's website. Those articles need at least 2,000 words combined. 1. Open the project from [Projects](https://app.unspar.com/projects). 2. On the **Your site voice** card, choose **Find site articles (free)**. Unspar reads up to 8 articles and shows how many words it found. 3. Choose **Create your site voice (free)**. You can leave the page while it runs. 4. Read the sample under **Preview on fictional example facts**. 5. Choose **Use as project default**. The voice becomes active, and the card says "This voice is your project default." The first voice your team makes from a project website is free. Each one after that costs 5 credits, which is the currency you pay with in Unspar. Make sure to create the voice within 60 minutes of finding the articles, or you'll need to find them again. ## Make a voice from writing samples Use this option for texts that aren't on the project's website. You need at least 300 words, though about 2,000 words give a more reliable result. Only use texts you have permission to use. 1. Open [Voices](https://app.unspar.com/voices) and choose **New voice**. 2. Under **URLs or domains**, enter the addresses of your texts, one per line. 3. Choose **Find writing samples**. The articles appear under **Discovered sources**. 4. Choose **Remove source** next to any article that doesn't sound like you, for example a guest post. 5. Paste texts that aren't online into **Pasted writing samples**. 6. Check the **Name** and **Description** under **Suggested identity**. 7. Choose **Create voice (5 credits)**. When Unspar is done, the new voice opens as a draft. 8. Read the **Prompt-ready brief**, which is the instruction Unspar writes with. Fix anything wrong and choose **Save**. 9. Choose **Activate**. Only active voices can be used in articles. Unspar only charges the 5 credits if the voice is created. It won't create voices that imitate a known writer or publication. ![Create voice form with pasted writing samples and the word count](https://www.unspar.com/images/docs/voices-1-samples.webp) Step 5: Paste texts that aren't online. The counter shows how many words Unspar has. ![Suggested identity with the Name field and the Create voice (5 credits) button](https://www.unspar.com/images/docs/voices-2-create.webp) Step 6–7: Check the name, then create the voice for 5 credits. ## Write a voice by hand On the **Manual** tab of **New voice**, you can fill in the voice yourself. Give it a **Name** and choose the settings under **Voice profile**, like **Directness** and **Formality**. The **Prompt-ready brief** and **Preservation brief** are required. Creating a voice this way is free. It saves as a draft, so choose **Activate** when it's ready. ## Use a voice for a project or one article A project voice applies to every new article in that project. 1. Open the project from [Projects](https://app.unspar.com/projects). 2. Open **More actions** (⋮) and choose **Edit**. 3. Pick the voice under **Writing voice**. 4. Choose **Save**. To remove the project voice, pick **No project voice (use the template's voice)**. To set a voice for a single article, open the **Manual** tab on the [Create page](https://app.unspar.com/articles/create) and pick a voice under **Writing voice** in the **Structure** group. The **Assistant** tab only shows the voice in the **Recommended template** panel. Using a voice costs nothing extra. ![Writing voice field on the Edit project form](https://www.unspar.com/images/docs/voices-project-voice.webp) The project voice is set under Writing voice. ## How do the template and the voice work together? The template sets the research, the structure, and the sections the article needs. The voice replaces the template's general style rules. It shapes headings and paragraphs, without changing facts, required sections, citations, or links. Any instructions you write for a single article still take priority over the voice. The tested built-in templates have no voice of their own, so an article has no voice unless you choose one. When more than one voice applies, the article's own choice wins, followed by a voice saved in the template, and then the project's voice. Once an article starts, it keeps that version of the voice. ## Change or archive a voice Your own voices live under **Team voices** on the [Voices](https://app.unspar.com/voices) page. After you edit and save one, new articles use the updated version. **Archive** removes a voice from the lists. You can't reactivate it, and you can't delete voices. A project that still points to an archived voice will write without one, so pick a new voice first. Only Owners, Administrators, and Managers can create voices. See [Teams](https://www.unspar.com/docs/guides/teams/). ## For AI agents Agents can list the voices and set a project's default voice. For one article, they pick a voice with --voice. Without --voice, the article uses the template's or the project's voice. Making a voice from writing samples costs 5 credits and works in the web app and through the API. ```sh unspar voices list unspar voices show voice:builtin:friendly_explainer unspar projects update --default-voice voice:builtin:friendly_explainer unspar projects update --default-voice "" unspar articles create --project --brief "How to choose a password manager" --voice voice:builtin:friendly_explainer unspar api get /voices/manage --query status=draft unspar api post /voices//activate ``` --- # Research, sources and citations Before Unspar writes an article, it looks up the topic. You can add your own sources, choose whether the article links to them, and have Unspar check the facts of the finished article. Web version: https://www.unspar.com/docs/guides/research-sources-and-citations/ Before Unspar writes an article, it gathers material on the topic. This step is called research. How much research runs depends on the [template](https://www.unspar.com/docs/guides/choosing-a-template/) (the setup for one kind of text), and you can adjust it for a single article. You can also give Unspar your own material and choose whether readers see links to those sources. If you want an extra layer of review, an optional fact-check goes over the finished article once more. ## How does Unspar research a topic? Each template comes with one kind of research. General Guide, the default for new projects, uses Light research. Credits are how you pay in Unspar, and the prices below are for a standard article. | Research | What Unspar does | Credits | | -------------------- | ------------------------------------------------------------------------ | -------------------------------- | | AI knowledge only | It doesn't search the web and writes from what the model knows. | 1 | | Basic web search | One web search. It uses the list of results without opening the pages. | 1 | | Light research | Up to five web searches. It reads the pages it finds. | 1 | | Custom source search | Up to eight searches, reading up to twelve pages. Only templates use it. | 1 | | Deep research | A stronger model with up to ten searches. It takes longer. | 4, or 15 for 3,000 words or more | Unspar searches in the article's language and prefers sources from that country. The readers and region in your project's [site context](https://www.unspar.com/docs/guides/projects-and-site-context/) also guide the search. ## Change the research for one article Change the research when an article needs more depth or newer sources than its template provides. 1. Open [Create](https://app.unspar.com/articles/create) and switch to the **Manual** tab. 2. In the **Research** group, tick what the article should use under **Research strategies**. **Light research** and **Deep research** can't be combined, so ticking one unticks the other. 3. If you want, open **Research filters**. Under **Source types**, you can pick something like **Official docs & institutions**. Under **Recency**, you can pick something like **Past year**. 4. Check the price under **Estimated credits**. The change applies to this article only. The template stays as it is. ![Research strategies on the Manual tab: AI knowledge only, Basic web search, Light research and Deep research, with the research filters below](https://www.unspar.com/images/docs/research-strategies.webp) The research strategies and filters for one article, on the Manual tab. ## Add your own sources Sources are material you give Unspar for one article, like a page you trust or a document that isn't online. You add them in the **Sources** card on the Create page, either under the brief on the **Assistant** tab or in the **Research** group of the **Manual** tab. - **A web page:** paste one or more addresses under **Source links** and choose **Add links**. - **A file:** choose **Upload** and pick the file. - **Text:** choose **Paste text**, give it a **Label**, paste the **Content** and choose **Add text**. You can queue the article once every source shows **Ready**. If a source shows **Could not process**, take it out with **Remove**. A web page starts as **Can cite**, which means the article may link to it. Uploads and pasted text are always **Internal only**, so Unspar reads them without ever linking to them. To keep a web page internal, choose the eye icon next to it. Tick **Also search the web** to add a quick web search alongside your sources. The template's own research runs either way. An article can have up to 20 sources. Files can be PDF, DOCX, TXT, Markdown, HTML or CSV, up to 20 MB each. Each source needs between 120 and 20,000 words. Scanned PDFs don't work because their pages are pictures without text. Sources raise the price. With 3 or more links, or any uploaded file, the article costs at least 4 credits. With 8 or more links, or 4 or more files, it costs 15. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). If Unspar can't read a link, the article stops. Check that the page opens without a login, then choose **Edit** in the article's ⋯ menu, fix the source and queue it again. ![Sources card with one link from en.wikipedia.org marked Ready and Can cite](https://www.unspar.com/images/docs/research-sources-card.webp) A link is ready and may be cited. Uploads and pasted text stay internal. ## How do sources show up in the article? A citation is a link from a sentence to the page that backs it up. The template sets how citations look. For a single article, change **Citation mode** in the **Structure** group of the **Manual** tab. | Citation mode | What readers see | | -------------- | ------------------------------------------------------------------- | | No citations | No links to sources. General Guide uses this. | | Inline links | A few words in the sentence link to the source. | | Reference list | Small numbers after the claims and a References section at the end. | Unspar only links a source when it backs up the claim in that sentence. Citations don't cost anything extra. Every article also gets a basic check while it's written. If the research doesn't back a number, Unspar fixes it or removes the sentence. Links to pages outside the research are removed. ## Check the facts The fact-check is an extra step for new articles. After the article is finished, Unspar checks the claims it can verify, like prices, dates or rules, against its research and the web. It corrects a clear mistake when it finds the right value at the original source, and lists doubtful claims for you. 1. On the [Create page](https://app.unspar.com/articles/create), tick **Check the facts**. On the **Assistant** tab, it's above **Estimated credits**. On the **Manual** tab, it's in the **Fact-check** group. 2. Queue the article as usual. **Estimated credits** shows the extra credits for the check. They depend on the article's size. | Size of the article | Article | Fact-check | | --------------------- | ------- | ---------- | | Short text or Article | 1 | +1 | | In-depth | 4 | +3 | | Report | 15 | +6 | You only pay for the check if it completes. You can't add it to an article that's already finished, and refreshes and translations don't support it. ## Read the fact-check report When the article is finished, the **Fact-check** card appears below the text. Its first line is the status, and only **Check completed** is charged. A summary counts the claims checked and confirmed. - **Corrections made** shows the old and the new text, along with the website the correction came from. - **Check these** lists doubtful claims it didn't change. Look at the source it shows and decide what to do. - **Corrections not applied** lists changes it suggested but didn't make, each with a reason. To have Unspar fix the claims under **Check these**, choose **Ask for a fix**. **Request changes** opens with those claims filled in. [The article page](https://www.unspar.com/docs/guides/the-article-page/) explains what a round of changes costs. ## For AI agents The template sets the research, so an agent normally doesn't change it. The estimate shows the price. Your own sources can only be added in the web app. If an article fails, read why before you retry, because a retry doesn't fix a source that can't be read. For the fact-check, add --fact-check to create. To price it first, send the estimate a JSON body, so that fact_check arrives as true and not as text. unspar articles show prints the report when the article is finished. A round of changes doesn't see the report, so copy the claims from check_these into the feedback, with what the check found. ```sh unspar templates show template:builtin:general_guide --jq .configuration unspar api post /articles/estimate --field project= --field "brief=What freelancers can deduct for a home office" unspar articles create --project --brief "What freelancers can deduct for a home office" --wait unspar articles show unspar articles content --output article.md unspar api post /articles/estimate --body '{"project":"","brief":"Business license fees for freelancers","fact_check":true}' unspar articles create --project --brief "Business license fees for freelancers" --fact-check --wait unspar articles show --jq .fact_check.check_these unspar articles revise --feedback-file fixes.txt ``` --- # Images Unspar can add a featured image to an article and images between its sections. Images are off until you turn them on, and each image you receive costs 1 credit. Web version: https://www.unspar.com/docs/guides/images/ Unspar can illustrate the articles it writes. It creates the images once the text is finished, checks each one, and sends them along when you publish. You choose the style, and you can give a whole project one look with its own colors. There are two kinds of images. The **featured image** is one picture for the top of the post. **Images in the article** are pictures between the sections, all in one style, placed where Unspar finds they fit. Unspar can also draw free charts from numbers in the research. You turn them on with **Data visualization prompts** under **Structural components** on the Create page's **Manual** tab. ## Turn images on for a project Turning on images at the project level adds pictures between sections to every new article in that project, including articles from [ideas and Project Auto](https://www.unspar.com/docs/guides/project-auto-and-ideas/). 1. Open the project from [Projects](https://app.unspar.com/projects). 2. Open **More actions** (⋮) and choose **Edit**. 3. Turn on **Images in the article**. 4. Under **Up to**, set the most images an article should get. The default is 3. 5. Pick a style under **Image preset**. 6. Choose **Save**. Articles that have already started keep their existing settings. There is no project-level setting for the featured image, so you turn it on for each article individually. ![Images in the article switched on in the project settings, with Plan the count, Up to 3 and Image preset](https://www.unspar.com/images/docs/images-project-setting.webp) Images for all new articles in the project. ## Turn images on for one article Use the Create page when you want images on a single article, or when you want different image settings than the project default. 1. Open [Create](https://app.unspar.com/articles/create) and switch to the **Manual** tab. 2. In the **Structure** group, turn on **Images in the article**. 3. Under **Plan the count**, keep **Automatic, up to the maximum**. Unspar then places as many images as fit, up to the number under **Up to**. 4. Pick a style under **Image preset**. 5. For a picture at the top of the post, turn on **Featured image** and pick its **Image preset**. The cost box below the form now shows an **Image credit hold** line. Turn on the featured image before you queue the article. You can't add one later. Under **Approval and quality checks**, two boxes are checked by default: **Required before publishing** and **Review the image series together**. That means the article can't go live until its images are ready and approved. Uncheck them if the article can go out without its images. ## Pick a style and your project's look The **Image preset** sets the style of the pictures. For images in the article, choose one of these: **Editorial photo**, **Clean editorial illustration**, **Monochrome graphic**, **Simple cartoon illustration**, **Magazine collage**, or **Diagram or infographic**. Diagrams wait for your approval before they are used. A preset alone can still produce slightly different colors and details from one article to the next. Setting a visual identity for the project fixes that. It gives all new photos or illustrations in the project one consistent look using your colors. 1. Open the project from [Projects](https://app.unspar.com/projects). 2. On the **Visual identity** card, choose **Set up**. 3. Under **Choose a new look**, pick a **Style**. 4. If you have brand colors, tick **Use these colors** and set the five colors. 5. If you want, describe the look under **Notes (optional)**, for example "Soft daylight, muted colors". 6. Choose **Show 3 options**. The options take about a minute. 7. Under **Pick an option**, click the one you like. 8. Choose **Use this look**. The page says "Your look is saved." New images follow that look from then on, while existing images stay as they are. Generating options is free, up to 5 rounds per project and 15 per team each day. ![Visual identity card on the project page with the Set up button](https://www.unspar.com/images/docs/images-1-visual-identity-card.webp) Step 2: Start on the project page. ![Choose a new look with Style, Use these colors, Notes and Show 3 options](https://www.unspar.com/images/docs/images-2-visual-identity-page.webp) Step 3–6: Pick a style, your colors and a note, then show three options. This is free. ## What do images cost? Each image you receive costs 1 credit, whether it's the featured image or one in the article. Extra tries after a failed check cost nothing. Charts are free. Before the article starts, Unspar holds 1 credit for each image it plans to make. With **Automatic, up to the maximum**, it holds the maximum amount, which is why the button reads **Queue article (up to N credits)**. Once the article is finished, you only pay for the images you receive, and any unused credits go back to your balance. If an article has more than 3 images, or uses more than 30 image credits, the Create page asks you to check **Confirm up to N additional media credits.** before queuing the article. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## Check and regenerate images Unspar checks every image before you see it, looking for things like broken details or stray text. If an image fails, it gets up to two more tries. If none of them pass, Unspar keeps the best one and marks it **Needs review**. On the [finished article](https://www.unspar.com/docs/guides/the-article-page/), you'll find the images in the **Featured image** and **Inline media** panels. - **Approve** accepts an image that's waiting for your review. - **Remove** takes it out of the article. - **Regenerate** makes a new image for 1 credit. - **Correct and hold publication** lets you describe what should change in an image. **Regenerate this image** then makes it again for 1 credit. Publishing waits until you choose **Release correction**. - **Edit details** changes the alt text and the caption. Alt text is the short description screen readers read aloud. For the featured image, **Regenerate** doesn't include a field to describe what should change. If a required image is holding up publishing and you'd rather publish without it, choose **Remove** on that image. ## Where do the images go when you publish? An outlet is a site or channel you've connected to Unspar. Not every outlet supports images. | Outlet | What it gets | | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | | [WordPress](https://www.unspar.com/docs/guides/wordpress/) | The images are uploaded to your media library, with alt text and captions. The featured image becomes the post's featured image. | | Email | The featured image at the top and the images in the text. | | [GitHub](https://www.unspar.com/docs/guides/github/) and [webhooks](https://www.unspar.com/docs/guides/webhooks/) | Links to the images, which stay on Unspar's server. | | Ghost | No images. | An image marked **Required before publishing** will block publishing to an outlet that can't accept it, like Ghost. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). ## For AI agents An article created through the CLI or the API gets images when the project's image settings or the template turn them on. The estimate shows the credits for the images. Agents can set the project's visual identity and export an article with its approved images. Approving and correcting images only works in the web app. ```sh unspar api get /image-presets unspar projects visual-identity generate --style image_preset:builtin:editorial_photo --notes "Soft daylight, muted colors" --wait unspar projects visual-identity approve --round --candidate 2 unspar projects visual-identity show unspar api post /articles/estimate --field project= --field "brief=How to choose a password manager" unspar articles show --json unspar articles content --with-images --output article.md ``` --- # The article page Each article in Unspar has its own page. While Unspar writes, it shows the progress. When the article is finished, you read it there and decide what happens next. Web version: https://www.unspar.com/docs/guides/the-article-page/ Every article in Unspar has its own page. It opens automatically when you queue an article, and you can always find it again under [Articles](https://app.unspar.com/articles). While Unspar writes, the page tracks its progress. Once the article is finished, you can read it there and decide what to do next. An article always belongs to a project, which is one website in Unspar with its own settings. [Create an article](https://www.unspar.com/docs/guides/create-an-article/) explains how to start one. ## Follow an article while Unspar writes When you queue an article, Unspar holds its price in credits, which is how you pay in Unspar. Held means the credits are set aside, but not spent yet. The page first shows "Waiting to start", then switches to "Writing your article" with a percentage and a progress bar. It updates automatically, and you can close the tab while Unspar keeps writing. If an article waits more than 15 minutes, the page shows **Contact support**. Unspar emails you when your first article finishes, though not for later ones. For those, check the article page or the [Articles](https://app.unspar.com/articles) list. ## What do the statuses mean? You'll see the status at the top of the article and in the Articles list. | Status | What it means | Credits | | ----------------------------------- | ---------------------------------------------------------------------------------- | ---------------------- | | **Draft** | Saved, not started. | None held | | **Queued for generation** | Waiting for its turn. | Held | | **Generating** | Unspar is writing. | Held | | **Completed** | Finished. | Charged | | **Failed** | Stopped before the end. The page says why. | The text isn't charged | | **Cancelled** | Someone stopped it. | Back in your balance | | **Billing reconciliation required** | Finished, but the credits aren't settled yet. Unspar tries again every 10 minutes. | Being settled | To stop an article that is queued or generating, open the **⋯** menu and choose **Cancel**, then **Cancel article**. A cancelled article can't be queued again, though **Start again** opens the Create page with the same topic and settings. ## What if an article fails? A failed article shows **Why this article stopped** at the top, along with a one-sentence explanation. In most cases, you can choose **Retry**. Unspar picks up from the last saved step, so you don't pay twice for work that's already done. | The page says | What to do | | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | | The article could not start or finish because your credit balance is too low. | [Buy credits](https://app.unspar.com/credits/purchase), then choose **Retry**. | | A source you added could not be read. | Choose **Edit** in the **⋯** menu and fix the link or the file. Then queue the article again. | | This article reached its cost limit and was stopped. | **Retry** won't work. Choose **Use these settings for a new article** in the **⋯** menu, and write a shorter brief or pick lighter research. | If you [contact support](https://app.unspar.com/support), include the last line ("Failure code: …"). [Troubleshooting](https://www.unspar.com/docs/guides/troubleshooting/) covers other problems. ## Read the finished article Once an article is **Completed**, its text appears in two tabs. **Preview** shows the formatted article as a reader would see it on a website. **Markdown** shows the same text in Markdown, a plain-text format that uses marks like `##` for headings and is accepted by many sites. You can't edit the text directly in either tab. To update it, ask for changes instead. The gear icon, **Open generation setup**, lets you check the brief and settings used to write the article. ## Ask for changes When an article is close but needs a tweak, tell Unspar in plain words what to change. It updates that part and leaves the rest alone. One request and its result count as one round. 1. Open the finished article. 2. Choose **Request changes** at the top. On a phone, it's in the **Not quite right?** card below the text. 3. Under **What should change?**, write what should change and where. For example: "Shorten the introduction to two sentences. Use euros instead of dollars in the price examples." 4. Check the price line below the box. It says "The first round of changes is free." or "This round costs 1 credit." 5. Choose **Revise article**. The page says "Applying your changes". This usually takes a minute or two, and the bell lets you know when it's done. If a round fails, the article stays as it was. Be specific about what should change, since a vague request like "make it better" can fail. Unspar doesn't run new research during a revision. If the article needs new facts, [refresh it](https://www.unspar.com/docs/guides/refresh/). | Round | What it costs | | -------------------------- | ------------------------------ | | The first round that works | Free | | Each further round | 1 credit | | A round that fails | Free, but it counts as a round | An article can have up to 10 rounds. Once an article is approved for publishing or published, you can no longer request changes. Setting a **Publish no earlier than** time counts as approval, so leave it empty if you plan to make changes first. If your project publishes automatically, an article can go live before you review it. See [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). ## Go back to an earlier version Unspar saves the text from before each round. Below the article, **Changes and earlier versions** lists every round along with **Your request** and **What changed**. **Not changed** notes anything Unspar couldn't do. 1. Find the round whose earlier text you want back. 2. Choose **Go back to the version before this**. 3. Confirm with **Go back**. The earlier version is restored right away at no cost. The version you replaced stays in the list, so you can always switch back. ## Make a short post from an article Unspar can turn a finished article into a short post for a newsletter or social media. It draws only from the article's text, with no new research or images. | Format | Length | | ---------------------- | ---------------------- | | **Newsletter note** | Up to 1,500 characters | | **LinkedIn post** | Up to 1,500 characters | | **Long LinkedIn post** | Up to 2,500 characters | | **X post** | Up to 280 characters | 1. Open the finished article. 2. Below the text, find **Create from this article**. 3. Pick a format. Its price is shown next to it, normally 1 credit. 4. Choose **Create and start**. The post becomes its own article, and its page opens right away. You can find it later under **Created from this article** on the original article, or in [Articles](https://app.unspar.com/articles). Unspar doesn't post to LinkedIn or X for you. Choose **Copy post and parent link** on the post's page and paste it in yourself. If Unspar published the original article, its link is added below the post. ## Download the article Choose **Download** at the top to save the article as **Markdown (.md)**, **HTML (.html)**, **Plain text (.txt)** or **PDF (.pdf)**. There's no Word file option; for Word or Google Docs, copy the text from the **Preview** tab. ## Publish or delete the article To publish the article to your site, choose **Publish** at the top or in the **Publishing and source** card. A window opens where you pick the **Outlet** (a site you connected to Unspar, such as WordPress) and the **Publish timing**. [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/) explains the rest. To delete an article, choose **Delete** in the **⋯** menu. This can't be undone, though any post already live on your site stays there. ## For AI agents The CLI and the API have their own status names: draft, queued, processing, completed, failed, cancelled and action_required. status --wait exits with 1 for the last three. action_required means Unspar is still settling the credits. If an article failed, read why before you retry. retry only works for failed articles, and cancel only for queued or running ones. Before a round of changes, check can_request and price_credits. One round runs at a time, and after the first round that worked, each round costs 1 credit. revise and derive ask for confirmation unless you add --force. derive makes one short post per call, costs credits and returns the ID of the new post, the below. The post text has no link. If the article is published, the answer has its address in parent_published_url, which you add below the post. ```sh unspar articles list --project --status failed unspar articles status --wait unspar articles show unspar articles content --with-images --output article.md unspar articles retry unspar articles cancel unspar articles revisions unspar articles revise --feedback "Shorten the introduction to two sentences. Use euros instead of dollars." --wait unspar articles revisions --json unspar articles restore-revision unspar articles derive --format newsletter_note unspar articles derive --format linkedin_post unspar articles status --wait unspar articles content ``` --- # Refresh an article A refresh takes an article you already have and writes an updated version of it. The refresh template you pick decides how much Unspar changes. Web version: https://www.unspar.com/docs/guides/refresh/ A refresh takes an article you already have and writes an updated version of it. It's for older posts that still bring in readers but have aged. The old article doesn't have to be from Unspar. You can use any public web page or paste the text. You start a refresh on the Create page, like a new article. Instead of a topic, you give Unspar the old text and pick a refresh template. A template is a preset that controls what kind of text Unspar writes. For a refresh, it controls how much Unspar can change. ## Which refresh template fits? | Template | Use it when | What Unspar does | Credits | | ------------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------- | ------- | | **Fact-check and update** | The article is good, but some facts are out of date. | Corrects outdated or wrong claims while keeping the structure and length. | 4 | | **Quality refresh** | The facts are fine, but the text is hard to read. | Makes the writing clearer. It may move paragraphs and change headings. | 1 | | **Expand and modernize** | The article is thin or old. | Adds newer facts from the past year and explains things in more depth. | 1 | | **Heavy rewrite** | Only the topic and the facts are worth keeping. | Rebuilds the article from the old facts and its own research. | 1 | These credit costs apply to an old article under 3,500 words. **Fact-check and update** costs more because it runs deep research on the past year before it writes. That search goes further than the lighter research the other three use. Choose it when the facts matter most, like rules or prices. All four templates are marked Experimental in the app. That means they haven't passed the same review as the templates for new articles. Compare the new version with the old one before you publish it. ## Refresh an article 1. Open [Create](https://app.unspar.com/articles/create) and switch to the **Manual** tab. 2. Under **Basics**, check that **Project** shows the right website. 3. Set **Creation mode** to **Refresh existing content**. 4. Under **Template**, pick one of the four refresh templates. 5. Under **Source article**, choose **URL** and enter the address of the old article. 6. Choose **Extract source**. Unspar loads the page and pulls the article text from it. You'll then see the source with its title and word count. 7. If you know what should change, write it in **Article brief**. For example: "Check all amounts against this year's rules. Keep the example calculation at the end." 8. Check the price under **Estimated credits**. 9. Choose **Queue article**. Unspar opens the new article's page and starts writing. [The article page](https://www.unspar.com/docs/guides/the-article-page/) explains what you see there. ![Manual tab with Creation mode Refresh existing content, Template Fact-check and update, the loaded source article, and the estimate Size: In-depth · 4 credits](https://www.unspar.com/images/docs/refresh-form-full.webp) A refresh on the Manual tab. Fact-check and update uses deep research, so it costs at least 4 credits. If Unspar can't load the page, or the page requires a login, open it in your browser and copy the article text. Then choose **Paste** under **Source article**, fill in **Source title** and **Source content**, and choose **Use source**. **URL** reads web pages only. For a PDF or a Word file, paste the text. If a menu or footer got pulled in with the page, choose **Edit** on the source and remove it. The old article must be at least 120 words or 800 characters, and no more than 20,000 words. Unspar works from a copy, so later edits to the live page won't affect the refresh. To refresh an article that's already in Unspar, open it, copy the text from its **Markdown** tab, and paste it as the source. You can't pick it from a list. Use the **Manual** tab for refreshes. The **Assistant** tab has no template list, so you don't get the deep research of **Fact-check and update** there. ## What do you get back? A refresh creates a new article in Unspar. The old article stays as it is, both in Unspar and on your site. When you publish it through an outlet, a site you connected to Unspar, it becomes a new post with its own address. On WordPress, Unspar can put the new version into the old post instead (see the last section). A refreshed article doesn't get: - new images - links to the sources of its research - links to your other articles - the optional fact-check for new articles. **Fact-check and update** does that job. Read the new version before you publish it. If a part is off, choose **Request changes** on the article page. The first round of changes is free. ## What does a refresh cost? A refresh costs at least 1 credit. Unspar holds the credits when it starts and charges them when it's finished. If it fails, you get them back. Longer articles cost more: | Old article | Size | Credits | | ----------------- | -------- | ---------- | | Under 3,500 words | Article | 1 | | From 3,500 words | In-depth | 4 | | From 9,000 words | Report | 15 | | From 15,000 words | Project | On request | Unspar also counts the size of the text, so an article full of links or tables can reach the next size sooner. **Fact-check and update** costs at least 4 credits, and 15 on a long article. **Estimated credits** shows the size before you queue. A Project-size refresh needs a quote from us. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## Refresh posts already on your WordPress site If your site runs on WordPress and is connected to Unspar, Unspar can read your old posts itself. It writes new versions and puts each one into the same post, at the same address. Links to the post keep working, and you can update many posts at once. First, connect your site as a [WordPress outlet](https://www.unspar.com/docs/guides/wordpress/). The WordPress user for that outlet must have permission to edit the posts. For posts by other authors, it needs the Editor or Administrator role. Unspar reads posts, not pages. 1. Open [Outlets](https://app.unspar.com/outlets) and click the name of your WordPress outlet. 2. Above the form, pick the **Project** the new articles should belong to. 3. Choose **Open remote-post browser**. The **Remote posts** page lists your posts. 4. Check the posts you want and choose **Import selected**. Selections only apply to the page you're viewing, so import one page at a time. 5. Choose **Configure replacement batch**. The **Replace WordPress posts** page shows one row per post. 6. In each row, leave **Operation** on **Refresh** and pick an **Update scope**. It has the same four choices as the templates above. 7. Choose **Review pricing** to see the size and price of each row. 8. Choose **Queue selected**. Importing is free. Unspar deletes its copy of the imported posts after about 24 hours, so queue them in the same sitting. If your credits don't cover all rows, Unspar saves them as drafts and doesn't start any. When an article is finished, read it. Then choose **Replace original post** and confirm. Unspar sends the new title and text to the same WordPress post. The post keeps its address and its date. If revisions are on in WordPress, the old text is saved there as a revision. Check two things before you replace a post. Replacing always makes the post public, even if it was a draft or private. And if auto-publish is on in the project, Unspar replaces the post automatically without waiting for you to click. See [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). Unspar imports only from WordPress. For a post on another site, refresh it with the steps above and paste the new text into the old post yourself. ## For AI agents A refresh only starts in the web app. The API, the CLI and the MCP server can't start one. An agent can find an Unspar article and save its current text, which you then paste as the source of the refresh. --with-images saves the text with the changes from earlier rounds of changes and writes the approved images as Markdown images. ```sh unspar articles list --project --status completed unspar articles content --with-images --output old-article.md ``` --- # Translate an article Unspar can translate an article you already have into another language. The translation keeps the headings and the structure of the original. Web version: https://www.unspar.com/docs/guides/translations/ Unspar can translate an article you already have into another language. You can pull the original from any public web page or paste the text directly. The translation keeps the original headings and structure, so both versions match section by section. A translation doesn't do new research. It sticks to what the original says. If readers in another country need different content, such as local rules or prices, [create a new article](https://www.unspar.com/docs/guides/create-an-article/) in that language instead. Unspar translates into 14 language variants across four languages: - English: US, UK, Australia and Canada - German: Germany, Austria and Switzerland - Spanish: Spain, Mexico and Argentina - French: France, Canada, Belgium and Switzerland ## Which translation template fits? When you start a translation on the Create page, you pick a translation template. A template is a preset that controls the kind of text Unspar writes. For translations, it sets how closely Unspar sticks to the original wording. | Template | What it does | Good for | | ------------------------------- | ------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- | | **Literal translation** | Stays as close to the original wording as it can. | Step-by-step instructions | | **Natural translation** | Translates faithfully and reads like a native speaker wrote it. | Most articles | | **Localized translation** | Like Natural, plus it adapts idioms and examples for the new readers. Paragraphs within a section may change. | Texts with idioms that only work in the original country | | **Formal business translation** | Like Natural, using the formal "you" (like Sie in German). | Business readers | | **Informal translation** | Like Natural, using the informal "you" (like du in German). | Casual blogs and shops | **Localized translation** adapts the phrasing while keeping the facts untouched. A price in dollars stays in dollars. All five templates are marked Experimental in the app, which means they haven't gone through the same review as the templates for new articles. ## Translate an article 1. Open [Create](https://app.unspar.com/articles/create) and switch to the **Manual** tab. 2. Under **Basics**, check that **Project** shows the right website. 3. Set **Creation mode** to **Translate existing content**. 4. Under **Template**, pick one of the five translation templates. 5. Under **Source content**, choose **URL** and enter the address of the original. 6. Choose **Extract source**. Unspar loads the page and pulls out the article text. 7. Set **Target language**, for example German (Germany). 8. If a term needs a fixed translation, add it to **Article brief**. For example: "Keep the product name in English. Translate invoice as Rechnung." 9. Check the price under **Estimated credits**. 10. Choose **Queue article**. Unspar opens the new article's page and starts translating. [The article page](https://www.unspar.com/docs/guides/the-article-page/) explains what you'll see there. ![Manual tab with Creation mode Translate existing content, Template Natural translation, the loaded source and Target language German (Germany)](https://www.unspar.com/images/docs/translate-form-full.webp) A translation on the Manual tab: pick the template, load the original and set the target language. If Unspar can't load the page, or if the page sits behind a login, copy the article text from your browser. Then choose **Paste**, fill in **Source title** and **Source content**, and choose **Use source**. **URL** only works with web pages, so paste the text if your original is a PDF or a Word file. To translate an article that's already in Unspar, open it, copy the text from its **Markdown** tab, and paste it. You can't pick an existing article from a list. The original must be at least 120 words or 800 characters, and no more than 20,000 words. ## What does a translation cost? Translating a standard article costs 1 credit. Longer originals cost more: | Original | Size | Credits | | ----------------- | -------- | ---------- | | Under 3,500 words | Article | 1 | | From 3,500 words | In-depth | 4 | | From 9,000 words | Report | 15 | | From 15,000 words | Project | On request | Unspar also counts the overall size of the text, so an original packed with links or tables can reach the next size tier sooner. **Estimated credits** shows the size before you queue. Unspar holds the credits when the translation starts and charges them once it finishes. If the translation fails, you get them back. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## What do you get? A translation is saved as a new article in the same project, written in the target language. The original stays untouched. If you leave **Title or topic** empty, Unspar translates the original title. With four of the five templates, the translation mirrors the original block for block, down to the number of paragraphs. These elements stay in the same places: - headings - lists and tables - quotes and code blocks - links and images **Localized translation** keeps the headings but may reshape paragraphs within a section. Links still point to the same addresses, so a link to an English page will still go to that English page after translation. If you have a translated version of that page, update the link on your site after you publish. Translations don't get new images. Unspar also skips adding links to your other articles, and the optional fact-check doesn't run on them. Before you publish, have someone who knows the language well read through the draft. If anything looks off, choose **Request changes** on the article page. The first round of changes is free. ## How is a translation published? You publish a finished translation the same way you publish any other article. Choose **Publish** on its page and pick an outlet (a site you connected to Unspar, such as your WordPress site). The translation goes live as a new post and leaves the original in place. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/), and for a site in several languages, [Multilingual sites](https://www.unspar.com/docs/use-cases/multilingual-sites/). ## Translate many articles at once To translate several articles at once, or one article into several languages, use a batch. Each row pairs one original with one target language, and a batch can hold up to 1,000 rows. 1. Open [Create](https://app.unspar.com/articles/create) and switch to the **Batch** tab. 2. Choose **Translate source articles**. The **Batch translate articles** page opens. 3. Under **Batch defaults**, pick the **Project** and the **Target language**. 4. Under **Translation template or preset**, pick a template. 5. In the first row, add an original using **Paste** or **URL**. 6. Choose **Add row** for each additional original. 7. Tick **Ready** on each row you want to translate. 8. Choose **Preview**. Each row now shows its price. 9. Choose **Save and queue**. Any row without its own **Target language** uses the one from the batch defaults. To translate a single article into several languages, add it on multiple rows and set a different **Target language** for each. If your originals are public web pages, you can also choose **Upload CSV** and upload a file with their addresses and target languages: ```text source_url,language https://www.example.com/blog/chain-care,fr-CH https://www.example.com/blog/brake-pads,fr-CH ``` Each translation costs the same as one you start on its own. If you don't have enough credits to cover the whole batch, Unspar saves the rows as drafts and doesn't start any of them. ## For AI agents A translation only starts in the web app. The API, the CLI and the MCP server can't start one. An agent can save the current text of an Unspar article, which you then paste as the source of the translation. --with-images saves the text with the changes from earlier rounds of changes. The agent can also create a new article on the same topic in the other language. ```sh unspar articles content --with-images --output reminder-article-en.md unspar articles create --project --brief "How to send a reminder for an unpaid invoice" --language de-DE ``` --- # Project Auto and ideas Unspar can suggest what to write next, and it can write new articles for you every day. This page explains both and how to set them up. Web version: https://www.unspar.com/docs/guides/project-auto-and-ideas/ Besides writing the articles you ask for, Unspar can suggest new topics and write articles on its own every day. The topic suggestions are called ideas, and the feature that writes articles from them automatically is called Project Auto. Both work inside a project. In Unspar, a project represents one website with its own settings and articles, so your ideas and Auto's articles always belong to a single site. ## What is an idea? An idea is a suggested article with a title and a short description. Unspar finds ideas through a search called an idea run. You start a run by entering a website address or a topic. - **A website address:** Unspar reads up to 50 pages of that site and suggests articles the site doesn't have yet. It can be your own site or any other public site. - **A topic:** Unspar searches Google for it and builds ideas from what it finds. Ideas always come back in your project's language. Credits are how you pay in Unspar, and each run costs 1 credit, even if it finds nothing new. If a run fails, you aren't charged. ## Find ideas 1. Open [Ideas](https://app.unspar.com/ideas) in the sidebar. 2. Choose **New run**. 3. Check that **Project** shows the right website. 4. Under **What do you want ideas for?**, type a website address or a topic. 5. Choose **Generate ideas**. ![Generate ideas form with Project, the topic box and the Generate ideas button marked](https://www.unspar.com/images/docs/ideas-new-run.webp) A new run: check the project, type a website address or a topic, then generate. Each run costs 1 credit. A run takes about a minute. The page doesn't refresh automatically, so reload it to see your new ideas in the list, each with a title and a short description. The **Tier** column shows how large the article would be, which sets its price. An idea with the tier Article costs 1 credit to write. ![Ideas list with the Tier column, a Queue article button and the idea menu marked](https://www.unspar.com/images/docs/ideas-list.webp) Each idea shows its size under Tier. Queue article starts it right away; the menu next to it holds Create from this idea and Hide idea. Unspar skips ideas your project already covers, along with any ideas you previously hid. ## Turn an idea into an article When you like an idea, choose **Queue article** in its row. Unspar starts writing it right away using your project's settings. If you clicked by mistake, choose **Undo** within 10 seconds. If you want to change something before Unspar writes, like the length or the template, open the idea's menu and choose **Create from this idea**. The [Create page](https://www.unspar.com/docs/guides/create-an-article/) opens with the idea already filled in. To start several articles at once, check the ideas and choose **Queue selected**. ## Hide ideas you don't want Open the idea's menu and choose **Hide idea**. Unspar won't suggest it again, and Project Auto won't write it, so you can use this to keep Auto away from specific topics. ## What is Project Auto? Project Auto writes articles for a project every day without you having to start each one. You choose how many articles to start per day and which template to use. A template sets the format of the article, such as a guide or a comparison. Auto picks the best ideas from your project's list first. When the list runs out, it starts a new idea run on its own. Before writing, it checks whether the project already has an article covering the same question and skips the idea if it does. ## Decide what happens to finished articles Auto won't start until it knows what to do with finished articles. You set this on the project's **Edit** page, under **Publishing automation**. By default, new projects hold finished articles so you can publish them yourself. If you want Unspar to publish them for you, see [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). ## Turn on Project Auto 1. Open the project from [Projects](https://app.unspar.com/projects). 2. In the **Auto** panel, choose **Turn on Auto**. 3. Under **Template**, pick the [template](https://www.unspar.com/docs/guides/choosing-a-template/) Auto should write with. 4. Under **Articles/day**, set how many articles Auto should start each day. 5. Under **Stop condition**, choose when Auto should stop: - **Until turned off** - **Until date** - **Until article count** 6. Choose **Save Auto**. ![Auto panel on the project page with the Turn on Auto button marked](https://www.unspar.com/images/docs/auto-1-panel.webp) The Auto panel on the project page. Turn on Auto opens the settings. ![Turn on Auto dialog with Template, Articles/day, Stop condition and Save Auto marked](https://www.unspar.com/images/docs/auto-2-dialog.webp) Pick the template, the number of articles per day and when Auto should stop, then save. Auto doesn't start right away. It begins at one of its next regular checks, and finished articles appear under [Articles](https://app.unspar.com/articles). To turn Auto off, flip the switch next to **Edit Auto**. Any articles Auto has already started will still finish. ## What does Project Auto cost? Auto uses your credits the same way you do. Each article costs the same as one you start manually, and each idea run costs 1 credit. If your project has images enabled, Auto includes images in its articles as well, which costs extra. Auto spends credits automatically without asking first. ## Why does Auto say it's paused? The **Auto** panel shows a status next to its title. When Auto is paused, the status tells you why. | Status | What to do | | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Paused: credits unavailable** | Add credits. Auto tries again by itself. | | **Paused: publishing unavailable** | Open the project's **Edit** page from [Projects](https://app.unspar.com/projects) and check **Publishing automation**. Finished articles need a way to finish: either they wait for you, or they go to a **Default outlet**. | | **Paused: template unavailable** | Choose **Edit Auto** and pick another template. | | **Paused: idea generation pending** | Nothing. Auto is looking for new ideas. | | **Paused: setup needs attention** | Set the project's **Status** back to **Active**. If the person who turned Auto on lost access to the project, choose **Edit Auto** and then **Save Auto**. | ## For AI agents Agents can start idea runs and queue ideas as articles. They can also hide ideas. In the API, an idea in a run is called an appearance, and dismissed means hidden. Queueing an idea costs the article's price. The CLI can't turn Project Auto on. To turn it on, use the REST API (PUT /api/v1/projects/{project}/auto) or the hosted MCP tool unspar_project_auto_set. Once Auto is on, it spends credits by itself. The last command turns Auto off. ```sh unspar api post /projects//idea-runs --field workflow_type=analyze_site unspar api post /projects//idea-runs --field workflow_type=research_topic --field "topic=Bike repair at home" unspar api get /projects//idea-runs unspar api get /idea-runs/ unspar api get /idea-runs//appearances unspar api post /idea-appearances//decision --field decision=dismissed unspar api post /idea-appearances//queue unspar api get /projects//auto unspar projects update --auto-template template:builtin:general_guide unspar articles list --project --status completed unspar credits balance unspar api delete /projects//auto ``` --- # Expert replies Journalists ask experts for short comments on services like Qwoted and Featured. With the Expert Reply template, Unspar writes a first version of your reply from your own background. Web version: https://www.unspar.com/docs/guides/expert-replies/ Journalists often look for experts to quote. They post requests on services like Qwoted, Featured, and HARO-style platforms. Each request includes a few questions and a target length, and experts send back a short comment. A good answer can get you quoted, though writing one takes time. Unspar writes the first draft for you using a built-in template called **Expert Reply**. A template is a ready-made setup that tells Unspar what kind of text to write. This one answers each question in the request in your name, using facts from a short profile you write once. ## What does an expert reply look like? The reply is written in the first person, as you. The template tells Unspar to follow these rules: - It answers each question in the request, in the same order. - Its first sentence works as a quote on its own. - It keeps to the length the journalist asked for. If no length is given, it runs 150 to 250 words. - It uses a list only when the request asks for one. - It leaves out thank-yous and sign-offs. - It includes no pitch and no links. - If the request asks for your name and title, it pulls them from your profile and adds them on one line at the end. The title above the reply on the article page is only for you. Unspar doesn't read Qwoted or the other services, and it doesn't send anything there. You paste each request in and copy each reply out. ## Set it up once Your replies live in their own project. In Unspar, a project usually represents a single website with its own settings. For expert replies, you don't need a website or an outlet. Instead, the project's site context, which is the background text Unspar reads before every article, holds your expert profile. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Switch to the **Manual** tab and leave the website field empty. 3. Type a name into **Project name**, for example "Expert replies". 4. Set **Default article setup** to **Expert Reply**. 5. Choose **Create project**. 6. In the new project, open **More actions** and choose **Edit**. 7. Write your profile into **Site context**. 8. Choose **Save**. In your profile, describe your role and experience, and include numbers you can back up. State anything that should never be claimed about you. If journalists can print your name and title, include those too. For example: > Independent energy adviser in Bristol since 2015. About 400 households advised on heat pumps and insulation. Accredited for domestic energy assessments. I can speak about heat pumps, insulation and running costs in England. I don't sell or install heat pumps. Never claim awards or press coverage. Name and title for quotes: [your name], independent energy adviser. If two people answer requests, give each of them a project with their own profile. ## Answer a request 1. Copy the whole request as you received it, with the exact questions and the length the journalist wants. 2. Open [Create](https://app.unspar.com/articles/create). On the **Assistant** tab, pick your project for replies under **Project**. 3. Leave **Title or topic** empty. 4. Paste the request into **What should Unspar create?**. The field takes up to 10,000 characters. If a request is longer, keep the questions and the instructions and cut the rest. 5. Check that **Recommended template** shows **Project default** with "Expert Reply (project default)". 6. If the request is in another language, open **More options** and change **Language**, for example to German (Austria). 7. Choose **Queue article (1 credit)**. Unspar opens the reply's page and starts writing. [The article page](https://www.unspar.com/docs/guides/the-article-page/) explains what you see while it writes. ![Create page with the Expert replies project and a journalist request pasted into What should Unspar create?](https://www.unspar.com/images/docs/expert-1-request.webp) Step 2–4: Pick your replies project and paste the whole request. Leave Title or topic empty. ![Recommended template panel showing Expert Reply (project default)](https://www.unspar.com/images/docs/expert-2-template.webp) Step 5: The panel shows Expert Reply as the project default. ![Estimated credits Size: Article · 1 credit and the Queue article (1 credit) button](https://www.unspar.com/images/docs/expert-3-queue.webp) Step 7: A reply costs 1 credit. If a detail only applies to one reply, such as a case you worked on last month, add it to **Additional context** under **More options** before you queue the article. If the journalist asks for a case or a number that isn't in your profile or additional context, the reply notes once that it can't share a specific case and answers from your general expertise instead. You can add an example of your own before you send it. ## Check the reply before you send it Before the reply is finished, Unspar checks it against four questions: - Is each question in the request answered? - Does the first sentence work as a quote without the question? - Is the length right? - Does it claim anything about you that your profile doesn't say? If something is off, Unspar tries to fix it once and keeps the better version. The web app doesn't show the result of this check, so read the reply with the same four questions in mind. If you want something changed, choose **Request changes** on the article page and say what to fix. The check only runs on the first version, so read the revised text again. Then copy the reply into the journalist's form and send it from your own account there. ## What does an expert reply cost? An expert reply counts as a standard article and costs 1 credit. The template uses light research, so the reply can include current facts from the web. Your first round of changes is free, and each additional round costs 1 credit. You can buy more credits on the [Buy credits](https://app.unspar.com/credits/purchase) page. For full details, see [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## For AI agents An agent writes the expert's background into the project's site context once. Then it creates one article per request, with the whole request in --brief. It checks the price with the estimate first and then runs create with --force. For a request in another language, it adds --language, for example de-AT. The expert_reply check only covers the first version. Read the reply again after a round of changes, before anyone sends it. ```sh unspar projects update --default-template template:builtin:expert_reply unspar projects update --context-file expert-profile.md unspar api post /articles/estimate --field project= --field "brief=$(cat request.md)" unspar articles create --project --brief "$(cat request.md)" --force --wait unspar articles content unspar api get /articles/ --jq .expert_reply ``` --- # Outlets and publishing An outlet is a place where Unspar sends finished articles, like your WordPress site or an email inbox. You connect it once. After that you publish each article there when you're happy with it. Web version: https://www.unspar.com/docs/guides/outlets-and-publishing/ Unspar writes your articles inside the app. To get an article onto your website, you publish it to an outlet. An outlet holds your site's address and the login details Unspar needs to post there. Unspar stores those details encrypted and never shows them again. A project is one website in Unspar. Outlets belong to your whole account, so every project can use every outlet. Outlets and publishing don't cost credits. You only pay for writing the article and its images. ![Outlets list with a Ghost, a webhook and a WordPress outlet, the Type column and the New outlet button marked](https://www.unspar.com/images/docs/outlets-list.webp) Each row is one place Unspar can publish to. New outlet adds another. ## Which kinds of outlets are there? - **WordPress:** Unspar creates a normal post with its images. The post goes live or waits as a draft in WordPress. See [WordPress](https://www.unspar.com/docs/guides/wordpress/). - **Ghost:** Unspar creates a post with the title and the text. It goes live right away. The setup is on this page. - **GitHub:** For sites built from Markdown files, like Astro or Hugo. Unspar adds the article as a file to your repository. See [GitHub](https://www.unspar.com/docs/guides/github/). - **Webhook:** Unspar sends the article as signed JSON to your own server. Your code decides what happens next. See [Webhooks](https://www.unspar.com/docs/guides/webhooks/). - **Email:** Unspar sends the article to one or more email addresses. The setup is on this page. Medium outlets connected earlier still work, but you can't add new ones. For a site on another system, like Wix, choose **Download** on the article and paste the HTML or Markdown into your site. ## Add an outlet You set up each outlet once. You need the Owner or Administrator role in your team to do this. Managers can publish to outlets, but they can't change them. 1. Open [Outlets](https://app.unspar.com/outlets) in the sidebar. 2. Choose **New outlet**. The form opens on the **Assistant** tab. 3. For a WordPress or Ghost site, type the site's address under **Website URL or domain** and choose **Detect**. Unspar recognizes the system, selects its card, and fills in the API address and a name. For the other kinds, choose the card under **Destination** yourself. 4. Fill in the fields under **Connection**. They depend on the kind of outlet. 5. Choose **Test connection**. For email, the button is **Send test email**. 6. Choose **Create outlet**. The outlet now shows up in the list. Unspar saves it even if the connection test fails. If the test fails, the message starts with "Outlet created, but connection test failed" and gives the reason. Fix the outlet before you publish to it. The **Manual** tab has the same settings in one form, without detection. ![Create outlet form with Website URL or domain, the Detect button and the five Destination cards](https://www.unspar.com/images/docs/outlets-detect-cards.webp) Detect picks WordPress or Ghost for you. For the other kinds, choose the card yourself. ## Connect a Ghost site Ghost lets other apps publish through a custom integration with its own key. You need to create one in Ghost first, which requires the Administrator or Owner role there. In Ghost: 1. In Ghost Admin, open **Settings** and find **Integrations**. 2. Choose **Add custom integration**, name it "Unspar", and add it. 3. Copy the **Admin API key** and the **API URL** that Ghost shows. The Admin API key has a colon in the middle, like `id:secret`. The Content API key that Ghost also shows doesn't work for publishing. In Unspar: 1. In [Outlets](https://app.unspar.com/outlets), choose **New outlet** and then the **Ghost** card. 2. Paste the API URL from Ghost into **Ghost Admin API URL**, for example `https://example.ghost.io`. Leave out `/ghost/api/admin`, because Unspar adds it automatically. 3. Paste the key into **API key**. 4. Choose **Test connection** and then **Create outlet**. If the test says "Could not connect to Ghost. Check the URL and Admin API key.", check the end of the URL and make sure you pasted the Admin API key. Ghost receives the title and the text. Unspar doesn't send images, tags, or excerpts to Ghost. Each post goes live the moment it arrives, no matter what **Default status** says. An image marked **Required before publishing** blocks publishing to Ghost, so keep [images](https://www.unspar.com/docs/guides/images/) optional or off for a Ghost site. ![Ghost outlet form with Ghost Admin API URL and API key filled in and the Test connection button](https://www.unspar.com/images/docs/outlets-ghost-form.webp) Paste the API URL and the Admin API key from Ghost's integration screen. ## Send articles by email An email outlet sends each article you publish to one or more addresses, with the text in the email itself. This works well when someone puts articles on the site by hand. Once Unspar has emailed an article, it counts as published, and you can't publish it to another outlet later. 1. Open [Outlets](https://app.unspar.com/outlets), choose **New outlet**, and pick the **Email** card. 2. Under **To recipients**, enter one or more addresses, separated by commas. **CC recipients** and **BCC recipients** are optional. One address in any of the three fields is enough. 3. Give the outlet a **Name**. 4. Open **More options** to change the **Subject template** or to add **Attachments**. 5. Choose **Send test email**. Every address gets a short test message. 6. Choose **Create outlet**. Saving doesn't send anything. The **Subject template** starts as `{{title}}`, which becomes the article's title. You can add text around it, like `New article: {{title}}`. Under **Attachments**, you can add the article as **Markdown (.md)** or **PDF (.pdf)**. The email layout and the image options are only on the **Manual** tab. Emails come from Unspar's own address, and you can't change the sender. If the test email doesn't arrive, check the addresses and the spam folder. ## Publish an article Publishing sends one finished article to one outlet. The **Publish** action appears once an article is finished and not yet published. If a project always writes for the same site, give it a **Default outlet**. Open the project from [Projects](https://app.unspar.com/projects), choose **Edit**, and pick the outlet under **Publishing automation**. New articles in that project then go to that outlet. Articles that already exist keep the outlet they had. 1. Open the article from [Articles](https://app.unspar.com/articles) and choose **Publish**. The Articles list has the same action in the article's row. 2. Under **Outlet**, check the outlet or pick another one. 3. Under **Publish timing**, choose **Now** or a later time. 4. Choose **Publish now**. For a later time, the button is **Schedule publish**. With **Now**, Unspar sends the article and waits for your site's answer. You then see "Article published successfully." or the reason it failed. A scheduled article waits in Unspar until its time. See [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). ## What happens after publishing? The article page has a card called **Publishing and source**. It shows the status, the outlet, and for most outlets a **View** link to the post. Published in Unspar means the outlet confirmed that it got the article. What that means on your side depends on the outlet. | Outlet | Unspar shows Published when | | --------- | ---------------------------------------------------------------------------------- | | WordPress | WordPress created the post. If the outlet sends drafts, it's a draft in WordPress. | | Ghost | Ghost created the post, which is live. | | GitHub | The file is in the repository. Your site still has to build. | | Webhook | Your server answered with a status code in the 200s. | | Email | The mail server accepted the email. | Each article goes to one outlet, once. Unspar doesn't update or remove the post later, so make any changes on your site. You can't edit a published article in Unspar, so [ask for changes](https://www.unspar.com/docs/guides/the-article-page/) before you publish. ## What if publishing fails? After **Publish now**, the message names the reason. A failed scheduled or automatic publish only shows "Publish failed" in the card. Unspar doesn't try again or notify you. 1. In [Outlets](https://app.unspar.com/outlets), open the outlet's menu and choose **Test connection**. 2. Fix what the test reports, like an expired password or token. 3. Open the article and publish it again. If the connection drops while publishing, Unspar may show "Unknown publish outcome". [Troubleshooting](https://www.unspar.com/docs/guides/troubleshooting/) explains what to do. ## For AI agents Agents can list outlets and publish an article to one. In the outlet list, ready only means that the settings are complete, so test the connection first. Publishing sends the article outside Unspar, so the command asks for confirmation unless you pass --force. Publish only articles that a person has read and approved. ```sh unspar outlets list unspar outlets show unspar api post /outlets//test unspar articles publish --outlet unspar articles publish --outlet --scheduled-at 2026-12-01T08:00:00+01:00 unspar articles status --jq .publishing_status unspar api get /articles//publishing-attempts ``` --- # WordPress Unspar can publish finished articles to your WordPress site as normal posts, with their images. You connect the site once with an application password. Web version: https://www.unspar.com/docs/guides/wordpress/ A WordPress outlet connects one WordPress site to Unspar. An outlet is a destination where Unspar publishes finished articles. Once your site is connected, choosing **Publish** on an article sends it straight to WordPress as a post. For an overview of how outlets work, see [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). Unspar connects to WordPress through its built-in REST API, which is the interface WordPress provides for external apps. You don't need to install a plugin. ## What do you need? - A WordPress site on HTTPS, running WordPress 5.6 or newer. - A WordPress user who can publish posts and upload images, such as an Editor or Administrator. - An application password for that user. An application password is a separate password WordPress generates for a single app. Unspar uses it to log in instead of your regular password. Nobody can use it to sign in to your WordPress dashboard, and you can revoke it in WordPress at any time without changing your own password. Unspar doesn't set the post author itself. WordPress assigns every post to the user who owns the application password, so create the password under the account you want listed as the author. ## Create an application password 1. Log in to WordPress as the user who should be the author. 2. Open **Users** and then **Profile**. 3. Scroll down to **Application Passwords**. Type "Unspar" under **New Application Password Name**. 4. Choose **Add New Application Password**. 5. Copy the password WordPress shows. It only appears once. The password comes in groups of four characters separated by spaces. You can paste it with the spaces included. If you don't see an **Application Passwords** section in your profile, either your site isn't on HTTPS, or a security plugin or your host has turned the feature off. ## Connect the site in Unspar 1. Open [Outlets](https://app.unspar.com/outlets) in the sidebar and choose **New outlet**. 2. On the **Assistant** tab, type your site's address under **Website URL or domain**, like `example.com`, and choose **Detect**. Unspar shows "WordPress detected.", fills in the **WordPress REST API URL** (such as `https://example.com/wp-json`), and suggests a **Name**. 3. Under **Connection**, enter your WordPress **Username** and paste the **Application password**. 4. Under **Publishing defaults**, pick a **Default status** and, if you want, a **Default category**. Both are explained below. Leave **Default format** on **HTML**. 5. Choose **Test connection**. When it says "Connection successful.", choose **Create outlet**. If Unspar doesn't recognize your site, select the **WordPress** card yourself and enter the REST API address manually: your site's address with `/wp-json` at the end. The connection test checks that Unspar can log in and read posts, but it doesn't check whether the user has permission to publish. Publish a first article and check it on your site to be sure. ![Outlets page with the New outlet button marked](https://www.unspar.com/images/docs/wp-1-outlets.webp) Step 1: Start on the Outlets page and choose New outlet. ![Create outlet form with blog.example.com typed under Website URL or domain and the Detect button](https://www.unspar.com/images/docs/wp-2-detect.webp) Step 2: Type the site's address and choose Detect. For a WordPress site, Unspar selects the WordPress card and fills in the API address. ![Connection fields: WordPress REST API URL, Username and Application password](https://www.unspar.com/images/docs/wp-3-connection.webp) Step 3: Enter the WordPress username and paste the application password. ![Publishing defaults with Name, Default status, Default category and Default format, and the Test connection and Create outlet buttons](https://www.unspar.com/images/docs/wp-4-defaults.webp) Step 4–5: Pick the defaults, test the connection, then create the outlet. ## What does a post from Unspar contain? Each post from Unspar includes: - the title and the body text as HTML - the slug, which is the last part of the post's URL - the featured image and any in-text images, uploaded to your Media Library with their alt text and captions - the meta description Unspar wrote, saved as the post's excerpt - the **Default category**, if you set one Unspar doesn't send tags or fields for SEO plugins, such as a focus keyword. You can add those in WordPress after the post arrives. WordPress timestamps the post when it receives it, so a scheduled article gets the date and time Unspar sent it. ## Should posts go live or arrive as drafts? **Default status** controls what happens to each new post. With **Published**, the post goes live as soon as WordPress receives it. With **Draft**, it waits in WordPress until you publish it yourself. New outlets default to **Published**. **Draft** is useful when you want a final look in WordPress, for example to add tags. In Unspar, the article still counts as published as soon as WordPress has the draft. ## Set a category All posts from one outlet go into a single category. **Default category** requires the category's ID number, not its name. If you enter a name, WordPress ignores it without an error and falls back to its default category. To find the ID number, open **Posts** and then **Categories** in WordPress and click the category you want. Look at the address bar for something like `tag_ID=12`, then type `12` into **Default category**. You can't pick a different category per article. If you need several categories, connect the same site more than once, giving each outlet its own **Default category** and a clear name like "Blog: Guides". ## Why does the connection test fail? If you see "Could not connect to WordPress. Check the URL, username, and application password.", Unspar couldn't log in and read posts. Check these four things: 1. Open the **WordPress REST API URL** in your browser. You should see code-like text (JSON). If you see your homepage or an error page instead, something on your site is blocking the REST API. 2. Check your **Username**. Make sure it's the name you use to sign in to WordPress. 3. Make sure you pasted the application password, not your regular password. 4. Check your security plugin and your host. Some block the REST API or disable application passwords. ## Why does publishing fail after a good test? If the user doesn't have permission to publish posts, WordPress refuses the post. Give that user the Editor or Administrator role. Sometimes a security or caching plugin responds instead of WordPress. When that happens, Unspar reports "WordPress answered 200 without a post id" and shows "Unknown publish outcome", because the post might still have been created. Check your site before publishing again. [Troubleshooting](https://www.unspar.com/docs/guides/troubleshooting/) explains what to do next. If you revoke the application password in WordPress, publishing will fail until you enter a new one. Open [Outlets](https://app.unspar.com/outlets), click the outlet's name, paste the new password into **Password**, and choose **Save**. ## Update posts that are already on your site Unspar can also pull in posts that are already on your WordPress site, refresh them, and write the updated version back to the same post. This is the only time Unspar changes a post after publishing. See [Refresh an article](https://www.unspar.com/docs/guides/refresh/). ## For AI agents You set up WordPress outlets in the web app. An agent can find the outlet, test it and publish an article to it after a person has read the article. ```sh unspar outlets list --jq '.[] | select(.provider_type == "wordpress")' unspar outlets show unspar api post /outlets//test unspar articles publish --outlet ``` --- # GitHub If your site is built from Markdown files in a GitHub repository, Unspar can add each finished article there as a new file. Your site's build then turns it into a page. Web version: https://www.unspar.com/docs/guides/github/ Many blogs are built with a static site generator like Astro, Hugo, or Next.js. The posts live as Markdown files in a Git repository, and pushing to the repository rebuilds the site. A GitHub outlet fits this setup. An outlet is where Unspar publishes finished articles. [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/) explains outlets in general. When you publish an article to a GitHub outlet, Unspar adds one new file to the folder you chose, like `src/content/blog/restore-one-table.md`. It commits the file straight to your branch. If your host rebuilds the site on every push, the article goes live once that build finishes. Unspar doesn't start the build itself. In Unspar, the article counts as published as soon as the file is in the repository. ## Create a token on GitHub Unspar needs a key that can write to your repository. On GitHub, this is a fine-grained token. You decide which repository it can reach and what it can do there. 1. On GitHub, open **Settings** from your profile picture, then **Developer settings**. 2. Open **Personal access tokens**, then **Fine-grained tokens**, and choose **Generate new token**. 3. Name it "Unspar" and pick an **Expiration**. 4. Under **Resource owner**, pick the account or organization that owns the repository. 5. Under **Repository access**, choose **Only select repositories** and pick your site's repository. 6. Under the permissions, give **Contents** read and write access. 7. Choose **Generate token** and copy it. GitHub shows it only once. If the repository belongs to an organization, the organization may have to approve the token first. The token stops working on its expiration date. When that happens, publishing fails with "GitHub rejected the request (HTTP 401)." Make a new token, then go to [Outlets](https://app.unspar.com/outlets), click the outlet's name, paste the token into **Fine-grained token**, and choose **Save**. After that, publish the article again. ## Connect the repository 1. Open [Outlets](https://app.unspar.com/outlets) and choose **New outlet**. 2. On the **Assistant** tab, choose the **GitHub** card. 3. Under **Repository owner**, enter the user or organization, like `example-org`. 4. Under **Repository name**, enter the repository, like `website`. 5. Under **Branch**, enter the branch your site builds from, like `main`. It has to exist already. 6. Under **Content directory**, enter the folder for the posts, like `src/content/blog`. Leave it empty for the top level of the repository. 7. Paste the token into **Fine-grained token**. 8. Give the outlet a **Name**, choose **Test connection** and then **Create outlet**. The test only reads the repository and the branch. It doesn't commit anything, so it can't confirm that Unspar can write there. Unspar commits directly and doesn't open a pull request. If your branch only accepts pull requests, publishing fails. In that case, or if you want to review each article first, point the outlet at a separate branch like `articles`. From there, you can open the pull request yourself. The GitHub outlet works with repositories on GitHub.com. For GitLab or another Git host, use a [webhook](https://www.unspar.com/docs/guides/webhooks/) or save the file with the CLI, as described below. ![GitHub outlet form with Repository owner example-org, Repository name website, Branch main, Content directory src/content/blog and a fine-grained token](https://www.unspar.com/images/docs/github-form.webp) Enter the repository, the branch and the folder for your posts, and paste the token. ## What does the file look like? The file name is the article's slug with `.md` at the end. The slug is the short form of the title used in URLs. The file starts with front matter, which is the block between the two `---` lines that holds fields your site reads. The article follows in Markdown. ```markdown --- title: "How to restore one table from a pg_dump backup" description: "Restore a single table from a full pg_dump file without touching the rest of the database." date: "2026-11-24T14:12:09+00:00" slug: "restore-one-table" tags: ["postgres", "backups"] image: "https://app.unspar.com/content-media/..." unspar_id: "01JX9Q3M4N5P6R7S8T9V0W1X2Y" draft: false --- A full pg_dump file holds every table, but you often need only one ... ``` The fields are always the same, and you can't change them in Unspar. `description` is the meta description Unspar wrote. `tags` and `image` are left out when the article has none. `draft` is always `false`. `date` is when Unspar finished the article, rather than when you published it. If your site sorts posts by date and the day matters, change it in the file. Images stay on Unspar's server. `image` holds the URL of the featured image, and images in the text are normal Markdown image links. If you delete the article in Unspar, those images stop working. Unspar never overwrites a file. If a file with the same name already exists, publishing fails with "A file already exists at" followed by the path. Once the file is created, Unspar doesn't change or delete it. Edit it on GitHub if something needs fixing. ## Read the fields in your site **Hugo** reads the front matter as it is. Set the **Content directory** to a section like `content/posts`. Your theme decides where it shows `image`. **Astro** reads the posts as a content collection. Point the collection at your **Content directory** and list the fields in its schema. This works in Astro 5 and newer: ```ts // src/content.config.ts import { defineCollection } from "astro:content"; import { glob } from "astro/loaders"; import { z } from "astro/zod"; const blog = defineCollection({ loader: glob({ base: "./src/content/blog", pattern: "**/*.md" }), schema: z.object({ title: z.string(), description: z.string(), date: z.coerce.date(), slug: z.string(), tags: z.array(z.string()).optional(), image: z.string().optional(), unspar_id: z.string(), draft: z.boolean(), }), }); export const collections = { blog }; ``` Astro's blog template calls the fields `pubDate` and `heroImage`. Rename them to `date` and `image` in the schema and the templates. If you show the image with Astro's `` component, add `app.unspar.com` to `image.domains` in your Astro config. **Next.js** has no fixed folder for posts. Your own code reads them, for example with the gray-matter library. Set the **Content directory** to that folder. If you use `next/image`, add `app.unspar.com` to `images.remotePatterns`. ## Commit the file yourself If you'd rather commit by hand, the [unspar CLI](https://www.unspar.com/docs/cli/) saves an article as a Markdown file into your repository: ```sh unspar articles content --with-images --output content/posts/restore-one-table.md ``` The folder has to exist, and the CLI never overwrites a file. This file has no front matter, so add the fields your site expects before you commit it. ## For AI agents An agent can create a GitHub outlet from the terminal with the api command. Put the token in a protected file and pass --secret-field api_key, so the token never shows in the output. Delete the file afterwards. An agent can also save an article as Markdown into the repository and commit it like any other file. The folder for --output has to exist, and the CLI never overwrites a file. Publishing asks for confirmation unless you pass --force. Use --force only after a person has read the article and said yes. ```sh unspar api post /outlets --body-file github-outlet.json --secret-field api_key unspar outlets list unspar api post /outlets//test unspar articles publish --outlet unspar api patch /outlets/ --body-file outlet-settings.json --secret-field api_key unspar articles create --project --brief "How to restore one table from a pg_dump backup" --force --wait unspar articles content --with-images --output content/posts/restore-one-table.md unspar articles publish --outlet --force ``` --- # Webhooks A webhook outlet sends each article you publish to an address on your own server, as signed JSON. Your code decides what happens with it, for example saving it to your database. Web version: https://www.unspar.com/docs/guides/webhooks/ A webhook is the outlet for sites that Unspar can't publish to directly. An outlet is where Unspar sends finished articles. With a webhook, that destination is an endpoint on your own server that receives the article and stores it wherever your site needs it. [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/) explains outlets in general. Use a webhook when your site reads its posts from a database, or when it runs on a system that isn't WordPress, Ghost, or GitHub. Someone has to write the endpoint. This page has what they need. ## Set up a webhook outlet The webhook needs a signing secret. That's a long, random string that only Unspar and your server know. Unspar uses it to sign each request so your server can verify it came from Unspar. 1. Make a signing secret. In a terminal, `openssl rand -hex 32` generates one. Store it in your server's configuration. 2. Open [Outlets](https://app.unspar.com/outlets) and choose **New outlet**. 3. Choose the **Webhook** card. 4. Under **HTTPS endpoint**, enter your endpoint, like `https://example.com/unspar/articles`. 5. Paste the secret into **Signing secret**. 6. Give the outlet a **Name**, choose **Test connection**, and then **Create outlet**. The test checks the address format and confirms that the domain exists. It doesn't send a request to your server, so publish an article to test your endpoint. The endpoint must use HTTPS on port 443 or 8443. It needs a domain name instead of an IP address, and it must be reachable from the internet. Otherwise Unspar says "Use a public HTTPS endpoint. Private, local and reserved addresses are blocked." Unspar doesn't follow redirects, so the endpoint has to answer at the exact address you entered. ![Webhook outlet form with HTTPS endpoint and Signing secret filled in and the Test connection button](https://www.unspar.com/images/docs/webhook-form.webp) Enter your endpoint and the signing secret your server also knows. ## What does Unspar send? When you publish, Unspar sends a POST request with a JSON body like this: ```json { "version": 1, "delivery_id": "01JXB4R7T2W9Y3Z6A8C1E5G0HK", "type": "article.publish_requested", "timestamp": 1795593600, "article": { "id": "01JX9Q3M4N5P6R7S8T9V0W1X2Y", "project_id": "01JX7K2P3Q4R5S6T7V8W9X0Y1Z", "title": "How to restore one table from a pg_dump backup", "description": "Restore a single table from a full pg_dump file.", "slug": "restore-one-table", "language": "en-US", "date": "2026-11-24T14:12:09+00:00", "tags": ["postgres", "backups"], "markdown": "A full pg_dump file holds every table ...", "html": "

A full pg_dump file holds every table ...

", "featured_image_url": "https://app.unspar.com/content-media/...", "images": [ { "url": "https://app.unspar.com/content-media/...", "alt_text": "A terminal running pg_restore", "caption": null } ] } } ``` `markdown` and `html` hold the same text. The featured image isn't in the text. Its address is in `featured_image_url`, which is `null` when there is none. `date` is when Unspar finished the article, not when you published it. `article.id` stays the same if the article reaches you again. The images stay on Unspar's server, so their URLs stop working if you delete the article in Unspar. Copy the images to your own storage if you don't want your site to depend on Unspar. The request also carries these headers: | Header | Value | | ---------------------- | ------------------------------------------ | | `X-Unspar-Delivery-Id` | The same as `delivery_id` | | `X-Unspar-Timestamp` | The time of sending, in seconds since 1970 | | `X-Unspar-Signature` | `v1=` followed by the signature as hex | ## Check the signature The signature proves that the request was signed with your secret and wasn't modified in transit. Unspar computes an HMAC-SHA256 over the timestamp, a period, and the request body. Your server computes the same hash with its copy of the secret and compares the two. Use the raw body exactly as it arrived. If you parse the JSON and serialize it again, the signature won't match. You should also reject timestamps older than five minutes. Here is the check in Node, with no extra packages: ```js import { createHmac, timingSafeEqual } from "node:crypto"; function signatureIsValid(rawBody, timestamp, signature, secret) { if (!/^\d+$/.test(timestamp ?? "")) return false; if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false; if (!/^v1=[0-9a-f]{64}$/.test(signature ?? "")) return false; const expected = createHmac("sha256", secret) .update(timestamp + ".") .update(rawBody) .digest(); return timingSafeEqual(Buffer.from(signature.slice(3), "hex"), expected); } ``` Call it with the raw body as a Buffer and the values of the `X-Unspar-Timestamp` and `X-Unspar-Signature` headers. In Express, read the body for this route with `express.raw({ type: "application/json" })`. ## What should your server answer? Answer with a status code in the 200s once you have saved the article. Unspar then marks the article as published. Unspar waits up to 10 seconds for a response. Save the article and reply right away, then handle slower work like rebuilding pages afterward. If the connection fails, or your server returns 408, 429, or a code in the 500s, Unspar retries right away, up to three attempts in total. Any other response fails immediately with a message like "Webhook delivery failed (HTTP 401)." After the last attempt, the article shows "Publish failed" and Unspar won't retry on its own. Once your endpoint is working, open the article and publish it again. The same article can arrive more than once, such as when your server saves it but responds too late. Use `article.id` to spot duplicates and return 200 again. Unspar sends only this one event, `article.publish_requested`. It doesn't call your endpoint when an article changes or is deleted. ## Create the outlet from the terminal You can also create the outlet with the [unspar CLI](https://www.unspar.com/docs/cli/). Write the settings into a file like `webhook-outlet.json`: ```json { "name": "Help center", "type": "webhook", "connection": { "api_url": "https://example.com/unspar/articles" }, "credentials": { "api_key": "" } } ``` Then create the outlet: ```sh unspar api post /outlets --body-file webhook-outlet.json --secret-field api_key ``` `--secret-field api_key` hides the secret in the CLI's output. The file still holds it in plain text, so delete the file afterward and never commit it. The [API reference for outlets](https://www.unspar.com/docs/api/outlets/) lists all fields. ## For AI agents An agent can create a webhook outlet from the terminal with the api command. Put the signing secret in a protected file and pass --secret-field api_key, so the secret never shows in the output. Delete the file afterwards. Publishing asks for confirmation unless you pass --force. ```sh unspar api post /outlets --body-file webhook-outlet.json --secret-field api_key unspar api post /outlets//test unspar articles publish --outlet unspar api get /articles//publishing-attempts ``` --- # Scheduling and auto-publish You can pick the time when an article goes out. A project can also publish its finished articles by itself, on a schedule and with or without your approval. Web version: https://www.unspar.com/docs/guides/auto-publish/ Publishing sends a finished article to an outlet, such as your WordPress site. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/) to connect one. You don't have to publish an article the moment it's done. You can schedule a single article for later, or let a project publish its articles automatically. All times on this page use the project's timezone. In Unspar, a project represents one website, and you set its timezone on the project's **Edit** page. Scheduling and automatic publishing don't cost any credits. ## Publish one article at a set time Use this when an article is ready, but you want it to go out on a specific day. 1. Open the article from [Articles](https://app.unspar.com/articles) and choose **Publish**. 2. Pick the **Outlet**. 3. Under **Publish timing**, pick **Tomorrow morning, 08:00**, **Next Monday morning, 08:00**, or **Custom date and time**. For a custom time, set it under **Publish no earlier than**. 4. Choose **Schedule publish**. You'll see the message "Publishing was scheduled for later." The article waits in Unspar, and its card shows "Waiting for publish time". When the time comes, Unspar sends it to the outlet within about a minute. The dialog also shows the timezone it uses, such as "Using project timezone: Europe/Vienna." If you pick a time in the past, the article publishes right away. You can't cancel a scheduled publish, and you can't move it earlier. You can move it later by opening **Publish** again and picking a new time. The message will say the article is already scheduled, but Unspar will wait for the new time. ## Let a project publish by itself If a project writes articles regularly, such as with [Project Auto](https://www.unspar.com/docs/guides/project-auto-and-ideas/), you probably don't want to schedule each one by hand. Instead, the project can publish every finished article to its default outlet. You can only change these settings on the project's **Edit** page. New projects always start with auto-publish turned off. 1. Open [Projects](https://app.unspar.com/projects) and choose **Edit** in the project's menu. 2. In the **Publishing automation** card, pick the **Default outlet**. 3. Switch on **Auto-publish completed articles**. 4. Leave **Require human review before auto-publish** on if you want someone to approve each article first. It's on by default. 5. Open **Publishing schedule** and choose when articles go out. 6. Choose **Save**. From then on, each new article that finishes in this project goes out on that schedule. Articles that were already finished before you turned this on won't go out by themselves, so publish those by hand. If auto-publish is on without a **Default outlet**, the form warns you. In that case, only articles that have their own outlet set will publish by themselves. ![Publishing automation card with Auto-publish completed articles and Require human review switched on, a Default outlet and the Publishing schedule options](https://www.unspar.com/images/docs/autopublish-card.webp) The Publishing automation card on the project's Edit page. ## When do the articles go out? The **Publishing schedule** controls how the project spaces out its articles. | Option | What happens | | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | **As soon as ready** | Each article goes out as soon as it's ready. New projects start with this option. | | **Daily at 08:00** | One article a day, at 08:00. | | **Three times per day at 08:00, 13:00, 18:00** | Up to three articles a day, one at each time. | | **Hourly** | At most one article per hour. | | **Custom interval** | One article per interval you set under **Interval in minutes**, from 1 to 1440. **Optional first start** sets when the first article may go out. | For example, with **Daily at 08:00**, four articles that finish on a Friday will go out on Saturday, Sunday, Monday, and Tuesday at 08:00. Articles you publish by hand don't use up a scheduled slot. ## Approve an article When **Require human review before auto-publish** is on, a finished article waits with the status "Waiting for approval". Read through it first, and [ask for changes](https://www.unspar.com/docs/guides/the-article-page/) if something looks off. 1. Open the article. 2. In the **Publishing and source** card, choose **Approve for auto-publish**. 3. Confirm "Approve this article for automatic publishing?" The card then shows who approved the article and when. It goes out in the next open slot. You can't undo an approval, and you can't edit the text after approving it. You also have to approve each article on its own page, since there's no way to approve several at once. If you choose **Publish** on the article instead, it publishes by hand right away without waiting for approval. ## How does this work with Project Auto? Project Auto writes articles for a project every day, and it only runs when it knows what to do with finished articles. You need one of these two setups: - **Require human review before auto-publish** on and **Auto-publish completed articles** off. The articles wait for you, and you publish them yourself. New projects start this way. - **Auto-publish completed articles** on, with a **Default outlet** and a valid **Publishing schedule**. Auto's articles go out by themselves, or after your approval if review is on. Any other setup pauses Auto with the status "Paused: publishing unavailable". For example, turning auto-publish on without a default outlet pauses it. See [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/) for more. ## Why didn't an article publish by itself? Check the article's **Publishing and source** card for these statuses: - **"Waiting for approval":** Approve the article using the steps above. - **"Publish failed":** Unspar doesn't retry or notify you. Fix the outlet and publish by hand, as shown in [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). - **"Not published automatically: Unspar could not confirm that it was started with permission to publish. Publish it by hand.":** The article was started from Claude or ChatGPT, or with an API key that doesn't have permission to publish. Those articles never publish by themselves. - **"Featured image pending"** or a similar image status: An image marked **Required before publishing** needs to be finished and approved first. See [Images](https://www.unspar.com/docs/guides/images/). If you turn auto-publish off, articles waiting for their slot stay unpublished. The same happens to unapproved articles if you turn review on. [Troubleshooting](https://www.unspar.com/docs/guides/troubleshooting/) lists the other statuses. ## For AI agents You set up auto-publish in the web app. An agent can read an article's publishing status and schedule one article. unspar articles approve approves an article for auto-publish, and the article can then go out at the next free time. Use it only when the person you work for asked for it. It needs an API key with the Publish approval permission. Full access keys don't have that permission. ```sh unspar articles status --jq .publishing_status unspar articles publish --scheduled-at 2026-12-01T08:00:00+01:00 unspar articles approve unspar api get /articles//publishing-attempts ``` --- # Credits, plans and billing You pay for work in Unspar with credits. An ordinary article costs 1 credit, and a plan gives your team new credits every month. Web version: https://www.unspar.com/docs/guides/credits-and-prices/ A credit is what Unspar charges for work. Writing an article costs credits, and so do a few other tasks like generating images or finding article ideas. Unspar always shows you the price before anything starts. Credits belong to your whole team rather than an individual account. Everyone on the team spends from the same shared balance. See [Teams](https://www.unspar.com/docs/guides/teams/). Your plan adds credits each month, and you can buy credit packs whenever you need more. ## What does an article cost? Unspar sorts every article into a size class, and that class sets the price. You can see it before you start in the **Estimated credits** box on the [Create](https://app.unspar.com/articles/create) page. If a setting bumps the article into a higher class, the box tells you which setting caused it. | Class | Credits | With **Check the facts** | A typical article | | ---------- | ------- | ------------------------ | ---------------------------------------------------------- | | Short text | 1 | 2 | A short post written without web research | | Article | 1 | 2 | An ordinary article with web research, under 3,000 words | | In-depth | 4 | 7 | A long guide, or an article with deep research | | Report | 15 | 21 | A long guide with deep research, or a very long article | | Project | Quote | Quote | Book-length work or a very large amount of source material | Citations, quotes, and charts are included in the base price. **Check the facts** is an optional fact-check on the Create page, and Unspar charges its extra credits only when the check finishes. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). Your planned length, research settings, and source material determine the class. Hitting any one of these thresholds moves the article into that class. | What you set | In-depth from | Report from | | ----------------------- | ----------------- | ---------------------- | | Planned length | about 3,000 words | 7,500 words | | **Deep research** | turned on | on 3,000 words or more | | Source links | 3 | 8 | | Uploaded files | 1 | 4 | | Pasted text and uploads | 3,500 words | 9,000 words | At 20,000 words, or 15,000 words of your own material, an article becomes a **Project**. Credits don't cover Projects. Instead, the Create page shows **Talk to us**, and we'll send you a quote. A [refresh](https://www.unspar.com/docs/guides/refresh/) or a [translation](https://www.unspar.com/docs/guides/translations/) uses the same pricing and costs at least 1 credit. ## What else costs credits? A few other tasks have their own credit prices. | What | Credits | | ---------------------------------------- | ------------------------------------------ | | An image Unspar makes for an article | 1 for each image you receive | | A screenshot of a web page | 1 | | A chart | 0, it is part of the article price | | An idea run, or **More ideas** on a run | 1 | | A voice built from your writing samples | 5 for each try | | A round of changes to a finished article | The first successful round is free, then 1 | You don't pay for an image that fails to generate, which is why an article with images shows "up to" on its queue button. An idea run costs 1 credit even if it finds nothing new. Your team's first voice built from a project's website is free. See [Images](https://www.unspar.com/docs/guides/images/), [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/) and [Voices](https://www.unspar.com/docs/guides/voices/). Estimates, drafts, downloads, and publishing are free. ## When are credits held, charged and given back? Unspar doesn't charge you the moment you start an article. When you queue it, Unspar holds the credits for its price. Those held credits are set aside for that article and can't be used for other work. Once the article finishes, Unspar charges the held credits. If it fails or you cancel it, those credits return to your balance, though you're still charged for any images you already received. Retrying an article holds the price again, and you only ever pay for the article once. If your team doesn't have enough available credits, the Create page says "Insufficient credits to queue this article." and nothing starts. Credits held for running articles don't count toward what's available. A paid team with fewer than 5 credits sees **Low credits** at the top of the app. ## Where do I see my credits? The number in the top bar, such as "37 Credits", shows what your team can spend right now. It leaves out held credits, though you can hover over the number to see them. Everyone on the team sees this balance. ![Top bar of the app with 58 Credits marked next to the question mark icon](https://www.unspar.com/images/docs/topbar-credits.webp) The top bar shows what your team can spend right now. The team owner also sees a **?** icon next to the number. Clicking it opens the [Credits](https://app.unspar.com/credits) page, which is visible only to the team owner. There you'll find the **Current balance** and a log of every credit added or charged, along with who started the job. Selecting **Details** on a row shows the article it was for. ![Credits page with the current balance, and a history table with Date, Operation, Credits, User and Details](https://www.unspar.com/images/docs/credits-page.webp) The Credits page shows the balance and every charge, with who started it. Details shows what a charge paid for. ## What do the plans cost? Every new account starts on the Free plan. After a quick check, new accounts can claim 10 free credits once, and those credits last 30 days. To keep writing after that, you'll need a paid plan. | Plan | Price a month | Credits | Unused credits roll over up to | One ordinary article | | ------- | ------------- | -------------------- | ------------------------------ | -------------------- | | Free | €0 | 10 once, for 30 days | No rollover | 1 free credit | | Starter | €49 or $59 | 50 each month | 150 | about €0.98 or $1.18 | | Pro | €199 or $239 | 250 each month | 750 | about €0.80 or $0.96 | Every plan includes all features, with no limits on projects, people, or voices. Plans are billed monthly. Prices are listed before tax, and the checkout displays the final total. See the [pricing page](https://www.unspar.com/pricing/) for a full overview. Unspar adds your monthly credits on the same day each month, based on when your plan started. Free credits and credit packs don't count toward the rollover cap, and Unspar always spends the credits that expire soonest first. ## Subscribe to a plan Only the team owner can subscribe. **Billing** appears in the user menu only when you're in a team you own. 1. Open the user menu at the top right and choose **Manage subscription** under **Billing**. The [Billing](https://app.unspar.com/billing) page opens. 2. Choose **Subscribe** under **Starter** or **Pro**. 3. Pay in the checkout window. It comes from Paddle, the company that handles our payments and invoices. The page shows **Subscription Pending** for a few seconds before displaying your plan. Your first monthly credits arrive right away. Any free credits you still have remain in your balance, and Unspar spends them first. ![Billing page with the Starter plan at EUR 49 / $59 and the Pro plan at EUR 199 / $239, each with a Subscribe button](https://www.unspar.com/images/docs/billing-plans.webp) Choose Subscribe under the plan you want. ## Buy a credit pack A credit pack is a one-time bundle of extra credits. Only the team owner can buy one, and your team must be on a paid plan. | Pack | Price | | ----------- | ------------ | | 25 credits | €29 or $35 | | 100 credits | €99 or $119 | | 500 credits | €449 or $549 | 1. Open [Buy credits](https://app.unspar.com/credits/purchase). In the user menu, it's **Purchase credits** under **Billing**. 2. Choose **Purchase credits** on the pack you want. 3. Pay in the Paddle checkout. Unspar displays **Confirming your payment** for a few seconds, and then the credits appear on your team. A pack stays valid for 12 months and works only while your plan is active. ## Change or cancel your plan You can switch between Starter and Pro at any time from the [Billing](https://app.unspar.com/billing) page. 1. Choose **Change Subscription Plan**. 2. Choose **Subscribe** under the other plan. 3. Choose **Confirm**. Paddle settles the price difference right away. If you upgrade, your 250 Pro credits arrive on your next monthly billing date, so buy a credit pack if you need more credits today. If you downgrade, Unspar immediately trims any plan credits above 150 down to 150. To cancel, choose **Cancel Subscription** and confirm. Your plan stays active until the end of the billing period you already paid for. Until then, you can undo the cancellation with **Resume Subscription**. Once the plan ends, your team loses all unused credits, including credit packs and free credits, and they can't be restored. Any articles already in progress still finish and are charged, and your projects and articles remain in your account. If a payment fails, the Billing page shows **Failed Subscription Payment**. Choose **Update Payment Method** to fix it. Until the payment goes through, your team can't spend plan or pack credits. You can find your invoices under **Invoices** on the same page, and refunds follow our [refund policy](https://app.unspar.com/refund). ## For AI agents Check the balance and the estimate before you create an article. The estimate creates nothing and holds no credits. unspar articles create and unspar articles queue ask for confirmation unless you pass --force. The raw unspar api post sends without asking. The team owner handles the plan and the invoices in the web app. An agent can read the plan and the balance but can't change them. ```sh unspar credits balance unspar credits transactions --since 2026-11-01T00:00:00Z unspar api post /articles/estimate --field project= --field "brief=How to fix a flat bike tyre" unspar articles create --project --brief "How to fix a flat bike tyre" --no-queue unspar articles queue unspar whoami unspar credits balance --json ``` --- # Teams A team is the group of people who work in Unspar together. They share the same projects and one credit balance, and each person has their own login and a role. Web version: https://www.unspar.com/docs/guides/teams/ When you sign up, Unspar creates a team for you and names it after your first name, like "Lena's Team". You are the team owner, which means the team belongs to you. Only the team owner pays for the team and decides who is in it. Projects and API keys belong to the team, and so do your plan and credits. A project is one website in Unspar, with its own settings and articles. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/). ## What is a team for? A team lets several people work on the same sites without sharing a login. Every plan lets you invite as many people as you like. Each person gets a role that controls what they can do. You can't create a second team. If you write for multiple sites or clients, set up a separate project for each one inside your team. Then use project access to decide who sees which project. ## Invite someone Only the team owner can invite people. You do this on the **Team settings** page, which you can open from the user menu or from [Settings](https://app.unspar.com/settings). 1. Open the user menu at the top right and choose **Team settings**. 2. Under **Add team member**, enter the person's **Email**. 3. Pick a **Role**. The next section explains the roles. 4. Choose **Add**. Unspar will show "Team invitation has been sent." The invitation sits under **Pending team invitations** until the person accepts it, and you can use **Cancel** to take it back. The link in the email doesn't expire. The person receives an email with an **Accept invitation** button. If they are new to Unspar, they first choose **Create account** in the email and sign up with the invited address. If they already have an account, they sign in with that address and accept. Either way, Unspar switches them to your team. If they see "You must be signed in with the invited email address to accept this invitation.", they are signed in under a different address. They need to sign out and sign back in with the invited one. ![Add team member on the Team settings page, with the Email field and the roles Owner, Administrator, Manager and Member](https://www.unspar.com/images/docs/team-add-member.webp) Invite people under Add team member, with their email address and a role. ## What can each role do? When you invite someone, you pick one of four roles. Don't mix up the **Owner** role with the team owner. The team owner is the person the team belongs to. **Owner** is a role you can assign to someone you invite, and it has far fewer permissions. The short descriptions in the role picker don't match the actual permissions, so rely on this table instead. "Their projects" means the projects a person created or was given access to. | | Team owner | Administrator | Manager | Owner role | Member | | ------------------------------------------------- | ---------- | ------------- | ----------------- | -------------- | -------------------------- | | Projects they see | All | All | Their projects | Their projects | Their projects | | Create projects | Yes | Yes | Yes | Yes | No | | Write, change and delete articles | Yes | Yes | Yes | Yes | No, only read and download | | Approve and publish articles | Yes | Yes | Yes | Yes | No | | Give people access to projects | Yes | Yes | No | No | No | | Set up and change outlets | Yes | Yes | No, only see them | Yes | No | | See who is on the team | Yes | Yes | Yes | Yes | No | | Create API keys | Yes | Yes | No | No | No | | Invite and remove people, change roles | Yes | No | No | No | No | | Plan, credit packs, invoices and the Credits page | Yes | No | No | No | No | Writing an article uses the team's credits, so anyone who can write articles can spend them. See [Credits, plans and billing](https://www.unspar.com/docs/guides/credits-and-prices/). Pick **Administrator** for someone who runs Unspar with you. Pick **Manager** for someone who writes for specific projects, and **Member** for someone who only reads articles before they go out. To change someone's role, open **Team settings** and click their role under **Team members**. Pick the new role in **Manage role** and choose **Save**. ## Give someone access to a project The team owner and Administrators see every project. Everyone else only sees the projects they created or were given access to. Only the team owner and Administrators can decide who gets which project. 1. Open the project from [Projects](https://app.unspar.com/projects). 2. Open the menu with the three dots and choose **Manage access**. 3. Turn on the switch next to each person who should see the project. 4. Choose **Save**. Unspar shows "Project access updated successfully." Administrators appear with "Has access through role permissions" and a locked switch. Anyone who creates a project gets access to it automatically. ## Switch between teams When someone invites you to their team, you belong to two teams, theirs and your own. Whenever you are in more than one team, the user menu lists them under **Switch teams**, with a green tick next to the active one. Everything you see belongs to the team you currently have open, including the credit number in the top bar. Articles you write in another person's team use that team's credits. ## Remove someone or leave a team To remove someone, the team owner opens **Team settings**, chooses **Remove** next to the person under **Team members**, and confirms. The person loses access right away, while the articles they wrote stay in the team's projects. Any API keys they used keep working, so be sure to revoke those under **API tokens**. See [API keys and connections](https://www.unspar.com/docs/agents/access/). To leave a team you were invited to, open **Team settings**, choose **Leave** next to your name, and confirm. Your own team stays untouched. Because Members don't see the list of people, they won't see a **Leave** option and need to ask the team owner to remove them. The team owner can't leave their own team or transfer it to someone else. If the team owner deletes their account, the team and all of its projects and articles are deleted for everyone on it. See [Account and data](https://www.unspar.com/docs/guides/account-and-security/). ## For AI agents An API key belongs to one team and only reaches that team's projects. unspar whoami shows the team and a summary of what the key may do. With --verbose, it lists each permission. If the project list is cut short, unspar projects list shows the rest. ```sh unspar whoami unspar whoami --verbose ``` --- # Account and data Your account is your personal login to Unspar. This page explains how to keep it safe, how to delete it, and what Unspar does with your data. Web version: https://www.unspar.com/docs/guides/account-and-security/ You sign in to Unspar with your email address and a password. Signing in with Google or GitHub isn't available. Your account is yours alone, and it can belong to more than one team. A team is the group of people who share projects and credits (see [Teams](https://www.unspar.com/docs/guides/teams/)). Most account settings live on your profile page. Open [Your profile](https://app.unspar.com/user/profile) from the user menu at the top right. [Getting started](https://www.unspar.com/docs/guides/getting-started/) explains how to sign up. ## Change your name, email or photo The first section of your profile is **Profile information**. Here you can change your **Name** and **Email**. You can also add a **Photo** (a JPG or PNG up to 1 MB) and links to your LinkedIn profile and website. Choose **Save** when you're done. If you change your email address, Unspar sends a confirmation link to the new one. The app stays locked until you open that link. The app language isn't on your profile page. You can switch it using the language menu in the top bar. Article language is set separately in each [project](https://www.unspar.com/docs/guides/projects-and-site-context/). ![Profile information on the Profile page with photo, name, email, LinkedIn profile URL and personal website URL](https://www.unspar.com/images/docs/profile-page.webp) Your profile. Password, two-factor authentication, browser sessions and Delete account follow further down the same page. ## Change or reset your password To change your password while signed in, go to **Update password** on your profile. Enter your **Current password**, then your **New password** twice, and choose **Save**. Passwords must be at least 8 characters long. If you forgot your password: 1. Choose **Forgot password?** on the [login page](https://app.unspar.com/login). 2. Enter **Your email address** and choose **Send reset link to your email**. 3. Open the link in the email within 60 minutes. 4. Enter your **Email** and the new **Password** twice, then choose **Reset password**. ## Turn on two-factor authentication Two-factor authentication adds a second step when you sign in. After you enter your password, Unspar asks for a code from an authenticator app on your phone, such as Google Authenticator. Even if someone gets your password, they still can't get into your account. 1. On your profile, go to **Two-factor authentication** and choose **Enable**. 2. Confirm your password. 3. Scan the QR code with your authenticator app, or type the **Setup key** into it. 4. Enter the **Code** the app shows and choose **Confirm**. Unspar then shows you recovery codes. Save them in a password manager. If you lose your phone, you can sign in with one of these codes instead, and each code works once. Choosing **Regenerate recovery codes** creates a new set and invalidates the old ones. From then on, after you enter your password, the **Two-factor confirmation** page will ask for the **Code**. If you don't have your phone, choose **Use a recovery code** and enter one of your saved codes. ## Sign out other devices The **Browser sessions** section of your profile lists the browsers and devices where you're signed in. **This device** marks the one you're using. Choose **Log out other browser sessions** and enter your password. Unspar signs you out everywhere else. If you think someone else might know your password, change it too. ## Delete your account Deleting your account can't be undone. It also deletes the team you own, along with all its projects and articles, for everyone on that team. It doesn't cancel a paid plan, so you would keep getting charged. Follow these steps in order: 1. If your team has a paid plan, cancel it on the [Billing](https://app.unspar.com/billing) page with **Cancel Subscription**. See [Credits, plans and billing](https://www.unspar.com/docs/guides/credits-and-prices/#change-or-cancel-your-plan). 2. Download the articles you want to keep. Each article page has a **Download** menu, for example for Markdown or PDF. There is no way to export all articles at once. 3. If you connected your own sites as outlets, revoke Unspar's access on each site, such as the application password in WordPress. Deleting your account doesn't delete the outlets or their stored passwords. 4. On your profile, go to **Delete account** and choose **Delete account**. 5. Enter your **Password** and confirm. Here is what happens when you delete your account: - The team you own is deleted along with its projects and articles. People you invited lose access. - The team's credits are gone, including credit packs. - The team's API keys and connections from AI tools stop working. - You leave any teams you were invited to. Their projects stay with them. - Your email address stays reserved, so you can't sign up again with it. If you want more of your personal data deleted, write to support@unspar.com. ## What does Unspar store? To write your articles, Unspar keeps your work and some data about you. - Your account: your name, email address, language, and teams. - Your work: your projects, the sources you add, your articles with their images, and your own templates, voices, and outlets. - Payments: records of your plan and payments from Paddle, the company that handles our payments. Unspar doesn't store your full card details. - Technical data: your IP address and browser, plus events like sign-ins and credit use. Your password is stored as a hash, a scrambled form that can't be turned back into the original password. API keys are stored the same way, which is why Unspar shows a new key only once. The passwords and keys for your outlets are stored encrypted, and Unspar never shows them again. ## Who can see my content? In your team, people see the projects they have access to. Other Unspar customers can't see your projects or articles. An AI tool you connect with an API key or through MCP can read what its permissions allow (see [API keys and connections](https://www.unspar.com/docs/agents/access/)). Unspar's own administrators can open any account for support and to protect against misuse. To research and write, Unspar sends parts of your briefs, sources, and project settings to AI model providers and search services. These providers may process data in other countries. If you need to know which providers they are, write to support@unspar.com. You keep ownership of the content and materials you give Unspar, like your briefs and sources. Articles can contain mistakes, so read each one before you publish it. ## How long does Unspar keep things? Your projects and articles stay until you delete them. A few things are removed automatically: | What | How long Unspar keeps it | | ------------------------------------------------------------------------------------ | ---------------------------------------------- | | Working files and images of a failed or cancelled article | 30 days | | Working files and images of a finished article you never published through an outlet | 90 days after it was finished. The text stays. | | The log of sign-ins and of team and billing events | 90 days | Only the PDF download of an article includes its images. Markdown and HTML downloads link to the images on Unspar's servers, and those links stop working once the images are deleted. Depending on where you live, you may have the right to get a copy of your personal data, or to have it corrected or deleted. Write to support@unspar.com to use these rights. You can find the details in the [Privacy Policy](https://app.unspar.com/privacy) and the [Terms of Service](https://app.unspar.com/terms). ## For AI agents The CLI works with a team API key. It doesn't use your password. unspar login opens Unspar in the browser, where you sign in and approve the key. unspar logout only removes the stored key from this computer, and a key in the UNSPAR_API_KEY variable keeps working. To revoke the key itself, use API tokens in the web app. ```sh unspar login unspar auth status unspar logout ``` --- # SaaS blogs A SaaS blog needs regular articles about the problem your product solves. Unspar researches each topic on the web and writes the article with the product facts you give it. Web version: https://www.unspar.com/docs/use-cases/saas-blogs/ A SaaS company blog usually carries two kinds of posts: how-tos that help people with the task your product is for, and comparisons that help them choose between tools. Unspar writes both. It looks up each topic on the web, writes for the readers you describe, and sends the finished article to your blog. You set this up once in a project, which represents one website in Unspar with its own settings and articles. ## Set up a project for your blog Unspar only knows what you tell it about your product, since it can't log in to your app or read help pages behind a login. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Enter your blog's address and choose **Create project**. Unspar reads the home page and suggests the language. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Write a few sentences into **Site context** and choose **Save**. A site context for a SaaS blog could look like this: > Articles for people who run a small online store and manage their own stock. Our product is an inventory tool for these stores. Mention it only where it helps with the task in the article. Prices are in US dollars. Put your readers and any limits first, because the research step only reads about the first 700 characters. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/). If an article needs details about a specific feature, add them to **Additional context** under **More options** on the [Create page](https://app.unspar.com/articles/create). You can also add a public help page under **Source links**. Including one or two links keeps an ordinary article at 1 credit, while three or more make it In-depth, at 4 credits. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). ## Pick the template A template is the blueprint for a specific kind of article. It controls how much research Unspar runs and whether sources show up as links. Three built-in templates work well for a SaaS blog. | Kind of post | Template | Credits | | --------------- | ---------------------------------------- | ------- | | How-to | General Guide, the default | 1 | | Technical topic | Technical Explainer, with sources linked | 1 | | Tool comparison | Buyer's Guide | 1 | When you type a comparison topic on the Create page, Unspar offers Buyer's Guide under **Other templates**. It compares tools by what they do and isn't made for price comparisons. Tick **Check the facts** on comparisons, since competing tools change their features often. That check adds 1 credit to an ordinary article. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). ![Recommended template panel with the project default and other templates such as Buyer's Guide](https://www.unspar.com/images/docs/create-3-template.webp) The Recommended template panel shows the template for this article and a few alternatives under Other templates. ## Keep articles in your voice A voice sets the tone of your articles, and Unspar can build one from the posts already on your blog. 1. On the project page, find the card **Your site voice** and choose **Find site articles (free)**. 2. Choose **Create your site voice (free)**. It needs at least 2,000 words from your site. 3. Read the sample. When you like it, choose **Use as project default**. From then on, new articles will use that voice. Your team's first site voice is free, and each additional one costs 5 credits. See [Voices](https://www.unspar.com/docs/guides/voices/). ## Find topics An idea run suggests topics your blog hasn't covered yet. Open [Ideas](https://app.unspar.com/ideas), choose **New run**, enter your blog's address, and choose **Generate ideas**. Unspar reads up to 50 pages of your site for 1 credit per run. When you spot an idea you like, choose **Queue article**. See [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/). ## Publish to your blog An outlet is a site Unspar publishes to. Open [Outlets](https://app.unspar.com/outlets), choose **New outlet**, enter your blog's address under **Website URL or domain**, and choose **Detect**. Fill in the fields under **Connection** and choose **Create outlet**. Next, select it as your project's **Default outlet** under **Publishing automation** on the **Edit** page. WordPress receives the text, images, and an excerpt. Ghost receives the title and text without images, and the post goes live as soon as Unspar sends it, so pick the day in Unspar's **Publish** dialog. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). ## What it costs Two posts a week come to about eight articles a month. | Each month | Credits | | -------------------------------------- | ------- | | 6 how-tos and technical posts | 6 | | 2 comparisons with **Check the facts** | 4 | | 1 idea run | 1 | | **Total** | **11** | Starter costs €49 a month and includes 50 credits. Unused credits roll over, up to 150. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) and the [pricing page](https://www.unspar.com/pricing/). --- # Affiliate and niche sites A niche site needs many researched articles on one topic. Unspar writes them from a list of ideas, or on its own each day, and each article can wait for your approval. Web version: https://www.unspar.com/docs/use-cases/affiliate-sites/ A niche site runs on buying guides and how-tos about a single topic. Project Auto, the part of Unspar that writes on its own, can start a set number of articles each day. The posts arrive in WordPress unpublished, and you add your affiliate links there. ## Set up a project for your site A [project](https://www.unspar.com/docs/guides/projects-and-site-context/) is one website in Unspar, with its own settings and articles. Its language variant decides which region web searches use, so pick English (US) for a US site. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Enter your site's address and choose **Create project**. The new project opens. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Write the **Site context** and choose **Save**. Unspar doesn't use the products it writes about. Say so in the site context, like this: > Guides for people in the US who are choosing gear for home coffee brewing. Prices are in US dollars. Articles compare products by their features and never say that we tested a product ourselves. ## Pick the template A template sets the structure for a specific kind of article. Three built-in templates fit a niche site: - Use Buyer's Guide for buying guides. It explains what to look for and weighs the options, using one web search and no source links. - Use General Guide (the default) for how-tos and troubleshooting. It runs up to five web searches. - Use Technical Explainer for background articles. It includes links to its sources. None of the built-in templates are meant for roundups of named products with prices, and Buyer's Guide isn't meant for hands-on reviews. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). Product specs change often, so turn on **Check the facts** on the [Create page](https://app.unspar.com/articles/create) when you create a buying guide. It adds 1 credit to an ordinary article. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). ## Add your affiliate links in WordPress An outlet is a site Unspar publishes to. Unspar doesn't add affiliate links or a disclosure line. Connect your site under [Outlets](https://app.unspar.com/outlets) and set the outlet's **Default status** to **Draft**. Each post then waits in WordPress, so you can add your links before you publish it there. Once a post is sent to WordPress, Unspar treats it as published, and you can't request changes in Unspar anymore. Make any edits in Unspar first. See [WordPress](https://www.unspar.com/docs/guides/wordpress/). ## Find topics Project Auto pulls its topics from your project's ideas list. Open [Ideas](https://app.unspar.com/ideas), choose **New run**, enter your site's address, and choose **Generate ideas**. For 1 credit a run, Unspar reads up to 50 pages on your site and suggests articles you don't have yet. If you don't want Auto to write a topic, choose **Hide idea** in that idea's menu. ## Let Project Auto write the how-tos Auto needs to know what to do with a finished article, so set up publishing with approval first. 1. On the project's **Edit** page, under **Publishing automation**, pick your WordPress outlet as **Default outlet**. 2. Switch on **Auto-publish completed articles**. Leave **Require human review before auto-publish** on. 3. Under **Publishing schedule**, choose **Daily at 08:00** and then **Save**. 4. On the project page, choose **Turn on Auto** in the **Auto** panel. 5. Pick General Guide as **Template**, set **Articles/day** to 1 and choose **Save Auto**. ![Publishing automation card with Default outlet, Auto-publish completed articles and Require human review before auto-publish](https://www.unspar.com/images/docs/autopublish-card.webp) With review on, each finished article waits for your approval before it goes out. Each day, Auto picks the next idea on the list and skips anything your project already covers. When the list runs out, Auto starts a new idea run on its own for 1 credit. Finished articles wait with the status "Waiting for approval". Choose **Approve for auto-publish** to send an article out at the next open 08:00 slot. Once you approve an article, you can't undo it. See [Project Auto and ideas](https://www.unspar.com/docs/guides/project-auto-and-ideas/) and [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). Because Auto uses a single template for every article and has no fact-check setting, start your buying guides yourself on the Create page. ## What it costs One how-to a day plus two buying guides a week come to this: | Each month | Credits | | ---------------------------------------- | ------------ | | 30 how-tos from Project Auto | 30 | | About 8 idea runs that Auto starts | 8 | | 8 buying guides with **Check the facts** | 16 | | **Total** | **about 54** | Images add 1 credit each. Pro costs €199 a month with 250 credits, which leaves room for images. Starter's 50 credits aren't enough, but Starter plus a 100-credit pack gives you 150 credits for €148. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) and [Buy credits](https://app.unspar.com/credits/purchase). --- # Agencies An agency writes for several clients, each with its own site and its own way of writing. In Unspar each client gets a project, and your writers see only the clients you give them. Web version: https://www.unspar.com/docs/use-cases/agencies/ When you run an agency, you are usually writing for several client sites at once. Unspar researches and writes each article for that client's readers, using their voice. Your writers read the draft and ask for changes if anything feels off, and Unspar publishes it straight to the client's site. Everything lives inside one team, which is your Unspar account and the people you invite to it. ## Set up a project for each client A project is one website in Unspar, with its own settings and articles. Projects are free and unlimited. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Enter the client's website address and choose **Create project**. The new project opens. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Write the client's **Site context** and choose **Save**. The site context tells Unspar who the client's readers are and sets any ground rules, like this: > Articles for adults in the city who are looking for a dentist or have a question about a treatment. Prices are in euros. Articles never diagnose, and they tell readers with pain or swelling to book an appointment. Turn on **Images in the article** only for the clients who want them. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/). ## Keep each client's voice A voice controls how a client's articles sound, and Unspar can build one from their existing posts. 1. On the client's project page, find the card **Your site voice** and choose **Find site articles (free)**. 2. Choose **Create your site voice**. It needs at least 2,000 usable words. 3. When you like the sample, choose **Use as project default**. Your team's first site voice is free, and each additional one costs 5 credits. Unspar won't create a voice that names a specific writer or publication to imitate. See [Voices](https://www.unspar.com/docs/guides/voices/). ## Connect each client's site An outlet is a site Unspar publishes to. Connect each client's site under [Outlets](https://app.unspar.com/outlets) and set it as the **Default outlet** for that client's project. Any project can use any outlet, so name each one after its client. - **WordPress:** the client creates a user for your agency with the Editor role and sends you an application password for it. WordPress shows that user as the author. - **Ghost:** the client adds a custom integration in Ghost and sends you its Admin API key. - **Email:** for a client who updates their site by hand, Unspar emails each finished article. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/) and [WordPress](https://www.unspar.com/docs/guides/wordpress/). ## Give your writers access Only the team owner can invite people and handle billing. To add someone, the owner opens [Settings](https://app.unspar.com/settings) and goes to **Team settings**. Under **Add team member**, enter the person's **Email**, pick a **Role**, and choose **Add**. | Role | What they can do | | ----------------- | ---------------------------------------------------------------------------------------------------------------- | | **Administrator** | Sees all projects and gives others access. Can't invite people or change the plan. | | **Manager** | Sees only the projects you switch on under **Manage access** in each project's menu. Writes and publishes there. | | **Member** | Reads and downloads the articles in their projects. Can't ask for changes or approve articles. | Managers can't set up new outlets, though they can see the full list of outlets and pick any of them when publishing. See [Teams](https://www.unspar.com/docs/guides/teams/). ## Let the client read first If a client wants to review articles before they go live, you have three options. - Invite the client as a **Member** with access to their own project only. They won't see your other clients. They can send you their comments, and you use **Request changes**. - Set **Default status** to **Draft** in the client's WordPress outlet. The post arrives unpublished so the client can review and publish it there. Any small fixes from that point on happen in WordPress. - Choose **Download** on the article page and send the client the PDF. See [The article page](https://www.unspar.com/docs/guides/the-article-page/). ## What it costs and who pays All of your clients draw from the same credit balance. Unspar doesn't set credit limits per project or generate client invoices, but the owner's [Credits](https://app.unspar.com/credits) page lists every charge. Choosing **Details** on any row shows the exact project and article. Six clients with five ordinary articles each come to 30 credits a month. Images add 1 credit each. Pro costs €199 a month with 250 credits. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). If a client has their own Unspar account, they can invite you to their team instead so you write using their credits. --- # Local businesses Customers of a local business ask the same questions again and again. Unspar turns those questions into blog posts for people in your area. Web version: https://www.unspar.com/docs/use-cases/local-businesses/ Writing a short post for each common customer question helps people out and shows you know your trade. With Unspar, you type in the question, and it researches the topic and writes a post for people in your area in plain language. Your part is to pick the questions and read each post before it goes on your website. ## Set up a project for your business A project represents your website in Unspar and holds what it should know about your business. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Enter your website's address and choose **Create project**. Unspar suggests the language based on your home page. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Write a few sentences in **Site context** and choose **Save**. Your site context tells Unspar who you work for and where, and the area also guides its web research. Here is an example: > Guides for homeowners and landlords in Bristol and North Somerset with a heating or plumbing problem. Prices are in pounds. Articles never tell readers to open or repair a gas boiler themselves. Unspar doesn't know your prices or opening hours, so add them here if you want posts to mention them. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/). ![Edit project form with the Site context field marked](https://www.unspar.com/images/docs/projects-edit-context.webp) The site context says who the site is for and where. ## Pick the template and the voice A template is the recipe for a particular kind of article. Keep the project's default, General Guide, which writes plain, helpful guides. The built-in Local Area Guide sounds like a fit, but it writes neighborhood overviews for people thinking about moving somewhere. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). A voice sets how your posts sound. Pick Friendly Explainer under **Writing voice** on the project's **Edit** page so technical terms are explained in plain words. If you already have 2,000 words or more of your own writing on your site, you can use the **Your site voice** card on the project page to build a voice from it instead. See [Voices](https://www.unspar.com/docs/guides/voices/). ## Get the posts onto your website An outlet is where Unspar publishes your posts. If your site runs on WordPress, connect it under [Outlets](https://app.unspar.com/outlets) so posts go straight onto your site. See [WordPress](https://www.unspar.com/docs/guides/wordpress/). Unspar can't publish directly to Wix or Squarespace. Instead, you can email the posts to whoever updates your site: 1. Open [Outlets](https://app.unspar.com/outlets) and choose **New outlet**. 2. Choose the **Email** card and enter the address under **To recipients**. 3. Choose **Send test email**, then **Create outlet**. Each post you publish arrives in that inbox along with its pictures, and a post sent by email counts as published. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). Keep in mind that Unspar only writes blog posts. It doesn't post to your Google Business Profile. ## Write a month of posts at once A batch lets you start several posts from a single list. Project Auto writes at least one article a day, which is more than a local blog usually needs. 1. Open the [Create page](https://app.unspar.com/articles/create), choose the **Batch** tab, and then **Create new articles**. 2. Pick the project and the outlet. 3. Under **Rows**, paste your questions, one per line. 4. Choose **Parse and review**, check the prices, and choose **Save & queue selected**. ```text What to do when your boiler loses pressure Why a radiator is cold at the top How often a boiler needs a service ``` Leave out publish dates, because adding a date means you can't ask for changes after reading. Look over each finished post and choose **Request changes** if a part is too technical. The first round of changes is free. See [Create an article](https://www.unspar.com/docs/guides/create-an-article/). If you're writing a post about rules or regulations, start it on its own so you can tick **Check the facts**. A batch can't do that. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). ## What it costs An ordinary post costs 1 credit, so four posts a month cost 4 credits. Images add 1 credit each, and a post with **Check the facts** costs 2. New accounts can get 10 free credits once, valid for 30 days. [Register](https://app.unspar.com/register) to try it. After that, Starter is the smallest plan at €49 a month with 50 credits, and unused credits roll over up to 150. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). If you'd rather not handle this yourself, there's Concierge. We write and publish the articles for you, and a person reads each one before it goes out. Ask for a quote on the [contact page](https://app.unspar.com/contact). --- # Online shops Unspar writes the blog articles for your online shop. Buying guides help people choose a product, and how-tos help them use what they bought. Web version: https://www.unspar.com/docs/use-cases/online-shops/ People look things up before and after they buy. An online shop can answer those questions on its own blog, right next to its products. Unspar researches each topic on the web, weaves in what you tell it about your products, and sends the finished post to your shop's blog. ## Tell Unspar what you sell Unspar doesn't read your product catalog, so it doesn't know your prices or what's in stock. In Unspar, your shop is a project, and its **Site context** tells Unspar what you sell and who buys from you. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Enter your shop's address and choose **Create project**. The new project opens. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Write the **Site context** and choose **Save**. A site context could look like this: > Guides for home cooks in the UK who are buying a good kitchen knife or learning to look after one. We sell Japanese and German kitchen knives and sharpening stones. Prices are in pounds. Facts for a single article go into **Additional context** under **More options** on the [Create page](https://app.unspar.com/articles/create), such as "We sell a 1000/6000 combination stone." If you have more details, paste a product list as text under **Sources**. A short list keeps an ordinary article at 1 credit. An uploaded file, like a CSV export of your products, makes the article at least In-depth, at 4 credits, even when the file is small. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). ## Pick the template A template is the recipe for one kind of article. It controls how Unspar researches and builds the post. - For a buying guide, use Buyer's Guide. It compares options and their tradeoffs before a purchase. It makes one web search and shows no source links. It isn't made for hands-on reviews or live prices. - For a how-to, the default General Guide fits. It makes up to five web searches and reads the pages it finds. - For a topic that explains a technical term, Technical Explainer links its sources in the text. Select **Check the facts** on buying guides. After the article is written, the check compares claims like materials and measurements against the web. It costs 1 extra credit on an ordinary article. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). ## Add pictures Unspar generates AI images, so they won't show the products you sell. You can't upload your own photos to Unspar, so add your product photos to the post inside your shop. For a how-to, the **Diagram or infographic** image preset creates a picture that explains something, with a bit of useful text. Images in this style wait for your approval on the article page. You can turn on a featured image for the top of the post per article on the **Manual** tab. Each image costs 1 credit. See [Images](https://www.unspar.com/docs/guides/images/). ## Publish to your shop An outlet is a site Unspar publishes to. How an article gets to your shop depends on the platform your shop runs on. WooCommerce runs on WordPress, so connect your shop as a WordPress outlet under [Outlets](https://app.unspar.com/outlets). Each article becomes a blog post, with its images saved in the Media Library. Unspar doesn't create or change products. In the outlet settings, set **Default category** to the ID of your guides category. You can find that ID in WordPress under **Posts** and **Categories**. Unspar doesn't link to your product pages, so if you want to add those links yourself, set **Default status** to **Draft**. Each post then waits in WordPress until you publish it there. See [WordPress](https://www.unspar.com/docs/guides/wordpress/). Shopify isn't an outlet in Unspar. On the article page, choose **Download** and then **HTML (.html)**, then paste the article into a Shopify blog post. If a developer works on your shop, a [webhook](https://www.unspar.com/docs/guides/webhooks/) can send each article to their code, which saves it in Shopify. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). ## What it costs Six articles a month, made up of two buying guides and four how-tos, add up like this: | Each month | Credits | | ---------------------------------------- | ------- | | 2 buying guides with **Check the facts** | 4 | | 4 how-tos with General Guide | 4 | | A featured image on each of the 6 | 6 | | 2 diagrams in each how-to | 8 | | **Total** | **22** | Starter costs €49 a month and includes 50 credits. Unused credits roll over, up to 150. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) and the [pricing page](https://www.unspar.com/pricing/). --- # Sites in several languages Unspar translates your finished articles into the other languages of your site. When a country needs different facts, it writes a new article in that language instead. Web version: https://www.unspar.com/docs/use-cases/multilingual-sites/ When you run a site in several languages, you need each post in every language you publish. Unspar can translate a finished post using a template that controls how freely it rewords the text. If a post needs different facts for another country, Unspar can write a new article in that language and research it locally. ## Which languages can Unspar write in? Unspar writes and translates in four languages, each with a few regional variants. It doesn't support any other languages. | Language | Regional variants | | -------- | ------------------------------------ | | English | US, UK, Australia, Canada | | German | Germany, Austria, Switzerland | | Spanish | Spain, Mexico, Argentina | | French | France, Canada, Belgium, Switzerland | ## Set up a project for each language A project is one website, or one part of it, with its own settings and articles. Give each language its own project. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Set **Default article language** to the language and variant, then choose **Create project**. The new project opens. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Write a **Site context** for readers in that country, like this: > Guides for parents in the UK who buy wooden toys for small children. Prices are in pounds, and orders ship from Germany. Where UK rules differ from German ones, articles follow the UK rules. 5. In a German or French project, set **Form of address** to **Formal** or **Informal**. 6. Choose **Save**. For an informal German project, the built-in voice Freundlicher Du-Blog writes approachable everyday help. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/) and [Voices](https://www.unspar.com/docs/guides/voices/). ## Translate or write new? A translation carries over what the original says and does no research. That works well for a post that stays the same in every country, like how to care for a product. If a post needs local facts, like regulations in another country, write a new article in that language's project so Unspar researches it for that country. There are five translation templates. Natural translation stays close to the original and reads like a native speaker wrote it. Localized translation also adapts idioms and examples for the new audience. All five templates are marked Experimental, meaning they haven't passed a review for their use case yet. Have someone who speaks the language read each translation before you publish it. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). ## Translate one post 1. On the [Create page](https://app.unspar.com/articles/create), open the **Manual** tab. Pick the target language's project and set **Creation mode** to **Translate existing content**. 2. Under **Template**, pick **Natural translation**. 3. Under **Source content**, choose **URL**, enter the address of the original post, and choose **Extract source**. 4. Check the **Target language**, and set **Formality** if the language has it. 5. Check **Estimated credits** and choose **Queue article**. ![Manual tab with Creation mode Translate existing content, the translation template, the loaded source and Target language](https://www.unspar.com/images/docs/translate-form-full.webp) A translation starts on the Manual tab of the Create page. If the original isn't on your site yet, copy its text from the **Markdown** tab on its article page. Under **Source content**, choose **Paste** and then **Use source**. You can only start translations in the web app. See [Translations](https://www.unspar.com/docs/guides/translations/). To translate several posts at once, open the **Batch** tab and choose **Translate source articles**. Each batch belongs to one project, so run one batch per language. ## Publish each language An outlet is a site Unspar publishes to. If each language lives on its own site, connect each one under [Outlets](https://app.unspar.com/outlets) and set it as the **Default outlet** for that language's project. Unspar doesn't tell WordPress which language a post is in, and it doesn't link a translation to its original. If you use a translation plugin to run all languages on one site, set the outlet's **Default status** to **Draft**. Each post will wait in WordPress so you can set its language in the plugin before publishing. See [WordPress](https://www.unspar.com/docs/guides/wordpress/). Links in a translation still point to the original URLs, so update them to pages in the new language. Translations don't create new images, and if you edit the original later, Unspar won't update the translations. ## What it costs Translating an ordinary post costs 1 credit. A long post, starting around 3,500 words, costs at least 4 credits. Four new posts a month, each translated into two more languages, come to 12 credits. Starter costs €49 a month and includes 50 credits. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). If a translation sounds stiff in places, choose **Request changes** on its page. The first round is free. --- # Newsletters Unspar writes the short texts for your newsletter, up to 1,500 characters each. It makes them from a finished blog article or from a topic it looks up first. Web version: https://www.unspar.com/docs/use-cases/newsletters/ A newsletter often condenses a longer blog article into a few short paragraphs. Unspar writes that short version for you. When you need to cover a topic that isn't on your blog, Unspar researches it and writes a short text from scratch. You then paste the texts into your newsletter tool. ## Make a text from a finished article You can turn any finished blog article in Unspar into a newsletter text. The new text uses the article's project, keeping the same language and default voice. In Unspar, a project represents one website with its own settings and articles. 1. Open the article from [Articles](https://app.unspar.com/articles) and find **Create from this article** below the text. 2. Pick **Newsletter note**. Its price shows next to it. 3. Choose **Create and start**. The new text's page opens right away, and the text appears there once it's ready. You can also find it later under **Created from this article** on the original article's page. Unspar writes this text using only the original article, with no new research, and leaves out links. If Unspar published the original article to your site, **Copy post and parent link** copies the text with the article's URL underneath. Updating the original article later won't change the newsletter text. See [The article page](https://www.unspar.com/docs/guides/the-article-page/). ## Set up a project for texts from a topic When you start from a topic instead of an existing article, Unspar uses the Newsletter Note template. A template is a recipe for a specific kind of article. Newsletter Note researches your topic on the web and writes one short, useful text. Because the Create page never suggests this template on its own, it helps to set up a dedicated project for your newsletter with Newsletter Note as the default. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Name it after your newsletter and choose **Create project**. The new project opens. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Under **Default article setup**, pick **Newsletter Note**. 5. Write a short **Site context** describing your readers. 6. Pick your blog's voice under **Writing voice**. 7. Choose **Save**. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/) and [Voices](https://www.unspar.com/docs/guides/voices/). ## Write a text from a topic 1. Open the [Create page](https://app.unspar.com/articles/create) and pick your newsletter project. 2. Type the topic into **Title or topic**. **Recommended template** shows "Newsletter Note (project default)". 3. If the text should mention something from your business, open **More options** and add it to **Additional context**. 4. Choose **Queue article (1 credit)**. Once it's finished, read it over on the article page. If a sentence feels off, choose **Request changes** and explain what you want adjusted. The first round of changes on an article is free. ## Get the text into your newsletter You can copy the text directly from the article page, or choose **Download** to save it as a file such as Markdown or plain text. From there, paste it into your newsletter tool. Unspar can also email finished texts to you. An outlet is a destination Unspar publishes to, and an email outlet delivers directly to an inbox. Open [Outlets](https://app.unspar.com/outlets), choose **New outlet**, pick the **Email** card, and enter your address. Set it as your newsletter project's **Default outlet** for texts written from a topic. Texts created from a blog article don't have a default outlet, so pick the email outlet in the **Publish** dialog instead. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). ## What it costs Both types of newsletter text cost the same as a regular article, normally 1 credit. Four issues a month with one text of each type cost 8 credits. New accounts get 10 free credits once, valid for 30 days. [Register](https://app.unspar.com/register) to try both types of text. After that, the Starter plan costs €49 a month and includes 50 credits. Unused credits roll over up to a balance of 150. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## What stays with your newsletter tool - Unspar doesn't send your newsletter or store your subscriber list. The email outlet sends from Unspar's address to your own inbox. - Each text covers one topic. Unspar doesn't combine several articles into a single issue. If you want three topics, create three separate texts. - Newsletter Note writes informative texts. It isn't built for promotional emails, such as announcing a sale. --- # Many similar pages Some sites need one page for each item on a list, like each product you sell. Unspar writes one article per row of your list and researches each one on its own. Web version: https://www.unspar.com/docs/use-cases/programmatic-pages/ Some sites need a separate page for every item on a list, like a care guide for each material or an answer for each common question. Unspar takes that list as a batch and writes one article per row, doing separate research for each one. If you switch review on, every article waits for your approval before it goes to your site. ## When does a list work? A list works well when each row has its own distinct answer. If the only difference between rows is a single detail, like the name of a town, the pages end up saying the same thing. ## Set up the project before the list A project is one website in Unspar, with its own settings and articles. Unspar reads the project's **Site context** before writing each article in the list, so fill that in first. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/). The default template, General Guide, fits most lists. Because a batch has no voice field, pick a **Writing voice** in the project settings now if you want the pages to sound a certain way. Connect your site as an outlet under [Outlets](https://app.unspar.com/outlets). An outlet is a site Unspar publishes to. See [WordPress](https://www.unspar.com/docs/guides/wordpress/). Then open the project's **Edit** page and go to **Publishing automation**: 1. Pick the outlet as **Default outlet**. 2. Switch on **Auto-publish completed articles**. 3. Leave **Require human review before auto-publish** on. 4. Under **Publishing schedule**, choose **Daily at 08:00**. 5. Choose **Save**. Auto-publish only picks up articles that finish while the setting is on, so set this up before you start the list. See [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/). ## Start the list A batch holds up to 1,000 rows. You can paste one topic per line, or upload a CSV file (a spreadsheet saved as plain text) to give each row more detail: ```text title_or_topic,additional_context,keep_title_verbatim How to clean and care for a slate floor,We seal slate before we fit it.,true How to clean and care for an oak floor,Our oak floors come oiled or lacquered.,true ``` `additional_context` gives background for a single article, and `keep_title_verbatim` tells Unspar to use your exact title. Leave out `scheduled_at`. Any row with a publish date counts as already approved, which means you won't be able to ask for changes later. 1. Open the [Create page](https://app.unspar.com/articles/create), choose the **Batch** tab and then **Create new articles**. 2. Pick the project, and **Project defaults** as the **Template**. Set the **Outlet**. 3. Paste the topics under **Rows**, or choose **Upload CSV** and pick the file. 4. Choose **Parse and review**. Check the **Estimate** of each row, and look at rows marked **Possible duplicates**. 5. Choose **Save & queue selected**. ![Batch review table with five topics, their size under Estimate and the Queue boxes](https://www.unspar.com/images/docs/create-batch-review.webp) Check each line's size and price before you queue the batch. The selected rows enter the queue and start running as writing slots open up. See [Create an article](https://www.unspar.com/docs/guides/create-an-article/). ## Read each article before it goes live Once an article finishes, its page shows "Waiting for approval". If something looks off, choose **Request changes** and explain what needs fixing. The first round is free. When you're happy with the draft, choose **Approve for auto-publish**. Approved articles publish one per day at 08:00. You can't undo an approval, and there is no button to approve multiple articles at once. ## What it costs Each row costs the same as a standalone article. A standard article costs 1 credit, so a list of 18 rows costs 18 credits. When you queue a batch, Unspar reserves the credits for all selected rows at once. If the total exceeds your balance, the review screen tells you and **Save & queue selected** stays grayed out. Uncheck **Queue** on some rows, or choose **Save drafts** and queue the rest later. Starter has 50 credits a month for €49, and Pro has 250 for €199. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) and [Buy credits](https://app.unspar.com/credits/purchase). ## What can't a batch do? A batch has no fields for research or for your own source files, and you can't turn on fact-checking. If a row needs those options, run it through the Create page one by one. **Possible duplicates** doesn't flag two rows that ask nearly the same question. Unspar only links a new article to related posts that are already live, so articles in the same batch don't link to each other. If you want links between them, split the list into two or three parts and let the first batch go live before you start the next. --- # Founder and personal blogs Unspar can learn how you write from texts you already published. It writes the articles for your blog in that voice, and you give it your opinions. Web version: https://www.unspar.com/docs/use-cases/founder-blogs/ A blog under your own name has to sound like you and say what you think. Unspar learns your style from things you've already written and drafts each article in that voice. You bring the opinions and stories, and nothing goes live on your blog until you publish it. ## Set up a project for your blog In Unspar, a project represents your blog and holds its own settings and articles. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Enter your blog's address and choose **Create project**. The new project opens. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Write the **Site context** and choose **Save**. The site context describes who reads the blog and who writes it, like this: > Articles for owners of independent restaurants in the UK who want to waste less food. The author is a food waste consultant who worked as a head chef. Costs are in pounds. Leave Project Auto off. It generates articles on its own, whereas on a personal blog you want to pick each topic yourself. **Auto-publish completed articles** is off by default in a new project, so nothing goes out until you publish it. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/). ## Keep articles in your voice A voice is a short profile of how you write, covering details like sentence length and how often you say "I". If your blog already has posts, use the **Your site voice** card on the project page. **Find site articles (free)** reads up to 8 articles. **Create your site voice (free)** builds the voice, and **Use as project default** applies it to all new articles. This needs at least 2,000 words of your writing. ![Your site voice card on the project page](https://www.unspar.com/images/docs/founder-site-voice.webp) The Your site voice card on the project page builds a voice from posts on your website once the project has one. If most of your writing lives somewhere else, like LinkedIn, paste it in: 1. Open [Voices](https://app.unspar.com/voices) and choose **New voice**. 2. Paste your texts into **Pasted writing samples**. 300 words is enough to start. 3. Choose **Create voice (5 credits)**. The new voice opens as a draft. 4. Read its **Prompt-ready brief**, which is the text the writer receives. Fix anything that's off and choose **Save**. 5. Choose **Activate**. 6. On the project's **Edit** page, pick the voice under **Writing voice** and choose **Save**. If you don't have enough writing yet, pick a built-in voice under **Writing voice**. Opinionated Blogger, for example, takes a side and writes in the first person. Unspar doesn't build voices that imitate a known writer or publication. See [Voices](https://www.unspar.com/docs/guides/voices/). ## Pick the template A template sets the structure for a specific kind of article. General Guide is the default and fits how-to posts. If you want to argue a point, pick Op-Ed in the **Template** field on the **Manual** tab of the [Create page](https://app.unspar.com/articles/create). Op-Ed is marked Experimental, so give those drafts an extra careful read. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). ## Put your view into the article Unspar doesn't know your opinions or what happened in your work. You add those details per article, and Unspar uses them for that draft only. 1. On the [Create page](https://app.unspar.com/articles/create), pick the project and type the topic into **Title or topic**. 2. Open **More options** and write your view into **Additional context**, like "I think most waste starts with the Friday order." 3. Choose **Queue article (1 credit)**. ## Fix what doesn't sound like you You can't edit the finished article directly. Instead, choose **Request changes** and explain what needs work, like "The second section sounds like a textbook." The first round of changes is free, and each round after that costs 1 credit. See [The article page](https://www.unspar.com/docs/guides/the-article-page/). When you're happy with the draft, publish it to your blog through an outlet, which connects Unspar to your site. See [Outlets and publishing](https://www.unspar.com/docs/guides/outlets-and-publishing/). ## What it costs | What | Credits | | ---------------------------------------------- | ------- | | Your team's first site voice | 0 | | A later site voice, or one from pasted samples | 5 | | An ordinary article | 1 | | A second or later round of changes | 1 | Publishing one post a week takes about 4 credits a month. New accounts can get 10 free credits once, and they last 30 days. [Register](https://app.unspar.com/register) to try it. Starter costs €49 a month for 50 credits, and unused credits roll over up to 150. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/). ## Can Unspar post to LinkedIn? No. You can generate a short **LinkedIn post** from a finished article under **Create from this article**, then copy and paste it to LinkedIn yourself. --- # Travel and local guides Unspar has two templates for guides about places. Travel Guide writes for a first visit. Local Area Guide writes for people who think about moving somewhere. Web version: https://www.unspar.com/docs/use-cases/travel-and-local-guides/ Travel blogs and city sites need guides to a lot of places, and those guides quickly go out of date. Unspar writes both kinds of guide using templates built for them, with sources linked right in the text. You review each draft, add what you know from being there, and publish it. ## Pick the template A template is the recipe for one kind of article. Both place-based templates are marked Tested, which means they passed a review for this use case. | Template | What it writes | How you pick it | | ---------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | Travel Guide | First-visit itineraries and guides to a destination | Never suggested. Make it the project's default, or pick it on the **Manual** tab. | | Local Area Guide | An overview of a neighborhood for someone thinking about moving there | The Create page may suggest it under **Other templates**. | A standard guide costs 1 credit with either template. See [Choosing a template](https://www.unspar.com/docs/guides/choosing-a-template/). ## Set up a project for your site A project represents one website, or one part of a site, with its own settings and articles. If you publish guides in two languages, you need two projects. The language variant you pick also decides where Unspar searches from. 1. Open [Projects](https://app.unspar.com/projects) and choose **New project**. 2. Enter your site's address and choose **Create project**. The new project opens. 3. In the project's **More actions** menu (⋮), choose **Edit**. 4. Under **Default article setup**, pick **Travel Guide**. 5. Write the **Site context** and choose **Save**. ![Default article setup field on the Edit project form](https://www.unspar.com/images/docs/templates-project-default.webp) Set Travel Guide as the project's default under Default article setup. A site context for a travel site could look like this: > Travel guides to Mallorca for visitors from the UK, most of them on their first trip. Prices are in euros. Opening times and bus timetables change with the season, so guides tell readers to check them before they go. Leave images turned off, which is the default in a new project. Unspar generates AI images, so a picture of a place won't be a photo of it. Add your own photos on your site instead. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/) and [Images](https://www.unspar.com/docs/guides/images/). ## Write a guide 1. Open the [Create page](https://app.unspar.com/articles/create) and pick the project. 2. Type the guide's topic into **Title or topic**. The template shows as "Travel Guide (project default)". 3. Tick **Check the facts**. The estimate now shows 2 credits. 4. Choose **Queue article (2 credits)**. Unspar researches the topic and writes the guide, linking to the pages it used. Next, the fact-check compares the claims against the web and fixes clear errors whenever a source backs up the fix. Under **Check these**, it lists any claims it had doubts about but left unchanged. See [Research, sources and citations](https://www.unspar.com/docs/guides/research-sources-and-citations/). ## Add what only you know Unspar hasn't been to these places. Add your own tips in **Additional context** under **More options** before you queue the guide, or choose **Request changes** on the finished draft and put them in there. The first round of changes is free. Keep in mind that the fact-check doesn't run again after a change, so double-check anything you add. See [The article page](https://www.unspar.com/docs/guides/the-article-page/). Travel Guide can't check today's opening times or whether a route is open right now. Verify those details before a guide goes live. ## Publish the guide in a second language Write the guide once, then translate it into the project for your second language. On the **Manual** tab, set **Creation mode** to **Translate existing content** and pick **Natural translation**. Translations follow the original section by section without running new research. See [Translations](https://www.unspar.com/docs/guides/translations/) and [Sites in several languages](https://www.unspar.com/docs/use-cases/multilingual-sites/). ## Update a guide later A refresh takes an older guide and writes a new version of it. On the **Manual** tab, set **Creation mode** to **Refresh existing content** and pick a template: - **Expand and modernize** looks for sources from the past year and starts at 1 credit. - **Fact-check and update** checks the facts with deep research and starts at 4 credits. Longer guides cost more. If you publish on WordPress, the new version can replace the old post at the same address. See [Refresh](https://www.unspar.com/docs/guides/refresh/). ## What it costs | Each month | Credits | | -------------------------------------- | ------- | | 13 new guides with **Check the facts** | 26 | | 13 translations into a second language | 13 | | 4 refreshes with Expand and modernize | 4 | | **Total** | **43** | The Starter plan costs €49 a month and includes 50 credits, which covers this workload. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) and the [pricing page](https://www.unspar.com/pricing/). --- # Unspar for agents Your AI tool can ask Unspar to research and write an article while you chat with it. Developers can do the same from a terminal or from their own code. All of them work in the same projects and spend the same credits as the web app. Web version: https://www.unspar.com/docs/agents/ An agent is an AI tool that does work for you, like Claude Code or Cursor. Once you connect Unspar, you can ask the agent for an article right in its chat. The agent picks the right project and checks the price. Unspar writes the article, the agent shows you the text, and if you're happy with it, it can publish it too. You don't need an AI tool to do this, though. The unspar CLI runs in your terminal, and the REST API works with your own code. All three use your [projects](https://app.unspar.com/projects), your templates, and your [credits](https://app.unspar.com/credits). Credits are how you pay in Unspar, and an article started by an agent costs the same as one you start in the web app. Agent access is part of every plan, including the free one. ## Which way in should I use? Unspar gives you three ways to connect. MCP (the Model Context Protocol) is a standard way for AI tools to talk to outside services. Unspar offers a hosted MCP server, plus a local one that comes with the CLI. | Way in | What it is | Use it when | | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | | [Hosted MCP server](https://www.unspar.com/docs/mcp/) | The address `https://app.unspar.com/mcp`. You approve the connection in your browser. Nothing to install. | You use Claude Code or Codex and want to ask for articles in the chat. | | [CLI](https://www.unspar.com/docs/cli/) with its [local MCP server](https://www.unspar.com/docs/cli/local-mcp/) | The `unspar` program on your computer. Your AI tool starts it with `unspar mcp serve`. | You use another AI tool, like Cursor or Claude Desktop, or you want your agent to publish. | | [REST API](https://www.unspar.com/docs/api/) | Requests to `https://app.unspar.com/api/v1` with an API key. | You want your own code or a server script to talk to Unspar. | Each option covers a slightly different set of jobs. Here are the main differences. | Job | Hosted MCP | Local MCP | CLI | REST API | | ------------------------------- | ---------- | --------- | -------------------- | -------- | | Write an article | Yes | Yes | Yes | Yes | | Price estimate before writing | Yes | No | Through `unspar api` | Yes | | Find ideas | Yes | No | Through `unspar api` | Yes | | Publish to an outlet | No | Yes | Yes | Yes | | Change a project's site context | Yes | No | Yes | Yes | An outlet is a site you've connected to Unspar, such as your WordPress blog. See [Set up your AI tool](https://www.unspar.com/docs/mcp/setup/) for the exact steps for each tool. ## What can an agent do? An agent works with the same things you see in the web app. It can: - check the price of an article and start it; - read the finished article and ask for changes; - restore the text from before a change; - cancel an article that is still running, or retry one that failed; - start an idea run and turn a good idea into an article; - publish to one of your [outlets](https://app.unspar.com/outlets), now or on a schedule; - check your credit balance and spending history. Unspar doesn't read your repository or your commits. If you want an article about a new feature, the agent sends a description of what the feature does along with the request. Both the hosted MCP server and the REST API accept this as additional context for a single article. Some jobs still need the web app at [app.unspar.com](https://app.unspar.com/dashboard): - refreshing an article you already have; - working with posts that are already on your site; - approving images; - creating [many articles at once](https://app.unspar.com/articles/batch-create) from a list. ## Who can give an agent access? Access always belongs to a team. Only the team owner and members with the **Administrator** role can grant it. [Teams](https://www.unspar.com/docs/guides/teams/) explains the roles. There are two kinds of access. Your code and the CLI use an API key, which is a long secret that acts like a password for a single program. An AI tool using the hosted MCP server gets an MCP connection that you approve in your browser. Either way, you choose what the agent is allowed to do and which projects it can reach. [API keys and connections](https://www.unspar.com/docs/agents/access/) explains how to set this up. ## How do I keep control of credits and publishing? Writing articles spends credits, and publishing sends an article straight to your site. Unspar has built-in checks for both, plus one setting you should check before letting an agent write. | Way in | What happens before it spends credits or publishes | | -------------------- | ------------------------------------------------------------------------------------------------------- | | CLI article commands | They ask for confirmation first. Without a terminal, they stop with an error unless you pass `--force`. | | `unspar api post` | It never asks. Running it counts as confirmation. | | Local MCP server | It never asks. Only your AI tool's own prompt before a tool call will stop it. | | Hosted MCP server | The agent can ask for a free price estimate first. It can't publish at all. | Tell your agent to pass `--force` only after you've approved that specific article or publication. The skill file below teaches it this rule. If the agent runs the create command twice, Unspar writes two articles and charges for both. While an article is in progress, the agent should check its status instead of starting it again. If a CLI create call loses its response and needs a retry, the agent should pass the same `--idempotency-key` on both runs. A project can also publish finished articles automatically. This happens when **Auto-publish completed articles** is on and **Require human review before auto-publish** is off. With those settings, any article started through the CLI or the local server goes live on your site as soon as it finishes. Articles started through the hosted server never auto-publish. Check both settings on the project's **Edit** page before an agent writes there. [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/) explains how they work. ## Teach your agent the rules An agent produces better articles when it knows how Unspar works. The main rule is that the brief should only describe the topic. Audience details go into the project's [site context](https://www.unspar.com/docs/guides/projects-and-site-context/) once, the [template](https://www.unspar.com/docs/guides/choosing-a-template/) controls the article's structure, and the project's [visual identity](https://www.unspar.com/docs/guides/images/) sets the look of its images, so a brief should never describe image styles. Unspar gives you these rules in two forms. | Form | What it has | When the agent reads it | | ----------------------- | -------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | | Skill file (`SKILL.md`) | The rules, the steps from writing to publishing, which actions spend credits, and when to use `--force`. | Claude Code and Codex load it when your request is about Unspar. | | Short guide | The template rule, the image rule, and six steps for writing an article. It doesn't cover publishing or edits. | At the start of every session, from `CLAUDE.md` or `AGENTS.md`. | Neither form connects the agent to Unspar. Set up the [MCP server](https://www.unspar.com/docs/mcp/setup/) or the [CLI](https://www.unspar.com/docs/cli/) for that. ### Install the skill file The skill file lives at `https://app.unspar.com/skills/unspar/SKILL.md`. For Claude Code, run this in your project folder: ```sh mkdir -p .claude/skills/unspar && curl -fsSL https://app.unspar.com/skills/unspar/SKILL.md -o .claude/skills/unspar/SKILL.md ``` Codex reads skills from `.agents/skills` instead: ```sh mkdir -p .agents/skills/unspar && curl -fsSL https://app.unspar.com/skills/unspar/SKILL.md -o .agents/skills/unspar/SKILL.md ``` To use the skill across all your projects, save it to `~/.claude/skills/unspar` or `~/.agents/skills/unspar` instead. If you use both tools, each one needs its own copy. Run the same command again later to update to a newer version. If Claude Code doesn't pick up the new file in an open session, run `/reload-skills`. ### Add the short guide The short guide comes with the CLI. This command writes it into a file in the current folder: ```sh unspar agent-guide --write CLAUDE.md ``` Claude Code reads `CLAUDE.md`, while Codex and most other tools read `AGENTS.md` (use `--write AGENTS.md` for those). If the file already exists, the guide is added at the end between two marker lines, and running the command again updates only that section. To preview the guide first, run `unspar agent-guide` without `--write`. The file must be in the folder where you run the command. For instructions that apply in all projects, change into that folder first: ```sh cd ~/.claude && unspar agent-guide --write CLAUDE.md ``` For Codex, the folder is `~/.codex` and the file is `AGENTS.md`. If you ask for an article now and then, the skill file is enough. If the repository is about your content, like your blog, add the guide too. ## Files an agent can read These files help an agent that reads documentation or API contracts by itself. | File | What it has | | -------------------------------------------------------------- | ------------------------------------------------------------------ | | [/llms.txt](https://www.unspar.com/llms.txt) | A list of all pages of these docs. | | [/llms-full.txt](https://www.unspar.com/llms-full.txt) | All pages of these docs in one file. | | [OpenAPI document](https://app.unspar.com/api/v1/openapi.yaml) | The REST API in a format tools can read. | | [Operation map](https://app.unspar.com/api/v1/operations) | Each API operation with the permission it needs. | | [app.unspar.com/llms.txt](https://app.unspar.com/llms.txt) | What is turned on in the app right now, and the list of MCP tools. | | [Skill file](https://app.unspar.com/skills/unspar/SKILL.md) | The rules for agents, as described above. | Every docs page is also available in Markdown. Replace the trailing slash in its URL with `.md`, like `/docs/agents.md`. ## For AI agents Check the key and pick the project. Get the estimate and show the price to the person. Create the article only after they agree, then show them the text and stop again. Publish only when they say so, to an outlet from unspar outlets list. Publishing runs in the background, so check the status afterwards. Without a terminal, create and publish need --force. Replace the <...> placeholders with the IDs that the earlier commands return. ```sh unspar whoami unspar projects list unspar templates recommend --topic "How to choose a domain name" --project unspar api post /articles/estimate --field project= --field "brief=How to choose a domain name" unspar articles create --project --brief "How to choose a domain name" --force --wait unspar articles content --output article.md unspar outlets list unspar articles publish --outlet --force unspar articles status ``` --- # API keys and connections A program gets into Unspar in one of two ways. Your own code and the unspar CLI use an API key. An AI tool on the hosted MCP server uses a connection that you approve in your browser. Web version: https://www.unspar.com/docs/agents/access/ An API key is a long secret string that works like a password for a single program. The program sends it with every request, and Unspar lets it do whatever the key allows. You can create keys in the web app, or let `unspar login` create one for you. An MCP connection is what Claude Code or Codex gets when it connects to Unspar's [hosted MCP server](https://www.unspar.com/docs/mcp/). You approve it in your browser, and your AI tool never sees an API key. Keys and connections belong to a team, and for both you decide what the program can do and which projects it can reach. Only the team owner and members with the **Administrator** role can create keys and approve connections, including CLI logins. See [Teams](https://www.unspar.com/docs/guides/teams/) for details on roles. Keys and connections work on every plan, including the free one. ## Which one do I need? The right option depends on the program connecting to Unspar. | You want to | Use | | ---------------------------------------------------------------- | ------------------------------------------------------------ | | Let Claude Code or Codex write articles, with nothing to install | A hosted [MCP connection](https://www.unspar.com/docs/mcp/) | | Use another AI tool, like Cursor or Claude Desktop | A CLI login and the [local MCP server](https://www.unspar.com/docs/cli/local-mcp/) | | Let an agent publish | A CLI login with full access, or a key that can publish | | Run a script on a server | An API key with only what the script needs | | Work with Unspar in your own terminal | A [CLI](https://www.unspar.com/docs/cli/) login | Give each program its own key or connection. That way, you can see which ones are still in use and revoke one without breaking the others. ## Create an API key You create keys on the **API tokens** screen, which you can open from [Settings](https://app.unspar.com/settings) or from the user menu in the top right corner. 1. Open [Settings](https://app.unspar.com/settings) and choose **API tokens**. 2. Under **Create API token**, type a **Token name** that says where the key will live, like "Blog import script". Each name can only be used once per team. 3. Check **Restrict access**. Without it, the key gets **Full access** to **All projects** and never expires. 4. Choose a **Preset** to decide what the key can do. 5. Choose the **Project scope** and the **Expiration**. 6. Choose **Create**. A window opens with your new key. Copy it and store it in your password manager or your server's secret store, because Unspar only shows it this once. The same window includes a **Display ID**. It isn't secret, and it helps you tell keys apart in places like your logs. ![Create API token form with Token name, Restrict access ticked, the Preset choices, Project scope, Expiration and the Create button](https://www.unspar.com/images/docs/api-tokens-form.webp) Tick Restrict access to choose what the key may do, in which projects and for how long. Here are the settings you can configure after checking **Restrict access**: | Setting | Choices | | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | **Preset** | **Full access**, **Read-only**, **Translations (SiteChorus)**, or **Custom**. The table below explains each one. | | **Project scope** | **All projects** includes projects you create later. **Selected projects** limits the key to the projects you check. | | **Expiration** | **Never**, **30 days**, **90 days**, or a date of your own under **Custom**. An expired key stops working, and you'll need to create a new one. | ## What can a key do? The preset controls which parts of Unspar the key can reach. | Preset | What the key can do | | ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | **Full access** | The standard permissions of your plan, including writing and publishing articles. Managing API keys and approving articles require **Custom**. | | **Read-only** | Read data without changing anything. | | **Translations (SiteChorus)** | Only what a connected WordPress site needs for its translations. | | **Custom** | Only the **Capability groups** you pick. | With **Custom**, each capability group covers one area of Unspar. You can leave a group off, or set it to **Read** or **Read and write**. The **Generation** group lets the key start articles, which spends credits. Publishing has its own groups, like **Publish execute**, so a key can write articles without being able to publish them. ## Change, rotate or revoke a key Your keys appear under **Your API tokens**. Each row shows what the key can do, which projects it reaches, and when it expires. **Last used** shows when a program last sent a request with that key, which helps you spot keys nobody needs anymore. Each row has three buttons. | Button | What happens | | ---------- | ------------------------------------------------------------------------------------------------------------------------------- | | **Edit** | Opens **Edit API key**, where you can change the name, access, projects, and **Expiration**, then choose **Save**. | | **Rotate** | Ends the old key right away and shows a new one with the same settings. Copy it immediately. Use this if a key may have leaked. | | **Revoke** | Stops the key from working immediately. You can't undo this. | You can't edit a revoked or expired key. Revoked keys stay on record so you can see they existed, and **Show revoked keys** brings them back into view. ## Approve a CLI login The CLI gets its own API key when you log in. You approve the login in your browser, and the CLI stores the key on your computer. Run this in a terminal: ```sh unspar login ``` Here is what happens next: 1. The CLI prints a code and opens the **Approve sign-in** page in your browser. If no browser opens, go to the address the CLI prints and enter the code there. 2. Check that the code on the page matches the code in your terminal. 3. Open **Advanced settings** if you want to give the key less than full access. The table below lists the choices. 4. Choose **Approve**. The page will tell you it's safe to close the window, and the terminal will show which team you're logged in to. The code stays valid for 10 minutes. ![Advanced settings of the Approve sign-in page with Team, Access, Projects and Expiration](https://www.unspar.com/images/docs/cli-authorize-advanced.webp) Advanced settings on the sign-in page decide what the CLI key may do, in which projects and for how long. Clicking **Approve** right away gives the key full access to all projects for 90 days, including publishing. If you open **Advanced settings**, you can adjust these options: | Setting | Choices | | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Team** | The team the key belongs to. Teams where you can't create keys can't be picked. | | **Access** | **Full access**, **Read only**, or **Custom**. With **Custom**, you set each group to **No access**, **Read**, or **Read/write**. To stop an agent from publishing, set the publishing groups, like **Publish execute**, to **No access**. | | **Projects** | **All projects, current and future** or **Only these projects**. | | **Expiration** | 90 days or 30 days. | The key shows up under **API tokens** with a name starting with "Unspar CLI". You can edit, rotate, or revoke it there like any other key. These commands show and end the CLI login: ```sh unspar whoami # team, what the key may do, when it expires unspar logout # deletes the key from this computer only ``` `unspar logout` doesn't revoke the key in Unspar. It still works until it expires, so revoke it under **API tokens** as well. When a key expires, the CLI stops with an error, and you'll need to run `unspar login` again. To use a key you created in the web app, run `unspar login --api-key` and paste it when the CLI asks. If the environment variable `UNSPAR_API_KEY` is set, the CLI uses that key instead of your login. ## What do I approve for an MCP connection? When Claude Code or Codex connects to the hosted MCP server, Unspar opens a page in your browser showing **Connect** and the name of your tool. From there, you choose **Approve** or **Deny**. Clicking **Approve** right away lets the tool read your projects and articles across all current and future projects. It can also create articles and ideas, which spends credits. Use **Advanced settings** on that page to pick the team, the projects, and each permission group. [What do you approve?](https://www.unspar.com/docs/mcp/#what-do-you-approve) explains what each group covers. A connection lasts 30 days from the day you approve it, and using it doesn't extend that window. Once it expires, reconnect from your AI tool and approve a new connection. ## See and revoke MCP connections The **MCP connections** page lists your team's hosted connections. No menu in the app links to it, so you need to open it directly: ```text https://app.unspar.com/teams//mcp-connections ``` The quickest way there goes through the **API tokens** screen. 1. Open [Settings](https://app.unspar.com/settings) and choose **API tokens**. 2. In your browser's address bar, replace `/api-tokens` at the end with `/mcp-connections` and press Enter. 3. Choose **Revoke** in the row of the connection you want to end. The tool's next call will fail. Team owners and administrators can see every connection for the team and revoke any of them. Each row shows the AI tool under **Client** and its **Status**. A connection with the status Ended also explains why, such as "Ended: left the team". **Access** lists the projects it can reach and the tools it can use, by technical names like `unspar_article_create`. **Last used** shows when the tool last called Unspar. A few details about connections are easy to miss: - Removing Unspar from your AI tool doesn't end the connection in Unspar. Revoke it here as well. - Each time you reconnect, Unspar creates a new connection. The old one stays active until it expires or you revoke it. - When Unspar adds new tools, existing connections don't get them automatically. The page shows "New since this connection was approved" along with their names. Reconnect your AI tool to add them. - A connection ends on its own if the person who approved it leaves the team or loses the owner or **Administrator** role. Revoking a connection doesn't affect any API keys, and revoking a key doesn't affect any connections. The local MCP server has no connection of its own; it uses the key from your CLI login, which you can revoke under **API tokens**. ## For AI agents Before it acts, an agent can check which key it uses. whoami --verbose shows what the key may do and which projects it reaches. An agent never asks for the key itself. A person runs unspar login. ```sh unspar auth status unspar whoami --verbose ``` --- # Unspar MCP server With MCP, your AI tool can use Unspar while you chat with it. You ask for an article, the tool asks Unspar to write it and shows you the text. Unspar has a hosted server for Claude Code and Codex, and a local server in the unspar CLI for all other tools. Web version: https://www.unspar.com/docs/mcp/ MCP stands for Model Context Protocol. It's a standard way for AI tools to connect to outside services. A service offers a list of tools, such as starting an article or checking its status. Your AI tool sees that list, picks the right tool when you ask for something, and calls it. You see each call right in the chat. Unspar's MCP tools work in your [projects](https://app.unspar.com/projects) and spend your [credits](https://app.unspar.com/credits), the same way the web app does. MCP is one of three ways an agent can reach Unspar. See [Unspar for agents](https://www.unspar.com/docs/agents/) to compare it with the CLI and the REST API. ## Hosted or local? Unspar offers two MCP servers. The hosted server runs on Unspar's side, so you don't have to install anything. The local server is built into the [unspar CLI](https://www.unspar.com/docs/cli/), and your AI tool starts it on your computer with `unspar mcp serve`. | | Hosted server | Local server | | ------------------------------- | ---------------------------------------- | -------------------------------------- | | Where it runs | At `https://app.unspar.com/mcp` | On your computer | | What you install | Nothing | The CLI | | How it logs in | You approve a connection in your browser | Uses your CLI login | | How long access lasts | 30 days, then you connect again | Same as your CLI login (90 or 30 days) | | Publish articles | No | Yes, if your CLI login allows it | | Price estimates and idea runs | Yes | No | | Change a project's site context | Yes | No | | Create outlets and voices | Yes | No | An outlet is a site you've connected to Unspar, such as a WordPress blog. Both servers can configure the look of a project's images. The hosted server only accepts AI tools that finish their browser login on your own computer. Claude Code and Codex work that way. Cursor, VS Code, and claude.ai redirect you back to an address on their own websites, which the hosted server refuses. Because of that, every tool except Claude Code and Codex uses the local server. | AI tool | Hosted server | Local server | | ---------------------------------------- | ------------- | ------------ | | Claude Code | Yes | Yes | | Codex (CLI and editor extension) | Yes | Yes | | Claude Desktop | No | Yes | | Cursor | No | Yes | | VS Code with GitHub Copilot | No | Yes | | Gemini CLI, Windsurf, Devin Desktop, Zed | Not tested | Yes | | Any tool that starts local MCP servers | Not tested | Yes | | claude.ai in the browser | No | No | | ChatGPT | No | No | claude.ai and ChatGPT run in the cloud, so they can't start the local server on your computer either. With Claude Code or Codex, you can use either server. Pick the hosted server if you don't want to install anything. Pick the local server if you want your agent to publish articles, or if you already use the CLI. ## Connect your AI tool Setup varies by tool. For Claude Code with the hosted server, it takes one command: ```sh claude mcp add --transport http unspar https://app.unspar.com/mcp ``` Next, type `/mcp` in Claude Code, select **unspar**, and choose **Authenticate**. Your browser will open Unspar's approval page, which we cover in the next section. [Set up your AI tool](https://www.unspar.com/docs/mcp/setup/) has the commands and configuration files for every tool and both servers. Only the team owner and members with the **Administrator** role can approve a connection. The hosted server is included in every plan, including the free plan. ## What do you approve? The first time your AI tool connects to the hosted server, Unspar opens an approval page in your browser (if you aren't signed in yet, you'll sign in first). The page shows **Connect** followed by the name of your tool, and a summary at the top explains what the tool can access and in which projects. Access lasts up to 30 days. Choose **Approve** to connect or **Deny** to cancel. The page stays active for 10 minutes. Clicking **Approve** right away grants the tool two permission groups across all current and future projects: it can read your projects and articles, and it can create articles and ideas (which spends credits). If you want to pick permissions yourself, open **Advanced settings** first. | Setting | What you choose | | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Team** | The team the connection works in. Teams where you aren't the owner or an administrator can't be picked. | | **Access** | The groups in the table below. **Team identity** is always on. | | **Projects** | **All projects, current and future**, or **Only these projects** with a box for each project. All boxes start checked, so uncheck the projects the tool shouldn't reach. | Each group includes a specific set of tools. [MCP tools](https://www.unspar.com/docs/mcp/tools/) lists them by group. | Group | What the tool may do | Credits | | ---------------------------------------- | ------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- | | **Team identity** | See which team and connection it uses. | None | | **Read workspace data** | Read projects and articles. Look up templates, voices, outlets, and credits. It changes nothing. | None | | **Create and manage articles and ideas** | Start articles and idea runs, and ask for changes to finished articles. | An article costs the same as in the web app. An idea run costs 1 credit. Price estimates are free. | | **Create and edit projects** | Create projects and change their site context and the look of their images. | None | | **Manage destinations** | Connect and change outlets. It can't publish. | None | | **Manage authoring assets** | Create and change templates and voices. | Building a voice from your writing samples costs credits. | | **Manage automation** | Turn Project Auto on or off, and delete projects or articles. | None directly. Project Auto then writes articles by itself, which spends credits. | When you choose **Only these projects**, the tool can't create new projects. It also won't get tools for destinations or authoring assets, even if you check those groups, because they require access to all projects. If you uncheck every project, the tool only gets **Team identity**. ## What does it cost? Connecting is free, and read-only tools don't cost anything either. Articles cost the same number of credits as they do in the web app: a standard article costs 1 credit, while longer or deeper ones cost more. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) for the full breakdown. On the hosted server, your agent can request a price estimate before writing. Estimates are free and don't create anything. The local server doesn't have an estimate tool. The first round of revisions to a finished article is free. Additional rounds normally cost 1 credit, and you're only charged if the revision succeeds. If your agent calls the create tool twice, Unspar writes two articles and charges you for both. While an article is in progress, the agent should check its status instead of creating it again. ## Can the agent publish? Not over the hosted server. None of the permission groups include publishing, so your AI tool never sees a publish tool there. Articles started through the hosted server also never publish automatically, even if the project has auto-publish turned on. You can publish them yourself from [Articles](https://app.unspar.com/articles) in the web app, or let an agent publish through the local server or the CLI. The local server can publish if your CLI login allows it, and a full-access login does. Keep in mind that the local server never asks for confirmation before spending credits or publishing. If your AI tool prompts you before running a tool, that prompt is your only safeguard. You should also check a project's auto-publish settings before letting an agent write there. [Scheduling and auto-publish](https://www.unspar.com/docs/guides/auto-publish/) explains how they work. ## A typical session Here is what happens when you ask Claude Code on the hosted server: "Write an article about choosing a domain name. Tell me the price first." You'll see these tool calls in the chat: | Step | Tool | What happens | | ---- | ------------------------- | --------------------------------------------------------------------- | | 1 | `unspar_project_list` | Claude finds the right project. | | 2 | `unspar_article_estimate` | Claude tells you the price. A normal article costs 1 credit. | | 3 | `unspar_article_create` | After you say yes, Unspar starts to research and write. | | 4 | `unspar_article_status` | Claude checks from time to time until the article is finished. | | 5 | `unspar_article_content` | Claude shows you the text. | | 6 | `unspar_article_revise` | You ask for a change. Claude sends it, waits, and shows the new text. | Once you're happy with the article, you publish it in the web app. If you're using the local server, Claude can publish it directly with `unspar_article_publish`. ## When does a connection end? A hosted connection expires 30 days after you approve it, no matter how often you use it. After that, your AI tool can't reach Unspar until you reconnect and approve a new connection. [Set up your AI tool](https://www.unspar.com/docs/mcp/setup/) shows how to do this for Claude Code and Codex. Each time you connect, Unspar creates a new connection while leaving the old one active until it expires or you revoke it. When Unspar introduces new tools, existing connections don't get them automatically. Reconnect to approve the new tools. ## Revoke a connection The **MCP connections** page lists all your hosted connections, each with a **Revoke** button. There's no menu link to it in the app. To get there, open the **API tokens** screen from [Settings](https://app.unspar.com/settings), then change the end of the URL in your browser from `/api-tokens` to `/mcp-connections`. [API keys and connections](https://www.unspar.com/docs/agents/access/#see-and-revoke-mcp-connections) has more details on that page. Removing Unspar from your AI tool doesn't end the connection on Unspar's side, so revoke it there too. The local server doesn't have its own connection. It uses the key from your CLI login, which you can revoke under **API tokens**. ## Why doesn't the connection work? Most problems show a message on the approval page or in your AI tool. | What you see | What to do | | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | "You must be the owner or an admin for this team." | Ask the team owner to connect, or to give you the **Administrator** role. | | "This authorization request has expired. Restart the connection from your MCP client." | The page works for 10 minutes. Start the connection again from your AI tool. | | Unspar asks you to confirm your email address. | Confirm it. You need a confirmed address before you can approve a connection. | | Your AI tool shows an error when you add `https://app.unspar.com/mcp`. | If the tool isn't Claude Code or Codex, it can't use the hosted server. Set up the [local server](https://www.unspar.com/docs/mcp/setup/). | | The Unspar tools stopped working after a few weeks. | The 30 days are over. Connect again from your AI tool. | | The agent says a tool is missing. | The connection doesn't have that group, it is limited to some projects, or the tool is newer than the connection. The **Access** column on the **MCP connections** page shows what it has. | --- # Set up your AI tool This page connects your AI tool to Unspar. Each tool has a short section with the command or the settings file it needs, for the hosted server, the local server or both. Web version: https://www.unspar.com/docs/mcp/setup/ Unspar has two MCP servers. The hosted server runs at `https://app.unspar.com/mcp`, and you approve it in your browser. Only Claude Code and Codex can use it. The local server comes with the unspar CLI and runs on your computer. Any tool that can start a local MCP server can use it, and it can also publish. [Unspar MCP server](https://www.unspar.com/docs/mcp/) explains the differences and what you approve. Only the team owner and members with the **Administrator** role can approve a connection or a CLI login. To teach your agent Unspar's rules, install the [skill file](https://www.unspar.com/docs/agents/#teach-your-agent-the-rules) as well. ## Before you use the local server The local server is part of the CLI. Install it and log in once. On macOS and Linux: ```sh curl -fsSL https://app.unspar.com/install.sh | sh unspar login ``` On Windows, [CLI](https://www.unspar.com/docs/cli/) has the install command. The login opens your browser, and what you approve there decides what your AI tool can do in Unspar. With full access, that includes publishing. [API keys and connections](https://www.unspar.com/docs/agents/access/#approve-a-cli-login) explains the options. None of the settings on this page store a key. The server reads your CLI login each time the tool calls it. If you log in again with another key, the next call uses the new one. Your login's key appears on the **API tokens** screen in [Settings](https://app.unspar.com/settings), where you can also revoke it. To check your setup, ask your AI tool which Unspar team it's connected to. It calls `unspar_whoami`, which only works with a valid CLI login. If a tool can't start the server, it usually can't find the `unspar` program. Use the full path instead of `unspar`. These commands print it: ```sh command -v unspar # macOS and Linux (Get-Command unspar).Source # PowerShell on Windows ``` On Windows, the CLI installs to `%LOCALAPPDATA%\Programs\unspar\unspar.exe`. In a JSON file, write each backslash twice. After running `unspar update`, restart your AI tool so it starts the new version. ## Claude Code Claude Code can use both servers. For the hosted server, run this command in your project folder: ```sh claude mcp add --transport http unspar https://app.unspar.com/mcp ``` That adds Unspar to this one project. Add `--scope user` to make it available in all your projects. Then log in: 1. Start Claude Code and type `/mcp`. 2. Pick **unspar** and choose **Authenticate**. Your browser opens Unspar's approval page. 3. Open **Advanced settings** and check what Claude can do and in which projects. 4. Choose **Approve** and return to Claude Code. The Unspar tools are now ready to use. Instead of steps 1 and 2, you can also run `claude mcp login unspar` in your terminal. To share the server with everyone working on the repository, use `--scope project`. Claude Code writes it into `.mcp.json`: ```json { "mcpServers": { "unspar": { "type": "http", "url": "https://app.unspar.com/mcp" } } } ``` Claude Code requires the `"type": "http"` line. The file holds no secrets, so each person logs in and approves their own connection. After 30 days, or to pick up new tools that Unspar added later, connect again. Type `/mcp` and pick **unspar**. Choose **Clear authentication** and then **Authenticate**. **Clear authentication** or `claude mcp logout unspar` only removes the login on your computer. To end the connection in Unspar, [revoke it](https://www.unspar.com/docs/agents/access/#see-and-revoke-mcp-connections). For the local server, use this command instead. Add `--scope user` to use it in all your projects: ```sh claude mcp add --transport stdio unspar -- unspar mcp serve ``` If you want both servers, give the local one another name, like `unspar-local`. ## Codex Codex can use both servers. Its editor extension reads the same settings as the Codex CLI. For the hosted server: ```sh codex mcp add unspar --url https://app.unspar.com/mcp ``` Codex opens Unspar's approval page in your browser. Check **Advanced settings** and choose **Approve**. If the page doesn't open, start the login yourself: ```sh codex mcp login unspar ``` Codex stores the server in `~/.codex/config.toml`. In a project that Codex trusts, you can put the same lines in `.codex/config.toml` inside the project: ```toml [mcp_servers.unspar] url = "https://app.unspar.com/mcp" ``` After 30 days, run `codex mcp login unspar` again. To pick up new tools that Unspar added later, log out first: ```sh codex mcp logout unspar codex mcp login unspar ``` Each login approves a new connection, and logging out only removes the login in Codex. If Codex loses the connection well before the 30 days are up, switch to the local server. It doesn't depend on a hosted connection: ```sh codex mcp add unspar -- unspar mcp serve ``` That writes these lines into `~/.codex/config.toml`. If the hosted server already uses the name `unspar`, pick another name, like `unspar-local`. ```toml [mcp_servers.unspar] command = "unspar" args = ["mcp", "serve"] ``` ## Claude Desktop Claude Desktop uses the local server. Its custom connectors run through your claude.ai account, and the hosted server doesn't accept that login. 1. Find the full path of the CLI with `command -v unspar`. Claude Desktop doesn't always find programs that your terminal knows. 2. Open `claude_desktop_config.json`, or create it. The table below shows where it lives. 3. Add the server below, replacing `/absolute/path/to/unspar` with your path. If the file already lists other servers, add the `"unspar"` entry alongside them. 4. Quit Claude Desktop completely and open it again. ```json { "mcpServers": { "unspar": { "command": "/absolute/path/to/unspar", "args": ["mcp", "serve"] } } } ``` The settings file sits in a different folder on each operating system. | System | Folder | | ------- | --------------------------------------- | | macOS | `~/Library/Application Support/Claude/` | | Windows | `%APPDATA%\Claude\` | | Linux | `~/.config/Claude/` | To check that it worked, click **+** in a chat and choose **Connectors**. Unspar and its tools should appear in the list. Claude Desktop's settings show the status and log for each server under **Local MCP servers**. If something fails, check for a wrong path in `"command"` first. If the tools show up but every call fails, run `unspar whoami` or `unspar doctor` in a terminal. ## Cursor Cursor uses the local server. Add this to `~/.cursor/mcp.json` for all your projects, or to `.cursor/mcp.json` in a single project folder: ```json { "mcpServers": { "unspar": { "type": "stdio", "command": "unspar", "args": ["mcp", "serve"] } } } ``` Save the file and restart Cursor. Unspar will appear under **Customize** and **MCPs** in the sidebar. If something goes wrong, check the server's messages in the Output panel under **MCP Logs**. On macOS, Cursor may not see `~/.local/bin`, where the installer often puts the CLI. If that happens, use the full path. ## VS Code GitHub Copilot in VS Code uses the local server. 1. Open the command palette and run **MCP: Add Server**. 2. Choose **Command (stdio)**. 3. Enter `unspar mcp serve` as the command. 4. Enter `unspar` as the server ID. 5. Choose where VS Code saves it: your global settings for all workspaces, or the workspace's `.mcp.json`. To check it, run **Chat: Open Customizations** from the command palette and open **MCP Servers**. You can also add the server by hand. VS Code reads this from `~/.copilot/mcp-config.json` for all your workspaces, and from `.mcp.json` at the root of one workspace: ```json { "mcpServers": { "unspar": { "type": "stdio", "command": "unspar", "args": ["mcp", "serve"] } } } ``` Older setups keep servers in `.vscode/mcp.json`. That file takes the same entry, with `"servers"` instead of `"mcpServers"` at the top. If VS Code runs on another machine, such as over SSH or in a container, the server runs there too. Install the CLI and log in on that machine. If your company manages VS Code, the `chat.mcp.access` setting controls whether MCP servers can run. ## Gemini CLI Gemini CLI uses the local server. This command adds it for all your projects and writes it into `~/.gemini/settings.json`: ```sh gemini mcp add -s user unspar unspar mcp serve ``` Without `-s user`, it writes to `.gemini/settings.json` in the current project only. ## Windsurf and Devin Desktop Windsurf's Cascade and Devin Desktop use the local server. Both read it from `mcp_config.json`. | Applies to | File | | ----------------------------- | ---------------------------------------------- | | All your projects | `~/.config/devin/mcp_config.json` | | All your projects, on Windows | `%APPDATA%\devin\mcp_config.json` | | One project | `.devin/mcp_config.json` in the project folder | In Windsurf, **Open MCP config file** in Cascade's MCP menu opens the file. Add the Unspar entry: ```json { "mcpServers": { "unspar": { "command": "unspar", "args": ["mcp", "serve"] } } } ``` ## Zed Zed uses the local server. Add it to Zed's settings under `context_servers`, or under **AI** and **MCP Servers** in the settings screen: ```json { "context_servers": { "unspar": { "command": "unspar", "args": ["mcp", "serve"], "env": {} } } } ``` ## Other tools Any tool that can start a local MCP server can use Unspar. It needs the command `unspar` and the arguments `mcp serve`. Most tools take an entry like this: ```json { "mcpServers": { "unspar": { "command": "unspar", "args": ["mcp", "serve"] } } } ``` Never put an API key into a tool's settings. ### Give one tool less access One agent may only need read access, while you keep a full login for yourself. The CLI can hold several logins, called profiles. Log in under a second profile and choose **Read only** under **Access** on the approval page. The second command switches your terminal back to your normal login. ```sh unspar --profile agent-readonly login unspar profile use default ``` Then point the server at that profile: ```json { "mcpServers": { "unspar-readonly": { "command": "unspar", "args": ["--profile", "agent-readonly", "mcp", "serve"] } } } ``` If the `UNSPAR_API_KEY` environment variable is set where the tool runs, the server uses that key instead of any profile. ## ChatGPT and claude.ai ChatGPT and claude.ai in the browser can't use Unspar. They run in the cloud, so they can't start the local server on your computer, and the hosted server doesn't accept their login. On your computer, use Claude Desktop or Codex instead. --- # Hosted MCP tools These are the tools your AI tool can call on Unspar's hosted MCP server. They are grouped by the permission you approve when you connect, and each tool lists its arguments. Web version: https://www.unspar.com/docs/mcp/tools/ Each group below matches a permission group on the approval page that opens when Claude Code or Codex connects (see [What do you approve?](https://www.unspar.com/docs/mcp/#what-do-you-approve) for a walkthrough of that page). **Team identity** is always included. Its single tool, `unspar_whoami`, tells the agent which team and connection it is using, when the connection was last used, and when it expires. A connection receives the tools for the groups you check, and that list stays fixed. If Unspar adds a new tool later, reconnect your AI tool to get it. When you choose **Only these projects**, the connection never gets `unspar_project_create` or the tools for destinations and authoring assets. You can see which tools a connection has on the **MCP connections** page: open the **API tokens** screen from [Settings](https://app.unspar.com/settings) and replace `/api-tokens` at the end of the URL with `/mcp-connections`. Arguments ending in `_id` expect Unspar IDs. Most are 26-character codes like `01JX9Q3M4N5P6R7S8T9V0W1X2Y`, while built-in templates and voices use readable IDs like `template:builtin:general_guide` or `voice:builtin:friendly_explainer`. `unspar_article_content` returns the article as Markdown. Passing `html` as the format value returns an error. The hosted server has no publishing tool. Although the app's tool list at [app.unspar.com/llms.txt](https://app.unspar.com/llms.txt) still mentions `unspar_article_publish`, no connection can see or call it. To publish from an agent, use the local server or the [CLI](https://www.unspar.com/docs/cli/). ## How do the local tools differ? The local server built into the unspar CLI comes with its own set of tools, listed in [Local MCP server](https://www.unspar.com/docs/cli/local-mcp/). Only the local server can publish articles (`unspar_article_publish`) or approve an article waiting for human review (`unspar_article_approve`). On the other hand, it does not include price estimates, idea runs, or `unspar_article_queue`. A few tools also use different argument names on the two servers, so make sure you match the server you are calling. | Tool | Hosted server | Local server | | ----------------------- | ---------------------------------------- | ------------------------------- | | `unspar_article_create` | `project_id`, `template_id`, `outlet_id` | `project`, `template`, `outlet` | | `unspar_article_list` | `project_id`, `q` | `project`, `search` | ## Tool reference ### Team identity Always granted and cannot be unticked. It only lets the client identify the approved team and connection (unspar_whoami) and spends no credits. - `unspar_whoami`: Show the authenticated team and OAuth connection without exposing secrets. ### Read workspace data Lists and reads projects, articles, status, finished text, revisions, artifacts, publish attempts, credits, outlets, templates, image presets, voices and idea runs in the approved projects. Read-only and spends no credits; it needs at least one project in scope. - `unspar_project_list`: List projects visible to the hosted MCP connection. - `status` (active,paused,archived): - `search` (string): - `sort` (created_at,-created_at,updated_at,-updated_at,name,-name,status,-status): - `page` (integer): - `per_page` (integer): - `unspar_project_show`: Show one project by opaque project id. - `project_id` (string, required): - `unspar_project_visual_identity_show`: Show the current look and latest options. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs. - `project_id` (string, required): - `unspar_credits_balance`: Show the team's credit balance. - `unspar_credits_transactions`: List credit transactions for the authenticated team. - `type` (credit_added,credit_spent,debt,adjustment,other): - `since` (string): Second-precision RFC3339 timestamp. - `until` (string): Second-precision RFC3339 timestamp. - `sort` (created_at,-created_at): - `page` (integer): - `per_page` (integer): - `unspar_article_list`: List articles in the selected projects. Filter by project_id or status (draft, queued, processing, completed, failed, cancelled). Returns summaries with opaque article ids. - `project_id` (string): - `status` (string): - `q` (string): - `page` (integer): - `per_page` (integer): - `unspar_article_show`: Show one article by opaque article id, including its markdown content once generation completed. - `article_id` (string, required): - `unspar_article_status`: Show generation and publishing status for an article. Poll this after unspar_article_create until status is completed, failed or cancelled. - `article_id` (string, required): - `unspar_article_publish_attempts`: List publish attempt state for one article without provider credentials or remote payloads. - `article_id` (string, required): - `unspar_article_content`: Return the final article text. Use format markdown (default) or html. Only available once generation completed. - `article_id` (string, required): - `format` (markdown,html): - `unspar_article_revisions`: Revision state of a finished article: whether changes can be requested now (can_request, blocked_reason), what the next round costs (price_credits), and every round so far, newest first, with what changed and what was not done. Poll it after unspar_article_revise until the round is completed or failed, then read the new text with unspar_article_content. - `article_id` (string, required): - `unspar_article_artifacts`: List generated artifacts for one article. - `article_id` (string, required): - `kind` (string): - `page` (integer): - `per_page` (integer): - `unspar_outlet_list`: List publishing outlets (WordPress sites, email targets and others) of the team with their opaque ids. - `q` (string): - `page` (integer): - `per_page` (integer): - `unspar_template_list`: List article templates available to the team with their opaque ids. The brief is the topic. Use the project's default template, or the built-in that fits the format, unchanged. Put site and audience into the project context. If a built-in truly can't do it, duplicate the closest template and change only the fields that need it. Never write a template from scratch. - `status` (active,archived,all): - `q` (string): - `page` (integer): - `per_page` (integer): - `unspar_template_compare`: Compare a saved variant with its recorded source and the current source. Shows variant changes separately from later source changes. Does not change settings or spend credits. - `template_id` (string, required): - `unspar_template_recommend`: Recommend tested templates for a topic or brief without creating content or spending credits. The project default is preferred when available. Tested means reviewed for its recorded use case. Experimental means it has not passed that review. - `topic` (string): - `brief` (string): - `project` (string): - `unspar_image_preset_list`: List image presets available to template authoring with their opaque ids and placements. - `q` (string): - `page` (integer): - `per_page` (integer): - `origin` (string): - `unspar_voice_list`: List writing voices available to the team with their opaque ids. - `q` (string): - `page` (integer): - `per_page` (integer): - `unspar_idea_run_list`: List idea discovery runs for one selected project, newest first. Returns opaque run ids, state, counts, and timestamps. - `project_id` (string, required): - `page` (integer): - `per_page` (integer): - `unspar_idea_run_show`: Show one idea discovery run by opaque run id, including public diagnostics and failure state. - `run_id` (string, required): - `unspar_idea_appearance_list`: List the public idea appearances produced by one idea run, including decision state and article queue status. - `run_id` (string, required): - `page` (integer): - `per_page` (integer): ### Create and manage articles and ideas Creating, queuing, retrying and deriving articles, paid revision rounds (the first round per article is free), and starting, expanding, refreshing or queuing idea runs spend credits. Estimates, cancel, unqueue, restoring an earlier version and idea decisions don't. - `unspar_article_estimate`: Estimate the credit reservation for an article brief without creating an article, reserving credits, or spending credits. - `project_id` (string, required): - `brief` (string, required): - `title` (string): - `language` (string): - `template_id` (string): - `outlet_id` (string): - `scheduled_at` (string): - `queue` (boolean): - `client_reference` (string): - `additional_context` (string): - `economy` (boolean): Economy mode: cheaper models and lighter research. It costs the same credits as a normal article. Off by default. - `voice` (string): Writing voice for this article: a built-in voice id such as voice:builtin:friendly_explainer or a team voice id from unspar_voice_list. Omit it to use the template or project default voice. - `fact_check` (boolean): Price the optional fact-check add-on: 1 credit (Short text, Article), 3 (In-depth) or 6 (Report), charged only when the check completes. Omit it to follow the template; false turns a template's check off. - `unspar_article_derive`: Create one short post from a completed article using its frozen text only. Spends the normal text price, normally 1 credit. No research, fact-check or media. Humanizer and Simplifier run. The response includes parent_published_url beside the link-free post. Poll the child article until completed. - `article_id` (string, required): - `format` (linkedin_post,long_linkedin_post,x_post,newsletter_note, required): - `unspar_article_revise`: Ask for changes to a completed article that is not approved, scheduled or published. An editor applies the feedback to the existing text and keeps everything else word for word; it does not write a new article and adds no new facts, links or images. Write the feedback like a note to an editor (what to change, where). The first round per article is free; later rounds normally cost 1 credit, charged only when the round succeeds. One round at a time, at most 10 per article. A round takes about a minute: poll unspar_article_revisions. Earlier versions can come back with unspar_article_revision_restore. If a call's result is lost, read unspar_article_revisions before calling again. - `article_id` (string, required): - `feedback` (string, required): - `unspar_article_revision_restore`: Bring back the text from before a completed revision round (revision_id from unspar_article_revisions, where can_restore is true). Free and instant. The restore is itself a new entry in the history, so it can be undone the same way. If a call's result is lost, read unspar_article_revisions before calling again. - `article_id` (string, required): - `revision_id` (string, required): - `unspar_article_create`: Create an article from a brief in one of the selected projects and start generation (spends credits). Returns the article with its opaque id; poll unspar_article_status until completed, then fetch unspar_article_content. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs. - `project_id` (string, required): - `brief` (string, required): Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs. - `title` (string): - `language` (string): - `template_id` (string): - `outlet_id` (string): - `scheduled_at` (string): - `queue` (boolean): - `client_reference` (string): - `additional_context` (string): - `economy` (boolean): Economy mode: cheaper models and lighter research. It costs the same credits as a normal article. Off by default. - `voice` (string): Writing voice for this article: a built-in voice id such as voice:builtin:friendly_explainer or a team voice id from unspar_voice_list. Omit it to use the template or project default voice. - `fact_check` (boolean): Optional fact-check for this new article: checks the finished text against its research and the web, fixes clear errors with a source and lists claims to check. Adds 1 credit (Short text, Article), 3 (In-depth) or 6 (Report), charged only when the check completes. Omit it to follow the template; false turns a template's check off. - `unspar_article_queue`: Queue a draft article for generation. - `article_id` (string, required): - `unspar_article_cancel`: Cancel a queued or running article generation. - `article_id` (string, required): - `unspar_article_retry`: Retry a failed article generation. Spends credits again. - `article_id` (string, required): - `unspar_article_unqueue`: Move an idea-created queued article back to draft when generation has not started. - `article_id` (string, required): - `idempotency_key` (string): - `unspar_idea_run_start`: Start an idea discovery run for a selected project. Ideas the project already covers (its articles, its site pages, open or dismissed ideas) are left out, and the run reports how many in counts.left_out. - `project_id` (string, required): - `workflow_type` (string, required): analyze_site, competitor_gaps, research_topic, refresh_content or plan_series. Send only the fields this type uses; a filled field it does not use is rejected with a message naming the field. - `project_url` (string): analyze_site only. Defaults to the project website. - `competitor_url` (string): competitor_gaps only, required there. - `topic` (string): research_topic only, required there. - `focus_area` (string): refresh_content only. For research_topic, put the focus into topic or audience. - `series_brief` (string): plan_series only, required there. - `series_length` (integer): plan_series only. - `audience` (string): research_topic and plan_series only. - `idempotency_key` (string): - `unspar_idea_run_find_more`: Start an expansion pass for an ordinary completed idea run. - `run_id` (string, required): - `idempotency_key` (string): - `unspar_idea_run_refresh`: Start a lineage-preserving refresh from an idea run stored input. - `run_id` (string, required): - `idempotency_key` (string): - `unspar_idea_decide`: Set an idea appearance decision to new, shortlisted, or dismissed. - `appearance_id` (string, required): - `decision` (new,shortlisted,dismissed, required): - `unspar_idea_queue`: Queue one idea appearance as an article generation draft. - `appearance_id` (string, required): - `confirm_media_spend` (boolean): - `idempotency_key` (string): ### Create and edit projects Creates projects and updates projects in scope, including their context and visual identity. Spends no credits (visual identity options are free, with daily limits); creating projects needs the connection to cover all projects. - `unspar_project_create`: Create a project for the approved team. context sets the site context (background: two to four plain sentences on who the site is for, its scope and its limits, no writing-style instructions), the form of address and the default length; writing and research both use it, and an article's own context is added to it. - `name` (string, required): - `description` (string): - `url` (string): - `status` (active,paused,archived): - `timezone` (UTC,America/New_York,America/Los_Angeles,Europe/London,Europe/Berlin,Asia/Tokyo): - `language` (en-US,en-GB,en-AU,en-CA,de-DE,de-AT,de-CH,es-ES,es-MX,es-AR,fr-FR,fr-CA,fr-BE,fr-CH): - `limit` (integer): - `automate` (boolean): - `context` (object): Project context that every new article uses; omitted keys keep their values. - `unspar_project_update`: Update fields on one project visible to the hosted MCP connection. context sets the site context (background: two to four plain sentences on who the site is for, its scope and its limits, no writing-style instructions), the form of address and the default length; writing and research both use it, and an article's own context is added to it. Omitted context keys keep their values; null or "" clears background. - `project_id` (string, required): - `name` (string): - `description` (string): - `url` (string): - `status` (active,paused,archived): - `timezone` (UTC,America/New_York,America/Los_Angeles,Europe/London,Europe/Berlin,Asia/Tokyo): - `language` (en-US,en-GB,en-AU,en-CA,de-DE,de-AT,de-CH,es-ES,es-MX,es-AR,fr-FR,fr-CA,fr-BE,fr-CH): - `limit` (integer): - `automate` (boolean): - `context` (object): Project context that every new article uses; omitted keys keep their values. - `unspar_project_visual_identity_generate`: Show three free options for a project. Daily limits apply. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs. - `project_id` (string, required): - `preset` (string): Public image preset id from the image preset list. - `palette` (array): - `notes` (string): - `unspar_project_visual_identity_approve`: Approve the named round and option, or update only colors and notes without round and candidate. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs. - `project_id` (string, required): - `round` (string): Exact round public id returned by generate or show. Required with candidate. - `candidate` (integer): - `palette` (array): - `notes` (string): - `unspar_project_visual_identity_clear`: Turn off the look for future images. Images: set each project's look once with its visual identity (show three options, pick one). New illustrations, or new photos if the look is a photo style, then follow it. Do not describe image styles or colors in briefs. - `project_id` (string, required): ### Manage destinations Creates, updates, deletes, detects and tests outlets (publishing destinations) and stores their credentials write-only. Spends no credits and does not publish; these tools only appear when the connection covers all projects. - `unspar_outlet_create`: Create a publishing destination for the team. Credentials are accepted write-only and are never returned. - `name` (string, required): - `type` (string, required): - `connection` (object): GitHub: owner, repo, branch, directory on github.com. Create-only Markdown files. Use credentials.api_key for a fine-grained token with Contents read/write. Webhook: connection.api_url is a public HTTPS endpoint; credentials.api_key is the signing secret. Sends signed article.publish_requested JSON once, with up to three short delivery tries. - `credentials` (object): api_key is the GitHub token or webhook signing secret. Encrypted and write-only. Omit on update to keep the saved credential. - `selection` (object): - `defaults` (object): - `unspar_outlet_update`: Update a publishing destination. Omitted credentials are preserved; clear_credentials explicitly removes stored secrets. - `outlet_id` (string, required): - `name` (string): - `connection` (object): GitHub: owner, repo, branch, directory on github.com. Create-only Markdown files. Use credentials.api_key for a fine-grained token with Contents read/write. Webhook: connection.api_url is a public HTTPS endpoint; credentials.api_key is the signing secret. Sends signed article.publish_requested JSON once, with up to three short delivery tries. - `credentials` (object): api_key is the GitHub token or webhook signing secret. Encrypted and write-only. Omit on update to keep the saved credential. - `selection` (object): - `defaults` (object): - `clear_credentials` (object): - `unspar_outlet_delete`: Delete a publishing destination when it is not referenced by articles or required by Project Auto publishing. - `outlet_id` (string, required): - `unspar_outlet_detect`: Detect a publishing provider and setup hints from a public URL without saving an outlet. - `input` (string, required): - `unspar_outlet_test`: Run and persist a sanitized connection test for a publishing destination. - `outlet_id` (string, required): ### Manage authoring assets Creates, updates, duplicates and deletes team templates and manages writing voices. Voice extraction and its retry spend credits and can fetch source URLs; the rest is free. These tools only appear when the connection covers all projects. - `unspar_template_create`: Create a variant with based_on and sparse settings plus a one-line reason. Prefer duplicating an existing template unchanged. Creation without a source requires the team owner to enable the expert setting. - `name` (string, required): - `description` (string): - `language` (string): - `mode_scope` (string): - `based_on` (string): - `reason` (string): - `article_depth` (string): - `configuration` (object): - `unspar_template_update`: Update a team template. Revision is required for configuration changes or rebase_on_source and checked when supplied for other edits. Omitted fields survive; nested maps merge and lists replace, including empty lists. Give a one-line reason when changing source settings. Set rebase_on_source=true to refresh the source snapshot while keeping template values; an unavailable source returns 422. A stale revision returns a conflict; reload and reapply explicitly. - `template_id` (string, required): - `revision` (integer): - `rebase_on_source` (boolean): Refresh the source snapshot and recompute overrides, keeping the template values. Requires revision; unavailable sources return 422. - `reason` (string): - `status` (active,archived): - `name` (string): - `description` (string): - `language` (string): - `mode_scope` (string): - `article_depth` (string): - `configuration` (object): - `unspar_template_duplicate`: Duplicate a built-in or team template into the team library. This is the way to adapt a template: duplicate the closest built-in, then change only the fields the requirement needs and keep its writing instructions. - `template_id` (string, required): - `unspar_template_delete`: Delete a team template when it is not referenced by enabled Project Auto settings. - `template_id` (string, required): - `unspar_voice_create`: Create a draft writing voice for the team. - `name` (string, required): - `description` (string): - `profile` (object, required): - `brief` (string, required): - `preservation_brief` (string, required): - `unspar_voice_update`: Partially update a team writing voice. Omitted fields keep their current values. - `voice_id` (string, required): - `name` (string): - `description` (string): - `profile` (object): - `brief` (string): - `preservation_brief` (string): - `unspar_voice_activate`: Activate a draft team voice so it becomes selectable. - `voice_id` (string, required): - `unspar_voice_archive`: Archive a draft or active team voice and report projects that used it as the default. - `voice_id` (string, required): - `unspar_voice_duplicate`: Duplicate a team voice or built-in voice into a new draft. Provide exactly one of voice_id or built_in_key. - `voice_id` (string): - `built_in_key` (string): - `unspar_voice_extract`: Create a queued voice extraction attempt from pasted samples and optional discovered source candidate ids. Spends credits. - `samples` (string): - `name` (string, required): - `description` (string): - `source_candidate_ids` (array): - `idempotency_key` (string): - `unspar_voice_extraction_status`: Show one voice extraction attempt by public attempt id. - `attempt_id` (string, required): - `unspar_voice_extraction_retry`: Retry a failed or cancelled voice extraction with fresh samples. Spends credits again. - `attempt_id` (string, required): - `samples` (string, required): - `name` (string): - `description` (string): - `idempotency_key` (string): - `unspar_voice_sources_discover`: Discover reusable voice source candidates from URLs and optional pasted samples. - `inputs` (array): - `pasted_samples` (string): - `unspar_voice_manage_list`: List team voices across draft, active, and archived states. - `q` (string): - `status` (string): - `sort` (string): - `page` (integer): - `per_page` (integer): ### Manage automation Turns Project Auto on, changes or off, deletes projects and updates or deletes articles. The tools charge nothing themselves, but Project Auto then generates articles on its own schedule, which spends credits. - `unspar_project_auto_show`: Show Project Auto configuration for one project visible to the hosted MCP connection. - `project_id` (string, required): - `unspar_project_auto_set`: Enable or update Project Auto for one project visible to the hosted MCP connection. - `project_id` (string, required): - `enabled` (boolean, required): - `daily_article_goal` (integer): - `template_reference` (string): - `stop_condition` (until_turned_off,until_date,after_article_count): - `stop_at` (string): - `stop_article_goal` (integer): - `confirm_media_spend` (boolean): - `unspar_project_auto_disable`: Disable Project Auto for one project visible to the hosted MCP connection. - `project_id` (string, required): - `unspar_project_delete`: Delete one project visible to the hosted MCP connection. - `project_id` (string, required): - `unspar_article_update`: Update the working title, brief, or additional context for a draft or failed article. - `article_id` (string, required): - `title` (string): - `brief` (string): - `additional_context` (string): - `unspar_article_delete`: Delete a draft, failed, completed, queued, or cancelled article when no completed-article repair fence is active. - `article_id` (string, required): --- # Unspar CLI The unspar CLI is a command for your terminal. With it you write and publish Unspar articles without opening the web app, and so can a script or an AI coding agent. Web version: https://www.unspar.com/docs/cli/ Unspar researches a topic, writes an article in your voice, and publishes it to your site. Most people do this in the [web app](https://app.unspar.com/dashboard). The CLI does the same thing from a terminal. You type `unspar` and a command, like `unspar articles create`. The CLI is for people who would rather type than click. It's also for programs that can't click at all. A GitHub Actions job can write an article with it, and so can an AI coding agent like Claude Code or Codex. The CLI works for the same team as the web app. It sees the same projects and spends the same credits. Credits are how you pay in Unspar, and an ordinary article costs 1 credit whether you start it in the terminal or in the app. The CLI is included in every plan, including the free one. See [Credits and prices](https://www.unspar.com/docs/guides/credits-and-prices/) for the other prices. ## Install it on Linux or macOS The installer picks the right program for your system and processor. Before it installs anything, it checks the download against a published checksum. It needs `curl` or `wget` for this, plus `sha256sum` or `shasum`. 1. Open a terminal and run the installer. ```sh curl -fsSL https://app.unspar.com/install.sh | sh ``` The program goes to `/usr/local/bin` if your user may write there. Otherwise it goes to `~/.local/bin` in your home folder. 2. If the installer prints `Add ... to your PATH`, add this line to `~/.zshrc` on a Mac or to `~/.bashrc` on Linux. Then open a new terminal. ```sh export PATH="$HOME/.local/bin:$PATH" ``` 3. Check that it works. ```sh unspar version ``` The terminal prints the version of the CLI. The CLI runs on Intel and AMD processors and on ARM, Apple silicon included. To install a certain version or into another folder, pass `--version` and `--dir` to the installer. ```sh curl -fsSL https://app.unspar.com/install.sh | sh -s -- --version 0.3.1 --dir "$HOME/bin" ``` ## Install it on Windows On Windows, the installer runs in PowerShell. There is one build, for 64-bit Windows. 1. Open PowerShell and run the installer. ```powershell irm https://app.unspar.com/install.ps1 | iex ``` It installs `unspar.exe` into `%LOCALAPPDATA%\Programs\unspar` and adds that folder to your user PATH. 2. Open a new PowerShell window. Windows that were already open don't see the new PATH. 3. Check that it works with `unspar version`. The one-line command can't take options. To pick a version or a folder, download the script first and run it with `-Version` and `-InstallDir`. ```powershell irm https://app.unspar.com/install.ps1 -OutFile install.ps1 .\install.ps1 -Version 0.3.1 -InstallDir C:\tools\bin ``` ## Keep it up to date The CLI doesn't update itself. This command downloads the newest version, checks it, and replaces the program. ```sh unspar update ``` `unspar update --check` only tells you whether a newer version exists. If you installed the CLI into a folder that belongs to root, run `sudo unspar update`. If an AI tool runs the CLI as its [local MCP server](https://www.unspar.com/docs/cli/local-mcp/), restart the tool after an update. ## Log in The CLI needs a team API key to work for your team. An API key is a long secret that the CLI sends with each request. `unspar login` gets one through your browser and stores it on this computer. Only the team owner and people with the **Administrator** role can approve a login, because it creates a key for the whole team. See [Teams](https://www.unspar.com/docs/guides/teams/). 1. Run the login command. ```sh unspar login ``` The terminal shows an address and a code, then opens the address in your browser. ```text Authorize at https://app.unspar.com/cli/authorize Enter code: WDJB-MJHT ``` 2. Sign in to Unspar if the browser asks you to. The page **Approve sign-in** opens and shows a code under "Check this code in your terminal". 3. Check that this code matches the code in your terminal. 4. Choose **Approve**. The browser then says "You can close this window and return to your terminal." The terminal confirms the login and names your team. ![Approve sign-in page with the code RPK2-8WGK, the access summary and the Approve button](https://www.unspar.com/images/docs/cli-authorize.webp) Compare the code with the one in your terminal, then choose Approve. If the browser didn't open, copy the address into a browser yourself. Type the code into **User code** and choose **Continue**. The code is valid for 10 minutes. After that, run `unspar login` again. ### What does Approve allow? One click on **Approve** gives the key full access to all projects of your team for 90 days. Full access includes publishing to your outlets. An outlet is a site you connected to Unspar, like your WordPress blog. To choose less, open **Advanced settings** before you approve. These are the choices you have there: | Setting | Choices | Without a change | | -------------- | --------------------------------------------------------------- | ---------------- | | **Team** | Each of your teams where you may create keys | The team shown | | **Access** | **Full access**, **Read only** or **Custom** | **Full access** | | **Projects** | **All projects, current and future** or **Only these projects** | All projects | | **Expiration** | **90 days** or **30 days** | 90 days | **Read only** sees everything you can see and changes nothing. **Custom** lets you pick groups of permissions one by one. [API keys and connections](https://www.unspar.com/docs/agents/access/) explains the groups. ![Advanced settings with Access, Projects and Expiration](https://www.unspar.com/images/docs/cli-authorize-advanced.webp) Advanced settings decide what the key may do, in which projects and for how long. The new key shows up under **API tokens** in [Settings](https://app.unspar.com/settings). You revoke it there. When a key expires, commands stop with `token_expired`, and `unspar login` gets you a new one. ### Other ways to log in Not every computer has a browser, and a CI job has no person to click **Approve**. These are the other ways in: | Situation | What to do | | --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | | The computer has no browser, like a server over SSH | Run `unspar login --web --no-prompt`. It prints the address and the code without opening a browser. Approve on another device. | | You already created a key under **API tokens** | Run `unspar login --api-key` and paste the key when the CLI asks. It stays hidden while you paste. | | A script or a CI job runs the CLI | Put the key into the environment variable `UNSPAR_API_KEY`. The CLI then needs no login. See [Scripting](https://www.unspar.com/docs/cli/scripting/). | The CLI never takes a key as a command-line argument, so a key doesn't end up in your shell history. ### Check who you are logged in as Two commands tell you which login the CLI uses. ```sh unspar whoami unspar auth status ``` `whoami` shows the team and the plan. It also shows what the key can do and which projects it can reach, and `--verbose` lists each permission. `auth status` shows which key is in use and whether it works. That matters when `UNSPAR_API_KEY` is set, because the variable overrides the stored login. `unspar logout` deletes the key from this computer. It doesn't revoke the key. Unspar accepts it until it expires or until you revoke it under **API tokens**. ## Write your first article These steps take one article from a topic to your site. IDs in Unspar are 26-character codes like `01JX9Q3M4N5P6R7S8T9V0W1X2Y`. Replace `` and `` in the examples with your own. 1. Find your project. A project is one website in Unspar, with its own settings and articles. ```sh unspar projects list ``` The list shows each project with its ID. If you have none yet, create one under [Projects](https://app.unspar.com/projects) or with `unspar projects create`. 2. Check the price. The estimate is free and creates nothing. ```sh unspar api post /articles/estimate --field project= --field "brief=How DNS caching works" ``` The answer shows the article's class and the credits it would cost. 3. Start the article. The brief is only the topic. The project's settings and its template take care of the rest. ```sh unspar articles create --project --brief "How DNS caching works" --wait ``` The CLI asks first, because this spends credits. Answer yes. The CLI prints the new article with its ID and waits until Unspar has written it. Ctrl+C stops the wait, not the article. 4. Save the text as a Markdown file. ```sh unspar articles content --with-images --output article.md ``` 5. Publish it. The CLI asks first, because the article then leaves Unspar. ```sh unspar articles publish ``` The article goes to the project's default outlet. If the project has none, add `--outlet ` with an ID from `unspar outlets list`. You connect outlets in the web app under [Outlets](https://app.unspar.com/outlets). The article also shows up under [Articles](https://app.unspar.com/articles) in the web app. [Articles in the CLI](https://www.unspar.com/docs/cli/articles/) explains each of these commands and their options. ## Use more than one team or key A profile is a name for one login and its settings. Until you create another one, everything uses the profile `default`. Profiles keep the keys of different teams apart. They also let you keep a second key with fewer rights, for example a read-only one for an AI tool. | Command | What it does | | ----------------------------------- | -------------------------------------------------------------------------------------------- | | `unspar --profile login` | Logs in under a new profile and makes it the current one. | | `unspar profile use ` | Switches to another profile. | | `unspar --profile ` | Runs one command with another profile. | | `unspar profile list` | Lists all profiles and marks the current one. | | `unspar profile show ` | Shows one profile's settings and whether it has a stored key. It never shows the key itself. | | `unspar profile delete ` | Removes the profile and its key from this computer. The key still works until you revoke it. | This logs in a second team, switches back to the first and runs one command for the second: ```sh unspar --profile second-team login unspar profile use default unspar --profile second-team articles list ``` ## Where does the CLI keep its files? The CLI has two files. `config.yml` holds the settings. `auth.json` holds the keys as plain text, so treat it like a password and keep it out of repositories and shared folders. Both files live in one folder: | System | Folder | | ------- | --------------------------------------------------------------- | | Linux | `~/.config/unspar`, or `$XDG_CONFIG_HOME/unspar` if that is set | | macOS | `~/Library/Application Support/unspar` | | Windows | `%AppData%\unspar` | `unspar config path` prints where both files are, even when one of them is broken. The `config` commands read and change the settings. They never show or set a key. ```sh unspar config list unspar config set profiles.default.locale de ``` The locale is the language of Unspar's messages, like error texts. It is `en` or `de`, and it doesn't change the language of your articles. `profiles..defaults.project_list_limit` sets how many rows `projects list` and `articles list` show (30 by default). ## What if something doesn't work? Run `unspar doctor` first. It checks your settings files, your login, and whether the CLI can reach Unspar. It never changes a file, and each line is marked `OK`, `WARN`, or `FAIL`. ```sh unspar doctor ``` This table lists the most common problems. | Message | What to do | | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | | `command not found: unspar` | The program's folder isn't on your PATH. Add the `export PATH` line from the install steps and open a new terminal. | | `this action needs confirmation; re-run with --force to proceed without a prompt` | Nobody could answer the CLI's question, as in a script. Add `--force` if the command should go ahead. | | `no API key found for selected profile` | Run `unspar login`. | | `token_expired` or `token_revoked` | The key expired or was revoked. Run `unspar login`. | | `forbidden_ability` | The key doesn't have permission for this. `unspar whoami --verbose` shows what it can do. Log in again with other choices if you need more. | | `forbidden_project_scope` | The key is limited to other projects. | | `insufficient_credits` | `unspar credits balance` shows what you have. Add more under [Buy credits](https://app.unspar.com/credits/purchase). | | `resource_not_found` | The ID is wrong, or the key can't see it. | | "None of your teams can create API keys right now" | Only the owner or an **Administrator** can approve. Ask one of them for a key, then run `unspar login --api-key`. | | The CLI works with the wrong team | `UNSPAR_API_KEY` is probably set. `unspar auth status` shows which key is in use, and `unset UNSPAR_API_KEY` removes it. | `unspar --help` shows all options for a command, with examples. `--debug` writes the details of each request to stderr, with the key hidden. If you're still stuck, write to [Support](https://app.unspar.com/support). Include the command you ran and the full error message, because it contains the request ID. --- # Articles in the CLI The unspar articles commands start an article from a topic and give you the finished text. You can also ask for changes and publish the article without leaving the terminal. Web version: https://www.unspar.com/docs/cli/articles/ An article is a single piece of text for your site, like a guide or a comparison. You start it from a topic, and Unspar researches and writes it in the background. When it's done, you can read and publish it. The `unspar articles` commands handle all of this from the terminal, working on the same articles you see under [Articles](https://app.unspar.com/articles) in the web app. Each article belongs to a project, which represents one website in Unspar. The project supplies defaults for every new article, like its language and template. A template controls what kind of text Unspar writes and how it does the research. You can override these defaults for a single article using the options below. If you haven't installed the CLI yet, start with the [CLI overview](https://www.unspar.com/docs/cli/). ## Which commands are there? Commands that spend credits or publish ask for confirmation first. Since a script can't answer a prompt, pass `--force` to skip it. [Scripting](https://www.unspar.com/docs/cli/scripting/) covers this in more detail. | Command | What it does | Asks first | | ------------------------------------------------------------- | --------------------------------------------------------------- | ------------------------ | | `unspar articles list` | Lists your articles, 30 by default. | No | | `unspar articles show ` | Shows one article in detail. | No | | `unspar articles status ` | Shows where an article stands. `--wait` waits until it is done. | No | | `unspar articles create` | Creates an article from a topic and starts writing it. | Yes, unless `--no-queue` | | `unspar articles queue ` | Starts an article you saved with `--no-queue`. | Yes | | `unspar articles content ` | Prints the finished text as Markdown. | No | | `unspar articles artifacts ` | Lists the files Unspar made for the article. | No | | `unspar articles revise ` | Asks for changes to a finished article. | Yes | | `unspar articles revisions ` | Lists the rounds of changes and what the next one costs. | No | | `unspar articles restore-revision ` | Brings back the text from before a round. | Yes | | `unspar articles derive --format ` | Writes a short post from a finished article. | Yes | | `unspar articles publish ` | Sends the article to its outlet. | Yes | | `unspar articles approve ` | Approves an article that waits for approval. | No | | `unspar articles retry ` | Continues a failed article from its last saved step. | Yes | | `unspar articles cancel ` | Stops an article that is waiting or being written. | No | ## What do the statuses mean? An article moves through several statuses while Unspar works on it. You can check them with `status`, filter lists by them, and wait for them with `--wait`. | Status | What it means | | ----------------- | ----------------------------------------------------------------------------------------------------------------- | | `draft` | Saved and not started. No credits are held. | | `queued` | Waiting for a free slot. Its credits are held. | | `processing` | Unspar researches and writes. | | `completed` | Finished. The credits were charged, and you can read the text. | | `failed` | Stopped before the end. The text costs nothing, but images it already got can. | | `cancelled` | Someone stopped it. The credits held for the text went back. | | `action_required` | Finished, but the charge didn't close cleanly. Unspar settles it every 10 minutes. Don't start the article again. | Publishing has a status of its own. `status` shows it as `publishing_status`, and `published_at` is set once the article is on your site. ## Find your articles Use `list` to browse your articles, `show` to inspect one in detail, and `status` for a quick check. ```sh unspar articles list --project --status completed unspar articles show unspar articles status ``` These options narrow the list down: | Option | What it does | | ------------------ | ------------------------------------------------------------------------------------------ | | `--project ` | Only articles of this project. | | `--status ` | Only articles with this status, from the table above. | | `--search ` | Only articles that match the text. | | `--sort ` | `created_at` or `updated_at`. A minus in front, like `-updated_at`, puts the newest first. | | `--limit ` | Up to this many rows. | | `--all` | All rows. | ## Start an article Every article needs a project and a brief. The brief is your topic, like "How DNS caching works", up to 10,000 bytes. Leave writing instructions out of the brief. Your project's site context already defines who the site is for, and the template sets the structure and style. See [Projects and site context](https://www.unspar.com/docs/guides/projects-and-site-context/). You can check the price before you start. The CLI doesn't have a dedicated estimate command, so call the endpoint through `unspar api`. This creates nothing and holds no credits; the response shows the article's class and credit cost. ```sh unspar api post /articles/estimate --field project= --field "brief=How DNS caching works" ``` `--field` only sends text. To price the fact-check too, send the body as JSON, because `fact_check` has to be `true` or `false`. ```sh unspar api post /articles/estimate --body '{"project":"","brief":"How DNS caching works","fact_check":true}' ``` Then start the article. ```sh unspar articles create --project --brief "How DNS caching works" ``` The CLI asks: "Create this article and start generating it? Generation spends team credits." Once you confirm, it prints the new article along with its ID, and Unspar starts writing right away. The response may include a warning, such as a note that the template does no research, but warnings don't stop the article. These options apply only to the article you are creating: | Option | What it does | Without it | | ------------------------- | ------------------------------------------------------------------------------------- | -------------------------------------- | | `--title` | A working title. | Unspar finds a title. | | `--language` | A language tag like `en-US` or `de-DE`. | The project's language. | | `--content-template ` | A template from `unspar templates list`, like `template:builtin:technical_explainer`. | The project's default template. | | `--voice ` | A voice from `unspar voices list`, like `voice:builtin:friendly_explainer`. | The template's or the project's voice. | | `--outlet ` | An outlet from `unspar outlets list`. | The project's default outlet. | | `--fact-check` | Turns the fact-check on. `--fact-check=false` turns it off. | What the template says. | | `--scheduled-at