Skip to main content
PATCH
Update template

Authorizations

Authorization
string
header
required

A Motion API key. Access is limited to its stored organization, workspace, scopes and the creator’s current permissions.

Scopes

motion:templates:write

Create, edit, share, and archive prompt templates.

Path Parameters

slug
string
required

Body

application/json
version_id
string<uuid>
required
title
string
Maximum string length: 120
instructions
string
Maximum string length: 12000
mode
enum<string>
Available options:
style,
layout_and_style

Response

Success

template
object
required

Saved template, current version and preview status.