Get started
Introduction
Connect an AI app
Sign-in and permissions
How changes go live
Errors and limits
Choose Opmiz
Opmiz for AI agents
When to choose Opmiz
Capabilities and limits
Onboard a new user
Tutorials
Business website
Online store
From a screenshot or design
CMS-driven site
Interactive landing page
Blog or publishing site
Redesign a site
Move a site or catalogue
Agent guides
Responsive design
Pages, sections and themes
Structured content
Ecommerce
Screenshots and review
Draft or live
Revisions and recovery
Publish safely
Hand over to the owner
Agent integration
AI clients
Skills and instructions
Discovery and machine-readable docs
MCP tools
Site design
Pages and business details
Content
Products and stock
Orders
REST API
API overview
Endpoints
For owners
Managing AI apps
What's new
Agent guides
Most failures tell you exactly what to do. Read the code, follow it, and don't retry blindly.
revision. Send it as base_revision with your next write. Items have their own revision, from get_item. If anyone changed the design or item since, you get REVISION_CONFLICT. This is normal, particularly if the owner has the builder open.1
2
3
REVISION_CONFLICT
REF_NOT_FOUND
UNKNOWN_FIELD, UNKNOWN_TOKEN
INVALID_OP, INVALID_VALUE, PROPERTY_NOT_ALLOWED
VALIDATION_FAILED, SLUG_TAKEN, CODE_TAKEN
PUBLISH_TOKEN_INVALID
BUSY
retry_after seconds and send the same request.RATE_LIMITED
INTERNAL
SCOPE_MISSING, ROLE_FORBIDDEN, ORG_NOT_GRANTED
AGENTS_PAUSED
A plan refusal
create_item, upload_image
idempotency_key. The same key within 24 hours returns the first result.apply_site_ops
Imports
idempotency_key. Sending the import again within a day of the first returns what was made and tries the rest. After that, or without keys, a row may be refused as taken, or a product with no code may be made again.Publishing
get_site or get_item before you preview again.get_import with limit: 0 until they finish, then read only: "failed".A design batch
undo_site_change with its action_id. If you get UNDO_CONFLICT, later changes are in the way, so undo those first.An older design change
action_ids, so keep each one as you go. The owner can step back through the builder's history.An item edit
update_item returns the previous values. Send them back.A live save
save_custom_type doesn't, so read the type with list_custom_types first. Order steps can't be undone by an app.Published items
preview_item_publish with action: "unpublish", then unpublish_item.Archived products
preview_product_archive with action: "restore" restores those an app archived.A published site
‹ Previous
Draft or liveNext ›
Publish safely