Templates
Get a specific template
Get a specific prompt template and all its versions by its ID.
get/v1/templates/{id}
Request
- Base URLhttps://api.lunary.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Response
Successful response
Example response
{
"versions": [
{
"metadata": {
"owner": "support",
"release_channel": "production",
"locale": "en"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.