---
title: "API sandbox"
description: "Create a key, then send a request. The response comes straight from the live API."
canonical: https://landtest.dev/sandbox
last-updated: 2026-10-30
---

# API sandbox

## Try it

Create a key, then send a request. The response comes straight from the live API.

`lt_sandbox_demo`

GET /api/v1

## Get a sandbox key

Use the shared key `lt_sandbox_demo`, or create your own with one unauthenticated request. Self-serve keys last 7 days and work on every endpoint.

```
curl -X POST https://landtest.dev/api/v1/keys \
  -H "Content-Type: application/json" -d '{"name": "my agent"}'
```

Agents can also get a sandbox token through `agent_auth`: register an anonymous identity at `/oauth/agent/identity` and exchange it at `/oauth/token`. See [auth.md](https://www.landtest.dev/auth.md).

## What is in it

- One project, `acme/site (sandbox)`, in review publish mode.
- Three tests: a running hero test with a significant winner (`01JSANDBOX0HER0TEST000001`), a paused pricing test, and a draft.
- Per-variant stats with conversion rate, lift, confidence, SRM and a verdict.
- Writes (create test, weights, goal, pause, resume) are validated and simulated. Variant generation returns `202` and a job that finishes in a few seconds.

```
curl https://landtest.dev/api/v1/tests/01JSANDBOX0HER0TEST000001/stats \
  -H "Authorization: Bearer lt_sandbox_demo"
```

## Moving to production

Sign up for the free plan at [/app/signup](https://www.landtest.dev/app/signup) and create a token yourself under Settings, then MCP. Swap the key; nothing else changes. Full reference: [Landtest API docs](https://www.landtest.dev/developers) and [OpenAPI](https://www.landtest.dev/openapi.json).
