GET
/
v1
/
template-versions
/
latest
curl --request GET \
  --url https://api.lunary.ai/v1/template-versions/latest
{
  "id": "<string>",
  "templateId": "<string>",
  "content": [
    "<any>"
  ],
  "extra": {},
  "testValues": {},
  "isDraft": true,
  "notes": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "version": 123
}

Query Parameters

slug
string
required

Slug of the template

Response

200
application/json
Latest version of the template
id
string
templateId
string
content
any[]
extra
object
testValues
object
isDraft
boolean
notes
string
createdAt
string
version
number