mcp
v2026.11.12Moteur for AI agents: an MCP server with a tool for everything the Moteur API can do
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
auth_whoami Who you are signed in as, and where
Who you are signed in as, and where Calls GET /auth/me.
auth_providers The sign-in options the server offers
The sign-in options the server offers Calls GET /auth/providers.
status The default project, the API, and the models in it
The default project, the API, and the models in it
projects_list Your projects
Your projects Calls GET /projects.
projects_get Show a project and its settings
Show a project and its settings Calls GET /projects/{project}.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
projects_describe A project’s shape in one answer: languages, how content goes live, your roles, every model’s fields
A project’s shape in one answer: languages, how content goes live, your roles, every model’s fields Start here before reading or writing content: each field in a line (type, per language, required, choices).
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
projects_create Create a project (JSON, or an id and a label)
Create a project (JSON, or an id and a label) Calls POST /projects.
| Parameter | Type | Description |
|---|---|---|
blueprint | string | Start from this project blueprint |
body | object | The JSON body (other arguments are laid over it) |
id | string | Its id (letters, digits, -) |
label | string | Its name |
language | string | Default language (fr, en…) |
languages | array | Other languages |
projects_add_blueprint Add a blueprint’s content to an empty project (one made without it)
Add a blueprint’s content to an empty project (one made without it) Calls POST /projects/{project}/blueprint.
| Parameter | Type | Description |
|---|---|---|
blueprint * | string | A project blueprint (moteur blueprints list project) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
projects_update Change a project’s settings (JSON with the fields to change, or a new label)
Change a project’s settings (JSON with the fields to change, or a new label) Calls PATCH /projects/{project}.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
label | string | New name |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
projects_move Move a project to another workspace (a handover)
Move a project to another workspace (a handover) Owners and admins of its workspace, to a workspace where they may start projects. People added to it one by one stay; the old team leaves, the new one comes in. Calls POST /projects/{project}/move.
| Parameter | Type | Description |
|---|---|---|
workspace * | string | The workspace it goes to (ws_…) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
projects_usage This month’s use: entries, storage, requests, AI
This month’s use: entries, storage, requests, AI Calls GET /projects/{project}/usage.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
projects_limits What the project’s plan allows
What the project’s plan allows Calls GET /projects/{project}/limits.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
entries_list List a model’s entries: search, filter, sort, page
List a model’s entries: search, filter, sort, page
| Parameter | Type | Description |
|---|---|---|
model * | string | Model id |
facets | array | Count matching entries per value of these keys |
fields | array | Only these data fields |
filter | array | field=value (repeat for more; several values of one field match any) |
group | string | Group rows by this key |
limit | number | How many to return (0: only the total) (default 50) |
missing | string | Entries missing languages in a field: title:fr,en |
offset | number | How many to skip |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
q | string | Words to find in the id and short text fields |
sort | string | updatedAt, createdAt, publishedAt, id or data.<field>; - for descending (default -updatedAt) |
sort-locale | string | Language for a data.<field> sort |
status | array | Only these states: draft, in_review, published, unpublished, edits |
entries_get Show one entry
Show one entry Calls GET /projects/{project}/models/{model}/entries/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
model * | string | Model id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
entries_create Create an entry from its JSON ({ id, data, … }) and/or fields to set
Create an entry from its JSON ({ id, data, … }) and/or fields to set
| Parameter | Type | Description |
|---|---|---|
model * | string | Model id |
body | object | The JSON body (other arguments are laid over it) |
id | string | The new entry’s id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
set | array | A field to set: field=value (title.en=Hello, readingTime=5); repeat for more |
status | string | draft (default) or published |
entries_update Change fields of an entry: fields to set (title.en=…), or JSON { data: {…} }
Change fields of an entry: fields to set (title.en=…), or JSON { data: {…} }
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
model * | string | Model id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
set | array | A field to set: field=value (title.en=Hello, readingTime=5); repeat for more |
entries_publish Publish an entry: what is saved now goes live
Publish an entry: what is saved now goes live Calls POST /projects/{project}/models/{model}/entries/{id}/publish.
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
model * | string | Model id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
entries_status Set an entry’s state (draft, in_review, published, unpublished)
Set an entry’s state (draft, in_review, published, unpublished) Calls PATCH /projects/{project}/models/{model}/entries/{id}/status.
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
model * | string | Model id |
to * | string | The new state |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
entries_review Ask for a review of an entry
Ask for a review of an entry Calls POST /projects/{project}/models/{model}/entries/{id}/submit-review.
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
model * | string | Model id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
reviewer | string | Someone in particular (user id) |
entries_history The saved versions of an entry, newest first
The saved versions of an entry, newest first Calls GET /projects/{project}/models/{model}/entries/{id}/revisions.
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
model * | string | Model id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
entries_version An entry as one saved version had it
An entry as one saved version had it Calls GET /projects/{project}/models/{model}/entries/{id}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
model * | string | Model id |
revision * | string | Revision id (from history) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
models_list List the models
List the models Calls GET /projects/{project}/models.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
models_get Show one model
Show one model Calls GET /projects/{project}/models/{model}.
| Parameter | Type | Description |
|---|---|---|
model * | string | model id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
models_create Create a model from its JSON
Create a model from its JSON Calls POST /projects/{project}/models.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
models_update Change part of a model (JSON with the fields to change)
Change part of a model (JSON with the fields to change) Calls PATCH /projects/{project}/models/{model}.
| Parameter | Type | Description |
|---|---|---|
model * | string | model id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
models_history The saved versions of a model, newest first
The saved versions of a model, newest first Calls GET /projects/{project}/models/{model}/revisions.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
models_version A model as one saved version had it
A model as one saved version had it Calls GET /projects/{project}/models/{model}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model id |
revision * | string | Revision id (from history) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
reviews_list Reviews: waiting, approved, sent back
Reviews: waiting, approved, sent back Calls GET /projects/{project}/reviews.
| Parameter | Type | Description |
|---|---|---|
entry | string | Only this entry |
model | string | Only this model’s entries |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
status | string | Only these |
reviews_get Show one review
Show one review Calls GET /projects/{project}/reviews/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Review id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
reviews_approve Approve a review: the entry is published
Approve a review: the entry is published Calls POST /projects/{project}/reviews/{id}/approve.
| Parameter | Type | Description |
|---|---|---|
id * | string | Review id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
reviews_reject Send it back with a note for the asker
Send it back with a note for the asker Calls POST /projects/{project}/reviews/{id}/reject.
| Parameter | Type | Description |
|---|---|---|
id * | string | Review id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
reason | string | What should change (becomes a note on the entry) |
schedules_list Publishing and unpublishing to come (and past)
Publishing and unpublishing to come (and past) Calls GET /projects/{project}/schedules.
| Parameter | Type | Description |
|---|---|---|
action | string | Only publish or unpublish |
kind | string | Only entries or pages |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
resource | string | Only this entry or page id |
status | string | pending, processing, done, failed or cancelled (comma for several) |
schedules_get Show one schedule
Show one schedule Calls GET /projects/{project}/schedules/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Schedule id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
schedules_create Publish or unpublish an entry or a page at a given time
Publish or unpublish an entry or a page at a given time Calls POST /projects/{project}/schedules.
| Parameter | Type | Description |
|---|---|---|
action * | string | publish or unpublish |
at * | string | When: an ISO date and time (2026-11-13T09:00:00-05:00) |
id * | string | Entry or page id |
kind | string | entry or page (default entry) |
model | string | The entry’s model (for entries) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
schedules_cancel Cancel a schedule that hasn’t run
Cancel a schedule that hasn’t run Calls POST /projects/{project}/schedules/{id}/cancel.
| Parameter | Type | Description |
|---|---|---|
id * | string | Schedule id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
comments_list Notes on an entry or a page
Notes on an entry or a page
| Parameter | Type | Description |
|---|---|---|
on * | string | What it’s about: model/entry (article/glace), or a page id with --kind page |
field | string | A field of it (title, body.0) |
kind | string | entry (default) or page (default entry) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
resolved | boolean | Include the ones marked done |
comments_add Leave a note on an entry, a page, or one of their fields
Leave a note on an entry, a page, or one of their fields
| Parameter | Type | Description |
|---|---|---|
on * | string | What it’s about: model/entry (article/glace), or a page id with --kind page |
text * | string | The note |
field | string | A field of it (title, body.0) |
kind | string | entry (default) or page (default entry) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
reply-to | string | Answer this note (id) |
comments_edit Change a note’s text
Change a note’s text Calls PATCH /projects/{project}/comments/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Note id |
text * | string | The new text |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
comments_resolve Mark a note done
Mark a note done Calls POST /projects/{project}/comments/{id}/resolve.
| Parameter | Type | Description |
|---|---|---|
id * | string | Note id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
notifications_list Your notifications (unread first)
Your notifications (unread first)
| Parameter | Type | Description |
|---|---|---|
all | boolean | Read ones too |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
notifications_read Mark one read
Mark one read Calls POST /projects/{project}/notifications/{id}/read.
| Parameter | Type | Description |
|---|---|---|
id * | string | Notification id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
notifications_read_all Mark them all read
Mark them all read Calls POST /projects/{project}/notifications/read-all.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
activity_list What happened in a project, newest first
What happened in a project, newest first Calls GET /projects/{project}/activity.
| Parameter | Type | Description |
|---|---|---|
before | string | Older than this time (ISO), for the next page |
limit | number | How many (max 200) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
activity_of What happened to one thing: an entry (entry article__glace), a page, a model…
What happened to one thing: an entry (entry article__glace), a page, a model… Calls GET /projects/{project}/activity/{kind}/{what}.
| Parameter | Type | Description |
|---|---|---|
kind * | string | entry, page, model, asset… |
what * | string | Its id (entries: model__entry) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_list List the pages
List the pages Calls GET /projects/{project}/pages.
| Parameter | Type | Description |
|---|---|---|
parent | string | Only children of this page |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
status | string | draft, published… |
template | string | Only pages of this template |
type | string | Page type |
pages_get Show one page
Show one page Calls GET /projects/{project}/pages/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | page id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_create Create a page from its JSON
Create a page from its JSON Calls POST /projects/{project}/pages.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_update Change part of a page (JSON with the fields to change)
Change part of a page (JSON with the fields to change) Calls PATCH /projects/{project}/pages/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | page id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_by_slug Find a page by its slug
Find a page by its slug Calls GET /projects/{project}/pages/by-slug/{slug}.
| Parameter | Type | Description |
|---|---|---|
slug * | string | The slug |
locale | string | In this language (e.g. fr) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_referrers What links to a page: entries and other pages (check before deleting it)
What links to a page: entries and other pages (check before deleting it) Calls GET /projects/{project}/pages/{id}/referrers.
| Parameter | Type | Description |
|---|---|---|
id * | string | Page id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_status Set a page’s state (draft, published…)
Set a page’s state (draft, published…) Calls PATCH /projects/{project}/pages/{id}/status.
| Parameter | Type | Description |
|---|---|---|
id * | string | Page id |
to * | string | The new state |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_review Ask for a review of a page
Ask for a review of a page Calls POST /projects/{project}/pages/{id}/submit-review.
| Parameter | Type | Description |
|---|---|---|
id * | string | Page id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_reorder Move pages in the tree (JSON: [{ id, parentId, order }…])
Move pages in the tree (JSON: [{ id, parentId, order }…]) Calls POST /projects/{project}/pages/reorder.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_validate Check a page for problems
Check a page for problems Calls POST /projects/{project}/pages/{id}/validate.
| Parameter | Type | Description |
|---|---|---|
id * | string | Page id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_validate_all Check every page
Check every page Calls POST /projects/{project}/pages/validate-all.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_history The saved versions of a page, newest first
The saved versions of a page, newest first Calls GET /projects/{project}/pages/{id}/revisions.
| Parameter | Type | Description |
|---|---|---|
id * | string | Page id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
pages_version A page as one saved version had it
A page as one saved version had it Calls GET /projects/{project}/pages/{id}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Page id |
revision * | string | Revision id (from history) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site_urls Every published address of the site, in every language
Every published address of the site, in every language Calls GET /projects/{project}/urls.
| Parameter | Type | Description |
|---|---|---|
locale | string | In this language (e.g. fr) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site_sitemap The sitemap, as XML (default) or JSON
The sitemap, as XML (default) or JSON
| Parameter | Type | Description |
|---|---|---|
format | string | Format (default xml) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site_breadcrumb The trail to a page (and an entry shown on it)
The trail to a page (and an entry shown on it) Calls GET /projects/{project}/breadcrumb.
| Parameter | Type | Description |
|---|---|---|
page * | string | Page id |
entry | string | Entry id shown on the page |
locale | string | In this language (e.g. fr) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site_resolve What lives at an address: a page or entry (and its language), or a redirect
What lives at an address: a page or entry (and its language), or a redirect Calls GET /projects/{project}/resolve.
| Parameter | Type | Description |
|---|---|---|
path * | string | The address, e.g. /fr/a-propos |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site_redirects Old addresses and where they go
Old addresses and where they go Calls GET /projects/{project}/redirects.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site_redirect_add Send an old address somewhere else
Send an old address somewhere else Calls POST /projects/{project}/redirects.
| Parameter | Type | Description |
|---|---|---|
from * | string | The old path, e.g. /old-about |
to * | string | A path on the site, or an http(s) address |
note | string | Why it exists |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
status | number | 301 permanent (default), 302 temporary |
site_redirect_update Change where a redirect goes
Change where a redirect goes Calls PATCH /projects/{project}/redirects/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Redirect id |
from | string | The old path |
note | string | Why it exists |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
status | number | 301 permanent, 302 temporary |
to | string | Where it goes |
media_list Files in the library, newest first
Files in the library, newest first Calls GET /projects/{project}/assets.
| Parameter | Type | Description |
|---|---|---|
facets | boolean | Also count files by kind and list folders |
folder | string | Only this folder ("" for none) |
hash | string | Files with this content hash (duplicates) |
kind | string | image, video, audio, model, document, or unused |
limit | number | How many (1–500) (default 50) |
offset | number | How many to skip |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
search | string | Words in names, titles, alt text |
media_get Show one file
Show one file Calls GET /projects/{project}/assets/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | File id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_upload Add files to the library
Add files to the library
| Parameter | Type | Description |
|---|---|---|
alt | string | Alt text: what the picture shows |
caption | string | Caption |
content | string | The file itself, in base64 (or a data: URL), with name |
credit | string | Credit |
files | array | Paths of the files on this machine |
folder | string | Put them in this folder |
name | string | The file’s name with its extension, for content |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
title | string | Title |
url | string | A public HTTPS address of the file: the server downloads it |
media_update Change a file’s alt text, title, caption, credit or focal point
Change a file’s alt text, title, caption, credit or focal point
| Parameter | Type | Description |
|---|---|---|
id * | string | File id |
alt | string | Alt text: what the picture shows |
caption | string | Caption |
credit | string | Credit |
focal | string | Focal point as x,y between 0 and 1 (0.5,0.4) |
lang | string | The language of --alt, --title and --caption (keeps the others) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
title | string | Title |
media_move Put a file in a folder ("" for none)
Put a file in a folder ("" for none) Calls POST /projects/{project}/assets/{id}/move.
| Parameter | Type | Description |
|---|---|---|
folder * | string | The folder |
id * | string | File id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_replace Swap a file for another of the same kind, keeping its id and uses
Swap a file for another of the same kind, keeping its id and uses
| Parameter | Type | Description |
|---|---|---|
id * | string | File id |
content | string | The file itself, in base64 (or a data: URL), with name |
file | string | Path of the new file on this machine |
name | string | The file’s name with its extension, for content |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_delete Put a file in the bin (it can come back)
Put a file in the bin (it can come back) Calls DELETE /projects/{project}/assets/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | File id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_bin Files in the bin
Files in the bin Calls GET /projects/{project}/assets/bin.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_restore Take a file out of the bin
Take a file out of the bin Calls POST /projects/{project}/assets/{id}/restore.
| Parameter | Type | Description |
|---|---|---|
id * | string | File id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_usage Where a file is used (or, without an id, how many places use each file)
Where a file is used (or, without an id, how many places use each file)
| Parameter | Type | Description |
|---|---|---|
id | string | File id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_batch Change several files at once (JSON: { action: bin|restore|move|update, ids, folder, changes })
Change several files at once (JSON: { action: bin|restore|move|update, ids, folder, changes }) Calls POST /projects/{project}/assets/batch.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_regenerate Remake the sizes of some files (or all)
Remake the sizes of some files (or all) Calls POST /projects/{project}/assets/regenerate.
| Parameter | Type | Description |
|---|---|---|
background | boolean | Don’t wait for it |
ids | array | Files (default: all) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_video_check Ask the video host where a video stands
Ask the video host where a video stands Calls POST /projects/{project}/assets/{id}/video/check.
| Parameter | Type | Description |
|---|---|---|
id * | string | File id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_video_retry Send a refused video to its host again
Send a refused video to its host again Calls POST /projects/{project}/assets/{id}/video/retry.
| Parameter | Type | Description |
|---|---|---|
id * | string | File id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_settings_get Storage, sizes and video hosts
Storage, sizes and video hosts Calls GET /projects/{project}/media-settings.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_settings_update Change media settings (JSON: { assetConfig, videoProviders })
Change media settings (JSON: { assetConfig, videoProviders }) Calls PATCH /projects/{project}/media-settings.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_settings_check_storage Try storage settings before saving them (JSON: { adapter, adapterConfig })
Try storage settings before saving them (JSON: { adapter, adapterConfig }) Calls POST /projects/{project}/media-settings/check-storage.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_settings_asset_config Image sizes and formats
Image sizes and formats Calls GET /projects/{project}/asset-config.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
media_settings_set_asset_config Change image sizes and formats (JSON)
Change image sizes and formats (JSON) Calls PATCH /projects/{project}/asset-config.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
templates_list List the templates
List the templates Calls GET /projects/{project}/templates.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
templates_get Show one template
Show one template Calls GET /projects/{project}/templates/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | template id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
templates_create Create a template from its JSON
Create a template from its JSON Calls POST /projects/{project}/templates.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
templates_update Change part of a template (JSON with the fields to change)
Change part of a template (JSON with the fields to change) Calls PATCH /projects/{project}/templates/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | template id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
templates_validate Check a template for problems
Check a template for problems Calls POST /projects/{project}/templates/{id}/validate.
| Parameter | Type | Description |
|---|---|---|
id * | string | Template id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
templates_history The saved versions of a template, newest first
The saved versions of a template, newest first Calls GET /projects/{project}/templates/{id}/revisions.
| Parameter | Type | Description |
|---|---|---|
id * | string | Template id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
templates_version A template as one saved version had it
A template as one saved version had it Calls GET /projects/{project}/templates/{id}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Template id |
revision * | string | Revision id (from history) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
layouts_list List the layouts
List the layouts Calls GET /projects/{project}/layouts.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
layouts_get Show one layout
Show one layout Calls GET /projects/{project}/layouts/{layout}.
| Parameter | Type | Description |
|---|---|---|
layout * | string | layout id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
layouts_create Create a layout from its JSON
Create a layout from its JSON Calls POST /projects/{project}/layouts.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
layouts_update Change part of a layout (JSON with the fields to change)
Change part of a layout (JSON with the fields to change) Calls PATCH /projects/{project}/layouts/{layout}.
| Parameter | Type | Description |
|---|---|---|
layout * | string | layout id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
layouts_history The saved versions of a layout, newest first
The saved versions of a layout, newest first Calls GET /projects/{project}/layouts/{layout}/revisions.
| Parameter | Type | Description |
|---|---|---|
layout * | string | Layout id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
layouts_version A layout as one saved version had it
A layout as one saved version had it Calls GET /projects/{project}/layouts/{layout}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
layout * | string | Layout id |
revision * | string | Revision id (from history) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
structures_list List the structures
List the structures Calls GET /projects/{project}/structures.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
structures_get Show one structure
Show one structure Calls GET /projects/{project}/structures/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | structure id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
structures_create Create a structure from its JSON
Create a structure from its JSON Calls POST /projects/{project}/structures.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
structures_update Change part of a structure (JSON with the fields to change)
Change part of a structure (JSON with the fields to change) Calls PATCH /projects/{project}/structures/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | structure id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
structures_history The saved versions of a structure, newest first
The saved versions of a structure, newest first Calls GET /projects/{project}/structures/{id}/revisions.
| Parameter | Type | Description |
|---|---|---|
id * | string | Structure id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
structures_version A structure as one saved version had it
A structure as one saved version had it Calls GET /projects/{project}/structures/{id}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Structure id |
revision * | string | Revision id (from history) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blocks_list List the blocks
List the blocks Calls GET /projects/{project}/blocks.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blocks_get Show one block
Show one block Calls GET /projects/{project}/blocks/{slug}.
| Parameter | Type | Description |
|---|---|---|
slug * | string | block id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blocks_create Create a block from its JSON
Create a block from its JSON Calls POST /projects/{project}/blocks.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blocks_update Change part of a block (JSON with the fields to change)
Change part of a block (JSON with the fields to change) Calls PATCH /projects/{project}/blocks/{slug}.
| Parameter | Type | Description |
|---|---|---|
slug * | string | block id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blocks_history The saved versions of a block, newest first
The saved versions of a block, newest first Calls GET /projects/{project}/blocks/{slug}/revisions.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Block id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blocks_version A block as one saved version had it
A block as one saved version had it Calls GET /projects/{project}/blocks/{slug}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
revision * | string | Revision id (from history) |
slug * | string | Block id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blocks_core The server’s own block types
The server’s own block types Calls GET /moteur/blocks.
forms_list List the forms
List the forms Calls GET /projects/{project}/forms.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
forms_get Show one form
Show one form Calls GET /projects/{project}/forms/{form}.
| Parameter | Type | Description |
|---|---|---|
form * | string | form id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
forms_create Create a form from its JSON
Create a form from its JSON Calls POST /projects/{project}/forms.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
forms_update Change part of a form (JSON with the fields to change)
Change part of a form (JSON with the fields to change) Calls PATCH /projects/{project}/forms/{form}.
| Parameter | Type | Description |
|---|---|---|
form * | string | form id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
forms_history The saved versions of a form, newest first
The saved versions of a form, newest first Calls GET /projects/{project}/forms/{form}/revisions.
| Parameter | Type | Description |
|---|---|---|
form * | string | Form id |
max | number | How many versions |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
forms_version A form as one saved version had it
A form as one saved version had it Calls GET /projects/{project}/forms/{form}/revisions/{revision}.
| Parameter | Type | Description |
|---|---|---|
form * | string | Form id |
revision * | string | Revision id (from history) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
submissions_list What people sent through a form
What people sent through a form Calls GET /projects/{project}/forms/{form}/submissions.
| Parameter | Type | Description |
|---|---|---|
form * | string | Form id |
limit | number | How many |
offset | number | How many to skip |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
status | string | received, spam… |
unread | boolean | Only unread ones |
submissions_get Show one submission
Show one submission Calls GET /projects/{project}/forms/{form}/submissions/{id}.
| Parameter | Type | Description |
|---|---|---|
form * | string | Form id |
id * | string | Submission id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
submissions_mark Mark a submission read or unread, spam or not
Mark a submission read or unread, spam or not Calls PATCH /projects/{project}/forms/{form}/submissions/{id}.
| Parameter | Type | Description |
|---|---|---|
form * | string | Form id |
id * | string | Submission id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
read | boolean | Read (--no-read: unread) |
spam | boolean | Spam (--no-spam: not spam) |
submissions_export Every submission of a form, as CSV or JSON (or written to a file)
Every submission of a form, as CSV or JSON (or written to a file)
| Parameter | Type | Description |
|---|---|---|
form * | string | Form id |
format | string | File format (default csv) |
out | string | Write it to this file instead of printing it |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
field_types_list Every field type the server knows, with its options
Every field type the server knows, with its options Calls GET /studio/field-types.
workspaces_list Your workspaces, and your role in each
Your workspaces, and your role in each Calls GET /workspaces.
workspaces_get A workspace and its people
A workspace and its people Calls GET /workspaces/{workspace}.
| Parameter | Type | Description |
|---|---|---|
workspace * | string | Workspace id (ws_…) |
workspaces_create Start a workspace (you are its owner)
Start a workspace (you are its owner) Calls POST /workspaces.
| Parameter | Type | Description |
|---|---|---|
name * | string | Its name |
workspaces_rename Rename a workspace
Rename a workspace Calls PATCH /workspaces/{workspace}.
| Parameter | Type | Description |
|---|---|---|
name * | string | Its new name |
workspace * | string | Workspace id (ws_…) |
workspaces_set_member Change someone’s place in a workspace
Change someone’s place in a workspace Calls PATCH /workspaces/{workspace}/members/{user}.
| Parameter | Type | Description |
|---|---|---|
role * | string | owner, admin, billing or member |
user * | string | Person id |
workspace * | string | Workspace id (ws_…) |
access | string | Members: every project (all) or those they are added to (chosen, default) |
project-roles | array | Members with all: their roles in every project (default writer) |
workspaces_invites Workspace invites not answered yet
Workspace invites not answered yet Calls GET /workspaces/{workspace}/invites.
| Parameter | Type | Description |
|---|---|---|
workspace * | string | Workspace id (ws_…) |
workspaces_invite Invite someone into a workspace
Invite someone into a workspace Calls POST /workspaces/{workspace}/invites.
| Parameter | Type | Description |
|---|---|---|
email * | string | Their email |
role * | string | owner, admin, billing or member |
workspace * | string | Workspace id (ws_…) |
access | string | Members: every project (all) or those they are added to (chosen, default) |
project-roles | array | Members with all: their roles in every project (default writer) |
studio-url | string | The Studio the link opens (default: MOTEUR_STUDIO_URL) |
workspaces_resend_invite Send a workspace invite again
Send a workspace invite again Calls POST /workspaces/{workspace}/invites/{invite}/resend.
| Parameter | Type | Description |
|---|---|---|
invite * | string | Invite id |
workspace * | string | Workspace id (ws_…) |
members_list People in the project, their roles, when they were last here
People in the project, their roles, when they were last here Calls GET /projects/{project}/users.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
members_update Change someone’s roles in the project
Change someone’s roles in the project Calls PATCH /projects/{project}/users/{user}.
| Parameter | Type | Description |
|---|---|---|
user * | string | Person id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
roles | array | writer, translator, reviewer, lead, builder, admin, developer, billing |
invites_list Invites not answered yet
Invites not answered yet Calls GET /projects/{project}/invites.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
invites_send Invite someone to the project
Invite someone to the project Calls POST /projects/{project}/invites.
| Parameter | Type | Description |
|---|---|---|
email * | string | Their email |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
roles | array | Their roles (default writer) |
studio-url | string | The Studio the link opens (default: MOTEUR_STUDIO_URL) |
invites_resend Send an invite again
Send an invite again Calls POST /projects/{project}/invites/{id}/resend.
| Parameter | Type | Description |
|---|---|---|
id * | string | Invite id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
studio-url | string | The Studio the link opens (default: MOTEUR_STUDIO_URL) |
invites_show What an invite link is for
What an invite link is for Calls GET /invites/{token}.
| Parameter | Type | Description |
|---|---|---|
token * | string | The token from the invite link |
invites_accept Join a project or a workspace with an invite (signed in)
Join a project or a workspace with an invite (signed in) Calls POST /invites/{token}/accept.
| Parameter | Type | Description |
|---|---|---|
token * | string | The token from the invite link |
invites_register Create your account from an invite
Create your account from an invite Calls POST /invites/{token}/register.
| Parameter | Type | Description |
|---|---|---|
name * | string | Your name |
token * | string | The token from the invite link |
password | string | Your password (8+ characters); leave it out to sign in by email code |
keys_list API keys (never their secrets)
API keys (never their secrets) Calls GET /projects/{project}/api-keys.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
keys_create Make an API key (its secret is shown once)
Make an API key (its secret is shown once) Calls POST /projects/{project}/api-keys.
| Parameter | Type | Description |
|---|---|---|
channels | array | Channels it may read |
expires-at | string | When it stops working (ISO date) |
label | string | A name for it |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site-wide | boolean | May read site-wide data (pages, menus…) |
keys_update Change a key’s name, expiry or what it may read
Change a key’s name, expiry or what it may read Calls PATCH /projects/{project}/api-keys/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Key id |
channels | array | Channels it may read |
expires-at | string | When it stops working (ISO date) |
hosts | array | Sites allowed to use it |
label | string | A name for it |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
site-wide | boolean | May read site-wide data (pages, menus…) |
channels_list List the channels
List the channels Calls GET /projects/{project}/channels.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
channels_get Show one channel
Show one channel Calls GET /projects/{project}/channels/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | channel id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
channels_create Create a channel from its JSON
Create a channel from its JSON Calls POST /projects/{project}/channels.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
channels_update Change part of a channel (JSON with the fields to change)
Change part of a channel (JSON with the fields to change) Calls PATCH /projects/{project}/channels/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | channel id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
channels_openapi The OpenAPI document a frontend reads this channel with
The OpenAPI document a frontend reads this channel with Calls GET /projects/{project}/channels/{id}/openapi.
| Parameter | Type | Description |
|---|---|---|
id * | string | Channel id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
channels_schema What this channel delivers, described: models, templates, blocks, structures
What this channel delivers, described: models, templates, blocks, structures Each field's type, label, description and the options that explain its value. A read-only key for the channel can read it. Calls GET /projects/{project}/channels/{id}/schema.
| Parameter | Type | Description |
|---|---|---|
id * | string | Channel id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
webhooks_list List the webhooks
List the webhooks Calls GET /projects/{project}/webhooks.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
webhooks_get Show one webhook
Show one webhook Calls GET /projects/{project}/webhooks/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | webhook id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
webhooks_update Change part of a webhook (JSON with the fields to change)
Change part of a webhook (JSON with the fields to change) Calls PATCH /projects/{project}/webhooks/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | webhook id |
body | object | The JSON body (other arguments are laid over it) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
webhooks_create Call an address when content changes: a build hook, or any service
Call an address when content changes: a build hook, or any service A deploy hook (`--kind deploy`) is a host's build hook (Vercel, Netlify, Cloudflare Pages…): it waits for more changes, then calls once, when what's live changes. Without --events, a deploy hook listens to what goes live; any other hook to every event. Calls POST /projects/{project}/webhooks.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
events | array | Only these events: page.published,entry.published… |
kind | string | deploy: a build hook, called once per round of changes |
name | string | What it is for (default: its address) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
url | string | The address to call (https) |
wait | number | A deploy hook: seconds to wait for more changes (default 30) |
webhooks_test Send a test call
Send a test call Calls POST /projects/{project}/webhooks/{id}/test.
| Parameter | Type | Description |
|---|---|---|
id * | string | Webhook id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
webhooks_log Recent deliveries and their answers
Recent deliveries and their answers Calls GET /projects/{project}/webhooks/{id}/log.
| Parameter | Type | Description |
|---|---|---|
id * | string | Webhook id |
limit | number | How many |
offset | number | How many to skip |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
webhooks_retry Send a failed delivery again
Send a failed delivery again Calls POST /projects/{project}/webhooks/{id}/log/{delivery}/retry.
| Parameter | Type | Description |
|---|---|---|
delivery * | string | Delivery id (from log) |
id * | string | Webhook id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
branches_list Content branches, and the current one
Content branches, and the current one Calls GET /projects/{project}/branches.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
branches_create Start a branch
Start a branch Calls POST /projects/{project}/branches.
| Parameter | Type | Description |
|---|---|---|
name * | string | Branch name |
from | string | Start from (default: current) |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
branches_switch Work on another branch
Work on another branch Calls POST /projects/{project}/branches/switch.
| Parameter | Type | Description |
|---|---|---|
branch * | string | Branch name |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
branches_log The content’s git history
The content’s git history Calls GET /projects/{project}/git/log.
| Parameter | Type | Description |
|---|---|---|
max | number | How many |
path | string | Only this file or folder |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
branches_status Where the history stands: branch, last commit, and what the Git address lacks
Where the history stands: branch, last commit, and what the Git address lacks Calls GET /projects/{project}/git/status.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
branches_push Push the history to the project’s Git address now
Push the history to the project’s Git address now Calls POST /projects/{project}/git/push.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
types TypeScript types of the content (models, templates, blocks, structures)
TypeScript types of the content (models, templates, blocks, structures) Each type takes a locale mode: 'all' as stored, or 'one' for content read with ?locale=. Make them again after changing a schema; in CI, --check fails when the file is out of date.
| Parameter | Type | Description |
|---|---|---|
channel | string | Only what this channel delivers, from its schema (the site's read-only key is enough) |
check | boolean | Change nothing; fail if the file differs from the project |
out | string | Write them to this file instead of printing them |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
imports_run Import a bundle: schemas, files, pages, entries, menus, redirects (all or nothing)
Import a bundle: schemas, files, pages, entries, menus, redirects (all or nothing) The bundle comes from a file, or as the JSON body. { "$ref": "page:<ref>" } (or entry:<model>/<ref>, asset:<ref>) anywhere stands for the id of something in the bundle. Try it first with --dry-run.
| Parameter | Type | Description |
|---|---|---|
body | object | The JSON body (other arguments are laid over it) |
dry-run | boolean | Check everything as if saving, then keep nothing |
file | string | The bundle (JSON) on this machine |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
wait | number | Seconds to wait for the end before answering (0–60) |
imports_list Recent imports
Recent imports Calls GET /projects/{project}/imports.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
imports_get An import and how far it has come
An import and how far it has come Calls GET /projects/{project}/imports/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
imports_approve Put a waiting import live (a person who can publish)
Put a waiting import live (a person who can publish) Calls POST /projects/{project}/imports/{id}/approve.
| Parameter | Type | Description |
|---|---|---|
id * | string | Import id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
export The project as an import bundle
The project as an import bundle
| Parameter | Type | Description |
|---|---|---|
inline-files | boolean | Carry each file in the bundle, not its address (to move to another server) |
out | string | Write it to this file instead of printing it |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ai_status Whether AI is on, and with which provider
Whether AI is on, and with which provider Calls GET /ai/status.
ai_settings The project’s AI: provider and credits
The project’s AI: provider and credits Calls GET /ai/settings/{project}.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ai_helpers The helpers you may use here, with credits
The helpers you may use here, with credits Calls GET /ai/helpers/{project}.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ai_write Suggest text for a field: draft, rewrite, shorten, expand, change the tone
Suggest text for a field: draft, rewrite, shorten, expand, change the tone
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do |
field * | string | The field’s key (title, excerpt…) |
context | string | The rest of the entry’s text, for context |
entry | string | The entry, for context |
field-type | string | core/text, core/textarea or core/rich-text (default core/textarea) |
locale | string | Its language |
model | string | The model, for context |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
value | string | The current text |
ai_translate Translate a field’s text from one language to another
Translate a field’s text from one language to another
| Parameter | Type | Description |
|---|---|---|
from * | string | From this language |
to * | string | Into this language |
value * | string | The text |
entry | string | The entry, for context |
field | string | The field’s key (title, excerpt…) |
field-type | string | core/text, core/textarea or core/rich-text (default core/textarea) |
model | string | The model, for context |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ai_alt Suggest alt text and a caption for a picture
Suggest alt text and a caption for a picture Calls POST /ai/analyse/image.
| Parameter | Type | Description |
|---|---|---|
asset * | string | File id |
locale | string | In this language |
other-alt | string | Its alt text in another language, as a hint |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ai_image Make pictures from a description
Make pictures from a description Calls POST /ai/generate-image.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to make |
count | number | How many |
entry | string | The entry they’re for |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ratio | string | Shape: 1:1, 16:9… |
style | string | Style hints |
ai_audio Make speech from text
Make speech from text Calls POST /ai/generate-audio.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to say |
entry | string | The entry it’s for |
field | string | The field it’s for |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
voice | string | Which voice |
ai_model3d Make a 3D model from a description
Make a 3D model from a description Calls POST /ai/generate-3d.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to make |
entry | string | The entry it’s for |
field | string | The field it’s for |
format | string | glb, usdz… |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
textured | boolean | With textures |
ai_keep_model Keep a generated 3D model in the media library
Keep a generated 3D model in the media library Calls POST /ai/save-generated-model.
| Parameter | Type | Description |
|---|---|---|
url * | string | The model’s address (from model3d) |
format | string | glb, usdz… |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
prompt | string | What it was made from |
thumbnail | string | Thumbnail address |
title | string | Title |
ai_entry Draft a whole entry for a model (shown, not saved)
Draft a whole entry for a model (shown, not saved) Calls POST /ai/generate/entry.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model id |
prompt * | string | What it’s about |
locale | string | In this language |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ai_audit What AI was asked in the project (prompts for operators)
What AI was asked in the project (prompts for operators) Calls GET /projects/{project}/ai-audit.
| Parameter | Type | Description |
|---|---|---|
before | string | Older than (ISO) |
limit | number | How many |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
ai_audit_event One AI event in full
One AI event in full Calls GET /projects/{project}/ai-audit/{event}.
| Parameter | Type | Description |
|---|---|---|
event * | string | Event id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
radar_report Problems found in the content (missing translations, broken links…)
Problems found in the content (missing translations, broken links…) Calls GET /projects/{project}/radar.
| Parameter | Type | Description |
|---|---|---|
locale | string | Only this language |
model | string | Only this model |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
rule | string | Only this rule |
scan | boolean | Scan again instead of the last report |
severity | string | Only this severity |
radar_entry Problems in one entry
Problems in one entry Calls GET /projects/{project}/radar/entry/{slug}.
| Parameter | Type | Description |
|---|---|---|
slug * | string | model__entry |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
search_query Search entries in the project’s search engine
Search entries in the project’s search engine Calls GET /projects/{project}/search/{engine}.
| Parameter | Type | Description |
|---|---|---|
q * | string | What to find |
engine | string | Which engine (default meilisearch) |
limit | number | How many |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
shopify_status The Shopify connection
The Shopify connection Calls GET /projects/{project}/shopify.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
shopify_connect Set the shop, its token and the product model
Set the shop, its token and the product model Calls PATCH /projects/{project}/shopify.
| Parameter | Type | Description |
|---|---|---|
model | string | Model products go into |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
shop | string | my-shop.myshopify.com |
token | string | Admin API access token |
shopify_sync Pull products from Shopify into entries
Pull products from Shopify into entries Calls POST /projects/{project}/shopify/sync.
| Parameter | Type | Description |
|---|---|---|
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
commands_list Commands plugins added on this API
Commands plugins added on this API Calls GET /commands.
play_poll A poll’s results
A poll’s results Calls GET /projects/{project}/play/polls/{poll}/results.
| Parameter | Type | Description |
|---|---|---|
poll * | string | Poll id |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
play_qr A QR code as SVG
A QR code as SVG
| Parameter | Type | Description |
|---|---|---|
text * | string | What it encodes |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
size | number | Size in pixels |
play_oembed The embed for a link (YouTube, Vimeo…)
The embed for a link (YouTube, Vimeo…) Calls GET /projects/{project}/play/oembed/resolve.
| Parameter | Type | Description |
|---|---|---|
url * | string | The link |
project | string | Project id (default: MOTEUR_PROJECT, .moteur.json, or `moteur projects use`) |
blueprints_list Blueprints of a kind
Blueprints of a kind Calls GET /blueprints/{kind}s.
| Parameter | Type | Description |
|---|---|---|
kind * | string | project, model, structure or template |
blueprints_get Show a blueprint
Show a blueprint Calls GET /blueprints/{kind}s/{id}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Blueprint id |
kind * | string | project, model, structure or template |