Getting started
Quickstart
Five steps from a new account to a simulation that changes while you watch. Everything here can also be done in the dashboard.
1. Choose a plan and create an account key
Sign up, pick a plan on the pricing page and pay. Then open Settings, API keys, and create an account key. It starts with slurry_acct_live_ and is shown once. Every plan includes the API, the MCP server and a monthly AI allowance for designing simulations.
export SLURRY_ACCOUNT_KEY="slurry_acct_live_..."2. Create a simulation
Start from a library entry (library) or send your own OpenAPI 3 or Swagger 2 document as text (spec). instructions steers the generated data; volume is small, medium, large or a per-collection map.
curl -X POST https://api.slurry.io/v1/simulations \
-H "Authorization: Bearer $SLURRY_ACCOUNT_KEY" \
-H "Content-Type: application/json" \
-d '{
"library": "asana",
"name": "Acme projects",
"slug": "acme-projects",
"volume": "medium",
"instructions": "A 40-person design agency with three active client projects"
}'{
"id": "4f0c2a8e-6b1d-4c1e-9a53-0d2b7c9e1f42",
"slug": "acme-projects",
"url": "https://<acme-projects>.slurry.io",
"status": "queued",
"apiKey": "slurry_sim_live_...",
"note": "Store the apiKey now: it is shown once. ..."
}GET /v1/simulations/acme-projects until status is running. If it ends up failed, statusDetail says why. Designing a world from your own spec uses your AI allowance; library entries are analysed in advance.3. Call it
Send the simulation key as a bearer token or in X-API-Key. Requests are only accepted from the IP address you created the simulation from, until you add more. Not sure which address Slurry sees? Run curl https://api.slurry.io/ip from the machine that will make the calls.
curl https://<acme-projects>.slurry.io/tasks?limit=5 \
-H "Authorization: Bearer $SLURRY_SIM_KEY"Paths are the ones in the spec. Create, update and delete work, and the changes persist: that is the point.
4. Add a webhook
Changes made by your requests and by the behaviour plan emit events. Point them at a public https endpoint; the response includes a signing secret.
curl -X POST https://api.slurry.io/v1/simulations/acme-projects/webhooks \
-H "Authorization: Bearer $SLURRY_ACCOUNT_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://example.com/hooks/slurry", "events": ["task.*"] }'5. Fast-forward
Move the world forward - up to 720 hours in one call. Each behaviour rule catches up (up to 200 steps per rule), and the changes fire webhooks.
curl -X POST https://api.slurry.io/v1/simulations/acme-projects/fast-forward \
-H "Authorization: Bearer $SLURRY_ACCOUNT_KEY" \
-H "Content-Type: application/json" \
-d '{ "hours": 72 }'
# {"hours":72,"changes":138}Made a mess? POST /v1/simulations/acme-projects/reset puts the records back to the original seed (rules and behaviour are kept). For one clean copy per test run, use a fork.