Create with AI
Create with AI generates a complete starting schema for a new API from a plain-language description — collections, properties, data types, and the relationships between them.
AI schema generation is part of the API creation flow — it's there to get you started. Once your API is created, it no longer appears in the portal; you evolve the schema with the Schema Editor (Collections, Views, Queries) or the JSON Definition.
Generating a Schema
- From your tenant's APIs page, click Create with AI
- Describe your API in plain language:
A blog with posts, comments, and authors.
Each post has one author and many comments.
Posts have title, content, publishedDate, and isPublished.
- Review the generated draft — the API name, description, and every collection with its properties
- Refine it by continuing the conversation
- Click Create to publish the schema as your new API
What It Generates
- Collections with typed properties (string, text, integer, decimal, boolean, date, date-time, guid, object, blob)
- Relationships — lookup properties referencing other collections, including the built-in
user,role, anduserRolecollections (e.g. a post'sauthorreferencinguser) - File attachments — images, documents and other uploads modeled as
blobproperties
Every collection automatically gets an id — you never define one yourself.
Refining Before You Create
Keep the conversation going until the draft matches what you need:
Add a categories collection and link it to posts.
Make email required and unique on authors.
Small, incremental instructions give the best results.
After Creation
From here on, all schema changes happen in the portal:
- Schema Editor — collections, properties, views, and queries
- JSON Definition — edit the schema as JSON
- Data Explorer — browse and edit your data
Limitations
Create with AI generates collections, properties, and lookup relationships. It does not configure:
- Access control rules
- Views or queries
- Functions
- Advanced validation
Set those up in the portal after your API is created.