Author a template from markdown you supply. **Variables are detected for you, on this call, and the response carries what was found.** A placeholder written as `[COUNTERPARTY NAME]`, `{{party_a}}` or a run of underscores survives the markdown round trip as literal characters, and the detector re-derives the mark from it, so a template authored here cannot land in the state where it runs and interpolates nothing. Detection is regex over the flattened text: deterministic, free and sub-millisecond. The product also has an LLM refinement pass and this API does not run it, so a template imported here may detect fewer variables than the same file imported in the browser. It refines display NAMES and adds spans the regex missed; the identifiers `slotOverrides` is keyed by are deliberately left alone by it either way.
The template body as markdown, placeholders included. Whitespace alone is refused: the converter answers it with a valid EMPTY document, which would be a template that renders a blank page.
description
object
What this template is for, in your own words.
category
object
How you classify this template. Defaults to `custom`; free-form, not a drafting category.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/vaquill-ai/json-schema/vaquill-ai-template-create-request-schema.json",
"title": "TemplateCreateRequest",
"description": "Author a template from markdown you supply.\n\n**Variables are detected for you, on this call, and the response carries\nwhat was found.** A placeholder written as `[COUNTERPARTY NAME]`,\n`{{party_a}}` or a run of underscores survives the markdown round trip as\nliteral characters, and the detector re-derives the mark from it, so a\ntemplate authored here cannot land in the state where it runs and\ninterpolates nothing.\n\nDetection is regex over the flattened text: deterministic, free and\nsub-millisecond. The product also has an LLM refinement pass and this API\ndoes not run it, so a template imported here may detect fewer variables than\nthe same file imported in the browser. It refines display NAMES and adds\nspans the regex missed; the identifiers `slotOverrides` is keyed by are\ndeliberately left alone by it either way.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/vaquill-ai-drafting-api-openapi.yml#/components/schemas/TemplateCreateRequest",
"properties": {
"title": {
"type": "string",
"maxLength": 300,
"minLength": 1,
"title": "Title",
"description": "Display name for the template."
},
"contentMarkdown": {
"type": "string",
"maxLength": 500000,
"minLength": 1,
"title": "Contentmarkdown",
"description": "The template body as markdown, placeholders included. Whitespace alone is refused: the converter answers it with a valid EMPTY document, which would be a template that renders a blank page."
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"title": "Description",
"description": "What this template is for, in your own words."
},
"category": {
"anyOf": [
{
"type": "string",
"maxLength": 100,
"minLength": 1
},
{
"type": "null"
}
],
"title": "Category",
"description": "How you classify this template. Defaults to `custom`; free-form, not a drafting category."
}
},
"additionalProperties": false,
"type": "object",
"required": [
"title",
"contentMarkdown"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.