Send to a build's own app while it is being made - a form, a sign-in or a call to its API
What you can call today
Every example here runs against api.xovris.ai with a key from your account’s settings. GET /v1/health and GET /v1/public/status answer without one.
const url = 'https://api.xovris.ai/v1/code/previews/example/example';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.xovris.ai/v1/code/previews/example/example \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "password": "example" }'Open to anyone, so no Idempotency-Key is kept: nobody is signed in to keep it for, and replaying one caller’s answer to another would hand it over.
No token needed: anyone may call this.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Body
Section titled “Request Body”- A new account on the app - {path} ending __xovris/api/auth/signup
- A sign-in to the app - {path} ending __xovris/api/auth/signin
- A sign-out of the app - {path} ending __xovris/api/auth/signout
- A new row in one of the app's tables - {path} ending __xovris/api/data/{table}
- A change to a row its caller added - {path} ending __xovris/api/data/{table}/{id}
- A file the app keeps - {path} ending __xovris/api/files
- A Stripe Checkout for one of the app's products - {path} ending __xovris/api/pay/checkout
- Stripe's own event about a payment - {path} ending __xovris/api/pay/webhook
- A real charge in Stripe's test mode (the preview only) - {path} ending __xovris/api/pay/test-charge
- A question to the app's AI - {path} ending __xovris/api/ai
- A conversation with the app's assistant - {path} ending __xovris/api/chat
- The app's MCP server (JSON-RPC 2.0) - {path} ending __xovris/api/mcp
- An assistant registering itself to sign a person in (OAuth dynamic client registration) - {path} ending __xovris/api/oauth/register
- One page view, from the page's own beacon (no cookie) - {path} ending __xovris/api/hit
object
Kept only as a salted hash.
object
No body: the session ended is the one in the Authorization header (Bearer xas_…).
object
The row’s fields, as the app’s xovris.app.json declares that table’s fields (GET __xovris/api/manifest lists each table with its fields); a field the table does not declare, or a value of the wrong type, is refused with the reason.
object
The fields to change, as the table declares them; the fields not sent keep their values. Only the person who added the row changes it.
object
object
The file’s contents.
Its media type, such as image/png; application/octet-stream when not said.
object
A product id the manifest lists.
The page to come back to after paying.
Sent by Stripe and believed only with a Stripe-Signature header made with this app’s STRIPE_WEBHOOK_SECRET.
object
Checkout.session.completed and checkout.session.async_payment_succeeded are recorded.
object
object
object
A product id the manifest lists; its first product when not said.
object
object
The conversation so far, the newest last.
object
object
Initialize, tools/list, tools/call or a notification.
object
A tool tools/list named.
object
object
Each an https address, or http on the person’s own computer
object
The page’s path and query.
The page that linked here, when the browser says.
object
object
object
The page’s path and query.
The page that linked here, when the browser says.
Responses
Section titled “Responses”A file of the build’s site in its own media type - a page, a script, a style, a picture or a font - or its app’s own answer.
object
Example generated
{}object
Example generated
{}Done: something new was made, and the answer is it.
object
Example generated
{}Started: the answer says where to follow it.
object
Example generated
{}Not part of this site, or a page sent to rather than read - said in plain words; an app’s own path says it as JSON with what to do next.
object
Example generated
{}Not part of this site, or a page sent to rather than read - said in plain words; an app’s own path says it as JSON with what to do next.
object
Example generated
{}default
Section titled “default”Not part of this site, or a page sent to rather than read - said in plain words; an app’s own path says it as JSON with what to do next.
object
Example generated
{}Your data is never used to train our AI. How your data is kept
A problem is called fixed only once it works again. How each fix is checked
XOVRIS LTD, registered in England and Wales, company number 17499910. Registered office: 66 Paul Street, London EC2A 4NA.