VibeView exposes a REST API for managing simulator sessions, apps, tests, organizations, and AI-powered test execution. All endpoints are served under the /api/v1/ prefix.
Base URL: https://<your-vibeview-host>/api/v1
Authentication
All endpoints (except registration, login, and the email-verification and password-reset endpoints) require a valid Bearer token in the Authorization header.
Authorization: Bearer <token>
Tokens are obtained via the login or registration endpoints. You can also create long-lived API tokens in your organization settings (see API tokens).
Resources
Each resource has its own page:
- Auth — register, log in, verify email, reset passwords
- Organizations — team members, API tokens, audit events, session defaults
- Apps — upload, list and delete app builds
- Sessions — create, control and stop simulator sessions, install apps
- Devices — list the device groups a session can request
- Tests — tests, groups (suites), runs and results
- AI — models, provider keys, AI test runs and usage
- Credits and usage — balance, top-ups, AI and streaming usage
- CI — trigger runs from a pipeline and poll their status
Error Responses
Error responses carry a detail field. For most errors it is a human-readable message:
{
"detail": "Human-readable error message"
}
A 422 validation error is the exception: its detail is an array with one entry per invalid field. (Two 422s are plain messages instead: an unknown model or os_version when starting a session, which also has a valid list described below, and a request whose URL or body holds a character that cannot be stored — a NUL character, a broken Unicode character, or a JSON body that is not UTF-8.) Each entry names the field’s location in loc (for example ["query", "limit"] or ["body", "device_type"]), explains the problem in msg, and gives a machine-readable type:
{
"detail": [
{
"type": "less_than_equal",
"loc": ["query", "limit"],
"msg": "Input should be less than or equal to 200",
"input": "500",
"ctx": { "le": 200 }
}
]
}
Handle both shapes: check whether detail is a string or an array before showing it.
A JSON body nested more than 64 levels deep (each object or array adds a level; the body itself is the first) is refused with 400 and the message “The request body is nested too deeply.”
When an ID or name you sent can’t be used, the message also names what you can use instead, and the response adds a valid array with the same choices. This happens for an unknown build, app, test, group, tag, device model, OS version or agent tool, for a build of another of your apps (403), and for a build that can’t run on the session’s device (400):
{
"detail": "Build not found: no build 812 in this organization. Newest builds of Shop (shop-a1b2): 815 (1.2.0 build 34, iOS debug, 2 h ago). See all with `vibeview list-builds shop-a1b2`.",
"valid": [
{ "type": "build", "id": 815, "app_id": "shop-a1b2", "platform": "ios", "kind": "debug",
"version": "1.2.0", "build_number": "34", "uploaded_at": "2026-10-29T08:12:00Z" }
]
}
Each entry has a type and an id to pass instead; other fields depend on the type. What each list holds:
type | Order | How many |
|---|---|---|
build | Newest upload first | 5 |
app | Newest first | 5 |
test, group | Most recently edited first | 5 |
tag (tags on your groups, for the deprecated run-suites --tag) | Alphabetical | 10 |
device_model (a model and OS a run can pick; also has model and os_version) | Alphabetical | 10 |
model, os_version, tool | Alphabetical | All of them |
When a list is cut short, the message says how many more there are and how to see them all. The choices only ever come from your own organization (device models and OS versions are the ones VibeView offers), and an ID that belongs to another organization gets the same answer as one that doesn’t exist.
Common HTTP status codes:
| Code | Meaning |
|---|---|
| 400 | Bad request (invalid input, missing fields) |
| 401 | Unauthorized (missing or invalid token) |
| 403 | Forbidden (insufficient role) |
| 404 | Resource not found |
| 409 | Conflict (duplicate resource) |
| 422 | Validation error: a parameter or body field has the wrong type or an unknown value, or is out of range. detail is an array (see above), except for an unknown session model or os_version and for a character that cannot be stored. |
| 429 | Too many requests (see Rate Limits) |
| 502 | AI model error (upstream provider failure) |
Rate Limits
API token usage is tracked per organization. Requests are rate-limited per client:
- Most endpoints: 100 requests/minute.
- App uploads and AI test runs (
POST /api/v1/ai/test/run): 10 requests/minute. - Auth endpoints (register, login, change-password): 5 requests/minute.
Exceeding a limit returns 429 Too Many Requests with a Retry-After header: the number of seconds until the limit lets the next request through. Wait at least that long before sending the request again. AI test execution is additionally subject to upstream LLM provider rate limits.
Webhook Events
VibeView emits webhook events for tests, visual regressions, warnings, platform actions, and billing. Subscribe an endpoint to specific events under Settings → Integrations, or via the API:
GET /api/v1/integrations/events/catalog— list every event type the system emits.GET/PUT /api/v1/integrations/webhooks/{id}/subscriptions— read or replace the event-type set for a webhook.POST /api/v1/integrations/webhooks/{id}/regenerate-secret— rotate the HMAC signing secret. The plaintext is returned once.GET /api/v1/integrations/webhooks/{id}/deliveries— last 30 days of delivery attempts, with payload and response status code (response bodies are not stored).POST /api/v1/integrations/webhooks/{id}/deliveries/{delivery_id}/redeliver— redeliver a specific past event.
See Webhooks and Slack for the full event catalog, payload schemas for every event, and signing-verification snippets in Node.js, Python, and Go.