Private beta
Use Stratic as the CMS for a site
The admin is where you write. Your site only needs the public read API. Writes stay in the dashboard.
1. Create the project and the type
Sign up with email and password, then log in. Create a project. The project slug is the first segment of the public URL, so pick the one you want in the request.
Add a content type, for example posts. Fields can be short text, long text, number, integer, boolean, enum, date and time, or a relation. Add a text field named slug if you want one URL per item.
2. Turn on public read
New content types are private. Open the type, then Permissions, and enable both public toggles: Find (List items) and Find One (View single item). Save.
Create an item and set its status to published. Drafts are not returned by the public API.
3. Fetch it from the site
Replace my-site and posts with your project slug and content type slug. No Authorization header.
curl https://api.stratic.dev/public/my-site/posts curl https://api.stratic.dev/public/my-site/posts/hello-world
The single-item URL matches either the item id or the slug value stored on the item.
A list looks like this:
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"attributes": {
"title": "Hello",
"slug": "hello-world",
"publishedAt": "2026-10-30T12:00:00.000Z"
}
}
],
"meta": {
"pagination": { "page": 1, "pageSize": 25, "pageCount": 1, "total": 1 }
}
}Filter, sort, and page
Filters read the JSON on the item. These operators work: $eq, $ne, $in, $contains, $startsWith, $endsWith, $lt, $lte, $gt, $gte. Comparisons on your own fields use the text of the JSON value. publishedAt, createdAt, and updatedAt sort and filter as real timestamps.
curl "https://api.stratic.dev/public/my-site/posts?filters[title][$contains]=hello&sort=publishedAt:desc&pagination[page]=1&pagination[pageSize]=10"
fields[0]=title&fields[1]=slug limits the attributes in the response. The id and timestamps stay.
Files
Upload in the project media library. The file is served from https://assets.stratic.dev/ followed by the object key the admin shows you. Store that URL on the content item. There is no image transform service.
What the public API will not do
It does not create or edit content. It does not accept a GraphQL query. A missing project comes back as JSON with status 404. If the type is still private, the status is 403.