Skip to content

Creating Collections

Via the admin panel

  1. Open your project and go to Settings → Collections
  2. Click + New Collection
  3. Fill in the details:
FieldDescription
NameDisplay name (e.g. Posts)
SlugAPI identifier, auto-generated from name (e.g. posts)
DescriptionOptional, shown in the admin sidebar
SingletonToggle on if this collection should have exactly one entry
  1. Click Create — your collection is created and the API endpoints are live immediately

Via AI Studio

Describe what you need in plain language and the AI generates the full schema:

/schema Create a blog with Posts (title, slug, richtext body, featured image, author relation to end_users, published_at date), and a Categories collection (name, slug, description)

Click Apply Schema to create all collections and fields at once.

After creation

Your collection immediately has these REST endpoints:

GET /api/{projectId}/posts # list entries
GET /api/{projectId}/posts/{uuid} # get one entry
POST /api/{projectId}/posts # create
PATCH /api/{projectId}/posts/{uuid} # update
DELETE /api/{projectId}/posts/{uuid} # delete

Next, add fields to define what data each entry stores.