https://app.neuronwriter.com/neuron-api/0.5/writer/{method} with the key in the X-API-KEY header.
The workflow is two calls, and they behave differently:
analysis.startqueues work; it does not return results. It answers a query id and three URLs, and takes about a minute before the recommendations exist.analysis.getis the poll. It answers{ status }alone while the analysis iswaitingorin progress, and addsmetrics,terms,terms_txt,ideasandcompetitorsonly oncestatusisready. So the response type has those fields optional, and a caller branches on the status rather than assuming they are there.
analysis.startspends one Content Writer analysis from the account’s monthly limit, the same as creating one in the app. At the Gold plan’s 75 analyses, the API and the app share that total.analysis.getspends nothing. Polling it as often as needed is free.content.importsaves a revision;content.evaluatedoes not. Both take the same body and return the same shape. Use evaluate to score a draft, then import once it is ready, and the revision history stays clean.
competitors_modechanges the SERP sample. The defaulttop10analyses the ten top results,top30the thirty, andtop-intentup to ten pages matching the dominant intent.- A query and a project are different ids. The project id is in the project URL, and the query id comes back from
analysis.startorqueries.list. queries.listfilters by tags with AND. Every tag sent has to be on the query, and one string behaves the same as a list of one.- Import takes HTML or a URL, never both. When importing from a URL,
idandclassselect the container to read.
{ "error": "..." }. The auth check runs before routing, so a bad key hides whether a method exists.
What you get:
- 7 typed API operations
Setup
1
Install
2
Add the plugin
corsair.ts
multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.3
Choose authentication
- API Key (Recommended)
Store the NEURONwriter API key before the first call: More: API Key
pnpm corsair setup --plugin=neuronwriter --tenant=acme api_key=<your-key> (leave out --tenant without multiTenancy), or pass it as key in the plugin options. With Hub, each tenant enters their own key on the connect page. See API key auth.4
Connect a tenant
Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.
Example API calls
List the account’s projectsWhat’s next
API reference
Every
neuronwriter.api.* operation with input and output types.Connect / OAuth
createLink, Hub delivery, and tenant connect flows.
Use with agents
Expose this plugin’s operations as MCP tools.