The API
Everything the dashboard does goes through Neotexa's HTTP API, so anything you can do in the browser you can do from a script — with a personal API token.
Make a token
- 1Sign in and open Account settings (the menu under your name).
- 2Under API tokens, give it a name, choose how long it lasts (30, 90 or 365 days) and, if you like, the workspace it works on, then Make a token.
- 3Copy it: it's shown once. It starts with
ntx_.
A token is you: the same workspaces and role, and what it does is recorded as done by you. Keep it like a password, give each script or agent its own, and revoke it on the same page when you're done — it stops at once.
Requests and replies
Send it on every request, with the workspace when the token names none and you're in several. The base address is your dashboard's, like https://console.neotexa.io.
curl -H "Authorization: Bearer $NEOTEXA_TOKEN" \
-H "X-Neotexa-Workspace: acme" \
https://console.neotexa.io/api/projects- Bodies are JSON. Every reply is JSON; an error is
{ "error": "…" }, a sentence you can show. - Anything that takes a while — a build, a deploy, a preview — starts a job and answers
202at once. Follow it inGET /api/processesor the project's activity. - One thing runs on a project at a time: while something does, other changes to it answer
409— but its Lab still takes messages.
| Status | Means |
|---|---|
| 400 | Something in the request is wrong: the message says what. |
| 401 | No token, or it was revoked or expired. |
| 402 | The workspace is out of credits, or (Bring your Claude) its tier has no room for more: projects, people, or previews, builds and live deploys at a time. |
| 403 | Not for you: your role (or the project role) doesn't allow it. Settings, the vault, the cloud and domains are for the workspace's owners and admins. |
| 404 | No such project, environment, message… |
| 409 | Not now: something else runs on the project, or it isn't at that stage yet. |
| 422 | Refused: it looks like an attempt to read secrets or reach Neotexa itself. |
| 429 | Too many at once: try again in a few minutes. |
Talk to the Lab
A built project changes through its Lab. Send a message; it joins the queue, even while a build runs, and messages are taken in order. Read the conversation to follow it: each of your messages has a status — queued, thinking, working, waiting (a question was asked: the project's ask; answer with POST …/questions), stopped (continue it on Running, or dismiss it), paused (Neotexa is paused: it carries on by itself; or out of credits: it carries on by itself once credits are added), then done, failed or cancelled — and Neotexa's lines under it say how it went.
curl -X POST -H "Authorization: Bearer $NEOTEXA_TOKEN" \
-d '{"text":"Add a dark mode toggle in the header"}' \
https://console.neotexa.io/api/projects/<project>/labThe live stream
GET /api/stream is a stream of server-sent events, what keeps the dashboard live: job (a run started or ended), phase (what it's doing now), activity, lab (a project's Lab changed) and refresh. Each event's data is JSON.
Signed alerts
An alert sent to a webhook (Settings → Notifications) is a JSON POST with three headers: Neotexa-Event (like deploy_failed, or test), Neotexa-Delivery (an id that stays the same when a delivery is tried again: keep the ones you've seen and drop repeats) and Neotexa-Signature, as t=<unix seconds>,v1=<hex>. v1 is the HMAC-SHA256, with the channel's signing secret, of the time, a dot and the body exactly as it arrived.
Answer with any 2xx within 5 seconds. Anything else, or no answer, is tried twice more over about ten minutes. Check it in Node like this:
import { createHmac, timingSafeEqual } from "node:crypto";
// body: the raw request body, as a string (before any JSON parsing).
export function verifyNeotexa(body, header, secret, toleranceSeconds = 300) {
const parts = Object.fromEntries(String(header).split(",").map((p) => p.split("=")));
const t = Number(parts.t);
if (!t || !/^[0-9a-f]{64}$/.test(parts.v1 || "")) return false;
if (Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false; // too old: a replay
const want = createHmac("sha256", secret).update(`${t}.${body}`).digest();
return timingSafeEqual(Buffer.from(parts.v1, "hex"), want);
}
// With Express: app.post("/neotexa", express.text({ type: "*/*" }), (req, res) => {
// if (!verifyNeotexa(req.body, req.get("Neotexa-Signature"), process.env.NEOTEXA_WEBHOOK_SECRET)) return res.sendStatus(400);
// const alert = JSON.parse(req.body); // { type, title, text, link, project, at }
// res.sendStatus(204);
// });The secret starts with whsec_. It's shown once, when the channel is added; New secret on the channel makes another, and the old one stops working at once.
Every endpoint
By area. Path parameters are in the address, query ones in its query string, the rest in the JSON body. Hosted ones are your account's, at /auth/….
Workspace
GET/api/configThe workspace's settings, plan, credits, defaults and what the server can do; `currency` is how money is shown: { code: "USD" | "EUR", perUsd (of it to a dollar, at the day's ECB rate), at (the rate's day; null on the fallback), source: "ecb" | "fallback", rates }.
CLI neotexa settings · MCP get_config
GET/api/estimatesWhat each project step usually costs, in credits: drawing the blueprint, building the MVP, shipping it and a prompt, and a prompt by size once there are recent ones (prompt_small, prompt_medium, prompt_large): { low, typical, high, basis } each — typical the median of recent runs, low and high its 20th and 80th percentiles; basis recent (the last 60 days of runs here), usage (every workspace's) or default. null with no credits plan.
CLI neotexa estimates · MCP get_estimates
DELETE/api/github/connectionDisconnect the workspace's only GitHub account (owners and admins; with several connected, disconnect_github_account says which). Its repos in that account stay (and stop building until it's connected again); new ones can't go there until one is connected again (Settings → Code → Connect GitHub, in a browser). Other places stay connected.
CLI neotexa settings github-disconnect · MCP disconnect_github
DELETE/api/github/connection/:accountDisconnect one of the workspace's GitHub accounts (owners and admins): several can be connected, each a place of its own. Its repos stay (and stop building until it's connected again); the other accounts and places stay connected.
accountpath, required — The account's place id, e.g. github:12345 (get_config: workspace.github.connections or places).
CLI neotexa settings github-disconnect-account <account> · MCP disconnect_github_account
DELETE/api/gitlab/connectionDisconnect the workspace's only GitLab account (owners and admins; with several connected, disconnect_gitlab_account says which). Its repos on GitLab stay where they are; new ones can't go there, and nothing in that account can be built, until it's connected again (Settings → Code → Connect GitLab, in a browser).
CLI neotexa settings gitlab-disconnect · MCP disconnect_gitlab
DELETE/api/gitlab/connection/:accountDisconnect one of the workspace's GitLab accounts (owners and admins). Its repos stay where they are and stop building until it's connected again; the other accounts stay connected.
accountpath, required — The account's place id, e.g. gitlab:678 (get_config: workspace.github.gitlab.connections or places).
CLI neotexa settings gitlab-disconnect-account <account> · MCP disconnect_gitlab_account
PUT/api/code/instanceConnect a private instance as one of the places the workspace's code can live (owners and admins): a GitHub Enterprise Server (its place id "ghe:<host>:<account id>") or a self-managed GitLab ("gitlab-self:<host>:<account id>"), with an access token, beside any other place connected — several servers, or several accounts on one, each its own place (the same account on the same server again only replaces its token). Neotexa checks it with the instance first (GET <base>/api/v3/user or /api/v4/user) and keeps it sealed: the token is never sent back. The instance must let Neotexa's server in (its IPs: get_config's workspace.github.outboundIps).
kindbody, required — "github" (GitHub Enterprise Server) or "gitlab" (self-managed GitLab).baseUrlbody, required — The instance's address, https only, e.g. https://git.company.com.tokenbody, required — An access token: GitHub Enterprise, a classic token with repo and workflow (or a fine-grained one with contents, administration, workflows, actions and secrets); GitLab, a personal or group access token with api and write_repository.cabody — Optional: the instance's CA certificate (PEM), when its certificate isn't from a public authority.
CLI neotexa settings instance-connect · MCP connect_code_instance
DELETE/api/code/instance/:kindDisconnect one of the workspace's private instance connections (owners and admins): by its place id, or by its kind when it's the only one of that kind. Its repos stay on it; nothing in it can be built until it's connected again.
kindpath, required — Its place id (e.g. ghe:git.company.com:7, from get_config's workspace.github.instanceList), or "github" / "gitlab" for the only one of that kind.
CLI neotexa settings instance-disconnect <kind> · MCP disconnect_code_instance
GET/api/credits/usageWhat the workspace's credits went on, newest first: each run, followed deploy (30 days) and hosting (previews are free; older "preview:day" rows are from when they were charged), with what was given back because it failed on Neotexa's side. 50 lines by default (more: true when there were more).
daysquery — How many days back, 1–365 (default: the last few weeks).limitquery — How many lines at most, 1–300 (default 50).
CLI neotexa credits usage · MCP get_credits_usage
GET/api/costsWhat the workspace's credits went on over a period, per project and category (AI, hosting, deploy following, email, apps' AI, domains; refunds as negatives), month by month, with each project's lines per environment, step and domain, the AI's models and tokens, next month's forecast (own-cloud environments: an estimate of what their cloud bills, never charged by Neotexa) and the spend caps. `format=csv`: the lines as CSV.
periodquery — "month" (this month, the default), "last-month", "3m", "12m" or "custom" (with from and to).fromquery — custom: the first month, YYYY-MM.toquery — custom: the last month, YYYY-MM (at most 24 months).formatquery — "csv" for the lines as a CSV file.
CLI neotexa costs · MCP get_costs
PUT/api/costs/capsSet the workspace's monthly spend caps in credits (owners, admins and billing members): for the whole workspace and per project. Everything charged in the month counts; once one is reached, new AI runs of its scope (builds, Lab prompts) are refused until next month or a higher cap. Hosting is never stopped for a cap.
workspacebody, number — The workspace's cap in credits a month; null for none.projectsbody, object — { <project id>: credits a month | null } — null removes that project's cap.
CLI neotexa costs caps · MCP set_spend_caps
PUT/api/configChange the workspace's settings (owners and admins): default stack and database, generation, where the code lives and who's invited to it (GitHub, GitLab), alerts, the currency money is shown in, how many Lab prompts build at once, and how projects release by default.
frontendbody — Default frontend language for new projects.backendbody — Default backend language for new projects.databasebody — Default database for new projects: a database key, e.g. db:postgres ("": Neotexa decides). A project created without one starts with it.generationbody, object — { contentLanguage, constraints }githubbody, object — Where the code lives: { home: the place new projects start in (pre-selected on their Code page; remembered by itself as the place of the last new repo — setting it is for old callers, the dashboard no longer asks) — "neotexa" (Neotexa's GitHub keeps the repos) | "github" (github.com, the account connected in Settings → Code) | "gitlab" (gitlab.com, the account connected) | "instance:github" (the GitHub Enterprise server connected) | "instance:gitlab" (the self-managed GitLab connected); an old "github"/"gitlab" is the private instance of that kind when only it is connected. owner (the account, organization or group new repos go in, in that place; empty: the connected account), namePrefix, users: [GitHub usernames invited to every GitHub repo — github.com's, GitHub Enterprise's, Neotexa's GitHub's] }. A place needs to be connected first; a new workspace builds nothing until home is chosen. Each project may pick another place before its repo is made (set_code_place).gitlabbody, object — { users: [GitLab usernames added to every GitLab repo — gitlab.com's and a self-managed GitLab's] }. While never set, GitLab repos get github.users; once saved (even []) only this list; null goes back to github.users.alertsbody, object — { channels: [{ id?, kind: slack|discord|teams|webhook|email, name?, url (not for email), to: [addresses] (email only, up to 10), events: [moved|stopped|task|asked|resources|down|deploy_succeeded|deploy_failed|credits_low|credits_out|hosting_unpaid|domain_expiring|domain_renewal_failed|backup_failed|release_ready], projects: "all" (every project, those made later too; the default) | [project ids] (only these; [] for none) }], creditsLow: the balance under which credits_low goes out (50 unless set) }. A channel's alerts about a project go only when its projects include it; the workspace's own (credits_low, credits_out, hosting_unpaid, domain_expiring, domain_renewal_failed: get_config's workspace.alerts.workspaceEvents) go whatever its projects. Each id must be one of the workspace's projects; a project deleted or moved to another workspace leaves every channel's list. A saved channel sent back by id without its url (or to, or projects) keeps it; a Slack channel added with Add to Slack, or a Teams channel connected with Add to Teams (app: true), can only be kept or removed this way. A new webhook's signing secret comes back once, as alertSecrets: { <id>: "whsec_…" }.displaybody, object — { currency: "USD" | "EUR" } — how the dashboard shows money, converted at the day's rate. Display only: Stripe still charges in the plan's own currency.modelsbody, object — AI models (local serve only; hosted: Neotexa's backoffice).labbody, object — { parallel, maxSubscription, maxApiKey } — how many of a project's Lab prompts build at once, side by side (whole numbers 1–8): parallel (1 = one at a time, the default), never more than maxSubscription (2) on a Claude Code login or maxApiKey (4) on an API key. get_config's lab says which account and the limit that makes.neotexabody, object — { code, hosting, domains } — Neotexa's own places, each true (offered, the default) or false (not offered for new choices; what already uses it keeps working). Same as set_neotexa_place.releasesbody, object — { mode } — how projects release when they don't choose their own: "auto" (every prompt that passes review is released and tagged on main at once, the default) or "manual" (changes gather in Unreleased until someone releases them, with their Product owners' approval when a project has any: an agency's pick). "approval", its name before, is manual.
CLI neotexa settings set · MCP update_config
PUT/api/neotexa-placesSwitch one of Neotexa's own places on or off for the workspace (owners and admins): "code" (Neotexa's GitHub, Settings → Code), "hosting" (Neotexa hosts it, Settings → Hosting) or "domains" (Neotexa's domains, Settings → Domains). On (the default), it's one more option where the thing is picked (a project's Code page, its Deploy page, a domain's source); off, it isn't offered for new choices and choosing it is refused — the repos, apps and domains already on it keep working. get_config's workspace.neotexa says which are on.
placebody, required — "code", "hosting" or "domains".onbody, boolean, required — true to offer it, false to stop offering it for new choices.
CLI neotexa settings neotexa · MCP set_neotexa_place
GET/api/processesWhat's running now in the workspace: builds, prompts, deploys, previews (with pids; a deploy with its environment, env; a Lab prompt building beside others with its lane).
CLI neotexa running · MCP list_processes
POST/api/supportAsk Maria, the dashboard's assistant: about using Neotexa and this workspace; she reads what the asker may read here, asks first when a goal needs more, and returns what to do as one Flow — `actions: [{ kind: "plan", plan: { id, goal, steps, credits }, path, workspace, … }]`, every step shown, even a single change (a Flow of one step) — for the person to confirm with run_support_plan; she runs none. A revised Flow replaces the one she offered before. A confirm sends `X-Expected-Workspace: <workspace>`, so it's refused (409) if the session's workspace changed since. Answers with the asker's conversation (`messages`).
messagebody, required — Your question or request. Maria keeps one conversation per person per workspace on the workspace's server and reads what came before from it (get_support_conversation); a `messages` list from older clients is read for its last question only.
CLI neotexa help-chat · MCP ask_support
GET/api/support/conversationYour own conversation with Maria in this workspace, kept whole on its server until you start a new one: { workspace, messages: [{ id, role: user|assistant, content, at, actions? (each with its state: done|failed|dismissed, once settled) }] }. Nobody else's, and never another workspace's.
CLI neotexa help-chat history · MCP get_support_conversation
DELETE/api/support/conversationStart a new conversation with Maria in this workspace: yours is cleared (only yours, only here). Flows keep running and stay listed (list_support_plans).
CLI neotexa help-chat new · MCP clear_support_conversation
GET/api/support/plansMaria's latest Flows in the workspace, newest first (up to 20): { plans: [{ id, goal, state: offered|running|waiting|stopped|failed|done|expired (a revised Flow replaced it, or never confirmed), note, by, current, projects, startedAt, endedAt, credits: { low, high, partial } | null, steps: [{ op, title, project, state: pending|starting|running|done|elsewhere (done by other means: never run twice)|waiting|stopped|failed, note, startedAt, endedAt, resolved (the backlog items a "$next:N" step picked), risks }] }] }.
CLI neotexa help-chat plans · MCP list_support_plans
GET/api/support/plans/:idOne of Maria's plans and how far it's got: each step's state and, when it stopped or waits for you, why ({ plan }).
idpath, required — The plan's id (pl_…), from ask_support's plan action.
CLI neotexa help-chat plan <id> · MCP get_support_plan
POST/api/support/plans/:id/runConfirm one of Maria's plans (only the person who asked): the server checks its own copy again (each step a change Maria may offer, the person's role, the projects where the plan expects them, nothing running on them, one plan per project) and runs its steps one after another, each once the one before has finished; it stops when a step fails or needs you. On a plan waiting for you, it goes on from that step. Send X-Expected-Workspace: <workspace>, as for an action (409 if it changed). 202 { started, plan }.
Starts a job: answers 202 at once.
idpath, required — The plan's id (pl_…).
CLI neotexa help-chat plan-run <id> · MCP run_support_plan
POST/api/support/plans/:id/stopStop one of Maria's plans once the step that's running finishes (that step's job isn't stopped); a plan only offered is dropped.
idpath, required — The plan's id (pl_…).
CLI neotexa help-chat plan-stop <id> · MCP stop_support_plan
POST/api/alerts/testSend an alert channel a test message (owners and admins): a saved one by id (signed, and shown in its deliveries), or a new kind + url (to, for email).
idbody — A saved channel's id.kindbody — slack, discord, teams, webhook, emailurlbody — The channel's URL, for one not saved yet.tobody — Email addresses, comma-separated, for a new email channel.
CLI neotexa alerts test · MCP test_alert
GET/api/alerts/:id/deliveriesAn alert channel's last deliveries (owners and admins), newest first, up to 50: { deliveries: [{ id, event, title, at, status: delivered|retrying|failed, attempts, code?, error? }], retrying }. A failed one is tried again twice, about 2 and 10 minutes later, under the same id.
idpath, required — The channel's id.
CLI neotexa alerts deliveries <id> · MCP alert_deliveries
POST/api/alerts/:id/secretMake a webhook channel's signing secret anew (owners and admins): the old one stops working at once. The new one is in the answer, { secret }, and never shown again.
idpath, required — The webhook channel's id.
CLI neotexa alerts secret <id> · MCP rotate_alert_secret
GET/api/projects/:id/alertsWhich alert channels tell about one project (anyone who sees the project): { channels: [{ id, kind, name, events, projects, url, included: whether its alerts about this project go there, all: whether by "All projects" }], workspaceEvents: the events that go whatever a channel's projects, canManage: whether you may change them (owners and admins) }.
idpath, required — The project's id (see `projects`).
CLI neotexa alerts project <id> · MCP project_alerts
POST/api/projects/:id/alertsPut one project in or take it out of an alert channel's projects (owners and admins). Taking it out of a channel on "All projects" lists every other project there instead, so that channel no longer gets projects made later. Answers as project_alerts.
idpath, required — The project's id (see `projects`).channelbody, required — The channel's id (project_alerts, or get_config's workspace.alerts.channels).onbody, boolean, required — true: its alerts about this project go there; false: they don't.
CLI neotexa alerts project-set <id> · MCP set_project_alert
DELETE/api/chat/slack/connectionDisconnect one Slack workspace from Neotexa's Slack app (owners and admins): its channels stop getting alerts, nobody can talk to Neotexa from that Slack workspace any more, and Neotexa revokes its token at Slack; the workspace's other Slack workspaces stay connected. It's added again with Add to Slack (Settings → Notifications, in a browser).
teamquery — The Slack workspace's team id (T…, see the workspace's settings: alerts.slack.connections). Needed when more than one is connected.
CLI neotexa alerts slack-disconnect · MCP disconnect_slack
Projects
GET/api/projectsEvery project (its stage, status, platforms, what it's doing, where its preview truly is: previewState running, asleep — wakes when opened —, failed or off) and the jobs running (a deploy's with its environment, env; a Lab lane's with its lane), each with when it started (startedAt) and where its run is now (progress: { phase, step?, round?, since }, once the run said — step only where it knows it for sure: waiting, plan, code, check, fix, review, save, preview or docs; round: the MVP round; since: when that step began).
CLI neotexa projects · MCP list_projects
GET/api/projects/:idOne project in full: its brief (body), its activity, and where a run on the whole project is now (progress: { phase, step?, round?, since }, null when none runs). A first MVP round says buildStage mvp and status building.
idpath, required — The project's id (see `projects`).
CLI neotexa project <id> · MCP get_project
POST/api/projects/:id/commentsComment on a project: the comment goes on its Activity, with your name. Everyone on the project may (a Reviewer too).
idpath, required — The project's id (see `projects`).textbody, required — The comment, up to 2000 characters.
CLI neotexa project comment <id> · MCP comment_on_project
POST/api/projectsDescribe a project yourself: it lands as a Draft. As on the dashboard's New project, its brief is the description (details.description), with a section for each other detail given; attach documents to it next (add_input) and link a backlog (link_backlog). It starts with no docs: they're switched on once it's built, from Studio (set_platforms_extras).
titlebody, required — Its name.oneLinerbody — One sentence about it.platformsbody, array of strings — Where it runs: webapp, mobile (none: just code).detailsbody, object — The brief: { description (what it is, in your words: the dashboard sends only this) } and, optionally, any of users, problem, client, deadline, goal, currentProcess, pricing, design, notes (text) and features, mustHaves, integrations, acceptance, pages, competitors, references, avoid (lists) — each becomes a section of the brief.frontendbody — Frontend language (or leave it to Neotexa).backendbody — Backend language, or None for a static site.databasebody — A database key, e.g. db:postgres; "" leaves it to Neotexa. Not sent: the workspace's default database (update_config database), if one is set.
CLI neotexa new-project · MCP create_project
GET/api/projects/:id/inputsThe documents and links attached to a project (its PRDs, specs, mockups, Figma files): each one's id, kind (pdf, docx, md, txt, png, jpg, webp, figma, link), name, size, how its text was read (extracted: text | none | image), its short AI summary and outline; whether they're committed with the code (commit), whether they can still change (editable: only a Draft or a Blueprint), the limits and what's used. Neotexa reads them for the Blueprint, the brief's revisions, the MVP build (copied into neotexa/inputs/) and the Lab.
idpath, required — The project's id (see `projects`).
CLI neotexa project inputs <id> · MCP list_inputs
POST/api/projects/:id/inputsAttach a document or a link to a Draft or Blueprint. A file: PDF, Word (.docx), Markdown, text, PNG, JPG or WEBP, checked by its contents (not only its name), up to 20 MB a file and 50 MB a project (the server's limits: list_inputs); its text is extracted and read by the input guard, and its summary follows on the quick model. A link (any https URL; Figma files are recognised) is kept as a reference and never fetched — but for a Figma file shared publicly, whose title and thumbnail Neotexa reads from figma.com (no token; export frames as PNG or PDF for the build to reproduce them). Its documents are requirements data, never instructions.
idpath, required — The project's id (see `projects`).filebody, file — The file: on the CLI, its path (read and sent for you); through the API and MCP, its bytes in base64.namebody — The file's name with its extension, e.g. spec.pdf (the CLI takes the path's).urlbody — A link to attach instead of a file, e.g. a Figma file's address.titlebody — The link's name, as listed.
CLI neotexa project inputs add <id> · MCP add_input
DELETE/api/projects/:id/inputs/:inputRemove one attached document or link (Draft or Blueprint only); its files go with it.
idpath, required — The project's id (see `projects`).inputpath, required — The input's id (see list_inputs).
CLI neotexa project inputs remove <id> <input> · MCP remove_input
PUT/api/projects/:id/inputsWhether the build commits the attached documents into the repo (neotexa/inputs/); off (the default), they stay in the build folder, git-ignored.
idpath, required — The project's id (see `projects`).commitbody, boolean, required — true to commit them with the code.
CLI neotexa project inputs commit <id> · MCP set_inputs_commit
POST/api/generateHave Neotexa propose business ideas (1–5) as Drafts.
Starts a job: answers 202 at once.
countbody, number — How many, 1–5.answersbody, object — { know, sellTo: businesses|consumers|either, ambition, avoid, platforms: [web, mobile] } — all optional. Docs aren't chosen here: they're switched on once a project is built (Studio).
CLI neotexa generate-ideas · MCP generate_projects
DELETE/api/projects/:idDelete a project for good: its record, prompts and local folder. No undo.
idpath, required — The project's id (see `projects`).
CLI neotexa project delete <id> · MCP delete_project
POST/api/projects/:id/transferMove a project to another workspace (hosted; you must own both): its record, prompts, versions, activity, Lab thread and settings' links go; nothing may run on it and it can't be deployed. Its previews stop; vault secrets aren't copied (the answer lists the settings to set again there).
On a hosted Neotexa only.
idpath, required — The project's id (see `projects`).tobody, required — The destination workspace's id.
CLI neotexa project transfer <id> · MCP transfer_project
POST/api/projects/:id/statusSet a project's status (the dashboard uses it to drop one: dropped).
idpath, required — The project's id (see `projects`).statusbody, required — e.g. dropped, accepted.
CLI neotexa project status <id> · MCP set_project_status
POST/api/projects/:id/restoreBring a dropped project back where it was.
idpath, required — The project's id (see `projects`).
CLI neotexa project restore <id> · MCP restore_project
POST/api/projects/:id/run▶ Run: the project's next step (blueprint, MVP build, ship), with what its dialog asks.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).notesbody — Notes for the step (blueprint notes; what the MVP must include or leave out; ship answers).docsbody, boolean — Ship: write its docs too (default true).signinbody, array of strings — Build: sign-in methods (auth:password, auth:google, auth:github, auth:microsoft, auth:apple, auth:magiclink, auth:sso; [] for none).frontendbody — Build: frontend language, while still editable.backendbody — Build: backend language, while still editable.taskbody — A prompt to build instead of the next step (prefer the Lab).
CLI neotexa project run <id> · MCP run_project
POST/api/projects/:id/reviseHave Neotexa rewrite a Draft's or Blueprint's vision from an instruction.
idpath, required — The project's id (see `projects`).instructionbody, required — What should change, in plain words.
CLI neotexa project revise <id> · MCP revise_brief
PUT/api/projects/:id/extrasSet where it runs and its docs extras; a platform switched on for built code gets built, and a docs set switched on gets written right away (once what is running finishes, if something is). Docs are chosen only from Studio on (once it's built): before that, a list that changes its docs is refused (409); its platforms can change at any stage.
idpath, required — The project's id (see `projects`).extrasbody, array of strings, required — webapp, mobile, essentials, sell, legal, internal, client — the whole new list (the docs from Studio on); the essential docs keep their state unless named: essentials switches them all on (when none was), -essentials all off; one essential doc is switched with essentials:<doc> or -essentials:<doc> (architecture, development, api, operations, security, changelog).
CLI neotexa project extras <id> · MCP set_platforms_extras
PUT/api/projects/:id/titleRename it on Neotexa: its title (its slug, and so its addresses, stay). The name inside the app and its brief change through the Lab; a Lab change that renames the product renames the project too.
idpath, required — The project's id (see `projects`).titlebody, required — The new name.
CLI neotexa project rename <id> · MCP rename_project
PUT/api/projects/:id/languagesIts frontend/backend languages, while still a Draft or Blueprint.
idpath, required — The project's id (see `projects`).frontendbody — e.g. TypeScript.backendbody — e.g. Go, Python, None.
CLI neotexa project stack <id> · MCP set_languages
GET/api/projects/:id/dep-choiceThe database and sign-in choices offered for the build, and what's chosen.
idpath, required — The project's id (see `projects`).
CLI neotexa project deps-choice <id> · MCP get_dep_choice
PUT/api/projects/:id/dep-choiceChoose its database (on the Blueprint) and sign-in methods.
idpath, required — The project's id (see `projects`).databasebody — A database key, e.g. db:postgres ("" for Neotexa to pick).signinbody, array of strings — auth:password, auth:google, auth:github, auth:microsoft, auth:apple, auth:magiclink, auth:sso
CLI neotexa project deps-choice set <id> · MCP set_dep_choice
GET/api/projects/:id/designHow the app will look: the design directions (editorial, playful, minimal, warm, luxury, data, brutalist), the one the Blueprint suggested and why, what the brief asked for the look (brand colours, fonts, dark or light) and whether it's applied, "Your design" (custom: the design the Blueprint derived from the owner's Figma file, mockups or style guide — its tokens, sources, components and screens to reproduce — on the closest direction; used by default when there is one), the owner's specifics, the one picked (and by whom), the one the build uses, and whether it can still change (only before the MVP is built). Also its design system (the builder): `presets` (the seven directions as starting points: their components and tokens), `system` ({ preset, components: { feel, colour, typography, shape, density, buttons, inputs, cards, navigation, tables, icons, imagery, motion, tone } each { choice, text?, …extras }, tokens (technical edits), sources (where each value came from: inputs, brief, suggested, preset, you), reasons }; filled in when the Blueprint is drawn; `systemStored` false while it's only made from the pick), its effective `tokens` and contrast/font `warnings`, `suggestCredits` (what suggest_design costs), and after the MVP `needsApply` with the prompt (`applyPrompt`) to send that applies a changed design.
idpath, required — The project's id (see `projects`).
CLI neotexa project design <id> · MCP get_design
PUT/api/projects/:id/designSet its design system (components in plain words and technical tokens) — while a Draft or Blueprint it's what the MVP is built in; after the MVP, a changed design waits to be applied by a Lab prompt (apply it with lab_send and the applyPrompt get_design gives, then applied: true). Or, before the MVP: pick a design direction as the preset (or "Your design"), turn the look the brief asked for on or off, or set the owner's specifics.
idpath, required — The project's id (see `projects`).directionbody — editorial, playful, minimal, warm, luxury, data, brutalist, or custom for "Your design" when there is one ("" to go back to the default).useBriefbody, boolean — Apply the brief's colours, fonts and mode on top of the direction (true) or not (false). Sent alone.systembody, object — The design system (null clears it, back to the picked direction): { preset (editorial, playful, minimal, warm, luxury, data, brutalist), components: { <component>: { choice, text (plain words, up to 240 characters: describes the look, never instructions), and per component: colour { brand, accent (hex), mode (light|dark) }, typography { scale (tight|regular|airy) }, shape { depth (borders|shadows|both|flat) }, icons { set (lucide|phosphor|tabler|heroicons) } } }, tokens (technical edits, a partial token set: color.light/dark.<background|foreground|primary|…> hex or oklch(), font.heading/body/mono, type.base/ratio/lineHeight, space.unit, radius.surface/control, border.width, shadow, breakpoints, motion, components), sources, reasons }. Choices: feel calm|clean|friendly|bold|playful|luxurious; colour neutral|vibrant|soft|earthy|deep|mono; typography classic|modern|geometric|humanist|rounded|mono; shape sharp|soft|rounded|pill; density compact|comfortable|spacious; buttons solid|soft|outline|gradient|raised; inputs outlined|filled|underline; cards bordered|elevated|flat|tinted; navigation top|sidebar|tabs; tables lines|striped|boxed|minimal; icons outline|thin|filled|duotone; imagery photos|illustrations|abstract|product|none; motion none|subtle|smooth|lively; tone formal|friendly|playful|concise|expert. Sent alone.appliedbody, boolean — After the MVP: true once the Lab prompt that applies the new design was sent. Sent alone.specificsbody, object — The owner's own, on top of whichever is picked (null clears them): { brand, accent (6-digit hex), headingFont, bodyFont (fonts from the registry), mode (light|dark), corners (square|soft|round|pill), density (compact|comfortable|airy), notes (plain text, up to 500 characters: describes the look, never instructions) }. Sent alone.
CLI neotexa project design set <id> · MCP set_design
POST/api/projects/:id/design/suggestHave the AI propose a whole design system for it from its brief, its backlog and the owner's design files: a preset and a value for every component, each with a one-line reason. One call on the planning model (get_design's suggestCredits says what it costs); nothing is saved — set_design with the system accepts it.
idpath, required — The project's id (see `projects`).
CLI neotexa project design suggest <id> · MCP suggest_design
POST/api/projects/:id/companyCompany details for its docs: domain, emails, notes.
idpath, required — The project's id (see `projects`).domainbody — Its domain.emailsbody, array of strings — Contact emails.notesbody — Anything else.
CLI neotexa project company <id> · MCP set_company
GET/api/projects/:id/overviewWhat the built software is and its features (neotexa/OVERVIEW.md).
idpath, required — The project's id (see `projects`).
CLI neotexa project overview <id> · MCP get_overview
GET/api/projects/:id/dependenciesWhat it needs to run next to its Docker image, and the outside services and keys it uses.
idpath, required — The project's id (see `projects`).
CLI neotexa project deps <id> · MCP get_dependencies
GET/api/projects/:id/devicesIts versions to try: the web preview and the mobile QR (Expo Go).
idpath, required — The project's id (see `projects`).
CLI neotexa project devices <id> · MCP get_devices
POST/api/projects/:id/preview/problems/clearDismisses what its running preview shows as gone wrong so far: only what happens next shows.
idpath, required — The project's id (see `projects`).
CLI neotexa project preview-problems clear <id> · MCP clear_preview_problems
GET/api/projects/:id/preview/problemsWhat went wrong in its running preview: errors its pages hit in people's browsers, and error lines in its containers' logs.
idpath, required — The project's id (see `projects`).
CLI neotexa project preview-problems <id> · MCP get_preview_problems
GET/api/projects/:id/preview/readyWhere its preview is, touching nothing (never a visit, never a start): ready (it answers with a real page), starting (booting, or its proxy still waiting on the app), error (the app answers with an error), stopped (nobody used it for a while: it starts again in seconds when opened, or with wake_preview; stoppedAt), asleep (put away after days without visits: start it with preview; asleepAt) or off. startedAt: since when it has been running (its last wake, when it was stopped and started again since).
idpath, required — The project's id (see `projects`).pathquery — The page to ask for, e.g. / (the default) or /mobile/.
CLI neotexa project preview-ready <id> · MCP get_preview_ready
POST/api/projects/:id/preview/wakeLook at its preview, as its Preview page does: counts as a visit (it keeps running), and one stopped because nobody used it starts again (state starting, waking: true, until it answers). One asleep isn't woken here: start it with preview. Answers as get_preview_ready.
idpath, required — The project's id (see `projects`).pathquery — The page to ask for, e.g. / (the default) or /mobile/.
CLI neotexa project preview-wake <id> · MCP wake_preview
GET/api/projects/:id/tasksThe prompts the Lab ran (a record), with when each was built.
idpath, required — The project's id (see `projects`).
CLI neotexa project prompts <id> · MCP get_tasks
POST/api/projects/:id/tasksTake back a prompt that was never built (by its index).
idpath, required — The project's id (see `projects`).indexbody, number, required — Its index in get_tasks.
CLI neotexa project prompts remove <id> · MCP remove_unbuilt_task
POST/api/projects/:id/remove-taskTake a built prompt back out of the code (its tests and docs too), then publish.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).taskbody, required — The built prompt's text.
CLI neotexa project undo <id> · MCP remove_task
POST/api/projects/:id/buildBuild an accepted project's MVP now (or one prompt pass on a built one).
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).forcebody, boolean — Build even if not accepted.taskbody — One prompt to build.
CLI neotexa project build <id> · MCP build_project
POST/api/projects/:id/evaluateDraw the blueprint: turn a Draft into the full plan. Answers once it's drawn ({ project, cost }).
idpath, required — The project's id (see `projects`).
CLI neotexa project blueprint <id> · MCP evaluate_project
POST/api/build-approvedBuild every accepted project.
Starts a job: answers 202 at once.
CLI neotexa build-approved · MCP build_all_approved
Import
GET/api/imports/criteriaWhat a repository must be for Neotexa to import it: { version, limits: { sourceFiles, loc, repoBytes, apps, fixAttempts }, hard (the criteria that decide the verdict, each with what it takes), soft (those that make the confidence), confidence: [{ level, min, means }], unsupported, credits: { evaluation, init } (what each costs in credits; null with no credits plan) }.
CLI neotexa import criteria · MCP get_import_criteria
GET/api/imports/reposThe repositories a connected code account can push to — its own, those it collaborates on and those of the organizations it belongs to — newest activity first, read with that account's own connection (owners, admins, members): { place, repos: [{ full, url, private, defaultBranch, role, pushedAt, sizeKb, description }], more (the host had more than were read), orgHint (github.com: an organization that restricts OAuth apps shows none of its repos until its owners approve Neotexa in its OAuth settings), orgsWithout (the account's organizations none of whose repos are listed) }. 409 when the account must be connected again; 424 with the host's words when it refused.
placequery, required — The code account's place id (get_config: workspace.github.places), e.g. github:12345 or gitlab:678.qquery — Only repositories whose name has this.
CLI neotexa import repos · MCP list_import_repos
POST/api/importsImport an existing repository, gated by an evaluation (owners, admins, members): it lands on the board as a Draft (source repo-import) and "Evaluating the import" runs — static checks (stack, size, dependencies, secrets, licence, how it starts, services, tests, monorepo), one read-only AI analysis (what it is, its parts, risks, a draft brief) and a trial run in Neotexa's Docker check — writing nothing to the repo. It always takes the repo's default branch, read from the host: that is its primary branch (released code, where versions are tagged), and the Lab works on a dev branch Neotexa makes from it, as for any app it builds (a `branch` sent by older callers is ignored). Its report (get_import) ends in a verdict: accepted, accepted_with_fixes or rejected. Spends the evaluation's credits (get_import_criteria): send confirm: true.
Starts a job: answers 202 at once.
placebody, required — The code account's place id it's in (list_import_repos).repobody, required — The repository: owner/name (GitLab: group/sub/name).subfolderbody — In a monorepo, the app's folder to bring in, e.g. apps/web; none for the whole repo.titlebody — The project's name (default: the repo's).confirmbody, boolean, required — true: the evaluation's credits are spent.
CLI neotexa import start · MCP evaluate_import
GET/api/projects/:id/importA project's import: { import: { state (evaluating | evaluated | failed | accepting | accepted), place, repo, full, subfolder, branch, importer, criteriaVersion, brief (the draft brief, to edit before accepting), report: { verdict, confidence: { level, means }, hard: [{ id, ok, why, fix }], soft, reasons (why not accepted, each with its criterion and what would make it acceptable), fixes (what the init commit adds or changes), owner (what's yours to do), scan, analysis, trial, plan: [{ path, change, why, own }], kept, workflow: { main (its default branch: released code, version tags), dev (where the Lab builds: dev, or neotexa/dev when the repo has a dev of its own), existingDev, branches } }, branches (the repo's own at the import: never moved or deleted), accepted: { at, by, mode, branch, pr, sha, version } }, credits }. After the import Neotexa works in dev and merges into the default branch with version tags; the repo's other branches and tags stay untouched. Secrets show only where and which rule.
idpath, required — The project's id (see `projects`).
CLI neotexa import report <id> · MCP get_import
POST/api/projects/:id/import/evaluateEvaluate an import again (after fixing what its report said): the same three layers, a new report. Spends the evaluation's credits: send confirm: true.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).confirmbody, boolean, required — true: the evaluation's credits are spent.
CLI neotexa import evaluate <id> · MCP reevaluate_import
POST/api/projects/:id/import/acceptAccept an evaluated import that wasn't rejected: Neotexa writes the files it needs (neotexa/PROJECT.md from the brief, OVERVIEW, STATUS, MAP, DESIGN.md and design tokens; a Dockerfile and compose with the preview's front door only where missing; .env.example names; README's Demo section; the .gitignore session line) — never over the repo's own — in ONE commit, "Add Neotexa project files", on a branch with a pull request (mode pr, the default) or on the default branch (mode direct). It gets its first version (above the repo's own tags; v0.1.0 on the imported HEAD with none; pending approval in Manual release mode) and lands in the Studio. Writes to the repository: send confirm: true.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).modebody — "pr" (a branch and a pull request, the default) or "direct" (on the default branch).briefbody — The brief as you edited it (default: the evaluation's draft).rotatedbody, boolean — true when the repo's committed secrets the report lists are rotated (needed to accept one with secrets).confirmbody, boolean, required — true: Neotexa commits to the repository.
CLI neotexa import accept <id> · MCP accept_import
POST/api/projects/:id/import/cancelDrop an import that isn't accepted (its evaluation stopped if it runs): the project goes; the repository is never touched.
idpath, required — The project's id (see `projects`).
CLI neotexa import cancel <id> · MCP cancel_import
Backlog
GET/api/backlog/sourcesJira, Notion, GitHub, GitLab and Trello: whether each is set up on this Neotexa (enabled), and every account connected to the workspace (`connections`: each its id, its sites for Jira, its workspace for Notion, the GitHub accounts and organizations its App is installed on, how GitLab is connected (`via`: oauth, or token for a self-managed GitLab, with its `host`), whether write-back is on; never a token). GitHub and GitLab are connected for backlogs on their own, never through Settings → Code. To connect one — or another account — an owner or manager opens `connect` (read) or `connectWrite` (with write-back; GitLab's asks for the api scope) in a browser: OAuth needs one. GitHub: `install` installs its backlog App on another account or organization. A self-managed GitLab is added with add_backlog_account (its address and a token). The same account again replaces its own connection.
CLI neotexa backlog sources · MCP list_backlog_sources
POST/api/backlog/:provider/connectionConnect a self-managed GitLab to read backlogs from (owners and admins): its address and an access token (read_api to read; api for write-back — GitLab has no issues-only scope). Checked with the instance first; write-back is on when the token has the api scope. gitlab.com and GitHub are connected in a browser instead (list_backlog_sources `connect`).
providerpath, required — "gitlab".baseUrlbody, required — The instance's address, e.g. https://git.company.com.tokenbody, required — An access token of that instance (read_api, or api for write-back).
CLI neotexa backlog add <provider> · MCP add_backlog_account
DELETE/api/backlog/:provider/connectionDisconnect one of the workspace's backlog accounts (owners and admins): its tokens are revoked where the provider allows (Notion, Trello, GitHub, gitlab.com) and deleted; the other accounts stay (and the workspace's code connections, which are apart). Projects reading through it can't read their backlog until it's connected again.
providerpath, required — "jira", "notion", "github", "gitlab" or "trello".idquery — The account's id (list_backlog_sources); none: the first.
CLI neotexa backlog disconnect <provider> · MCP disconnect_backlog_source
PUT/api/backlog/notion/writeTurn Notion write-back on or off (owners and admins): a Status property and a comment on each row as it's built and released. The Notion integration needs Update content and Insert comments.
writebody, boolean, required — true or false.idbody — The Notion account's id (list_backlog_sources); none: the first.
CLI neotexa backlog notion-write · MCP set_notion_write_back
PUT/api/backlog/:provider/writeTurn a Notion or GitHub account's write-back on or off (owners and admins). GitHub: issues labelled in progress / in review, a comment with the preview, closed once released, a GitHub project's Status moved along (the backlog's GitHub App needs Issues read and write, and Projects read and write for that). GitLab's and Trello's write-back come from connecting them with write-back (GitLab: the api scope).
providerpath, required — "notion" or "github".writebody, boolean, required — true or false.idbody — The account's id (list_backlog_sources); none: the first.
CLI neotexa backlog write <provider> · MCP set_backlog_write_back
GET/api/backlog/jira/projectsThe Jira projects of a connected site.
connectionquery — Which Jira account (its id, list_backlog_sources); none: the first.sitequery — The site's cloud id (list_backlog_sources); optional with one site.
CLI neotexa backlog jira projects · MCP list_jira_projects
GET/api/backlog/jira/boardsA Jira project's boards.
connectionquery — Which Jira account (its id).sitequery — The site's cloud id.projectquery, required — The project's key, e.g. SHOP.
CLI neotexa backlog jira boards · MCP list_jira_boards
GET/api/backlog/jira/epicsA Jira board's open epics.
connectionquery — Which Jira account (its id).sitequery — The site's cloud id.boardquery, required — The board's id.
CLI neotexa backlog jira epics · MCP list_jira_epics
GET/api/backlog/notion/searchThe Notion pages and databases the integration was given, newest first. Each database is one result, by its id (Notion lists its data sources: a database with several says how many, sources, and linking it reads them all). A database says the page it sits in (parent) and whether it is named like a backlog (backlog).
connectionquery — Which Notion account (its id); none: the first.qquery — Words in the title.
CLI neotexa backlog notion search · MCP search_notion
GET/api/backlog/github/reposThe repositories with issues a GitHub account offers (the ones the App was given, or those the connection sees of the account).
connectionquery — Which GitHub account (its id, list_backlog_sources); none: the first.
CLI neotexa backlog github repos · MCP list_github_repos
GET/api/backlog/github/milestonesA GitHub repository's open milestones.
connectionquery — Which GitHub account (its id).repoquery, required — owner/name.
CLI neotexa backlog github milestones · MCP list_github_milestones
GET/api/backlog/github/labelsA GitHub repository's labels.
connectionquery — Which GitHub account (its id).repoquery, required — owner/name.
CLI neotexa backlog github labels · MCP list_github_labels
GET/api/backlog/github/projectsA GitHub account's open GitHub Projects (on github.com; an organization's through the App needs Organization projects read).
connectionquery — Which GitHub account (its id).
CLI neotexa backlog github projects · MCP list_github_projects
GET/api/backlog/gitlab/projectsThe GitLab projects the account is a member of, with issues on.
connectionquery — Which GitLab account (its id); none: the first.
CLI neotexa backlog gitlab projects · MCP list_gitlab_projects
GET/api/backlog/gitlab/milestonesA GitLab project's active milestones.
connectionquery — Which GitLab account (its id).projectquery, required — The project's id or path.
CLI neotexa backlog gitlab milestones · MCP list_gitlab_milestones
GET/api/backlog/gitlab/labelsA GitLab project's labels.
connectionquery — Which GitLab account (its id).projectquery, required — The project's id or path.
CLI neotexa backlog gitlab labels · MCP list_gitlab_labels
GET/api/backlog/gitlab/boardsA GitLab project's issue boards and their lists (each a label).
connectionquery — Which GitLab account (its id).projectquery, required — The project's id or path.
CLI neotexa backlog gitlab boards · MCP list_gitlab_boards
GET/api/backlog/gitlab/epicsThe open epics of a GitLab project's group (none on a tier without epics).
connectionquery — Which GitLab account (its id).projectquery, required — The project's id or path.
CLI neotexa backlog gitlab epics · MCP list_gitlab_epics
GET/api/backlog/trello/boardsThe open Trello boards the account can see.
connectionquery — Which Trello account (its id); none: the first.
CLI neotexa backlog trello boards · MCP list_trello_boards
GET/api/backlog/trello/listsA Trello board's open lists, in order (done: a Done-like list).
connectionquery — Which Trello account (its id).boardquery, required — The board's id or link.
CLI neotexa backlog trello lists · MCP list_trello_lists
GET/api/backlog/trello/labelsA Trello board's labels.
connectionquery — Which Trello account (its id).boardquery, required — The board's id or link.
CLI neotexa backlog trello labels · MCP list_trello_labels
POST/api/backlog/importA new project from a backlog: Jira (a site, project, optionally a board, an epic or JQL: its epics, stories, tasks and bugs in rank order), Notion (a PRD page or a database, rows as stories), GitHub (a repository's open issues, or a GitHub project's in its order; optionally a milestone, labels, search words), GitLab (a project's open issues in board order; optionally a milestone, labels, an epic, a board, search words) or Trello (a board's cards, list by list; optionally some lists, labels, search words). Acceptance criteria come from a field (Jira, Notion), a heading in the description, else an issue's task list or a card's checklists; priority from a field or a priority label. Items are normalized ({ key, title, body, acceptance, priority, order, labels, platformHints, attachments }) and checked by the input guard (one that trips it is never built); the Draft's brief is made from them. The project keeps where it reads from, never a copy: its items are read live from then on. Then Neotexa draws its Blueprint and a plan in the background (get_backlog_plan). Nothing is built before approve_backlog_plan.
providerbody, required — "jira", "notion", "github", "gitlab" or "trello".connectionbody — Which account (its id, list_backlog_sources); none: the first.sitebody — Jira: the site's cloud id (optional with one site).projectbody — Jira: the project's key. GitHub: a GitHub project's number. GitLab: the project's id or path.boardbody — Jira: a board's id, for its rank order. GitLab: a board's id (its lists are where items stand). Trello: the board's id or link.epicbody — Jira: only this epic's items (its key, e.g. SHOP-12). GitLab: an epic's id.jqlbody — Jira: your own filter, ANDed with the project.repobody — GitHub: owner/name.milestonebody — GitHub: a milestone's number. GitLab: a milestone's title.labelsbody — GitHub, GitLab, Trello: only items with all these labels (comma-separated).listsbody, array of strings — Trello: only these lists' cards (their ids).qbody — GitHub, GitLab, Trello: only items with these words.pagebody — Notion: the page's or database's id or link.titlebody — The project's name (default: the Notion page's, repository's, GitLab project's or board's title, or the Jira project's key).platformsbody, array of strings — Where it runs: webapp, mobile (default: what the items' labels say, else webapp).oneLinerbody — One sentence about it.
CLI neotexa backlog import · MCP import_backlog
GET/api/projects/:id/backlogA project's backlog — Jira's, Notion's, GitHub's, GitLab's or Trello's, linked to it (Neotexa has none of its own: without one, { none: true, canLink }), read live (never kept: `live` says when it was read, and why not if it failed). Its items (each with its source, key, title, body, acceptance criteria, type, priority, MVP mark, order; removed ones flagged), canSend (it has code: items go to the Lab), and for a project made from one (madeFrom) its plan (status none|drafting|ready|approved|failed; the MVP, the ordered phases, sizes, questions, duplicate/conflict flags, removed items; credits and minutes per item, for the MVP and in total from the workspace's estimates), each item's progress (waiting, queued, building, in_review, done with its version, failed, reverted) and the issues the plan doesn't hold (proposals). Also: the account it reads through, twoWay (Neotexa writes back) and canWrite (the account may), lastPoll, and how many items were left out (skipped: { done, over: past the first 500 open ones }).
idpath, required — The project's id (see `projects`).
CLI neotexa backlog plan <id> · MCP get_backlog_plan
POST/api/projects/:id/backlog/planDraw the plan again (before it's approved), with the planning model: follow it in get_backlog_plan.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).
CLI neotexa backlog replan <id> · MCP make_backlog_plan
PUT/api/projects/:id/backlog/planChange the plan before approving: reorder (mvp and phases, the same items once each), remove or restore items, answer questions. After approval, only removing and answering. The project's Leads, Developers and Product owners.
idpath, required — The project's id (see `projects`).mvpbody, array of strings — The MVP's item ids, in order.phasesbody, object — [{ name, items: [item id] }] in order.removebody, array of strings — Item ids to leave out.restorebody, array of strings — Removed item ids to put back.answersbody, object — { <question id>: "answer" }
CLI neotexa backlog plan set <id> · MCP update_backlog_plan
POST/api/projects/:id/backlog/approveApprove the plan: the MVP build starts with the MVP items and their acceptance criteria; once it's built, every other item becomes a Lab prompt in order (with its source key, link and acceptance criteria, which the reviewer checks one by one). Items with open questions wait for their answers.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).
CLI neotexa backlog approve <id> · MCP approve_backlog_plan
POST/api/projects/:id/backlog/syncFollow a backlog project now: each item's progress from its build, write-back to its source when two-way sync is on (Jira: In Progress, In Review with the preview link, Done and the Fix Version once released; GitHub and GitLab: labels or board lists, a comment, closed once released; Trello: the card moved along its lists; Notion: its Status), and answers to Neotexa's questions in the issues' comments. Runs by itself every minute (answers every 5). New issues and edits need nothing: they're read live.
idpath, required — The project's id (see `projects`).
CLI neotexa backlog sync <id> · MCP sync_status
POST/api/projects/:id/backlog/proposals/:itemQueue an issue in the backlog that the plan doesn't hold (accept: true: it joins the plan's "Added later" phase and, once approved, the Lab) or turn it down. The project's Leads, Developers and Product owners.
idpath, required — The project's id (see `projects`).itempath, required — The proposed item's id.acceptbody, boolean, required — true to queue it, false to turn it down.
CLI neotexa backlog propose <id> <item> · MCP decide_backlog_item
POST/api/projects/:id/backlog/linkLink Jira, Notion, GitHub Issues, GitLab Issues or Trello to a project (any stage): its backlog from then on, read live and never copied, guarded as on import; no plan is drawn and the Vision stays as it is. A Notion page that contains a database is read through it (its rows are the items, the rest of the page the context); an empty Notion page is refused (an empty Jira project, repository, Notion database or board is fine: items added later show up). Two-way sync starts on when the account may write.
idpath, required — The project's id (see `projects`).scopebody, object, required — What to read: { provider: "jira", connection?, site, project, board?, epic?, jql? }, { provider: "notion", connection?, page }, { provider: "github", connection?, repo?, project?, milestone?, labels?, q? }, { provider: "gitlab", connection?, project, milestone?, labels?, board?, epic?, q? } or { provider: "trello", connection?, board, lists?, labels?, q? }.
CLI neotexa backlog link <id> · MCP link_backlog
PUT/api/projects/:id/backlog/two-wayTwo-way sync with the linked source: on, Neotexa moves each item along as it's built (Jira: In Progress, In Review with the preview link, Done with the Fix Version; GitHub and GitLab: labels or board lists, a comment, closed once released; Trello: lists and a comment) and asks its questions there; off, it only reads. On needs an account connected with write-back (Notion, GitHub, GitLab: its switch in Settings → Backlog).
idpath, required — The project's id (see `projects`).onbody, boolean, required — true or false.
CLI neotexa backlog two-way <id> · MCP set_backlog_two_way
DELETE/api/projects/:id/backlog/linkUnlink the backlog's source from a project: it has no backlog again (nothing of it was kept), and nothing built is undone. Not while a plan made from it is being built.
idpath, required — The project's id (see `projects`).
CLI neotexa backlog unlink <id> · MCP unlink_backlog
POST/api/projects/:id/backlog/labSend backlog items to the Lab, in order, once the project has code (Studio or Shipped): each becomes a Lab prompt with its source and acceptance criteria (the reviewer checks each), and its state follows the build (queued, building, in review, done in a version). Refused for items refused as unsafe text, removed, or already queued, building, built or done; nothing is sent when its source can't be read right then. (POST …/backlog/items/:item/lab sends one.)
idpath, required — The project's id (see `projects`).itemsbody, array of strings, required — Item ids, in the order to build them.
CLI neotexa backlog send <id> · MCP send_backlog_items_to_lab
Lab
GET/api/projects/:id/labThe Lab's conversation and its queue (items, active, queued; parallel: how many prompts it builds at once, lanes: the messages building side by side now, each with its lane, startedAt and endedAt).
idpath, required — The project's id (see `projects`).
CLI neotexa lab show <id> · MCP lab_read
POST/api/projects/:id/labTell Neotexa what to build, change or fix (or ask it something): the message joins the queue, even while a build runs.
idpath, required — The project's id (see `projects`).textbody, required — Your message, as to a developer (up to 8000 characters).
CLI neotexa lab send <id> · MCP lab_send
DELETE/api/projects/:id/lab/:msgTake back a message still waiting its turn.
idpath, required — The project's id (see `projects`).msgpath, required — The message's id (m_…).
CLI neotexa lab cancel <id> <msg> · MCP lab_cancel
POST/api/projects/:id/lab/:msg/acceptBuild it: accept a change requested during a release's approval that waits for a developer (status accept — nobody who may build could be found when it was requested). Its Developers and Leads; it's built as you, in its turn, credits charged as for any prompt, and it's on the audit log.
idpath, required — The project's id (see `projects`).msgpath, required — The message's id (lab_read: items[] with status accept).
CLI neotexa lab accept <id> <msg> · MCP lab_accept
DELETE/api/projects/:id/labNew conversation: forget what's done (queued and running stay).
idpath, required — The project's id (see `projects`).
CLI neotexa lab clear <id> · MCP lab_clear
POST/api/projects/:id/questionsAnswer what a paused prompt (or the MVP build) asked; it carries on at once.
idpath, required — The project's id (see `projects`).answersbody, object, required — { <question id>: "text" } or { <id>: { vault: NAME } | { value, name } | { later: true } }
CLI neotexa answer <id> · MCP answer_questions
DELETE/api/projects/:id/questionsCancel the paused prompt: everything it did is undone.
idpath, required — The project's id (see `projects`).
CLI neotexa answer cancel <id> · MCP cancel_questions
POST/api/projects/:id/clarifyRun one prompt through Neotexa's questions first, then build it (the Lab does this for you).
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).taskbody, required — The prompt's text.
CLI neotexa project clarify <id> · MCP clarify_task
Running
DELETE/api/projects/:id/stoppedForget a stopped run (its kept work stays; the Lab moves on).
idpath, required — The project's id (see `projects`).
CLI neotexa dismiss <id> · MCP dismiss_stopped
Preview
POST/api/projects/:id/view🧪 Start (or with down, stop) its preview — one per project. It runs the latest version, or the version given; starting it on another version replaces the one running. Previews are ephemeral: one nobody opens for 30 minutes is stopped (and starts again in seconds when its address or Preview page is opened, or with wake_preview), and after the plan's idle days (3 by default) it's put to sleep, waking when opened again.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).downbody, boolean — Stop it instead.forcebody, boolean — Restart it even if it's running.versionbody — A release (vMAJOR.MINOR.PATCH, see get_project's versions), or latest (the default).
CLI neotexa preview <id> · MCP preview
Secrets
GET/api/projects/:id/settingsWhich vault secret each setting it reads comes from in each of its environments and in its preview (names only), and the vault's names: { environments: [{ name, links, generated, provided }], preview: links }; one environment's { environment, links, generated, provided } with `environment`, the preview's { preview: true, links } with `preview`. generated: the app's own secrets Neotexa generated in that environment (null when it doesn't generate for it); provided: Neotexa's services (email, storage, AI) and whether each is on there.
idpath, required — The project's id (see `projects`).environmentquery — One environment's only, e.g. production.previewquery, boolean — The preview's only.
CLI neotexa secrets <id> · MCP get_project_settings
PUT/api/projects/:id/settingsPoint one of an environment's settings — or the preview's — at a vault secret (an empty secret unlinks it: the preview goes back to its demo value). Only that environment's deploys read it; the preview reads it from its next start. With regenerate, gives one of the app's own secrets Neotexa generated in an environment (a session secret…) a new value instead: everyone signed in is signed out at its next deploy.
idpath, required — The project's id (see `projects`).environmentbody — The environment, e.g. production (see list_environments); or give preview.previewbody, boolean — The preview's own instead of an environment's.envbody, required — The setting it reads, e.g. STRIPE_SECRET_KEY.secretbody — The vault secret's name (not with regenerate).regeneratebody, boolean — A new value for a secret Neotexa generated in that environment (signs everyone out).
CLI neotexa secrets link <id> · MCP link_project_setting
POST/api/projects/:id/settings/copyCopy one set of its settings' links onto another — an environment's to the preview, the preview's to an environment, or one environment's to another: which vault secret each setting reads, never a value. The target's own links are replaced, except the secrets Neotexa generated for an environment: never copied, and a target environment keeps its own. Answers { copied, from, to, links }.
idpath, required — The project's id (see `projects`).fromEnvironmentbody — Copy from this environment, e.g. staging.fromPreviewbody, boolean — Copy from the preview.toEnvironmentbody — Copy to this environment, e.g. production.toPreviewbody, boolean — Copy to the preview.
CLI neotexa secrets copy <id> · MCP copy_project_settings
POST/api/projects/:id/laterGive one of its environments — or its preview — a key the app needs: from the vault, or a new value saved there (the preview reads it for real from its next start, instead of its demo value) — or say the app doesn't need it at all (dismiss, for every environment).
idpath, required — The project's id (see `projects`).envbody, required — The setting, e.g. RESEND_API_KEY.environmentbody — The environment it's for, e.g. production (needed unless dismiss or preview).previewbody, boolean — For the preview instead of an environment.vaultbody — A vault secret to use.namebody — Name for a new vault secret (default: the setting's).valuebody — A new value.dismissbody, boolean — I don't need this: Neotexa makes the app work without it.reasonbody — Why not (with dismiss).
CLI neotexa secrets give <id> · MCP give_key
GET/api/state-keyThe key that opens the deploys' Terraform state sealed in the projects' repos (owners and admins): keep it safe; `neotexa state open` opens a state with it.
CLI neotexa state key · MCP get_state_key
GET/api/vaultThe workspace vault's secret names and which projects' environments and previews use each (never values).
CLI neotexa vault · MCP list_vault
PUT/api/vault/:nameSave or replace a vault secret (owners and admins); every environment using it gets the new value at its next deploy.
namepath, required — e.g. STRIPE_SECRET_KEY.valuebody, required — Its value.
CLI neotexa vault set <name> · MCP set_vault_secret
DELETE/api/vault/:nameRemove a vault secret (owners and admins).
namepath, required — The secret's name.
CLI neotexa vault rm <name> · MCP remove_vault_secret
Repo & docs
GET/api/projects/:id/repoIs its repo (GitHub, GitLab or your instance) in order: Neotexa's files there, and commits made outside Neotexa?
idpath, required — The project's id (see `projects`).freshquery — 1 to look again now.
CLI neotexa repo <id> · MCP get_repo_health
POST/api/projects/:id/repoPut the repo in order: create its missing Neotexa files, sync after outside commits, or ignore.
idpath, required — The project's id (see `projects`).actionbody, required — create (add Neotexa's missing files), sync (after outside commits) or ignore (stop asking).
CLI neotexa repo fix <id> · MCP repo_action
GET/api/projects/:id/repo/bundleTake everything: the whole repository (every branch, tag and commit) as one git bundle file; `git clone <file>` gives it back.
idpath, required — The project's id (see `projects`).
CLI neotexa repo bundle <id> · MCP take_repo
PUT/api/projects/:id/code-placeBefore its repo is made: choose which of the workspace's places its code will be created in (owners and admins). The project's `codePlace` says where it is or will be; without a choice, the workspace's default (Settings → Code).
idpath, required — The project's id (see `projects`).placebody, required — A connected place: "neotexa" or a connected account's place id — github:<id>, gitlab:<id>, ghe:<host>:<id>, gitlab-self:<host>:<id> (get_config: workspace.github.places). The old "github", "gitlab", "instance:github", "instance:gitlab" still mean the first connected of that kind.
CLI neotexa repo place <id> · MCP set_code_place
POST/api/projects/:id/repo/transferMove its repository to another of the workspace's connected places (owners and admins; refused while something runs on it). Neotexa's GitHub → your GitHub, or another account or group in the same place: the host's own transfer (keeps issues and pull/merge requests; GitHub may ask you to accept it by email). Across hosts: a new private repo there, every branch, tag and commit pushed with git, your people invited (on the same kind of host, the workspace's list for it plus the project's own changes; GitHub ↔ GitLab, the workspace's list for the destination's kind alone — github.users or gitlab.users — and the project's own additions and removals, the old host's usernames, are dropped), the project pointed at it and the old repo archived (never deleted). Issues, pull/merge requests, the wiki and CI settings don't move across hosts, and CI files stay in the old host's format (ask the Lab to convert them). Answers { repo, from, to, how: transfer|mirror, archived, archiveError, ciChanges }.
idpath, required — The project's id (see `projects`).placebody — Where to: "neotexa" or a connected account's place id (github:<id>, gitlab:<id>, ghe:<host>:<id>, gitlab-self:<host>:<id>; get_config: workspace.github.places) — another account of the same kind too (a new repo there, everything pushed). Without it, as before: `owner` is a GitHub account for a repo in Neotexa's GitHub, or a GitLab namespace on the same GitLab.ownerbody — Optional: an account, organization or group there instead of the place's own (the connected account).
CLI neotexa repo move <id> · MCP move_repo
GET/api/projects/:id/repo/accessWho can reach its repository, read live from the host (at most every 5 s per repo: those asking at once share one read, and a change made in Neotexa makes the next one fresh): GitHub's (or GitHub Enterprise's) collaborators — the repo's own and its organization's — and pending invites, GitLab's members (the project's and its groups'). Changes made on the repo directly are taken in first and kept: someone added there stays (why: repo), someone removed there isn't invited back. Each { username, state: access|invited|pending (asked for, not on the repo yet), role (the host's: Write, Developer…), why: workspace (the workspace's list for the repo's kind of host, Settings → Code: its GitHub or its GitLab people)|project (added in Neotexa)|repo (added on the repo directly)|owner (the repo's owner or the account Neotexa works through)|org (through an organization, team or group: changed there), removable }; `keptOff` (on the workspace's list, kept off this repo); the host's name, whether you can change it (owners and admins) and `checkedAt` (when the host was actually read). 424 with plain words when the host can't be read.
idpath, required — The project's id (see `projects`).
CLI neotexa repo access <id> · MCP repo_access
POST/api/projects/:id/repo/accessGive one more person access to its repository (owners and admins): invited by their GitHub / GitLab username with push (Developer) access, and kept for this project, so the workspace's sync never removes them. 404 when the host has no such user.
idpath, required — The project's id (see `projects`).usernamebody, required — Their username on the repo's host (GitHub, GitLab or your instance).
CLI neotexa repo access-add <id> · MCP add_repo_access
DELETE/api/projects/:id/repo/access/:usernameTake one person's access to its repository away (owners and admins): removed as a collaborator or member, or their invite canceled, and kept out for this project, so the workspace's sync doesn't invite them back — whoever gave them access (the workspace's list, Neotexa, or the repo directly). The repo's owner, the account Neotexa works through and access through an organization or group can't be removed here.
idpath, required — The project's id (see `projects`).usernamepath, required — Their username on the repo's host.
CLI neotexa repo access-rm <id> <username> · MCP remove_repo_access
GET/api/projects/:id/business-docsIts docs as written, one set per docs extra: the essential docs (architecture, development, API, operations, security, changelog — each off until switched on), then business, rollout, handover, each with when it was last updated, the project version it was written for (`version`) and whether that's behind the project's (`stale`, also `outOfDate`; one with no recorded version is stale) or not (`upToDate`), how it was made (`source`: `code` — generated from the code with no AI —, `mixed` or `ai`) and its sections (`headings`); and the project's current version.
idpath, required — The project's id (see `projects`).
CLI neotexa docs <id> · MCP list_docs
POST/api/projects/:id/business-docs✍ Write (or update) its docs: one set, one essential doc, or every set it has switched on (the essential docs only when they're behind the code). What the code can tell is written from it with no AI and no credits: API.md from the app's OpenAPI spec (openapi.json), DEVELOPMENT.md whole, and the reference sections of ARCHITECTURE, OPERATIONS and SECURITY; the AI writes the rest.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).setbody — essentials, business, rollout or handover, switched on: only that set (essentials: rewritten even when current).docbody — One essential doc, switched on, alone: architecture, development, api, operations, security or changelog (or its file, e.g. SECURITY.md).
CLI neotexa docs write <id> · MCP write_docs
DELETE/api/projects/:id/business-docs🗑 Take docs left written while switched off out of its repo (a commit): one set's or one essential doc (switching one off removes it too).
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).setquery — A docs set's folder, switched off: business, rollout, handover or an older one.docquery — One essential doc, switched off: architecture, development, api, operations, security or changelog.
CLI neotexa docs remove <id> · MCP remove_docs
GET/api/projects/:id/business-docs.pdfIts docs as a designed PDF (a download): one doc, a set's documentation pack, or everything. Works on its own: no Confluence or Notion needed.
idpath, required — The project's id (see `projects`).setquery — essentials, business, rollout or handover.docquery — One document of the set, e.g. ARCHITECTURE.md.allquery — 1: every set in one PDF.
CLI neotexa docs pdf <id> · MCP docs_pdf
GET/api/projects/:id/business-docs/viewOne doc as a web page (HTML, as in the Docs page), with its diagrams drawn.
idpath, required — The project's id (see `projects`).setquery — essentials, business, rollout or handover.docquery — The document, e.g. ARCHITECTURE.md.
CLI neotexa docs view <id> · MCP view_doc
GET/api/docs-dest/sourcesThe workspace's docs connections (Settings → Docs), the accounts a project's docs can be written to — their own authorizations, apart from the backlog's (least privilege): Confluence (each Atlassian account's id and its sites; connected asking only Confluence's scopes) and Notion (each account's id and its Notion workspace, through Neotexa's Notion docs integration: Read, Insert and Update content). Each kind says whether it's set up on this Neotexa (enabled) and `connect`: where an owner or manager connects another, in a browser (OAuth needs one). Never a token.
CLI neotexa docs dest sources · MCP list_docs_destination_sources
DELETE/api/docs-dest/:kind/connectionDisconnect one of the workspace's docs accounts (owners and admins): its tokens are revoked where the provider allows (Notion) and deleted (Atlassian has none for apps: remove Neotexa at id.atlassian.com → Connected apps too). Projects writing their docs through it stop until an account is connected again in Settings → Docs and picked. Its backlog accounts aren't touched.
kindpath, required — "confluence" or "notion".idquery — The account's id (list_docs_destination_sources); none: the first.
CLI neotexa docs dest disconnect <kind> · MCP disconnect_docs_account
GET/api/docs-dest/confluence/spacesThe Confluence spaces of a site, to write a project's docs to: { spaces: [{ id, key, name, homepageId }] }.
connectionquery, required — The Confluence account's id (list_docs_destination_sources).sitequery, required — The site's cloud id.
CLI neotexa docs dest spaces · MCP list_confluence_spaces
GET/api/docs-dest/confluence/pagesA Confluence space's pages, to pick the parent the docs go under: { pages: [{ id, title }] } (up to 200).
connectionquery, required — The Confluence account's id.sitequery, required — The site's cloud id.spacequery, required — The space's id.qquery — Words its title has.
CLI neotexa docs dest pages · MCP list_confluence_pages
GET/api/docs-dest/notion/pagesNotion pages the integration may write under (shared with it), to pick the parent the docs go under: { pages: [{ id, title, url }] }.
connectionquery, required — The Notion account's id.qquery — Words to look for.
CLI neotexa docs dest notion-pages · MCP search_notion_pages
GET/api/projects/:id/docs-destWhere its docs are written (Confluence, Notion): each destination (kind, account, site and space or parent page, on; `reconnect` when its account isn't among the workspace's docs connections any more — connect one in Settings → Docs and pick it again), its last sync ({ at, ok, error, counts, docs: [{ key, title, status: created|updated|unchanged|moved|edited|edited-update|overwritten|removed-there|archived|failed, url, updateUrl }] }) and the pages written (links; a docs set (Business…) is one page with its parts under it; `edited`: someone edited the page there by hand — their version is kept and Neotexa's goes to its update page, updateUrl), whether a sync is running, the accounts there are, and where each doc is written: `targets` ({ <row>: ["pdf" | <destination id>] }, as set_doc_targets chose) and `defaultTargets` (a row never chosen).
idpath, required — The project's id (see `projects`).
CLI neotexa docs dest <id> · MCP list_docs_destinations
PUT/api/projects/:id/docs-destSet where its docs are written (the whole list, at most 5): Confluence (a space and a parent page, through one of the workspace's Confluence docs accounts) or Notion (a parent page shared with Neotexa's Notion docs integration). The PDFs need none of this (docs_pdf). A destination taken off forgets its pages here; they stay there. Nothing is written until the next sync (publish_docs, or the docs written again).
idpath, required — The project's id (see `projects`).destinationsbody, object, required — [{ kind: confluence|notion, connection (the account's id), site, siteName, siteUrl, spaceId, spaceKey, spaceName (Confluence), parentId (Confluence: a page id, empty for the space's home page; Notion: the page's id), parentTitle, on }]
CLI neotexa docs dest set <id> · MCP set_docs_destinations
POST/api/projects/:id/docs-dest/sync📤 Write its docs to its destinations now (changes pages outside Neotexa: Confluence, Notion): each doc switched on and written there (set_doc_targets) is one page, edited in place; a doc switched off, or no longer written there, has its page archived (never deleted); a page someone edited there by hand is kept as it is and Neotexa's text goes to an update page under it, unless named in overwrite. Pure conversion, no AI and no credits. Runs by itself whenever its docs are written again. Follow it in list_docs_destinations.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).destinationbody — One destination's id; none: every one that's on.overwritebody, array of strings — Docs whose page was edited by hand to overwrite anyway, e.g. essentials/API.md.
CLI neotexa docs publish <id> · MCP publish_docs
PUT/api/projects/:id/docs-dest/targetsChoose where each doc is written (the Docs page's "Write to"), kept for the project: per row — one essential doc (essentials:architecture, essentials:development, essentials:api, essentials:operations, essentials:security, essentials:changelog) or one docs set (business, legal, rollout, handover) — a list of targets: "pdf" (a download) and/or destination ids (list_docs_destinations). Merged: rows not named keep theirs; a row never chosen goes to every destination that's on (the PDF when there's none: `defaultTargets`). Nothing is written now: the next write (write_docs_to, or the docs written again) follows it, and a row taken off a destination has its pages there archived (never deleted). To save targets and send or archive at once (the Docs page's selectors), use write_docs_to with targets and rewrite: false.
idpath, required — The project's id (see `projects`).targetsbody, object, required — { "essentials:api": ["pdf", "<destination id>"], "business": [] }
CLI neotexa docs targets <id> · MCP set_doc_targets
POST/api/projects/:id/docs-dest/write📤 Write docs and deliver each to its targets (the Docs page's selectors and Update): a doc switched on that isn't written or is behind the project's version is written again as a docs job (credits only when it needs the AI) and then sent to its destinations; one up to date is only sent there now (Notion, Confluence: pure conversion, no credits; changes pages outside Neotexa — a page edited there by hand is kept and Neotexa's text goes to an update page under it, unless named in overwrite). The PDF is a download: `pdf` gives each doc's PDF address (docs_pdf). Docs switched off are skipped (switching one on writes it). With targets and rewrite: false it's the Docs page's selector — one request that keeps the targets and syncs now without writing anything again (no credits; a doc not written yet is skipped): a page whose doc isn't written there any more is archived at once (never deleted); destinations narrows it to those. Answers { started, delivered, destinations, pdf, skipped } (a docs job: { started }; rewrite: false with nothing to send: { started: false }, and with a sync already running: { started: false, later: true } — it follows on the next write); follow it in list_docs_destinations.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).docsbody, array of strings — Rows to write: essential docs (essentials:api) and/or docs sets (business); none: every doc switched on that has a target.targetsbody, object — Optional: where they go, kept first as set_doc_targets does ({ "essentials:api": ["pdf", "<destination id>"] }).overwritebody, array of strings — Docs whose page was edited by hand to overwrite anyway, e.g. essentials/API.md.rewritebody, boolean — false: never write a doc again (no credits) — only send what's written and archive pages no longer targeted. Default true.destinationsbody, array of strings — Optional: only sync these destination ids.
CLI neotexa docs write-to <id> · MCP write_docs_to
GET/api/projects/:id/storesIs the mobile app ready for TestFlight / Google Play, and its last submissions; and which Expo, App Store Connect and Google Play account it's sent with (accounts: for each kind, the workspace's accounts, the one the project chose, and the one pre-selected — the only one, else the workspace's last used).
idpath, required — The project's id (see `projects`).
CLI neotexa stores <id> · MCP get_stores
PUT/api/projects/:id/storesChoose which of the workspace's Expo, App Store Connect and Google Play accounts this project is sent to the stores with (each a connection id from get_stores accounts, or list_cloud; empty clears it). Kept on the project; a project that never chose uses the first account of each kind.
idpath, required — The project's id (see `projects`).expobody — The Expo EAS account's connection id.appstorebody — The App Store Connect account's connection id.googleplaybody — The Google Play account's connection id.
CLI neotexa stores accounts <id> · MCP set_store_accounts
POST/api/projects/:id/storesBuild the mobile app on EAS and send it to TestFlight and/or Play internal testing, with the accounts the project chose (set_store_accounts; or pick them here: kept on the project).
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).platformbody — ios, android or all.accountsbody, object — { expo, appstore, googleplay }: connection ids to send it with, kept on the project.
CLI neotexa stores submit <id> · MCP submit_stores
Releases
GET/api/projects/:id/releasesA project's releases, as its Lab's Versions panel shows them: its mode (auto: every prompt that passes review is released at once as the next semver version — a feature bumps MINOR, a small fix PATCH — and tagged on main; manual: changes gather in Unreleased on dev until someone releases them), the current version and the one semver suggests, Unreleased (each change's id, title, kind and review), the release waiting for approval (request: its version, changes, notes, approvals and how many are still needed), an open hotfix, Staging (the preview of what's unreleased), the deploys waiting for approval, the environments that follow releases, and the history (released, rejected, withdrawn, rollback…). Anyone who reads the project sees it, its Product owners (project role approver) too.
idpath, required — The project's id (see `projects`).
CLI neotexa releases <id> · MCP list_releases
PUT/api/projects/:id/releases/settingsThe project's release settings (its Leads: the workspace's owners and admins, its project Leads): Auto or Manual, whether one or all of its Product owners must approve, and "Requester can't approve" (fourEyes: whoever asks for a release or a deploy can't approve it too). Who its Product owners are is its people: add someone (or invite them by email) to the project with the project role approver (set_project_member, invite_to_project); while it has none, its Leads approve.
idpath, required — The project's id (see `projects`).modebody — auto or manual (approval, its name before, is manual); null: the workspace's default (Settings: releases.mode).rulebody — any (one of the Product owners is enough, the default) or all.fourEyesbody, boolean — Requester can't approve: true (whoever asked for a release or a deploy can't approve it) or false (the default).autoEverybody, number — Gone: Auto releases every change at once. Only 1 or null are accepted.
CLI neotexa releases set <id> · MCP set_release_mode
POST/api/projects/:id/releases/releaseManual mode: release what's in Unreleased now (the project's Leads), when the project has no Product owners and "Requester can't approve" is off — otherwise, and always for a Developer, use request_release_approval. The changes picked (all by default) go to main as the version given (semver's suggestion by default: any feature bumps MINOR, only fixes PATCH; MAJOR when you type it): their notes as neotexa/releases/<v>.md, a fast-forward or merge (a pull request on a repo in the owner's own GitHub), tagged vX.Y.Z, merged back into dev. Changes left out stay in Unreleased (they're reverted on the release commit alone, never on dev); one a picked change builds on can't be left out (it says so). With hotfix: the open hotfix is released as the next PATCH. Environments that follow releases deploy it.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).versionbody — The version (MAJOR.MINOR.PATCH), above the current one; semver's suggestion when left out.itemsbody, object — The change ids to release (list_releases: unreleased[].id); all of them when left out.hotfixbody, boolean — Release the open hotfix instead.
CLI neotexa releases release <id> · MCP release_version
POST/api/projects/:id/releases/requestManual mode: ask for a release of what's in Unreleased to be approved (the project's Leads and Developers): by its Product owners, or by its Leads while it has none. Checked first (a change left out that another builds on is said now) and frozen on dev's commit: Staging shows exactly that while it waits. They're told (alerts, email to those invited). A request already open is replaced. Approved by one or all of them (the rule), it's released as release_version does.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).versionbody — The version (MAJOR.MINOR.PATCH); semver's suggestion when left out.itemsbody, object — The change ids to release; all of them when left out.hotfixbody, boolean — The open hotfix's changes instead.
CLI neotexa releases request <id> · MCP request_release_approval
POST/api/projects/:id/releases/prepareDeprecated: request_release_approval. Release candidates (vX.Y.Z-rc.N) are gone; this asks for approval of a release of everything in Unreleased.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).versionbody — The version to ask for instead of semver's.
CLI neotexa releases prepare <id> · MCP prepare_release
POST/api/projects/:id/releases/approveApprove the release waiting for approval: the project's Product owners (project role approver); its Leads only while it has none; never a Developer, and never whoever asked for it where "Requester can't approve" is on. With enough approvals (one, or all as set) it's released: to main, tagged, merged back into dev; who approved and when are kept on the version.
idpath, required — The project's id (see `projects`).versionbody — The version you're approving (refused if it's no longer the one waiting).
CLI neotexa releases approve <id> · MCP approve_release
POST/api/projects/:id/releases/rejectReject the release waiting for approval (its Product owners; its Leads while it has none), with why: nothing is released and its changes stay in Unreleased (fix them with a prompt, or remove_change). Nothing on the repo changes. The MVP rejected keeps waiting for approval, marked: change it in the Lab, then ask_release_review. To ask for specific changes instead, request_release_changes.
idpath, required — The project's id (see `projects`).reasonbody — Why, for whoever builds it.
CLI neotexa releases reject <id> · MCP reject_release
POST/api/projects/:id/releases/withdrawWithdraw the request for approval (whoever builds the project): nothing is released, its changes stay in Unreleased.
idpath, required — The project's id (see `projects`).
CLI neotexa releases withdraw <id> · MCP withdraw_release_request
POST/api/projects/:id/releases/postponeDeprecated: withdraw_release_request ("Not now" is gone). Closes the request for approval; its changes stay in Unreleased.
idpath, required — The project's id (see `projects`).
CLI neotexa releases postpone <id> · MCP postpone_release
POST/api/projects/:id/releases/request-changesRequest changes on the release waiting for approval (or the MVP waiting for v0.1.0) — the third decision beside approve_release and reject_release, for whoever may reject it (its Product owners; its Leads while it has none; the requester too). Nothing is approved or rejected: the request stays open, marked "Changes requested by <you>", and each change becomes a Lab prompt — one per line (or list item, or paragraph) of text, and one per note on a change in it — marked "Requested by <you> during approval of vX.Y.Z". They're built as whoever asked for the release, or the project's Lead when that person no longer can build (credits charged as usual); with nobody, they wait in the Lab for a developer to accept them (lab_accept). Once built and through review they join the same release (its commit moves forward, the version is suggested again by semver, approvals start over) and its approvers are asked again, with what changed since. They go to the Lab at once, as small prompts (like a Lab message: edited or taken back from its queue); dryRun shows the prompts, who builds them and the credit estimate without sending; prompts (edited) may replace text and notes.
idpath, required — The project's id (see `projects`).textbody — What should change, in your words (each line, list item or paragraph becomes its own prompt).notesbody, object — Notes on the changes in it: { <change id (list_releases: request.items)>: "what to change about it" } — one prompt each.promptsbody, object — The prompts to send, as shown by dryRun and edited: [{ text, ref (the change id it's about, or "") }]; replaces text and notes.dryRunbody, boolean — Only show what would be sent: { prompts, buildAs: { login, why: requester | lead } | null (nobody: they'd wait for a developer), estimate: { low, typical, high, count } credits per prompt | null }.
CLI neotexa releases request-changes <id> · MCP request_release_changes
POST/api/projects/:id/releases/request-changesDeprecated: request_release_changes (the release now stays open while the changes are built, then joins them).
idpath, required — The project's id (see `projects`).textbody, required — What should change.
CLI neotexa releases changes <id> · MCP request_changes
POST/api/projects/:id/releases/review-againAsk the approvers to review the release (or the MVP) again now (whoever builds the project): the changes they requested that were built join it — one that failed or was taken back stays out, and the approvers are told — or, on an MVP they rejected, the MVP as it is now. Done by itself once every requested change is built and through review.
idpath, required — The project's id (see `projects`).
CLI neotexa releases review-again <id> · MCP ask_release_review
POST/api/projects/:id/releases/removeRemove one change from Unreleased (whoever builds the project): its commits are reverted on dev, so it's never released. A request for approval that had it is withdrawn. Refused, saying so, when a later change builds on it.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).itembody, required — The change's id (list_releases: unreleased[].id).
CLI neotexa releases remove <id> · MCP remove_change
POST/api/projects/:id/releases/dropDeprecated: remove_change.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).itembody, required — The change's id (list_releases: unreleased[].id).
CLI neotexa releases drop <id> · MCP drop_from_release
POST/api/projects/:id/releases/hotfixManual mode: start a Hotfix of what's live (whoever builds the project): a hotfix/x.y.z branch from main where the Lab's next prompts build, without what's in Unreleased. Release it with release_version (hotfix: true) or request_release_approval (hotfix: true) as the next PATCH; it's merged back into dev. In Auto every fix is released at once, so there's no hotfix.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).
CLI neotexa releases hotfix <id> · MCP start_hotfix
POST/api/projects/:id/releases/rollbackRollback to an earlier version (the project's Leads): a new commit on main with that version's files — history is never rewritten, the release notes are kept — released as the next PATCH and merged back into dev, where only what was released since is undone (Unreleased stays). The preview runs it, and environments that follow releases deploy it (through their approval, marked urgent, where deploys need one).
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).versionbody, required — The earlier version to go back to (vMAJOR.MINOR.PATCH, see get_project's versions).
CLI neotexa releases rollback <id> · MCP rollback_version
POST/api/projects/:id/releases/deploys/:deploy/approveApprove a deploy waiting for approval (list_releases: deploys[] with status open, canApprove true): its Product owners; its Leads only while it has none; never whoever asked for it where "Requester can't approve" is on. With enough approvals (one, or all as set) it runs: the version goes live on that environment.
idpath, required — The project's id (see `projects`).deploypath, required — The pending deploy's id.
CLI neotexa releases approve-deploy <id> <deploy> · MCP approve_deploy
POST/api/projects/:id/releases/deploys/:deploy/rejectReject a deploy waiting for approval, with why: it's dropped, nothing goes live.
idpath, required — The project's id (see `projects`).deploypath, required — The pending deploy's id.reasonbody — Why.
CLI neotexa releases reject-deploy <id> <deploy> · MCP reject_deploy
GET/api/approvalsThe Approvals inbox: everything waiting for your decision across the workspace's projects, and only what you may decide — `items` (newest first, urgent ones on top), each { id, kind: release | deploy | plan | question | repo, project, title, summary, by, at, urgent, link, and the routes that decide it: approve, reject, answer }: releases waiting for approval and pending deploys (Product owners; Leads while there are none), backlog plans ready to approve (builders), a build's questions (builders; Product owners when they're about the product, not keys), repo changes from outside waiting to carry on (Leads). Also `projects`: each project's release and deploys waiting, as before. Only for people who may approve something (a project's Product owners and Leads, the workspace's owners and admins); 403 for anyone else.
CLI neotexa approvals · MCP list_approvals
Deploy
GET/api/projects/:id/checklistWhat's still left before a deploy of a shipped app makes sense: demo accounts; with `environment`, that environment's own too — secrets still needed (settings still holding an example value people would see among them) and test keys.
idpath, required — The project's id (see `projects`).environmentquery — One environment's checklist, with its secrets, e.g. production.
CLI neotexa deploy-checklist <id> · MCP get_deploy_checklist
GET/api/projects/:id/infraThe setups it can deploy on (cloud, size, monthly price) with the workspace's connections.
idpath, required — The project's id (see `projects`).freshquery — 1 to price again now.
CLI neotexa deploy-options <id> · MCP get_infra
GET/api/projects/:id/environmentsIts environments: where each runs, its status, address and cost.
idpath, required — The project's id (see `projects`).
CLI neotexa env <id> · MCP list_environments
POST/api/projects/:id/environmentsA new environment (several per project: production, staging, a demo…): a draft (name only), or with a setup — then its plan is got ready. Only for a project with something that keeps running (a web app, an API, a background service): any other answers 409 not_deployable.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).namebody, required — e.g. production.setupIdbody — A setup from get_infra.choicesbody, object — { <dependency>: managed|container|external }versionbody — A release (vMAJOR.MINOR.PATCH, see get_project's versions), or latest (the default).copySecretsFrombody — Another of its environments whose secrets it starts with (which vault secret each setting reads); none by default.copySecretsFromPreviewbody, boolean — Start with the preview's secrets instead (which vault secret each setting reads).
CLI neotexa env create <id> · MCP create_environment
PUT/api/projects/:id/environments/:envChange where and how an environment runs; plan to get it ready. A live one changes on the same account only, through its plan (plan: true), and keeps running until it's applied; moving it to another account takes a stop first.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.setupIdbody — A setup from get_infra (or give package).packagebody — Neotexa's hosting: starter or pro — switches a hosted one's package (with plan: true, its plan first; charged the new package's credits from its next month).choicesbody, object — Per-dependency picks.planbody, boolean — Get it ready now.versionbody — A release (vMAJOR.MINOR.PATCH, see get_project's versions), or latest (the default).
CLI neotexa env set <id> <env> · MCP set_environment
POST/api/projects/:id/environments/:env/deployGet an environment ready for a version (its plan, to confirm with apply_environment): the latest, a newer one to update, or an older one to roll back.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.versionbody — A release (vMAJOR.MINOR.PATCH, see get_project's versions), or latest (the default).
CLI neotexa env deploy <id> <env> · MCP deploy_environment
POST/api/projects/:id/environments/:env/planWrite and plan an environment's infrastructure, without applying.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.versionbody — A release (vMAJOR.MINOR.PATCH, see get_project's versions), or latest (the default).
CLI neotexa env plan <id> <env> · MCP plan_environment
PUT/api/projects/:id/environments/:env/followsWhat an environment deploys by default on a project built on dev: release (the latest released version; a production environment) or dev (what the dev branch has; a staging one). With deployReleases (release only), each new release deploys there by itself — never unless switched on; through an approval where its deploys need one.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.followsbody, required — release or dev.deployReleasesbody, boolean — Deploy every new release by itself (follows release only).
CLI neotexa env follows <id> <env> · MCP set_environment_follows
PUT/api/projects/:id/environments/:env/approvalWhether deploys to an environment need approval (the project's Leads). On, every deploy there — Go live, a release it follows, a Rollback, a Flow's step, the API — waits as a pending deploy until the project's Product owners (or, with none, its Leads) approve it (approve_deploy); a newer one supersedes the one waiting. Unset, it follows the release mode: on in Manual, off in Auto.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.needsApprovalbody, boolean, required — true, false, or null (as the release mode says).
CLI neotexa env approval <id> <env> · MCP set_environment_approval
POST/api/projects/:id/environments/:env/applyApply a planned environment: it goes live. Where its deploys need approval (set_environment_approval) this asks for it instead ({ pending: true, approval }), unless that version's deploy is approved already — and so does a Developer's on a production environment, always: they request, its Product owners (or its Lead) approve.
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env apply <id> <env> · MCP apply_environment
POST/api/projects/:id/environments/:env/destroyTake an environment down (its cloud resources are destroyed).
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env destroy <id> <env> · MCP destroy_environment
POST/api/projects/:id/environments/:env/renameGive an environment another name, while nothing of it is in the cloud (a plan waiting is dropped; its domain and its secrets stay).
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.namebody, required — Its new name: lowercase letters, digits and dashes, e.g. demo-client-x.
CLI neotexa env rename <id> <env> · MCP rename_environment
DELETE/api/projects/:id/environments/:envRemove an environment that isn't live. Its secrets' links go with it; the vault's secrets stay.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env rm <id> <env> · MCP remove_environment
GET/api/projects/:id/environments/:env/dataTake everything: the data of an app Neotexa hosts as one .tar.gz (owners and admins) — each database dumped while the app runs, and its files; on Pro, its data server's too.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env data <id> <env> · MCP download_hosted_data
GET/api/projects/:id/environments/:env/backupsAn environment's backups. Neotexa hosting: `configured` (false: "Backups aren't set up yet"), `last` (how the last nightly run went: state, at, lastSuccess, bytes, repoBytes, message), `next`, `retention` (7 daily, 4 weekly), `restore` (one running or just done) and `snapshots` [{ id, time, tags, bytes }], newest first. Own cloud: `notes` on what keeps its data there and its `console`.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.freshquery — 1 to ask its server again now.
CLI neotexa env backups <id> <env> · MCP environment_backups
POST/api/projects/:id/environments/:env/backupsBack up an app Neotexa hosts now (`run`), beside its nightly backups, or put its backup job on its servers again (`install`). Owners and admins.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.actionbody, required — run or install.
CLI neotexa env backup <id> <env> · MCP backup_environment
POST/api/projects/:id/environments/:env/backups/restoreRestore one of its backups (owners and admins): a safety backup of its data now is taken first — if that fails nothing is touched — then the app stops for a few minutes while its databases and files are put back. Runs on its server; follow it with environment_backups (`restore`).
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.snapshotbody, required — The backup's id, from environment_backups.confirmbody, required — The environment's name, typed: its data now is replaced.
CLI neotexa env restore <id> <env> · MCP restore_environment_backup
GET/api/projects/:id/environments/:env/backups/:snapshot/downloadOne backup of an app Neotexa hosts, as a .tar: its databases' dumps and its files (owners and admins).
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.snapshotpath, required — The backup's id, from environment_backups.
CLI neotexa env backup-download <id> <env> <snapshot> · MCP download_environment_backup
GET/api/projects/:id/environments/:env/logsAn app Neotexa hosts' container logs, read from its servers when asked and never kept, secret values taken out of every line (owners and admins). Server-Sent Events (`lines` batches of { line, server }, then `end`), or with format=txt a plain-text download. In your own cloud: 409 with its cloud's log console.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.servicequery — One service (environment_log_services); all of them without.serverquery — app or data (Pro).sincequery — A time (2026-11-17T09:00Z) or a span back (15m, 2h, 7d).untilquery — The same, for the end.grepquery — Only lines with this text (any case).tailquery — How many lines, per service (500 unless set; at most 20,000).followquery — 1 to keep new lines coming (up to 30 minutes).formatquery — txt for a download.
CLI neotexa env logs <id> <env> · MCP environment_logs
GET/api/projects/:id/environments/:env/logs/linesAn app Neotexa hosts' recent container logs as JSON, `lines` [{ line, server }] (owners and admins): the same filters as environment_logs, never followed, secret values taken out. Nothing is kept.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.servicequery — One service; all of them without.serverquery — app or data (Pro).sincequery — A time or a span back (15m, 2h, 7d).untilquery — The same, for the end.grepquery — Only lines with this text (any case).tailquery — How many lines, per service (500 unless set; at most 2,000 here).
CLI neotexa env log-lines <id> <env> · MCP read_environment_logs
GET/api/projects/:id/environments/:env/logs/servicesWhere an environment's logs are read: `mode` hosted (here, with its `services` [{ name, server }]) or cloud (`console` { url, label } and a `note`).
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env log-services <id> <env> · MCP environment_log_services
GET/api/projects/:id/environments/:env/healthHow a live environment is doing, with sizing suggestions.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.freshquery — 1 to look again now.
CLI neotexa env health <id> <env> · MCP environment_health
GET/api/projects/:id/environments/:env/monitorWhether a deploy answers (checked from outside every few minutes): up or down, uptime over a day and a week, recent answer times, the last checks, errors, its server's processor, memory and disk on a VM, and `series`: all of it in slices over the range, for charts.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.freshquery — 1 to check now.rangequery — The charts' range (series): 24h (the default) or 7d.
CLI neotexa env monitor <id> <env> · MCP environment_monitor
GET/api/projects/:id/environments/:env/emailHow an environment sends its emails: `mode` neotexa (Email by Neotexa: SMTP filled in, paid in credits — `creditsPer1000`), own (your SMTP settings on its Secrets tab) or off; `available` (false: "Email by Neotexa isn't available yet"), its sender (`from`), its domain's DKIM and Return-Path (`domain`, with the records), its daily `cap`, `paused` ({ reason: cap | bounces | spam | owner }), and this month's `month` { sent, bounced, spam, credits }.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env email <id> <env> · MCP environment_email
PUT/api/projects/:id/environments/:env/emailChange how an environment sends its emails (owners and admins): its mode (Neotexa's relay, your own SMTP, or none), its daily cap, or resume sending once paused. Transactional emails only on Neotexa's relay. The app reads the change at its next deploy.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.modebody — neotexa, own or off.capbody, number — Emails a day it may send through Neotexa (10–50,000); null for its package's default.pausedbody, boolean — false to resume its sending after a pause, true to pause it.
CLI neotexa env email set <id> <env> · MCP set_environment_email
GET/api/projects/:id/environments/:env/aiAn environment's AI: `mode` (neotexa: AI by Neotexa, the app's AI paid in credits through Neotexa's gateway; own: the app's own provider key, on its Secrets; off), whether AI by Neotexa is `available`, its `models` and their prices (USD per million tokens), the `model` it's held to ("" = any offered), its requests a minute (`rpm`), the most tokens a request may ask for (`maxTokens`) and this `month`'s requests, tokens and credits. Never the key.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env ai <id> <env> · MCP environment_ai
PUT/api/projects/:id/environments/:env/aiChange an environment's AI (owners and admins): its mode, the model it's held to, its requests a minute, or a new key (regenerate: the old one stops at once, so deploy it again). A mode or a new key reaches the app at its next deploy; neotexa makes its key then if it has none, own and off revoke it.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.modebody — neotexa, own or off.modelbody — One of the models offered; "" for any.rpmbody, number — Requests a minute, 1 or more (0: the default).regeneratebody, boolean — A new key; the old one stops at once.
CLI neotexa env ai set <id> <env> · MCP set_environment_ai
POST/api/projects/:id/environments/:env/resizeTake a health suggestion: new size, then deploy again. Not for an app Neotexa hosts: its size is its package's (set_environment with package).
Starts a job: answers 202 at once.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.suggestionbody, required — The suggestion's id (from environment_health).
CLI neotexa env resize <id> <env> · MCP resize_environment
PUT/api/projects/:id/environments/:env/productionMark an environment as production or not (the project's Leads, and the workspace's owners and admins). Only they deploy to, or change, a production environment; its developers deploy to the others. One never marked is production when it's called "production".
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.productionbody, boolean, required — true: production; false: not.
CLI neotexa env production <id> <env> · MCP set_environment_production
POST/api/projects/:id/environments/:env/domainGive an environment a domain from the workspace's domain source: one it has, or buy it now (buy). A live environment gets its new address in place, at the version it runs.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.domainbody, required — e.g. app.example.com.buybody, boolean — Buy it first.pricebody, number — Cloudflare: the price you saw, in dollars (a cap).creditsbody, number — Neotexa's: the credits you saw (a cap).contactbody, object — Registrant contact, to buy.connectionIdbody — Where it comes from and its DNS is kept: "neotexa-domains" (Domains from Neotexa, when that's the source) or one of the workspace's Cloudflare connections (when that's the source; none: the first). Other DNS hosts and making the record by hand are coming soon.
CLI neotexa env domain <id> <env> · MCP set_environment_domain
GET/api/projects/:id/environments/:env/domainThe DNS record an environment's domain needs (to make by hand), and with check whether it resolves there yet.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.checkquery — 1 to look it up now.
CLI neotexa env domain records <id> <env> · MCP environment_domain_records
DELETE/api/projects/:id/environments/:env/domainTake the domain off an environment. A live one stays live at its own address, updated in place at the version it runs.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env domain rm <id> <env> · MCP remove_environment_domain
GET/api/projects/:id/environments/:env/paymentsWhether Stripe is connected to an environment (Connect Stripe): its account, name and mode (live or test), its webhook, the settings it fills — never a key — and whether Connect is available here.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env payments <id> <env> · MCP environment_payments
POST/api/projects/:id/environments/:env/paymentsStart connecting the owner's Stripe account to an environment: answers `url`, Stripe's page where the owner approves Neotexa. Once they do, its keys go to the vault and are linked to the environment, with a webhook on its address. Nothing to copy.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.modebody — live or test (default: live for production, test otherwise).
CLI neotexa env payments connect <id> <env> · MCP connect_stripe
DELETE/api/projects/:id/environments/:env/paymentsDisconnect Stripe from an environment: its webhook is deleted, its Stripe keys unlinked, and Neotexa's access revoked when no other environment uses that account. Give your own keys on its Secrets tab after.
idpath, required — The project's id (see `projects`).envpath, required — The environment's name, e.g. production.
CLI neotexa env payments disconnect <id> <env> · MCP disconnect_stripe
GET/api/cloudThe workspace's cloud and store connections, and the providers it can connect. For owners and admins, `oneClick` (provider → the address a browser opens to connect it in one click on the provider's own page: google, azure, digitalocean, cloudflare, where this Neotexa has set them up), `awsRole` (the Launch Stack link that makes a role in the owner's AWS account, which reports itself back when `reports`) and `pending` (one-click connections waiting for a project, subscription or account to be picked: finish_cloud_grant).
CLI neotexa cloud · MCP list_cloud
POST/api/cloud/grants/:grantFinish a one-click connection (owners and admins): pick the project (Google Cloud), subscription (Azure: Neotexa's application gets Contributor on it) or account (Cloudflare) the provider's page offered, from list_cloud's `pending`. Checked with the provider, then saved like any connection.
grantpath, required — The pending grant's id.choicebody, required — The id of the project, subscription or account to use.namebody — A name for it (default: the provider and what was picked).regionbody — Its default region.
CLI neotexa cloud finish <grant> · MCP finish_cloud_grant
DELETE/api/cloud/grants/:grantDrop a one-click connection still waiting for a pick (owners and admins); Neotexa's access is revoked at the provider.
grantpath, required — The pending grant's id.
CLI neotexa cloud drop <grant> · MCP drop_cloud_grant
POST/api/cloudConnect a cloud or store account (owners and admins): what can be connected today — aws, azure, google, hetzner (to deploy to), cloudflare (domains), appstore, googleplay, expo (mobile apps). Others are refused as coming soon.
providerbody, required — The provider's key.namebody, required — A name for it, e.g. Production.regionbody — Its default region.keysbody, object, required — The provider's own fields, e.g. { "accessKeyId": …, "secretAccessKey": … } or { "roleArn": … } (aws, no keys: list_cloud's awsRole has the link that makes the role), { "token" } (hetzner), { "apiToken", "accountId" } (cloudflare); see list_cloud's providers.
CLI neotexa cloud add · MCP add_cloud
PUT/api/cloud/:connectionChange a connection (owners and admins).
connectionpath, required — The connection's id.namebody — Its name.regionbody — Its region.keysbody, object — New values for the provider's fields (left out: kept).
CLI neotexa cloud set <connection> · MCP update_cloud
DELETE/api/cloud/:connectionRemove a connection (owners and admins). Neotexa's access is revoked at the provider where it can be (one-click Google Cloud, DigitalOcean, Cloudflare); `note` says what to remove there yourself otherwise (the AWS stack, Azure's role).
connectionpath, required — The connection's id.
CLI neotexa cloud rm <connection> · MCP remove_cloud
GET/api/domainsThe workspace's domains from one of its sources — every source is available side by side (`choices`): Neotexa's (bought in this workspace) or one of its own Cloudflare connections — what uses each, and every environment one can go to. Without `connection`, the source pre-selected: the last one a domain was bought or given to an app from, else your own Cloudflare, else Neotexa's.
connectionquery — "neotexa-domains" (Neotexa's) or one of the workspace's own Cloudflare connections' ids.
CLI neotexa domains · MCP list_domains
PUT/api/domains/sourceDeprecated, kept for old callers: sets which source is pre-selected when none is named (owners and admins): neotexa or cloudflare. Every source stays available side by side; a domain bought or given to an app makes its source the pre-selected one from then on.
sourcebody, required — "neotexa" or "cloudflare".
CLI neotexa domains source · MCP set_domain_source
GET/api/domains/searchSearch domains to buy, with prices.
qquery, required — What to look for.connectionquery — A Cloudflare connection's id.
CLI neotexa domains search · MCP search_domains
POST/api/domains/checkIs this exact domain free, and at what price?
namebody, required — e.g. example.com.
CLI neotexa domains check · MCP check_domain
POST/api/domains/buyBuy a domain for the workspace (owners and admins), from its domain source: Neotexa's (paid in credits, renewed yearly from them) or its own Cloudflare account (spends money on it).
domainbody, required — The domain.pricebody, number — Cloudflare: the price you saw, in dollars (a cap).creditsbody, number — Neotexa's: the credits you saw (a cap).contactbody, object — Registrant contact (kept for the next purchase).
CLI neotexa domains buy · MCP buy_domain
Account
GET/auth/meWho you are, your workspaces and roles, and whether you're a Neotexa admin.
On a hosted Neotexa only.
CLI neotexa whoami · MCP whoami
GET/auth/workspaces/:workspace/membersA workspace's members — each with their role (its id, and `roleName`: what people see), `guest` (sees only the projects they're added to) and `spentThisMonth` (what their runs' AI cost this month, in dollars) — your own role in it, its display `name`, the roles you may hand out (`assignable`) and its `projectAccess` ("all": every Member sees every project; "assigned": each project's people only, and its owners and admins). Owners and admins only (a Guest or Billing member is refused). Workspace roles, by id (name): owner (Owner: everything, including the plan, the Claude key, deleting the workspace and naming owners), admin (Admin: everything but ownership — members, invitations, settings, integrations, vault, domains, audit log — and Lead on every project), member (Member: enters the projects they're on; what they do there is their project role), billing (Billing: credits, invoices, receipts, costs; no code, no projects), guest (Guest: only the projects they're invited to, as a Product owner or Reviewer; never the members, settings, costs or other projects). A "viewer" from before reads as a Member who is a Reviewer on the projects they see, and isn't given any more; "staff" is a Neotexa admin stepping in. The docs: Roles and permissions (/docs/roles).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa members <workspace> · MCP list_members
PUT/auth/workspaces/:workspace/members/:loginAdd someone by their Neotexa username, or change their role (owners and admins; only owners make or unmake owners). On the workspace's audit log. Workspace roles, by id (name): owner (Owner: everything, including the plan, the Claude key, deleting the workspace and naming owners), admin (Admin: everything but ownership — members, invitations, settings, integrations, vault, domains, audit log — and Lead on every project), member (Member: enters the projects they're on; what they do there is their project role), billing (Billing: credits, invoices, receipts, costs; no code, no projects), guest (Guest: only the projects they're invited to, as a Product owner or Reviewer; never the members, settings, costs or other projects). A "viewer" from before reads as a Member who is a Reviewer on the projects they see, and isn't given any more; "staff" is a Neotexa admin stepping in. The docs: Roles and permissions (/docs/roles).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.loginpath, required — Their Neotexa username.rolebody — owner, admin, member, billing or guest — by id or name (Admin, Member…; manager and developer, their names before, too). member when left out. viewer is refused: it's gone.guestbody, boolean — true: they see only the projects they're added to, even where everyone sees all; false: as their role allows.
CLI neotexa members set <workspace> <login> · MCP set_member
DELETE/auth/workspaces/:workspace/members/:loginRemove someone from a workspace (owners and admins; an owner by owners only). Your own username: you leave it.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.loginpath, required — Their Neotexa username.
CLI neotexa members rm <workspace> <login> · MCP remove_member
POST/auth/workspaces/:workspace/leaveLeave a workspace yourself, whatever your role — but not as its last owner (make someone else an owner first).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa workspace leave <workspace> · MCP leave_workspace
PUT/auth/workspaces/:workspace/nameChange a workspace's display name (owners and admins), shown in the switcher, the breadcrumbs and invitation emails; its id stays. "" goes back to the id.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.namebody, required — Up to 60 characters.
CLI neotexa workspace rename <workspace> · MCP rename_workspace
GET/auth/workspaces/:workspace/invitesA workspace's pending invitations (owners and admins): each { id, kind: email|link, email, role, maxUses (null: any number), uses, createdBy, created, expires, status }. Never their links.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa invites <workspace> · MCP list_invites
POST/auth/workspaces/:workspace/invitesInvite someone (owners and admins; only owners invite owners): by email — Neotexa sends them the link, for one use — or a link to share, for one use or many. They accept it after signing in, at its link — an email invitation only from an account with that address as a verified email (verified on their GitHub account, or their Google sign-in); a link from any account. The answer's `link` is the invitation, and is never shown again.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.kindbody, required — email or link.emailbody — Their address (kind email).rolebody, required — owner, admin, member, billing or guest — by id or name (viewer is gone: a Member made a Reviewer on their projects, or a Guest).daysbody, number — How long it works, 1–30 (7 by default).maxUsesbody, number — A link: how many people may use it; null for anyone until it expires (1 by default).
CLI neotexa invites create <workspace> · MCP create_invite
DELETE/auth/workspaces/:workspace/invites/:inviteRevoke an invitation (owners and admins): its link stops working at once.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.invitepath, required — The invitation's id (inv_…).
CLI neotexa invites revoke <workspace> <invite> · MCP revoke_invite
PUT/auth/workspaces/:workspace/project-accessWho sees a workspace's projects (owners and admins): "assigned" — each project only its people (added to it, or invited to it) and the workspace's owners and admins; or "all" — every member sees every project, as their role allows. A new workspace is "assigned"; one from before the setting, "all". On the audit log.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.accessbody, required — all or assigned.
CLI neotexa workspace project-access <workspace> · MCP set_project_access
GET/auth/workspaces/:workspace/projects/:project/membersWho has access to a project and how (a Guest gets their own role on it alone, never its people): `people` — each { login, name, workspaceRole, role (their project role: manager, developer, approver or viewer), roleName, assigned (added to it; false: through their workspace role), guest, roles (the project roles they may be given) } —, `members` (the ones added to it), its pending `invites` and `candidates` (members who could be added; for whoever manages it), your own `role` on it and whether you `canManage` it. A project you can't see answers 404.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.projectpath, required — The project's id.
CLI neotexa project-members <workspace> <project> · MCP list_project_members
PUT/auth/workspaces/:workspace/projects/:project/members/:loginAdd a workspace member to a project, or change their project role (the project's Leads, and the workspace's owners and admins). Project roles, by id (name): manager (Lead: everything on the project — people, settings, Auto/Manual, environments, deploys; approves releases and production deploys only while it has no Product owners), developer (Developer: the Lab, builds, previews, hotfixes, staging deploys; requests releases and production deploys, never approves them), approver (Product owner: reads everything and every preview, approves or rejects releases and deploys, answers the build's product questions, adds backlog items; never builds, deploys or changes settings), viewer (Reviewer: reads everything and every preview, comments; no approving, no building). Never more than their workspace role allows: a Member may hold any of them; a Guest only approver or viewer; Billing none; owners and admins are every project's Lead anyway. On the audit log.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.projectpath, required — The project's id.loginpath, required — Their Neotexa username.rolebody, required — manager (Lead), developer (Developer), approver (Product owner) or viewer (Reviewer) — by id or name.
CLI neotexa project-members set <workspace> <project> <login> · MCP set_project_member
DELETE/auth/workspaces/:workspace/projects/:project/members/:loginTake someone off a project (the project's Leads, and the workspace's owners and admins). Where the workspace's projects are "assigned", they no longer see it. On the audit log.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.projectpath, required — The project's id.loginpath, required — Their Neotexa username.
CLI neotexa project-members rm <workspace> <project> <login> · MCP remove_project_member
POST/auth/workspaces/:workspace/projects/:project/invitesInvite someone to one project (the project's Leads, and the workspace's owners and admins): by email or a link, like create_invite. Accepting adds them to the project with its role; someone new to the workspace sees only the projects they're added to, and joins as a Member (Lead, Developer) or a Guest (Product owner, Reviewer), unless a workspace owner or admin picks `workspaceRole`. The answer's `link` is never shown again. Project roles, by id (name): manager (Lead: everything on the project — people, settings, Auto/Manual, environments, deploys; approves releases and production deploys only while it has no Product owners), developer (Developer: the Lab, builds, previews, hotfixes, staging deploys; requests releases and production deploys, never approves them), approver (Product owner: reads everything and every preview, approves or rejects releases and deploys, answers the build's product questions, adds backlog items; never builds, deploys or changes settings), viewer (Reviewer: reads everything and every preview, comments; no approving, no building).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.projectpath, required — The project's id.kindbody, required — email or link.emailbody — Their address (kind email).rolebody, required — Their project role: manager (Lead), developer (Developer), approver (Product owner) or viewer (Reviewer).workspaceRolebody — Owners and admins: the workspace role they join with (owner, admin, member, billing or guest; by id or name).daysbody, number — How long it works, 1–30 (7 by default).maxUsesbody, number — A link: how many people may use it; null for anyone until it expires (1 by default).
CLI neotexa project-members invite <workspace> <project> · MCP invite_to_project
DELETE/auth/workspaces/:workspace/projects/:project/invites/:inviteRevoke an invitation to a project (its Leads, and the workspace's owners and admins).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.projectpath, required — The project's id.invitepath, required — The invitation's id (inv_…).
CLI neotexa project-members revoke <workspace> <project> <invite> · MCP revoke_project_invite
GET/auth/workspaces/:workspace/auditA workspace's audit log (owners and admins), newest first: { entries: [{ at, actor, kind, action, target, detail }], next } — who added, removed or changed members and invitations, deployed, planned, rolled back or tore down environments, linked secrets or changed the vault (names only, never values), bought credits or domains, created, moved, deleted or restored projects, and changed settings. Kept 12 months. GET …/audit.csv is the same as a CSV download.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.actorquery — Only what this username did.typequery — Only one kind: member, invite, environment, secret, billing, domain, project, settings, workspace or security (two-factor sign-in).fromquery — From this ISO date or time.toquery — Until this ISO date or time (not included).cursorquery — The `next` of the page before, for the next one.limitquery, number — Entries a page, up to 200 (50 by default).
CLI neotexa audit <workspace> · MCP get_audit_log
GET/auth/workspaces/:workspace/planA workspace's plan, credits and the plans it can move to.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa plan <workspace> · MCP get_plan
POST/auth/workspaces/:workspace/planAsk to move a workspace to another plan (owners).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.planbody, required — The plan's id.
CLI neotexa plan request <workspace> · MCP request_plan
DELETE/auth/workspaces/:workspace/plan-requestWithdraw a pending plan request.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa plan request cancel <workspace> · MCP cancel_plan_request
POST/auth/workspaces/:workspace/creditsA Stripe Checkout link to buy a pack of credits (owners, admins and billing members).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.packbody, number — The pack's credits.saveCardbody, boolean — Save the card paid with for automatic top-ups (its consent is shown on the checkout).
CLI neotexa credits buy <workspace> · MCP buy_credits
GET/auth/workspaces/:workspace/auto-top-upThe workspace's automatic top-up (owners, admins and billing members): whether it's on, the level it buys at, the pack, at most how many a month, the saved card's brand and last 4, how many ran this month, and the packs on sale.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa credits auto <workspace> · MCP get_auto_top_up
PUT/auth/workspaces/:workspace/auto-top-upTurn automatic top-up on or off, or change it (owners, admins and billing members): when the credits fall below `below`, the pack is bought with the saved card, at most `maxPerMonth` times a month, each a purchase with its receipt. 409 until a card is saved (buy a pack with saveCard).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.enabledbody, boolean — On or off.belowbody, number — The level, in credits.packbody, number — The pack to buy, by its credits.maxPerMonthbody, number — At most this many a month (1–10).
CLI neotexa credits auto set <workspace> · MCP set_auto_top_up
GET/auth/workspaces/:workspace/purchasesThe workspace's purchases with their receipts (owners, admins and billing members), and whether each can still be withdrawn from (withdrawDays). Withdrawing is done from the dashboard (Settings → Billing).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa credits receipts <workspace> · MCP list_receipts
PUT/auth/workspaces/:workspace/claude-keyBring your Claude: set the workspace's own Claude API key (owners). Sealed when saved and write-only: only its last four characters come back ({ aiKey: { set, hint } }). 409 for a workspace on credits.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.keybody, required — The Claude API key (sk-ant-…); `-` reads it from stdin.
CLI neotexa byok key set <workspace> · MCP set_claude_key
DELETE/auth/workspaces/:workspace/claude-keyBring your Claude: remove the workspace's Claude API key (owners); its AI stops until one is set again.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa byok key rm <workspace> · MCP remove_claude_key
POST/auth/workspaces/:workspace/tierBring your Claude: move a subscription paid through Stripe to another tier (owners), prorated; when Stripe waits for the new tier's payment, it applies once paid (pending). Subscribe first, from the dashboard (Settings → Plan).
On a hosted Neotexa only.
workspacepath, required — The workspace's id.tierbody, required — The tier's id (get_plan).
CLI neotexa byok tier <workspace> · MCP set_byok_tier
POST/auth/workspaces/:workspace/billing-portalBring your Claude: a link to Stripe's billing portal for the workspace's subscription (owners): its card, invoices and cancelling.
On a hosted Neotexa only.
workspacepath, required — The workspace's id.
CLI neotexa byok portal <workspace> · MCP billing_portal