AI workspace
Your company's shared context for Claude: setting it up with Claude from your website, the intake, check-ins, download, rollout and the reviewed learning loop.
The AI workspace is your company's shared context for Claude: a folder of plain markdown files
(CLAUDE.md, context files, team folders, skills and rules) that tells Claude who you are, how
you write, what you sell and which rules apply. You fill in a short intake in the dashboard (or
let Claude draft it from your website), check the result, download the folder and share it with
your team. Over time, the team proposes what the workspace should learn, short check-ins keep the
facts current, and a person approves every change.
Open it from Organization > AI workspace in the dashboard.
The overview starts with Your office: Claude as the secretary (how many company facts it knows, the last check-in, and who checked the setup), the specialists (the skills in the workspace, each linked to its file) and the shared cabinet (the company context files, each marked Complete, with its number of gaps, or Customized, plus the team desks). Everything in it comes from your workspace data; none of it is written by AI. Below it, In Claude shows whether Claude can use the workspace through your agent link, and what Claude suggested lately (see Use your workspace in Claude).
Layers
Claude reads the workspace in layers, from the widest to the most specific:
| Layer | Files | Loaded |
|---|---|---|
| Company | CLAUDE.md, context/, .claude/skills/, .claude/rules/ | CLAUDE.md and the core context in every session; the rest when needed |
| Team | teams/<team>/CLAUDE.md | When Claude works on files in that team's folder |
| Project | projects/<project>/CLAUDE.md, brief.md, decisions.md | When working in that project's folder |
| Personal | CLAUDE.local.md, ~/.claude/ | Only for that person; never shared in the workspace |
The Files tab also shows the governance files (governance/OWNERS.md,
governance/CHANGELOG.md, ...) and the rollout guides.
Intake
The Intake tab is a form with one field per piece of company context: name, voice, offers, customers, rules, owners, team leads and glossary. Each field shows an example. Pick the teams you have (Finance, Marketing, Operations, Sales, Customer support); only selected teams get a folder. Fields that only matter to teams you did not pick are dimmed.
The sections open and close one at a time, and each shows how many of its fields are answered ("8 of 13 answered"). The first section with a missing key fact opens by default. When setting up with Claude is on, the top of the form links to it ("Let Claude fill this from your website"). The form always stays: it is where you edit everything by hand.
Saving fills the answers into every file that uses them. Two people editing at once cannot
overwrite each other: if someone saved in between, you get 409 revision_conflict and can copy
your answers before reloading. Owners and admins can edit the intake; everyone else can read it.
Answers are company context, not secrets. Never put passwords or API keys in them. An answer that
adds an @ import is refused (422 intake_value_adds_import), because answers end up in
CLAUDE.md, where imports change what Claude loads. Add imports by editing the file
instead.
Set up with Claude
Instead of typing the whole intake, you can let Claude draft it. You give your company website, Claude reads a few public pages and fills in what it can, then asks you a few short questions about what is missing. You check every value, change what is wrong, and save. Nothing reaches the workspace until you press Save to workspace.
This is an option your platform has to turn on (see Turn it off). When it is off, the dashboard shows nothing new and the intake form works as before. Only owners and admins can set up with Claude or answer check-ins; developers and viewers keep using the workspace as before.
What happens
- On the overview, choose Start with your website (or the link above the intake form). Type
your company website, for example
acme.com, and choose Read my website. - The page shows each step as it happens: checking the site's rules for automated readers, reading each page, then drafting your profile. This takes about a minute. You can leave the page; the draft keeps going and is waiting when you come back.
- Check and chat. On the left, your profile: every value Claude filled, with where it came from ("From your About page", "From chat", "You"). Values Claude was unsure about are marked Check. Edit any value in place, and pick your teams. On the right, Claude asks about what is still missing, one question at a time, and aims for 3 to 5 questions. Answer in your own words, or choose Skip this question. Your answers fill the matching fields, which show Updated for a moment.
- Choose Save to workspace. The overview then says which revision was saved and who checked it, for example "Saved as revision 4. Drafted with Claude from acme.com, checked by Dito." History shows one intake save with the summary "Set up with Claude from acme.com" (or "from a description").
If your website can't be read (see below), choose Describe your company instead and write a few sentences about what you do, for whom, where and how many people you are (40 to 6,000 characters). Claude drafts from that text the same way. Fill the form instead always takes you to the intake form.
Good to know:
- A setup ends after 8 answers in the chat; then check the values and save. An unsaved setup expires after 7 days. Start over throws the draft away.
- Starting a new setup replaces an earlier unsaved one.
- Saving changes only the fields Claude or you filled that differ from what is saved; other answers stay as they are.
- If a file was edited directly, it keeps its own text and new answers do not change it. The overview names those files after saving; reset them in Files to use your new answers.
What Claude reads
Claude doesn't browse the web. The platform reads the pages and decides which ones:
- At most 4 public pages: your home page, and one each of about, products or services, and contact, picked from the links on your home page. Nothing behind a login, no forms.
- Your site's rules come first. The reader checks your
robots.txtbefore anything else and identifies itself asCulturewireBot. If the rules ask automated readers to stay away, it reads nothing. Ifrobots.txtcan't be loaded because of a server error, it also reads nothing. - Size and time limits. Only HTML pages, at most 1 MB each, 8 seconds per request and 25
seconds in total. Redirects are followed only on your own site (one move to another address is
allowed for the home page, for example
acme.comtowww.acme.com). - Only public addresses. Addresses on a private network or that lead there are refused.
When the reader stops, you see why, with the two ways forward (describe your company, or fill the form):
| What you see | Why |
|---|---|
| "Your website asks automated readers not to visit these pages, so we did not read it." | robots.txt disallows the reader |
| "We could not read your website's robots.txt, so we did not read the site." | robots.txt answered with a server error or timed out |
| "We could read only a little text from your website. Describe your company in a few sentences instead." | Less than 200 characters of text, typical for sites built only with scripts |
| "We could not reach your website. Check the address, or describe your company instead." | The home page did not load |
| "That address does not lead to a page we can read. Check it, or describe your company instead." | The home page is not HTML |
| "Claude could not draft your profile this time. Try again, or fill the form." | Claude declined, failed or took too long |
What is sent to Anthropic
Claude is made by Anthropic. When you set up with Claude or answer a check-in, the platform sends Anthropic:
- the text of the pages it read, or the description you wrote;
- your chat answers and the current draft values;
- for check-in answers that need Claude, your answer and the current text of the workspace files the question is about (text your team already approved).
Before anything is sent:
- Contact details are removed. E-mail addresses and phone numbers in page text are replaced by
[email]and[phone]. - Secrets are stopped. A chat answer or check-in answer that looks like a password, key or token is refused, and nothing is sent or stored. Remove it and send again.
- Website text is treated as data, not instructions. Claude only fills fields; it can't fetch
pages, send anything or change the workspace. A drafted value that adds an
@import, a{{placeholder or something that looks like a secret is left out. So is a value from your website that reads like an instruction to an AI or links to another website. The page lists what was left out, with the reason.
Nothing else is sent: no workspace files during setup, no suggestions waiting for review, and nothing from your connected apps. Prompts, page text and answers are never written to logs or the audit log. The page text kept with a setup is deleted after a day, and the setup itself after 30 days.
Monthly allowance
Each organization has a monthly Claude allowance, so a busy organization can't run up costs for the platform. By default it is enough for about 20 full setups or 150 check-in answers a month. Owners and admins see what is left under Settings > Assistant ("Claude allowance this month"). When it is used up, Claude stops for the month and says when it resets (the first day of the next month, UTC). The intake form keeps working.
There are also daily limits per organization: 5 setups a day, and 200 chat answers and check-in answers a day.
Turn it off
- For your whole platform. Setting up with Claude is off by default. Whoever runs the platform
turns it on or off with
AI_ONBOARDING_ENABLED(see Self-hosting). Off, every setup and check-in page and route is gone, and nothing is sent to Anthropic. Saved workspaces are not affected. - Check-ins only. Owners and admins set Check-ins to Off under Settings > Assistant.
- For one setup. Choose Start over or simply don't save. Nothing reaches the workspace without Save to workspace.
- For your website. Site owners can keep the reader away by disallowing
CulturewireBotinrobots.txt.
Check and download
The header shows Ready when the strict check finds nothing, or the number of issues: open placeholders (fields not answered yet), errors and warnings. The Overview tab lists each issue with a link to the file.
Download gives a zip named <org-slug>-ai-workspace.zip with one folder inside. You can
download before the check is ready (the dashboard asks first), for example to try it out. Every
role can download. Each download is recorded in the audit log.
Roll it out
- Unzip the folder where your team keeps shared work, or put it in a git repository.
- Open it with Claude Code, or upload
CLAUDE.mdandcontext/to a Claude project. - Follow
rollout/distribution.mdinside the folder for the team-by-team plan.
When the workspace changes later (an approved suggestion, a new intake answer), download it again and replace the shared copy.
Use your workspace in Claude
You don't have to download anything to use the workspace in Claude. When you connect your agents with your personal agent link, Claude also gets your company knowledge: the company facts, your voice, offers and rules, your team's notes and the specialists. Claude reads the latest approved version every time, so an approved change is in Claude right away.
Claude can also suggest updates. When a conversation teaches something worth keeping (a new fact, a correction, a decision, a glossary term or a team practice), Claude sends it to the Suggestions inbox. Nothing changes until a person approves it, exactly like a suggestion from a teammate. Suggestions from Claude carry a From Claude chip and say who they came from ("Suggested by Dito through Claude").
The AI workspace overview shows this under In Claude:
- whether Claude can read the workspace and suggest updates;
- your own agent link, or Connect to agents when you don't have one yet;
- the five newest suggestions from Claude, with All proposals from Claude for the full list.
The Connect to agents page lists Company workspace first under What your agents get, with Included, Read only, Off or Not set up yet.
Claude access
Owners and admins choose what Claude gets under Settings > Claude access:
| Setting | What your agents get |
|---|---|
| Off | Nothing from the workspace. Agent links keep working for apps. |
| Read only | Reads the workspace. People suggest updates themselves. |
| Read and suggest updates | Reads the workspace and suggests updates for review. This is the default. |
Claude gets the workspace once the intake has been saved. A change applies to the next request; start a new chat so Claude sees it. Everyone else sees the setting but can't change it. There is no switch per link: the workspace belongs to the organization. If you don't want Claude to use it in your own chats, turn the tools off in Claude's connector settings.
Who gets it
Only personal agent links carry the workspace: the link a member created for themselves on Connect to agents. It is never part of a custom MCP server, a user URL a developer created for someone else, or API key mode. A link gets the workspace when all of these hold:
- the member still belongs to the organization (viewers have no agent link);
- when the organization requires two-factor authentication, the member has turned it on (otherwise In Claude says "Turn on two-factor authentication to use this workspace in Claude");
- the intake has been saved and Claude access is not Off;
- the server allows it (
MCP_WORKSPACE_ENABLED, see Self-hosting).
Otherwise the link behaves as before: apps only. Claude is not told why; the dashboard is.
Claude Team and Enterprise
Keep your personal link in your own Claude account. A connector a Claude owner adds under Organization settings is shared by everyone in that Claude organization: with your link, they would read your company workspace and suggest updates in your name. See Connect to agents.
For developers: the workspace over MCP
On a personal link, the managed all_connected server adds the workspace next to the app tools.
Tools (listed before the app tools; they never call the executor, so they don't count as tool
executions or toward the execute limit):
| Tool | Input | Result |
|---|---|---|
WORKSPACE_GET_CONTEXT | { team? } (a selected team) | A short note on how to read the workspace over MCP, CLAUDE.md with the files it imports (one level, at most 4), the team's CLAUDE.md, then an index of the files, the skills, the selected teams and the workspace revision |
WORKSPACE_SEARCH | { query, limit? } (2 to 200 chars, 1 to 20, default 8) | Keyword matches with path, line, nearest heading and a snippet of at most 400 characters, also as structuredContent.results |
WORKSPACE_READ_FILE | { path, from_line? } | One file with the workspace revision; long files come in pages with the next from_line |
WORKSPACE_GET_SKILL | { name } | One skill's SKILL.md without its frontmatter |
WORKSPACE_PROPOSE_LEARNING | { changes } (1 to 5) | Pending suggestions (below). Listed only with Read and suggest updates |
path,teamandnameare enums of this organization's files, teams and skills; a wrong value is a JSON-RPC-32602that lists the valid names. The four read tools are annotated read-only and idempotent; the propose tool is neither read-only nor destructive.- Results are at most 36,000 characters. A cut
WORKSPACE_GET_CONTEXTends with(cut here; read <path> with WORKSPACE_READ_FILE). - Claude reads
CLAUDE.md,context/*.md, the selected teams'CLAUDE.md,governance/OWNERS.md,governance/skills.md,.claude/rules/*.mdand the skills. It never getsREADME.md,rollout/,projects/_template/,.claude/settings.json,.gitignore,governance/CHANGELOG.mdorgovernance/skill-standard.md. Anything that looks like a key or token is redacted first.
Prompts (Claude Code slash commands such as /<server>:capture-learnings, and the claude.ai
attachment menu): company-context loads the same text as WORKSPACE_GET_CONTEXT, and each skill
is a prompt of its own name with an optional task argument. The model does not pick prompts by
itself; people do.
Resources (@ mentions in Claude Code, the claude.ai attachment menu): one per knowledge file,
workspace://file/<path>, text/markdown. No subscriptions.
Instructions. The server's instructions gain a short block telling Claude to call
WORKSPACE_GET_CONTEXT before work that depends on company facts, plus a company snapshot from
the intake (name, what you do, time zone, languages, voice and up to three priorities). Values with
links, @ imports, placeholders or instruction-like text are left out. The whole text is at most
2,000 characters. No member name or e-mail appears in it.
How proposals are reviewed
WORKSPACE_PROPOSE_LEARNING takes 1 to 5 changes, each with kind, file, operation,
before (for replace), after, reason and an optional source, where kind is fact,
correction, decision, glossary_term or team_practice. It runs the same checks as a pasted
suggestion (see Safety rules) plus two that only apply to Claude:
suggestion_file_not_allowed: onlycontext/<name>.md, a selected team'sCLAUDE.mdandgovernance/OWNERS.md. The rootCLAUDE.mdand everything under.claude/are changed by a person in the dashboard only.suggestion_adds_link:after,reasonorsourcelinks to a host the file does not already use. From the dashboard this is only a flag; from Claude it is refused.
A call is all or nothing: one refused change fails the call with a tool error (isError: true)
that lists each change's index, code and a plain message, so Claude can fix it and retry. A
change identical to a pending suggestion is reported as duplicate with the existing id instead
of a second row. Each accepted change becomes one pending suggestion with origin: "mcp",
learning_kind, via_project (the link's project), the member as submitted_by and the
from_claude flag. The result names the suggestions and a review_url
(/dashboard/<org>/ai-workspace/suggestions?origin=mcp, when the server knows WEB_URL), and
never says the workspace changed.
Limits: 5 changes per call, 25 pending suggestions from Claude per member, 500 pending per
organization, and the workspace_propose rate limit (30 per day per member).
Over a limit, Claude gets a tool error in plain words, for example "You've sent many proposals
today. Try again tomorrow."
Review is unchanged: the file's reviewer, an owner or an admin approves, edits or rejects. The member can withdraw their own. The platform never sends suggestion text to a model.
Routes
All under /api/v1/organizations/{organization_id}, dashboard session only (no API keys, no SDK
methods):
| Route | Permission | Notes |
|---|---|---|
GET /ai_workspace | ai_workspace:read | Adds claude_access (below) |
PUT /ai_workspace/claude_access | ai_workspace:write | { mode }: off, read or propose. Returns the workspace. Audited |
GET /ai_workspace/suggestions | ai_workspace:read | New query origin: dashboard, checkin or mcp |
claude_access holds available (the server switch), mode, exposed (available, configured
and not off), can_edit, caller (blocked_by_two_factor, links with project and
last_used_at, can_create_link_in), pending_from_claude and recent_from_claude (the five
newest, any status). Suggestions gain origin, learning_kind and via_project. On
Connect to agents, GET and POST .../claude_connection
gain workspace: { status, organization_name } with status included, read_only, off,
not_configured, blocked_by_two_factor (the organization requires two-factor authentication
and you have not turned it on) or unavailable.
The learning loop
The workspace gets better with use, but never by itself. Claude proposes, a person approves:
- At the end of a task, run the
capture-learningsskill (included in the workspace). - Claude prints a
workspace-suggestionsblock plus a short summary. It never edits the files. Over your agent link, Claude sends the suggestions itself instead (see Use your workspace in Claude). - Paste the whole answer into Suggestions > New suggestion > Paste from Claude. Each change becomes one suggestion.
- The file's reviewer, or an owner or admin, approves, edits or rejects it.
- Approved changes are applied to the stored workspace, listed in History and in
governance/CHANGELOG.md, and included in the next download.
capture-learnings
capture-learnings lists what the task taught: a new customer objection, a glossary term, a rule
that was applied, or a fact that turned out to be outdated. It maps each fact to the file and the
owner from governance/OWNERS.md, copies the current line exactly when a fact changed, and leaves
out personal data and secrets.
Its output contains one fenced block whose info string is workspace-suggestions:
```workspace-suggestions
{"version":1,"changes":[
{"file":"context/glossary.md","operation":"append",
"after":"| Retainer review | Our quarterly check-in on a retainer's results | Retainer |",
"reason":"Used by two clients this week; not in the glossary.",
"source":"Kick-off call notes, 2026-10-27"},
{"file":"context/offers.md","operation":"replace",
"before":"| IDR 120,000,000 fixed | 8 weeks |",
"after":"| IDR 120,000,000 fixed | 6 to 8 weeks |",
"reason":"The last three Website Sprints shipped in 6 to 7 weeks.",
"source":"Delivery report Q3 2026"}
]}
```| Field | Required | Meaning |
|---|---|---|
file | yes | An editable file (see below) |
operation | yes | replace (swap before for after) or append (add after at the end) |
before | for replace only | Text that appears exactly once in the current file, at most 8,000 characters |
after | yes | The new text, at most 8,000 characters |
reason | yes | Why, at most 1,000 characters |
source | no | Where the fact comes from, at most 500 characters |
You can also write one change by hand with Write one.
Editable files
Suggestions can change CLAUDE.md, context/<name>.md, teams/<team>/CLAUDE.md for a selected
team, and governance/OWNERS.md. They cannot create or delete files, and they cannot touch
skills, rules or settings under .claude/. governance/CHANGELOG.md is written by the platform.
Owners and admins add files and skills themselves (see
Add your own files and skills).
Safety rules
Suggestion text is treated as data. The platform never sends it to a model, never runs it and never renders it as HTML. The risk is that approved text ends up in files Claude loads, so:
- A submission is refused (
422) when it adds an@import (suggestion_adds_import), contains something that looks like a key, token or password (suggestion_contains_secret), contains{{or}}, targets a file that can't be edited (suggestion_invalid), or makesCLAUDE.mdlonger than 200 lines or a file larger than 64 KB (suggestion_too_long). Any@at the start of a word counts as an import, including mentions like@name, even inside code blocks. The only exception is a mention written as@namein single backticks (letters, digits,_and-); a path in backticks still counts. Otherwise drop the@. E-mail addresses are fine. - A
replacewhosebeforeis not found or appears more than once is refused withbefore_not_foundorbefore_ambiguous. - Reviewers see flags: Contains e-mail (an address in a context or team file) and Reads like
an instruction to the AI (phrases such as "ignore previous instructions", "system prompt",
curl, or links to new hosts). Read flagged suggestions twice. - A request is all or nothing: one bad change rejects the batch, with the problem per change in
details. See Errors. - Each member can submit 50 suggestions per day (
ai_suggest), and an organization can have at most 500 pending.
Review
A suggestion shows the current file with the text it replaces highlighted (or where it is appended) next to a line diff, plus the reason, source, flags and who proposed it.
- Approve, optionally with Edit before approving and a note. The change is checked again against the current file.
- Reject with a note for the submitter.
- Withdraw: the submitter can take back their own pending suggestion.
If the file changed after the suggestion was made (another change touched the same text),
approving fails with 409 suggestion_stale. Reject it and suggest a fresh change if it is still
needed.
Reviewers
Owners and admins can review every file. In Settings, they can also choose reviewers per
file, or per team folder (teams/sales/ covers the Sales team's files). Any member can be a
reviewer, including developers and viewers, up to 10 per file. The settings show the owner named
in governance/OWNERS.md as a hint. Reviewing your own suggestion is allowed and is labelled
"self-approved" in History.
Check-ins
A check-in is up to 3 short questions that keep your company facts current, for example "Is this still right?" about your key facts, this quarter's priorities, or what changed in your offers, the tools you use or what the team learned. Questions are picked from the state of your workspace, not written by AI.
- When. Monthly by default, or quarterly, or off: owners and admins choose under Settings > Assistant. The first check-in appears two weeks after the intake is first saved. An open check-in shows on the overview ("Answer 3 questions") for owners and admins. You can also start this period's check-in yourself from Settings > See all check-ins.
- Answer. Fill in or confirm each question, or skip it, then choose Send answers. Answers to fact questions become intake values directly. Open answers ("what changed?") are turned into a proposal by Claude, which uses the allowance.
- Apply. The check-in shows what would change, before and after. Pick what to keep and choose Apply selected. Company facts are saved right away as one intake save (summary "Check-in 2026-11", or "Check-in 2026-Q4" for a quarter). Changes to file text become suggestions in the inbox, reviewed like any other (an owner or admin can approve their own right away, see Review).
- Dismiss. Dismiss check-in closes it without changes. An unanswered check-in expires two weeks after its month or quarter ends.
When the platform's Claude option is off, there are no check-ins.
History and reset
History lists every intake save, approved suggestion, direct file edit, file reset and reviewer change, with the text before and after for file changes.
A file changed by an approved suggestion or a direct edit is marked customized: it no longer follows intake answers or template updates. When the template of a customized file changes, it is marked template changed. Reset to template (owners and admins) drops the customization; the old text stays in History.
Browse the files
The Files tab works like a file manager. It opens on the workspace folder: every folder and file is a tile you can click. The tree on the side shows where you are and opens the folders on the way to it; the path above the file links back to each folder. A file opens in a preview with its actions (Edit, Compare with template, Reset to template, Delete file, Suggest a change, depending on the file and your role).
Add your own files and skills
Owners and admins can add to the workspace from the dashboard:
- New skill (in the workspace folder,
.claude/or.claude/skills/): a name, when Claude should use it, and the steps. It is saved as.claude/skills/<name>/SKILL.mdwith the name and description as frontmatter, and listed ingovernance/skills.mdas "Added in the dashboard". - New context file (in the workspace folder or
context/): a title and the text, saved ascontext/<name>.md.
The name becomes the file name: lowercase words joined by hyphens, at most 64 characters
("Price list" becomes price-list). The same text rules as a direct edit apply: no keys or
passwords, no @ imports and no {{ or }}, at most 64 KB. A skill needs a description and stays
under 500 lines. An organization can add up to 100 files.
An added file is part of the workspace right away: Claude reads it over your agent link (a skill
is also a prompt of its own name), it is in the download, and adding it is a File added entry
in History and a line in governance/CHANGELOG.md. Edit it like any other file. Delete file
removes it (a File deleted entry keeps the old text in History). Template files can't be
deleted; reset them instead.
Owners and admins can also edit the skills that come with the template. A skill must keep its
frontmatter (name equal to its folder, and a description); Reset to template brings the
original back.
Edit a file directly
Owners and admins can change a file's text without going through a suggestion. On Files, open
the file and choose Edit: the whole file opens in a text editor, with a live line count (and
the 200-line limit for CLAUDE.md files). Add an optional one-line summary for History, then
Save file. Developers and viewers keep Suggest a change.
You can edit the same files as suggestions can (see Editable files), plus
every skill. Rules and settings under .claude/ and governance/CHANGELOG.md show no Edit.
The same safety rules apply to the whole file. A save is refused (422) when the text:
- adds an
@import, or the summary has one (workspace_file_adds_import); - adds a new
{{KEY}}placeholder or stray{{/}}(workspace_file_adds_placeholder). Placeholders already open in the file may stay or move; they are filled from the intake when you answer them; - contains something that looks like a key, token or password (
workspace_file_contains_secret); - makes
CLAUDE.mdlonger than 200 lines or the file larger than 64 KB (workspace_file_too_long).
The file must not be empty. Two warnings do not stop the save but are shown afterwards: an e-mail address the edit adds to a context or team file (keep personal data out of the workspace), and text that reads like instructions to the AI or links to a new host.
Each save checks the workspace revision you opened. If someone else saved in the meantime, nothing is overwritten: copy your text, reload and apply it again. Saving unchanged text does nothing. Saving the exact template text removes the customization, like Reset to template.
Every saved edit is a File edited entry in History (with the text before and after) and a line
in governance/CHANGELOG.md ending in "edited by" and your name. Pending suggestions on the file
stay; approving one whose text you changed fails as suggestion_stale.
For developers: setup and check-ins
The setup and check-in routes are for the dashboard only: they take a signed-in session (no API
keys, no SDK methods), check the request's Origin, answer with Cache-Control: no-store, and need
the ai_workspace:write permission (owners and admins). A non-member gets 404, a member without
the permission 403. While AI_ONBOARDING_ENABLED is off, every route below answers
404 not_found, except PUT /assistant.
All paths are under /api/v1/organizations/{organization_id}/ai_workspace.
| Method and path | Body | Response |
|---|---|---|
POST /onboarding | { website } (3 to 300 characters) or { description } (40 to 6,000) | 201 { session }, or a stream (below) |
GET /onboarding/{session_id} | 200 { session } | |
PATCH /onboarding/{session_id} | { values?, teams? } (values by key) | 200 { session }; null clears a value |
POST /onboarding/{session_id}/messages | { text } (1 to 2,000 characters) | 200 { session, reply }, or a stream |
POST /onboarding/{session_id}/apply | { revision, keys? } | 200 { session, workspace, customized_files } |
POST /onboarding/{session_id}/discard | 200 { session } | |
GET /checkins | query status (open, answered, dismissed, expired, all), limit (1 to 24, default 12) | 200 { data }, newest first |
POST /checkins | 201 { checkin }, or 200 with this period's existing one | |
GET /checkins/{checkin_id} | 200 { checkin } | |
POST /checkins/{checkin_id}/answers | { answers: [{ question_id, text, values, skipped }] } (1 to 3) | 200 { checkin } with its proposal |
POST /checkins/{checkin_id}/confirm | { revision, intake_keys, change_indexes } | 200 { checkin, workspace } |
POST /checkins/{checkin_id}/dismiss | 200 { checkin } | |
PUT /assistant | { checkin_cadence }: off, monthly or quarterly | 200, the workspace |
- Sessions.
statusisdrafting,ready,applied,failedordiscarded. Afailedsession haserror: { code, message }; a starting site or model problem is a201with afailedsession, not an error status. Adraftingsession that is stuck reads asfailedwithdraft_timeout. Each draft value hasorigin(website,description,chat,user,platform,checkin),confidence,source_url,flagsand thesavedvalue when it differs.draft.droppedlists left-out values with areason:adds_import,adds_placeholder,contains_secret,instruction_like,external_link,too_longorunknown_key.progressgivesfilled,totalandcore_missing;turns_leftstarts at 8;doneistruewhen Claude has no more questions. - Apply saves through the same path as
PUT /ai_workspace: it checksrevision, writes oneintake_updatedrevision with the changed keys, and runs every value through the intake checks again.keysdefaults to every draft value that differs from the saved one.customized_fileslists directly edited files that use an applied key and keep their own text. - Streams. Send
Accept: text/event-streamtoPOST /onboardingand.../messagesto get server-sent events. Start:session, thenprogress(step:robots,pageordrafting;status:working,done,skippedorfailed; pages addkindandurl), thendonewith the session, orerrorwith{ error: { code, message }, session_id }. Chat:delta({ text }, many), at most oneupdates({ values, teams, dropped }), thendoneorerror. A: pingcomment comes every 15 seconds. Errors found before the stream starts are normal JSON errors. If the browser goes away, the server finishes and stores the result; read it withGET. - Check-ins.
statusisopen,answered,dismissedorexpired;periodis2026-11or2026-Q4. Each question hasid(quarter_priorities,open_core_field,facts_review,offers_changed,tools_changedorteam_learnings),kind(value,confirmoropen), thekeys,filesandcurrentvalues it is about, andavailable: falsefor an open question while Claude is off. Answering again replaces the proposal. Confirm saves the chosenintake_keysas one revision (summaryCheck-in <period>) and turns the chosenchange_indexesinto pending suggestions with sourceCheck-in <period>. GET /ai_workspacenow includesassistant(enabled,can_use,budgetwithused_units,limit_unitsandresets_at,active_session_id,open_checkin,checkin_cadence,last_checkin_at,profile_source) andskills(name,description,pathof each skill). Every role gets them;budget,active_session_idandopen_checkinarenullunlesscan_useis true.
Error codes
| Code | Status | When |
|---|---|---|
website_invalid | 422 | Not a public website address (IP addresses, localhost, user names or odd ports) |
onboarding_in_progress | 409 | A draft is already being made. details.session_id names it |
onboarding_busy | 409 | Claude is still answering the last message of this session |
onboarding_not_ready | 409 | The session is not ready (still drafting, applied, failed, discarded or expired) |
onboarding_turn_limit | 422 | The session's 8 chat answers are used. Check the values and apply |
message_contains_secret | 422 | A chat message or check-in answer looks like a key, token or password. Nothing was sent |
intake_value_adds_import | 422 | A value adds an @ import (also on PUT /ai_workspace). details.key names it |
intake_value_contains_secret | 422 | An edited or applied draft value looks like a secret. details.key names it |
revision_conflict | 409 | The workspace changed since you loaded it |
workspace_file_exists | 409 | Adding a file whose path is already in the workspace |
workspace_skill_invalid | 422 | A skill without frontmatter, whose name is not its folder, with no description, or over 500 lines |
checkin_closed | 409 | The check-in is answered, dismissed or expired |
checkin_not_answered | 409 | Confirm before answering |
checkin_unavailable | 409 | POST /checkins can't start one. details.reason: cadence_off, intake_not_saved, intake_too_new or no_questions |
limit_reached | 409 | Confirm would go over the 500 pending suggestions |
rate_limited | 429 | ai_onboarding_start (5 per day) or ai_assist (200 per day) per organization |
ai_budget_exhausted | 429 | The monthly allowance is used. details.resets_at is the next month's start (UTC) |
model_refused, model_error, model_timeout, draft_invalid | 502 | Claude declined, failed, timed out or gave unusable output (chat and check-in answers in JSON mode) |
ai_busy | 503 | Too many Claude calls on this server right now. Retry-After: 10 |
A failed draft carries one of site_unreachable, site_robots_unavailable,
site_blocked_by_robots, site_not_html, site_too_little_text, model_refused,
model_error, model_timeout, draft_invalid or draft_timeout in session.error.code.
Allowance units
The allowance counts units, not money: input + 1.25 x cache writes + 0.1 x cache reads + 5 x output tokens per call. Before each call the platform reserves an estimate and refuses with
ai_budget_exhausted when the month would go over AI_ORG_MONTHLY_TOKEN_BUDGET (default
3,000,000); after the call it counts the real usage. Months are calendar months in UTC.
Audit
Setup writes ai_onboarding.started, .drafted, .failed, .applied and .discarded; check-ins
write ai_workspace.checkin_answered, .checkin_confirmed and .checkin_dismissed; the cadence
writes ai_workspace.assistant_updated; Claude access writes
ai_workspace.claude_access_updated (mode, previous). Applying also writes
ai_workspace.updated. Adding and deleting a file write ai_workspace.file_created and
ai_workspace.file_deleted (path and size, never the text). A suggestion from Claude writes ai_workspace_suggestion.submitted with
origin: "mcp", project_id, mcp_server_id and learning_kind, the member as the actor. Entries hold
ids, counts and key names, never values, page text, messages or Claude's output. See
Audit logs.
Who can do what
| Action | Owner | Admin | Developer | Viewer |
|---|---|---|---|---|
| View, preview files, history, download | yes | yes | yes | yes |
| Edit the intake and teams, reset files | yes | yes | no | no |
| Set up with Claude, answer check-ins | yes | yes | no | no |
| Choose how often check-ins come | yes | yes | no | no |
| Edit a file directly | yes | yes | no | no |
| Choose reviewers | yes | yes | no | no |
| Choose what Claude gets (Claude access) | yes | yes | no | no |
| Suggest and withdraw own suggestions | yes | yes | yes | yes |
| Approve or reject | yes | yes | reviewer | reviewer |
See Members and roles.

