# Semilattice - [Introduction](https://docs.semilattice.ai/introduction.md): See how your users will react to a plan, an ad, a page or a flow, in minutes. - [How Semilattice works](https://docs.semilattice.ai/how-it-works.md): The few things you work with: user models, your context, projects, rounds, simulations and the synthesis. - [Using the app](https://docs.semilattice.ai/app.md): Set up your context, start a project, and act on what comes back. - [User models](https://docs.semilattice.ai/user-models.md): What a user model is, which ones you can use, and how to get one of your own users. - [FAQ](https://docs.semilattice.ai/faq.md): Common questions about Semilattice and how it works. - [Introduction](https://docs.semilattice.ai/mcp/introduction.md): Let your own AI agent plan and run simulations, on the same projects as the app. - [Connect to Semilattice MCP](https://docs.semilattice.ai/mcp/connect.md): Learn how to connect your AI assistant, IDE, or agentic tooling to Semilattice MCP - [Tools](https://docs.semilattice.ai/mcp/tools.md): The tools Semilattice MCP gives your agent, grouped by what they're for. - [Claude skill](https://docs.semilattice.ai/mcp/skill.md): Instructions that tell Claude how to turn a document into simulations. - [Introduction](https://docs.semilattice.ai/api-reference/introduction.md): Plan and run simulations from your own code. - [List user models](https://docs.semilattice.ai/api-reference/user-models/list-user-models.md): List user models available to run simulations against, with accuracy and metadata. Use the ids as `user_model_ids`. owned_by_org is true for your organisation's own models and false for public ones. - [List a user model's attributes](https://docs.semilattice.ai/api-reference/user-models/list-a-user-models-attributes.md): List the attributes a user model's simulated users carry (age, location, income...) with every stored value and how many simulated users hold it. Values are fixed tokens such as `east_midlands`, so read them here before creating a segment. Only user models built with Anacreon can be segmented, and a… - [Create a segment](https://docs.semilattice.ai/api-reference/user-models/create-a-segment.md): Cut a segment out of a user model: the simulated users whose attributes match every filter. It joins your user models and runs like any other. A segment needs at least 100 simulated users; when the filters match fewer, the 400 says how many matched and nothing is created. It is shared with your orga… - [Edit a segment](https://docs.semilattice.ai/api-reference/user-models/edit-a-segment.md): Change a segment you created: its name, description or filters. Leave out what stays the same. New filters replace the old ones whole and still need at least 100 simulated users. Once a simulation has used the segment its filters are locked, so that simulation's results still describe the same peopl… - [Discover goals and inputs](https://docs.semilattice.ai/api-reference/simulation-schema/discover-goals-and-inputs.md): Return a mode's goal list when `goal` is omitted, or a single goal's input schema when `goal` is given. `mode` is `research` (User Research: questions answered on a scale) or `journey` (User Journey: simulated users go through a page or a flow). - [List simulations](https://docs.semilattice.ai/api-reference/simulations/list-simulations.md): List the caller's simulations, newest first. Optionally filter by status or by project_id (projects group related simulations). - [Create a simulation](https://docs.semilattice.ai/api-reference/simulations/create-a-simulation.md): Create a simulation from mode + goal + inputs + user_model_ids. - [Get a simulation](https://docs.semilattice.ai/api-reference/simulations/get-a-simulation.md): Fetch a simulation by id. Poll it while the simulation plans and runs: it returns progress while running, and the synthesis, a Markdown report and the results once completed. - [Delete a simulation](https://docs.semilattice.ai/api-reference/simulations/delete-a-simulation.md): Delete a simulation you own, with its plan and results. This cannot be undone and discards a run the user paid for, so only call it on the user's explicit yes for this simulation. Refused with 409 while it is planning or running. - [Move a simulation into a project](https://docs.semilattice.ai/api-reference/simulations/move-a-simulation-into-a-project.md): Move a simulation into a project. Allowed only when the simulation has no project yet; it joins the project's latest round (a first round is created for an empty project). Anything else returns 409. - [Edit the plan](https://docs.semilattice.ai/api-reference/simulations/edit-the-plan.md): Edit the generated plan while the simulation is in status `planned`. - [Run a simulation](https://docs.semilattice.ai/api-reference/simulations/run-a-simulation.md): Run a `planned` simulation. It moves to `running` and runs in the background, taking from a few minutes to around half an hour. Poll `GET /v1/simulations/{id}` until it is `completed` or `failed`. - [Make a simulation public](https://docs.semilattice.ai/api-reference/simulations/make-a-simulation-public.md): Make a simulation publicly viewable and return its shareable URL. - [List projects](https://docs.semilattice.ai/api-reference/projects/list-projects.md): List projects visible to the caller, most recently active first. - [Create a project](https://docs.semilattice.ai/api-reference/projects/create-a-project.md): Create a project. Create one first when you plan to run several related simulations, then pass its id as project_id when creating simulations. Its simulations plan against context_id, or your default context if none is given. - [Get a project](https://docs.semilattice.ai/api-reference/projects/get-a-project.md): Fetch a project with its rounds. Each round carries what it is testing (artefact_name, artefact_type), its simulations, and its synthesis with synthesis_status ("generating", "completed" or "failed"), synthesis_error, and synthesis_stale: true when completed simulations in the round are not yet cove… - [Rename a project](https://docs.semilattice.ai/api-reference/projects/rename-a-project.md): Rename a project you own. - [Start a round](https://docs.semilattice.ai/api-reference/rounds/start-a-round.md): Start a new round, optionally titled. Refused while the latest round has no simulations: use that one instead. - [Rename a round](https://docs.semilattice.ai/api-reference/rounds/rename-a-round.md): Set a round's title. A title you set is kept; the automatic one only names rounds that have none. - [Attach a round's artefact](https://docs.semilattice.ai/api-reference/rounds/attach-a-rounds-artefact.md): Attach what this round is testing, as pasted text (name + text) or a URL. It replaces any artefact the round already has. Attaching only stores it: nothing is planned from it. - [Upload a round's artefact](https://docs.semilattice.ai/api-reference/rounds/upload-a-rounds-artefact.md): Attach a document as what this round is testing. It replaces any artefact the round already has. Attaching only stores it: nothing is planned from it. - [Regenerate a round's synthesis](https://docs.semilattice.ai/api-reference/rounds/regenerate-a-rounds-synthesis.md): Rewrite the round's synthesis from every completed simulation in it. It runs in the background: poll the project until synthesis_status is no longer "generating". This replaces the synthesis entirely, including any edits made to it in the web app. - [Get your default context](https://docs.semilattice.ai/api-reference/context/get-your-default-context.md): Return the context new work is planned against when none is chosen: your most recently updated one, else your organisation's. Returns {has_context: false} when there is none at all. - [List contexts](https://docs.semilattice.ai/api-reference/context/list-contexts.md): List the written contexts you can plan against, yours and your organisation's, most recently updated first. Pass an id as context_id when creating a project or simulation to plan against it. - [Create a context](https://docs.semilattice.ai/api-reference/context/create-a-context.md): Create a context from a name and its text. It is attached to every simulation planned against it, so simulation inputs need not repeat it. - [Get a context](https://docs.semilattice.ai/api-reference/context/get-a-context.md): Fetch one context with its full text. - [Trust & measurement](https://docs.semilattice.ai/measurement.md): How Semilattice measures prediction quality, and how to judge when to trust it. - [Security](https://docs.semilattice.ai/security.md): How Semilattice protects your data and infrastructure. - [Privacy](https://docs.semilattice.ai/privacy.md): How Semilattice handles personal data, consent, and compliance. - [Changelog](https://docs.semilattice.ai/changelog.md): What moved, what shipped, what we're thinking about. ## OpenAPI Specs - [openapi](https://api.semilattice.ai/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.