Skip to main content
POST
Publish Template

Authorizations

Authorization
string
header
required

Enter your MeshAPI key (rsk_...) or, for the admin-keys endpoints, a dashboard session token — sent as Authorization: Bearer <token>.

Headers

X-Mesh-Version
enum<string>
default:2026-08

Dated version of the API contract to pin this request to. Omit it and the request is served under 2026-08 — the oldest supported version, so an existing integration is never moved by a release. A malformed or unsupported value is rejected with 400 invalid_api_version rather than falling back silently. The version actually served is echoed as X-Mesh-Version on every response, including errors.

Available options:
2026-08,
2026-09

Path Parameters

template_id
string
required

Response

Successful Response

id
string
required
name
string
required
owner
string | null
required
org_id
string | null
required
team_id
string | null
required
is_global
boolean
required
description
string | null
required
system
string | null
required
messages
Messages · object[] | null
required
model
string | null
required
params
Params · object | null
required
variables
string[] | null
required
category
string | null
required
version
string | null
required
is_beta
boolean
required
creator_name
string | null
required
creator_email
string | null
required
created_at
string
required
updated_at
string
required
published_version
integer | null
latest_version
integer | null